public static class GeneratedMetaMethod.Proxy extends GeneratedMetaMethod
GeneratedMetaMethod.DgmMethodRecord, GeneratedMetaMethod.Proxy
isVargsMethod, nativeParamTypes, parameterTypes
Constructor and Description |
---|
GeneratedMetaMethod.Proxy(String className,
String name,
CachedClass declaringClass,
Class returnType,
Class[] parameters) |
Modifier and Type | Method and Description |
---|---|
Object |
doMethodInvoke(Object object,
Object[] argumentArray)
Invokes the method this object represents.
|
Object |
invoke(Object object,
Object[] arguments)
Invoke this method
|
boolean |
isValidMethod(Class[] arguments) |
MetaMethod |
proxy() |
getDeclaringClass, getModifiers, getName, getReturnType
checkParameters, clone, equal, equal, getDescriptor, getMopName, getSignature, isAbstract, isCacheable, isMethod, isPrivate, isProtected, isPublic, isSame, isStatic, processDoMethodInvokeException, toString
coerceArgumentsToClasses, correctArguments, getNativeParameterTypes, getParameterTypes, getPT, isValidExactMethod, isValidExactMethod, isValidMethod, isVargsMethod, isVargsMethod, setParametersTypes
public GeneratedMetaMethod.Proxy(String className, String name, CachedClass declaringClass, Class returnType, Class[] parameters)
public boolean isValidMethod(Class[] arguments)
isValidMethod
in class ParameterTypes
public Object doMethodInvoke(Object object, Object[] argumentArray)
MetaMethod
doMethodInvoke
in class MetaMethod
object
- The object the method is to be called at.argumentArray
- Arguments for the method invocation.public Object invoke(Object object, Object[] arguments)
MetaMethod
invoke
in class MetaMethod
object
- The object this method should be invoked onarguments
- The arguments for the method if applicablepublic final MetaMethod proxy()