CachedConstructor (Groovy 5.1.0)
Description: declaration: package: org.codehaus.groovy.reflection, class: CachedConstructor

Package org.codehaus.groovy.reflection

# Class CachedConstructor

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

All Implemented Interfaces:
  `MetaMember`

public class CachedConstructor extends ParameterTypes implements MetaMember

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `CachedConstructor(Constructor c)`
  `CachedConstructor(CachedClass clazz, Constructor c)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Object`
  `doConstructorInvoke(Object[] argumentArray)`
  `static CachedConstructor`
  `find(Constructor constructor)`
  `CachedClass`
  `getCachedClass()`
  `Constructor`
  `getCachedConstructor()`
  `Class`
  `getDeclaringClass()`
  `int`
  `getModifiers()`
  `String`
  `getName()`
  `protected Class[]`
  `getPT()`
  `Object`
  `invoke(Object[] argumentArray)`
  `boolean`
  `isSynthetic()`
  `String`
  `toString()`

  ### Methods inherited from class org.codehaus.groovy.reflection.ParameterTypes

  `coerceArgumentsToClasses, correctArguments, getNativeParameterTypes, getParameterTypes, isValidExactMethod, isValidExactMethod, isValidMethod, isValidMethod, isVargsMethod, isVargsMethod, setParametersTypes`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

  ### Methods inherited from interface groovy.lang.MetaMember

  `isFinal, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic`

- ## Constructor Details

  - ### CachedConstructor

    public CachedConstructor(CachedClass clazz, Constructor c)

  - ### CachedConstructor

    public CachedConstructor(Constructor c)

- ## Method Details

  - ### getPT

    protected Class[] getPT()
    Overrides:
      `getPT` in class `ParameterTypes`

  - ### getName

    public String getName()
    Specified by:
      `getName` in interface `MetaMember`

  - ### getModifiers

    public int getModifiers()
    Specified by:
      `getModifiers` in interface `MetaMember`

  - ### isSynthetic

    public boolean isSynthetic()
    Specified by:
      `isSynthetic` in interface `MetaMember`

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`

  - ### find

    public static CachedConstructor find(Constructor constructor)

  - ### doConstructorInvoke

    public Object doConstructorInvoke(Object[] argumentArray)

  - ### invoke

    public Object invoke(Object[] argumentArray)

  - ### getCachedClass

    public CachedClass getCachedClass()

  - ### getDeclaringClass

    public Class getDeclaringClass()

  - ### getCachedConstructor

    public Constructor getCachedConstructor()