Package org.codehaus.groovy.reflection
Class CachedConstructor
- java.lang.Object
-
- org.codehaus.groovy.reflection.ParameterTypes
-
- org.codehaus.groovy.reflection.CachedConstructor
-
public class CachedConstructor extends ParameterTypes
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.reflect.Constructor
cachedConstructor
-
Fields inherited from class org.codehaus.groovy.reflection.ParameterTypes
isVargsMethod, nativeParamTypes, parameterTypes
-
-
Constructor Summary
Constructors Constructor Description CachedConstructor(java.lang.reflect.Constructor c)
CachedConstructor(CachedClass clazz, java.lang.reflect.Constructor c)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
doConstructorInvoke(java.lang.Object[] argumentArray)
static CachedConstructor
find(java.lang.reflect.Constructor constructor)
CachedClass
getCachedClass()
int
getModifiers()
protected java.lang.Class[]
getPT()
java.lang.Object
invoke(java.lang.Object[] argumentArray)
-
Methods inherited from class org.codehaus.groovy.reflection.ParameterTypes
coerceArgumentsToClasses, correctArguments, getNativeParameterTypes, getParameterTypes, isValidExactMethod, isValidExactMethod, isValidMethod, isValidMethod, isVargsMethod, isVargsMethod, setParametersTypes
-
-
-
-
Constructor Detail
-
CachedConstructor
public CachedConstructor(CachedClass clazz, java.lang.reflect.Constructor c)
-
CachedConstructor
public CachedConstructor(java.lang.reflect.Constructor c)
-
-
Method Detail
-
getPT
protected java.lang.Class[] getPT()
- Overrides:
getPT
in classParameterTypes
-
find
public static CachedConstructor find(java.lang.reflect.Constructor constructor)
-
doConstructorInvoke
public java.lang.Object doConstructorInvoke(java.lang.Object[] argumentArray)
-
invoke
public java.lang.Object invoke(java.lang.Object[] argumentArray)
-
getModifiers
public int getModifiers()
-
getCachedClass
public CachedClass getCachedClass()
-
-