CachedConstructor (Groovy 4.0.10)

Package: org.codehaus.groovy.reflection

## [Java] Class CachedConstructor

- org.codehaus.groovy.reflection.CachedConstructor

-     public class CachedConstructor
      extends ParameterTypes

- - Inherited fields
    Fields inherited from class | Fields
    --- | ---
    `class ParameterTypes` | `isVargsMethod, nativeParamTypes, parameterTypes`

  - ### Constructor Summary

    Constructors
    Constructor and description
    `CachedConstructor(CachedClass clazz, Constructor c)`
    `CachedConstructor(Constructor c)`

  - ### Methods Summary

    Methods
    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

    Inherited Methods
    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()

    - #### @Override
      protected Class[] getPT()

    - #### public Object invoke(Object[] argumentArray)

    - #### @Override
      public String toString()