summaryrefslogtreecommitdiff
path: root/ridljar
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2006-12-01 13:46:15 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2006-12-01 13:46:15 +0000
commit7b195842b5674f08ce34f497dc0b82b42609fd17 (patch)
tree61a6c4b3d30e92ac4ec59fd837c7b0242826ab1d /ridljar
parent1f219e9bc0d49e06a21b1f08c786a2833f2b6fa3 (diff)
INTEGRATION: CWS sb23 (1.5.34); FILE MERGED
2006/08/18 15:22:46 sb 1.5.34.3: RESYNC: (1.5-1.6); FILE MERGED 2005/03/14 14:59:49 sb 1.5.34.2: #i35277# Further cleanup. 2005/03/14 10:53:32 sb 1.5.34.1: #i35277# Further cleanup.
Diffstat (limited to 'ridljar')
-rw-r--r--ridljar/com/sun/star/lib/uno/typedesc/MethodDescription.java19
1 files changed, 12 insertions, 7 deletions
diff --git a/ridljar/com/sun/star/lib/uno/typedesc/MethodDescription.java b/ridljar/com/sun/star/lib/uno/typedesc/MethodDescription.java
index 6b6bedae8..7b82870f4 100644
--- a/ridljar/com/sun/star/lib/uno/typedesc/MethodDescription.java
+++ b/ridljar/com/sun/star/lib/uno/typedesc/MethodDescription.java
@@ -4,9 +4,9 @@
*
* $RCSfile: MethodDescription.java,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: rt $ $Date: 2005-09-08 13:17:11 $
+ * last change: $Author: rt $ $Date: 2006-12-01 14:46:15 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -39,8 +39,8 @@ import com.sun.star.uno.IMethodDescription;
import com.sun.star.uno.ITypeDescription;
import java.lang.reflect.Method;
-final class MethodDescription implements IMethodDescription {
- public MethodDescription(
+public final class MethodDescription implements IMethodDescription {
+ MethodDescription(
String name, int index, boolean oneway, ITypeDescription[] inSignature,
ITypeDescription[] outSignature, ITypeDescription returnSignature,
Method method)
@@ -54,10 +54,11 @@ final class MethodDescription implements IMethodDescription {
this.method = method;
}
- public MethodDescription(MethodDescription other, int index) {
+ MethodDescription(IMethodDescription other, int index) {
this(
- other.name, index, other.oneway, other.inSignature,
- other.outSignature, other.returnSignature, other.method);
+ other.getName(), index, other.isOneway(), other.getInSignature(),
+ other.getOutSignature(), other.getReturnSignature(),
+ other.getMethod());
}
public String getName() {
@@ -104,6 +105,10 @@ final class MethodDescription implements IMethodDescription {
return method;
}
+ public static final int ID_QUERY_INTERFACE = 0;
+ public static final int ID_ACQUIRE = 1;
+ public static final int ID_RELEASE = 2;
+
private final String name;
private final int index;
private final boolean oneway;