Top Description Fields Constructors Methods
com.sun.star.lib.uno.typedesc

public final Class MethodDescription

extends Object
Class Inheritance
Imports
java.lang.reflect.Method

Allows to examine a method in detail. It gives a view to java methods from a UNO point.

Field Summary

Modifier and TypeField and Description
public static final int
public static final int
public static final int
private final int
private final TypeDescription[]
private final Method
private final String
private final boolean
private final TypeDescription[]
private final TypeDescription

Constructor Summary

AccessConstructor and Description
pack-priv
MethodDescription(String name, int index, boolean oneway, TypeDescription[] inSignature, TypeDescription[] outSignature, TypeDescription returnSignature, Method method)

pack-priv

Method Summary

Modifier and TypeMethod and Description
public int
public TypeDescription[]

Returns:

the in parameters
getInSignature
()

Gives any array of TypeDescription of the [in] parameters.

public Method

Returns:

the java method
getMethod
()

Gives native java method of this method.

public String
public TypeDescription[]

Returns:

the out parameters
getOutSignature
()

Gives any array of TypeDescription of the [out] parameters.

public TypeDescription

Returns:

the return type TypeDescription
getReturnSignature
()

Gives the TypeDescription of the return type.

public boolean
public boolean

Returns:

true means it is const.
isConst
()

Indicates if this method is const.

public boolean
public boolean

Returns:

true means may execute asynchronously .
isOneway
()

Indicates if this method is oneWay, respectively if this method may become executed asynchronously.

public boolean
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

ID_ACQUIREback to summary
public static final int ID_ACQUIRE
ID_QUERY_INTERFACEback to summary
public static final int ID_QUERY_INTERFACE
ID_RELEASEback to summary
public static final int ID_RELEASE
indexback to summary
private final int index
inSignatureback to summary
private final TypeDescription[] inSignature
methodback to summary
private final Method method
nameback to summary
private final String name
onewayback to summary
private final boolean oneway
outSignatureback to summary
private final TypeDescription[] outSignature
returnSignatureback to summary
private final TypeDescription returnSignature

Constructor Detail

MethodDescriptionback to summary
pack-priv MethodDescription(String name, int index, boolean oneway, TypeDescription[] inSignature, TypeDescription[] outSignature, TypeDescription returnSignature, Method method)
MethodDescriptionback to summary
pack-priv MethodDescription(MethodDescription other, int index)

Method Detail

getIndexback to summary
public int getIndex()
getInSignatureback to summary
public TypeDescription[] getInSignature()

Gives any array of TypeDescription of the [in] parameters.

Returns:TypeDescription[]

the in parameters

getMethodback to summary
public Method getMethod()

Gives native java method of this method.

Returns:Method

the java method

getNameback to summary
public String getName()
getOutSignatureback to summary
public TypeDescription[] getOutSignature()

Gives any array of TypeDescription of the [out] parameters.

Returns:TypeDescription[]

the out parameters

getReturnSignatureback to summary
public TypeDescription getReturnSignature()

Gives the TypeDescription of the return type.

Returns:TypeDescription

the return type TypeDescription

isAnyback to summary
public boolean isAny()
isConstback to summary
public boolean isConst()

Indicates if this method is const.

Returns:boolean

true means it is const.

isInterfaceback to summary
public boolean isInterface()
isOnewayback to summary
public boolean isOneway()

Indicates if this method is oneWay, respectively if this method may become executed asynchronously.

Returns:boolean

true means may execute asynchronously .

isUnsignedback to summary
public boolean isUnsigned()