|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represents a function that can be invoked
Method Summary | |
boolean |
canInvokeOn(java.lang.Class[] args)
Whether this method can be invoke on the given arguments |
java.lang.Class[] |
getArgTypes()
Get the argument types |
java.lang.String |
getName()
Get the name |
java.lang.Object |
invoke(java.lang.Object target,
java.lang.Object[] args)
Invoke the function on the target object with argument args |
Method Detail |
public java.lang.Object invoke(java.lang.Object target, java.lang.Object[] args) throws java.lang.Exception
target
- the targetargs
- the arguments
java.lang.Exception
- if there's problem completing the invocationpublic java.lang.String getName()
public java.lang.Class[] getArgTypes()
public boolean canInvokeOn(java.lang.Class[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |