ParameterTypes (Groovy 5.0.8)
Description: declaration: package: org.codehaus.groovy.reflection, class: ParameterTypes

Package org.codehaus.groovy.reflection

# Class ParameterTypes

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

Direct Known Subclasses:
  `CachedConstructor`, `MetaMethod`

public class ParameterTypes extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ParameterTypes()`
  `ParameterTypes(Class[] pt)`
  `ParameterTypes(String[] pt)`
  Deprecated.
  `ParameterTypes(CachedClass[] pt)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `final Object[]`
  `coerceArgumentsToClasses(Object[] arguments)`
  `Object[]`
  `correctArguments(Object[] arguments)`
  `Class[]`
  `getNativeParameterTypes()`
  `CachedClass[]`
  `getParameterTypes()`
  `protected Class[]`
  `getPT()`
  `boolean`
  `isValidExactMethod(Class[] args)`
  `boolean`
  `isValidExactMethod(Object[] args)`
  `boolean`
  `isValidMethod(Class[] argumentTypes)`
  `boolean`
  `isValidMethod(Object[] arguments)`
  `boolean`
  `isVargsMethod()`
  `boolean`
  `isVargsMethod(Object[] arguments)`
  `protected final void`
  `setParametersTypes(CachedClass[] pt)`

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

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

- ## Constructor Details

  - ### ParameterTypes

    public ParameterTypes()

  - ### ParameterTypes

    public ParameterTypes(Class[] pt)

  - ### ParameterTypes

    @Deprecated public ParameterTypes(String[] pt)
    Deprecated.

  - ### ParameterTypes

    public ParameterTypes(CachedClass[] pt)

- ## Method Details

  - ### setParametersTypes

    protected final void setParametersTypes(CachedClass[] pt)

  - ### getParameterTypes

    public CachedClass[] getParameterTypes()

  - ### getNativeParameterTypes

    public Class[] getNativeParameterTypes()

  - ### getPT

    protected Class[] getPT()

  - ### isVargsMethod

    public boolean isVargsMethod()

  - ### isVargsMethod

    public boolean isVargsMethod(Object[] arguments)

  - ### coerceArgumentsToClasses

    public final Object[] coerceArgumentsToClasses(Object[] arguments)

  - ### correctArguments

    public Object[] correctArguments(Object[] arguments)

  - ### isValidMethod

    public boolean isValidMethod(Class[] argumentTypes)

  - ### isValidExactMethod

    public boolean isValidExactMethod(Object[] args)

  - ### isValidExactMethod

    public boolean isValidExactMethod(Class[] args)

  - ### isValidMethod

    public boolean isValidMethod(Object[] arguments)