|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.groovy.reflection.ParameterTypes
org.codehaus.groovy.reflection.CachedConstructor
public class CachedConstructor
| Field Summary | |
|---|---|
java.lang.reflect.Constructor |
cachedConstructor
|
(package private) CachedClass |
clazz
|
| Fields inherited from class org.codehaus.groovy.reflection.ParameterTypes |
|---|
isVargsMethod, nativeParamTypes, parameterTypes |
| Constructor Summary | |
|---|---|
CachedConstructor(CachedClass clazz,
java.lang.reflect.Constructor c)
|
|
CachedConstructor(java.lang.reflect.Constructor c)
|
|
| Method Summary | |
|---|---|
private static GroovyRuntimeException |
createExceptionText(java.lang.String init,
java.lang.reflect.Constructor constructor,
java.lang.Object[] argumentArray,
java.lang.Throwable e,
boolean setReason)
|
java.lang.Object |
doConstructorInvoke(java.lang.Object[] argumentArray)
|
static CachedConstructor |
find(java.lang.reflect.Constructor constructor)
|
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, setParametersTypes |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
CachedClass clazz
public final java.lang.reflect.Constructor cachedConstructor
| Constructor Detail |
|---|
public CachedConstructor(CachedClass clazz,
java.lang.reflect.Constructor c)
public CachedConstructor(java.lang.reflect.Constructor c)
| Method Detail |
|---|
protected java.lang.Class[] getPT()
getPT in class ParameterTypespublic static CachedConstructor find(java.lang.reflect.Constructor constructor)
public java.lang.Object doConstructorInvoke(java.lang.Object[] argumentArray)
public java.lang.Object invoke(java.lang.Object[] argumentArray)
private static GroovyRuntimeException createExceptionText(java.lang.String init,
java.lang.reflect.Constructor constructor,
java.lang.Object[] argumentArray,
java.lang.Throwable e,
boolean setReason)
public int getModifiers()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||