com.sun.star.uno

Interface IMethodDescription

public interface IMethodDescription extends IMemberDescription

Deprecated: This interface does not cover all the features supported by the corresponding (unpublished) implementation. But no client code should need to access this functionality, anyway.

The IMethodDescription allows to examine a method in detail. It gives a view to java methods from a UNO point.
Method Summary
ITypeDescription[]getInSignature()
Gives any array of ITypeDescription> of the [in] parameters.
MethodgetMethod()
Gives native java method of this method.
ITypeDescription[]getOutSignature()
Gives any array of ITypeDescription> of the [out] parameters.
ITypeDescriptiongetReturnSignature()
Gives the ITypeDescription of the return type.
booleanisConst()
Indicates if this method is const.
booleanisOneway()
Indicates if this method is oneWay, respectivly if this method may become executed asynchronously.

Method Detail

getInSignature

public ITypeDescription[] getInSignature()
Gives any array of ITypeDescription> of the [in] parameters.

Returns: the in parameters

getMethod

public Method getMethod()
Gives native java method of this method.

Returns: the java methodd

getOutSignature

public ITypeDescription[] getOutSignature()
Gives any array of ITypeDescription> of the [out] parameters.

Returns: the out parameters

getReturnSignature

public ITypeDescription getReturnSignature()
Gives the ITypeDescription of the return type.

Returns: the return type ITypeDescription

isConst

public boolean isConst()
Indicates if this method is const.

Returns: true means it is const.

isOneway

public boolean isOneway()
Indicates if this method is oneWay, respectivly if this method may become executed asynchronously.

Returns: true means may execute asynchronously .