org.codehaus.groovy.reflection
Class CachedConstructor

java.lang.Object
  extended by org.codehaus.groovy.reflection.ParameterTypes
      extended by org.codehaus.groovy.reflection.CachedConstructor

public class CachedConstructor
extends ParameterTypes

Author:
Alex.Tkachman

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

clazz

CachedClass clazz

cachedConstructor

public final java.lang.reflect.Constructor cachedConstructor
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 class ParameterTypes

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)

createExceptionText

private static GroovyRuntimeException createExceptionText(java.lang.String init,
                                                          java.lang.reflect.Constructor constructor,
                                                          java.lang.Object[] argumentArray,
                                                          java.lang.Throwable e,
                                                          boolean setReason)

getModifiers

public int getModifiers()


Copyright © ${year} The Codehaus. All Rights Reserved.