org.codehaus.groovy.reflection
Class GeneratedMetaMethod.Proxy
java.lang.Object
org.codehaus.groovy.reflection.ParameterTypes
groovy.lang.MetaMethod
org.codehaus.groovy.reflection.GeneratedMetaMethod
org.codehaus.groovy.reflection.GeneratedMetaMethod.Proxy
- All Implemented Interfaces:
- java.lang.Cloneable
- Enclosing class:
- GeneratedMetaMethod
public static class GeneratedMetaMethod.Proxy
- extends GeneratedMetaMethod
Constructor Summary |
GeneratedMetaMethod.Proxy(java.lang.String className,
java.lang.String name,
CachedClass declaringClass,
java.lang.Class returnType,
java.lang.Class[] parameters)
|
Method Summary |
java.lang.Object |
doMethodInvoke(java.lang.Object object,
java.lang.Object[] argumentArray)
|
java.lang.Object |
invoke(java.lang.Object object,
java.lang.Object[] arguments)
|
boolean |
isValidMethod(java.lang.Class[] arguments)
|
MetaMethod |
proxy()
|
Methods inherited from class groovy.lang.MetaMethod |
checkParameters, clone, equal, equal, getDescriptor, getMopName, getSignature, isAbstract, isCacheable, isMethod, isPrivate, isProtected, isPublic, isSame, isStatic, processDoMethodInvokeException, toString |
Methods inherited from class org.codehaus.groovy.reflection.ParameterTypes |
coerceArgumentsToClasses, correctArguments, getNativeParameterTypes, getParameterTypes, getPT, isValidExactMethod, isValidExactMethod, isValidMethod, isVargsMethod, isVargsMethod, setParametersTypes |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
GeneratedMetaMethod.Proxy
public GeneratedMetaMethod.Proxy(java.lang.String className,
java.lang.String name,
CachedClass declaringClass,
java.lang.Class returnType,
java.lang.Class[] parameters)
isValidMethod
public boolean isValidMethod(java.lang.Class[] arguments)
- Overrides:
isValidMethod
in class ParameterTypes
doMethodInvoke
public java.lang.Object doMethodInvoke(java.lang.Object object,
java.lang.Object[] argumentArray)
- Overrides:
doMethodInvoke
in class MetaMethod
invoke
public java.lang.Object invoke(java.lang.Object object,
java.lang.Object[] arguments)
- Specified by:
invoke
in class MetaMethod
proxy
public final MetaMethod proxy()