public class MethodInvoker
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
MethodInvoker.TestArgs |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
invoke(java.lang.Object callee) |
static java.lang.Object |
invoke(java.lang.Object callee,
java.lang.String s) |
static java.lang.Object |
invoke(java.lang.Object callee,
java.lang.String methodname,
java.lang.String[] args) |
static void |
main(java.lang.String[] argv) |
static MethodInvoker |
parse(java.lang.String s) |
java.lang.String |
toString() |
public static java.lang.Object invoke(java.lang.Object callee, java.lang.String s) throws java.lang.IllegalArgumentException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException
java.lang.IllegalArgumentException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
public static java.lang.Object invoke(java.lang.Object callee, java.lang.String methodname, java.lang.String[] args) throws java.lang.IllegalArgumentException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException
java.lang.IllegalArgumentException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
public static MethodInvoker parse(java.lang.String s)
public java.lang.Object invoke(java.lang.Object callee) throws java.lang.IllegalArgumentException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException
java.lang.IllegalArgumentException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
public java.lang.String toString()
toString
in class java.lang.Object
public static void main(java.lang.String[] argv)