Class ParameterTypes

java.lang.Object
org.codehaus.groovy.reflection.ParameterTypes
Direct Known Subclasses:
CachedConstructor, MetaMethod

public class ParameterTypes extends Object
  • Field Details

    • parameterTypes

      protected volatile CachedClass[] parameterTypes
    • nativeParamTypes

      protected volatile Class[] nativeParamTypes
    • isVargsMethod

      protected boolean isVargsMethod
  • Constructor Details

    • ParameterTypes

      public ParameterTypes()
    • ParameterTypes

      public ParameterTypes(Class[] pt)
    • ParameterTypes

      public ParameterTypes(String[] pt)
    • 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)