public class ClassMethod extends Object
Constructor and Description |
---|
ClassMethod(Method m) |
ClassMethod(String className,
String methodNameAndSpecs,
boolean declaredOnly) |
Modifier and Type | Method and Description |
---|---|
boolean |
canInvokeOn(Object obj) |
boolean |
exists() |
ClassMethod |
getCopy() |
Method |
getMethod() |
Wrapper[] |
getParameters() |
Wrapper |
getResult() |
Wrapper |
invoke(Object target) |
Wrapper |
invokeOn(Object target) |
Wrapper |
invokeOn(Object target,
Wrapper[] parameters,
Wrapper dest) |
public ClassMethod(Method m)
public boolean exists()
public Method getMethod()
public Wrapper getResult()
public Wrapper[] getParameters()
public ClassMethod getCopy()
public Wrapper invokeOn(Object target, Wrapper[] parameters, Wrapper dest) throws IllegalArgumentException, IllegalAccessException, InvocationTargetException
public Wrapper invokeOn(Object target) throws IllegalArgumentException, IllegalAccessException, InvocationTargetException
public boolean canInvokeOn(Object obj)