|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.openfoundation.reflect.XPMethod
public class XPMethod
This class corresponds to java.lang.reflect.Method. It provides information about, and access to, a single method on a class or interface.
Constructor Summary | |
---|---|
XPMethod(java.lang.reflect.Method method)
Constructs a XPMethod object. |
Method Summary | |
---|---|
java.lang.String |
GetName()
Returns the name of the method represented by this Method object, as a String. |
XPType[] |
GetParameterTypes()
Returns an array of XPType objects that represent the formal parameter types, in declaration order, of the method represented by this Method object. |
XPType |
GetReturnType()
Returns a XPType object that represents the formal return type of the method represented by this Method object. |
java.lang.reflect.Method |
GetUnderlyingObject()
Return the underlying java.lang.reflect.Method object. |
java.lang.Object |
Invoke(java.lang.Object obj,
java.lang.Object[] parameters)
Invokes the underlying method represented by this Method object, on the specified object with the specified parameters. |
boolean |
IsPublic()
Verify if this is a public method. |
boolean |
IsStatic()
Verify if this is a static method. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XPMethod(java.lang.reflect.Method method)
method
- a java.lang.reflect.Method objectMethod Detail |
---|
public java.lang.String GetName()
public XPType GetReturnType()
public XPType[] GetParameterTypes()
public java.lang.Object Invoke(java.lang.Object obj, java.lang.Object[] parameters)
obj
- the object the underlying method is invoked fromparameters
- the arguments used for the method call
public java.lang.reflect.Method GetUnderlyingObject()
public boolean IsPublic()
public boolean IsStatic()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |