Top Fields Constructors Methods
org.codehaus.groovy.reflection

public Class CachedConstructor

extends ParameterTypes
Class Inheritance
Imports
groovy.lang.GroovyRuntimeException, org.codehaus.groovy.runtime.InvokerHelper, .InvokerInvocationException, java.lang.reflect.Constructor, .InvocationTargetException, .Modifier

Field Summary

Modifier and TypeField and Description
private final Constructor<T>
private final CachedClass
private boolean
Inherited from org.codehaus.groovy.reflection.ParameterTypes:
isVargsMethodnativeParamTypesparameterTypes

Constructor Summary

AccessConstructor and Description
public
public

Method Summary

Modifier and TypeMethod and Description
private static GroovyRuntimeException
createException(String init, Constructor<T> constructor, Object[] argumentArray, Throwable e, boolean setReason)

public Object
doConstructorInvoke(Object[] argumentArray)

public static CachedConstructor
find(Constructor<T> constructor)

public CachedClass
public Constructor<T>
public Class<T>
public int
protected Class<T>[]
public Object
invoke(Object[] argumentArray)

private boolean
private void
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from org.codehaus.groovy.reflection.ParameterTypes:
coerceArgumentsToClassescorrectArgumentsgetNativeParameterTypesgetParameterTypesisValidExactMethodisValidExactMethodisValidMethodisValidMethodisVargsMethodisVargsMethodsetParametersTypes

Field Detail

cachedConstructorback to summary
private final Constructor<T> cachedConstructor
clazzback to summary
private final CachedClass clazz
makeAccessibleDoneback to summary
private boolean makeAccessibleDone

Constructor Detail

CachedConstructorback to summary
public CachedConstructor(CachedClass clazz, final Constructor<T> c)
CachedConstructorback to summary
public CachedConstructor(Constructor<T> c)

Method Detail

createExceptionback to summary
private static GroovyRuntimeException createException(String init, Constructor<T> constructor, Object[] argumentArray, Throwable e, boolean setReason)
doConstructorInvokeback to summary
public Object doConstructorInvoke(Object[] argumentArray)
findback to summary
public static CachedConstructor find(Constructor<T> constructor)
getCachedClassback to summary
public CachedClass getCachedClass()
getCachedConstructorback to summary
public Constructor<T> getCachedConstructor()
getDeclaringClassback to summary
public Class<T> getDeclaringClass()
getModifiersback to summary
public int getModifiers()
getPTback to summary
protected Class<T>[] getPT()

Overrides org.codehaus.groovy.reflection.ParameterTypes.getPT.

invokeback to summary
public Object invoke(Object[] argumentArray)
isConstructorOfAbstractClassback to summary
private boolean isConstructorOfAbstractClass()
makeAccessibleIfNecessaryback to summary
private void makeAccessibleIfNecessary()
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.

Annotations
@Override