public interface InvocableFunction
| Modifier and Type | Method and Description |
|---|---|
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
|
java.lang.Object invoke(java.lang.Object target,
java.lang.Object[] args)
throws java.lang.Exception
target - the targetargs - the argumentsjava.lang.Exception - if there's problem completing the invocationjava.lang.String getName()
java.lang.Class[] getArgTypes()
boolean canInvokeOn(java.lang.Class[] args)