public class ReflectionMethodInvoker extends Object implements IMethodInvoker
Constructor and Description |
---|
ReflectionMethodInvoker(Method m) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Method |
getMethod()
Get invoked method.
|
Class<?>[] |
getParameterTypes()
Get invoked method arguments types.
|
int |
hashCode() |
Object |
invoke(IArrayProvider ap,
Object on)
Invoke with no arguments.
|
Object |
invoke(IArrayProvider ap,
Object on,
Object... arguments)
Invoke with arguments.
|
Object |
invoke(IArrayProvider ap,
Object on,
Object arg)
Invoke with one argument.
|
Object |
invoke(IArrayProvider ap,
Object on,
Object arg1,
Object arg2)
Invoke with two argument.
|
boolean |
isAccessible() |
String |
toString() |
public ReflectionMethodInvoker(Method m)
public Object invoke(IArrayProvider ap, Object on) throws UtilsException
IMethodInvoker
invoke
in interface IMethodInvoker
UtilsException
public Object invoke(IArrayProvider ap, Object on, Object arg) throws UtilsException
IMethodInvoker
invoke
in interface IMethodInvoker
UtilsException
public Object invoke(IArrayProvider ap, Object on, Object arg1, Object arg2) throws UtilsException
IMethodInvoker
invoke
in interface IMethodInvoker
UtilsException
public Object invoke(IArrayProvider ap, Object on, Object... arguments) throws UtilsException
IMethodInvoker
invoke
in interface IMethodInvoker
UtilsException
public Method getMethod()
IMethodInvoker
getMethod
in interface IMethodInvoker
public boolean isAccessible()
isAccessible
in interface IMethodInvoker
public Class<?>[] getParameterTypes()
IMethodInvoker
getParameterTypes
in interface IMethodInvoker