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
commit139ee58738ba1705c9fab8fd98e822cebef7cfe7 (patch)
tree2c955adac2cb59fefd531e596a73fe989cf66554 /ridljar
parent93474cf37de76137f75d6e63b77ca1e316a64509 (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 6b6bedae843b..7b82870f4a20 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;