public class JavaMethod<T,R> extends Object
| Constructor and Description |
|---|
JavaMethod(Class<R> returnType,
Method method) |
JavaMethod(Class<T> target,
Class<R> returnType,
String name,
boolean allowStatic,
Class<?>... paramTypes) |
JavaMethod(Class<T> target,
Class<R> returnType,
String name,
Class<?>... paramTypes) |
| Modifier and Type | Method and Description |
|---|---|
Method |
getMethod() |
Class<?>[] |
getParameterTypes() |
R |
invoke(T target,
Object... args) |
R |
invokeStatic(Object... args) |
boolean |
isStatic() |