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