[Java] Class CachedConstructor
- org.codehaus.groovy.reflection.CachedConstructor
public class CachedConstructor extends ParameterTypes
Fields inherited from class | Fields |
---|---|
class ParameterTypes | isVargsMethod, nativeParamTypes, parameterTypes |
Constructor Summary
Constructor and description |
---|
CachedConstructor
(CachedClass clazz, Constructor c) |
CachedConstructor
(Constructor c) |
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
public Object |
doConstructorInvoke(Object[] argumentArray) | |
public static CachedConstructor |
find(Constructor constructor) | |
public CachedClass |
getCachedClass() | |
public Constructor |
getCachedConstructor() | |
public Class |
getDeclaringClass() | |
public int |
getModifiers() | |
protected Class[] |
getPT() | |
public Object |
invoke(Object[] argumentArray) | |
public String |
toString() |
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class ParameterTypes | coerceArgumentsToClasses, correctArguments, getNativeParameterTypes, getPT, getParameterTypes, isValidExactMethod, isValidExactMethod, isValidMethod, isValidMethod, isVargsMethod, isVargsMethod, setParametersTypes |
Constructor Detail
public CachedConstructor(CachedClass clazz, Constructor c)
public CachedConstructor(Constructor c)
Method Detail
public Object doConstructorInvoke(Object[] argumentArray)
public static CachedConstructor find(Constructor constructor)
public CachedClass getCachedClass()
public Constructor getCachedConstructor()
public Class getDeclaringClass()
public int getModifiers()
protected Class[] getPT()
public Object invoke(Object[] argumentArray)
@Override public String toString()
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/3.0.7/html/gapi/org/codehaus/groovy/reflection/CachedConstructor.html