Package com.sun.star.lib.uno.typedesc
Class MethodDescription
- java.lang.Object
-
- com.sun.star.lib.uno.typedesc.MethodDescription
-
public final class MethodDescription extends java.lang.Object
Allows to examine a method in detail. It gives a view to java methods from a UNO point.
-
-
Field Summary
Fields Modifier and Type Field Description static int
ID_ACQUIRE
static int
ID_QUERY_INTERFACE
static int
ID_RELEASE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getIndex()
TypeDescription[]
getInSignature()
Gives any array ofTypeDescription
of the [in] parameters.java.lang.reflect.Method
getMethod()
Gives native java method of this method.java.lang.String
getName()
TypeDescription[]
getOutSignature()
Gives any array ofTypeDescription
of the [out] parameters.TypeDescription
getReturnSignature()
Gives theTypeDescription
of the return type.boolean
isAny()
boolean
isConst()
Indicates if this method is const.boolean
isInterface()
boolean
isOneway()
Indicates if this method isoneWay
, respectively if this method may become executed asynchronously.boolean
isUnsigned()
-
-
-
Field Detail
-
ID_QUERY_INTERFACE
public static final int ID_QUERY_INTERFACE
- See Also:
- Constant Field Values
-
ID_ACQUIRE
public static final int ID_ACQUIRE
- See Also:
- Constant Field Values
-
ID_RELEASE
public static final int ID_RELEASE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getName
public java.lang.String getName()
-
isUnsigned
public boolean isUnsigned()
-
isAny
public boolean isAny()
-
isInterface
public boolean isInterface()
-
getIndex
public int getIndex()
-
isOneway
public boolean isOneway()
Indicates if this method isoneWay
, respectively if this method may become executed asynchronously.- Returns:
- true means may execute asynchronously .
-
isConst
public boolean isConst()
Indicates if this method is const.- Returns:
- true means it is const.
-
getInSignature
public TypeDescription[] getInSignature()
Gives any array ofTypeDescription
of the [in] parameters.- Returns:
- the in parameters
-
getOutSignature
public TypeDescription[] getOutSignature()
Gives any array ofTypeDescription
of the [out] parameters.- Returns:
- the out parameters
-
getReturnSignature
public TypeDescription getReturnSignature()
Gives theTypeDescription
of the return type.- Returns:
- the return type
TypeDescription
-
getMethod
public java.lang.reflect.Method getMethod()
Gives native java method of this method.- Returns:
- the java method
-
-