public class ReflectedMethod
extends java.lang.Object
| Constructor and Description |
|---|
ReflectedMethod(java.lang.Object subject,
java.lang.String methodName,
java.lang.Class[] paramTypes)
Constructor ReflectedMethod.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
exists()
Method exists.
|
java.lang.Class |
getType()
Method getType.
|
java.lang.Object |
invoke(java.lang.Object[] params)
Method invoke.
|
public ReflectedMethod(java.lang.Object subject,
java.lang.String methodName,
java.lang.Class[] paramTypes)
subject - The object on which the method lives.methodName - The name of the method.paramTypes - The method's parameter types.public boolean exists()
public java.lang.Object invoke(java.lang.Object[] params)
params - An Object[] containing the parameters to pass.public java.lang.Class getType()