|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Method
Represents a method stored in an interpretor.
Interpreter.getMethod(java.lang.String, java.lang.Class[])| Method Summary | |
|---|---|
java.lang.Class[] |
getParameterTypes()
Returns an array of Class objects that represent the formal parameter types, in declaration order, of the method represented by this Method object. |
java.lang.Class |
getReturnType()
Returns a Class object that represents the formal return type of the method represented by this Method object. |
java.lang.Object |
invoke(java.lang.Object[] args)
Invokes this method with the specified arguments. |
| Method Detail |
|---|
java.lang.Class[] getParameterTypes()
java.lang.Class getReturnType()
java.lang.Object invoke(java.lang.Object[] args)
throws java.lang.Exception
args - the arguments used for the method call.
If null, Object[0] is assumed.
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||