public class CreateDynamicMethod extends AbstractStaticMethodInvocation
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
METHOD_NAME |
| Constructor and Description |
|---|
CreateDynamicMethod() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
invoke(java.lang.Class clazz,
java.lang.String methodName,
java.lang.Object[] arguments)
Invokes the actual method.
|
getPattern, isMethodMatch, setPattern, setPattern, toStringpublic static final java.lang.String METHOD_NAME
public java.lang.Object invoke(java.lang.Class clazz,
java.lang.String methodName,
java.lang.Object[] arguments)
StaticMethodInvocationinvoke in interface StaticMethodInvocationinvoke in class AbstractStaticMethodInvocationclazz - the class the static method is called onmethodName - the static method namearguments - the arguments supplied