|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IMethodHandler
Provides information on a class method.
This is an equivalent of the Method
class.
Method Summary | |
---|---|
java.lang.Class[] |
getArgumentTypes()
Returns the types of arguments this methods accepts. |
java.lang.String |
getMethodName()
Returns the name of this method object |
java.lang.Object |
invoke(IProxyTarget target,
java.lang.Object[] args)
Invokes a method this object represents on the provided instance. |
boolean |
matchesArgumentTypes(java.lang.Class[] types)
Determines if the signature of this method object matches the provided sequence of types. |
Method Detail |
---|
java.lang.Object invoke(IProxyTarget target, java.lang.Object[] args) throws java.lang.Exception
target
- object instance to invoke the method onargs
- method arguments
java.lang.Exception
java.lang.String getMethodName()
java.lang.Class[] getArgumentTypes()
boolean matchesArgumentTypes(java.lang.Class[] types)
types
- a sequence of types to compare the signature
of this method object to
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |