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 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
Modifier and Type Method Description java.lang.ObjectdoConstructorInvoke(java.lang.Object[] argumentArray)static CachedConstructorfind(java.lang.reflect.Constructor constructor)CachedClassgetCachedClass()java.lang.reflect.ConstructorgetCachedConstructor()java.lang.ClassgetDeclaringClass()intgetModifiers()protected java.lang.Class[]getPT()java.lang.Objectinvoke(java.lang.Object[] argumentArray)java.lang.StringtoString()Methods inherited from class org.codehaus.groovy.reflection.ParameterTypes
coerceArgumentsToClasses, correctArguments, getNativeParameterTypes, getParameterTypes, isValidExactMethod, isValidExactMethod, isValidMethod, isValidMethod, isVargsMethod, isVargsMethod, setParametersTypesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait 
- 
Constructor Details
- 
CachedConstructor
 - 
CachedConstructor
public CachedConstructor(java.lang.reflect.Constructor c) 
 - 
 - 
Method Details
- 
getPT
protected java.lang.Class[] getPT()- Overrides:
 getPTin classParameterTypes
 - 
find
 - 
doConstructorInvoke
public java.lang.Object doConstructorInvoke(java.lang.Object[] argumentArray) - 
invoke
public java.lang.Object invoke(java.lang.Object[] argumentArray) - 
toString
public java.lang.String toString()- Overrides:
 toStringin classjava.lang.Object
 - 
getModifiers
public int getModifiers() - 
getCachedClass
 - 
getDeclaringClass
public java.lang.Class getDeclaringClass() - 
getCachedConstructor
public java.lang.reflect.Constructor getCachedConstructor() 
 -