Class ParameterTypes

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

public class ParameterTypes
extends java.lang.Object
  • Field Details

    • nativeParamTypes

      protected volatile java.lang.Class[] nativeParamTypes
    • parameterTypes

      protected volatile CachedClass[] parameterTypes
    • isVargsMethod

      protected boolean isVargsMethod
  • Constructor Details

    • ParameterTypes

      public ParameterTypes()
    • ParameterTypes

      public ParameterTypes​(java.lang.Class[] pt)
    • ParameterTypes

      public ParameterTypes​(java.lang.String[] pt)
    • ParameterTypes

      public ParameterTypes​(CachedClass[] parameterTypes)
  • Method Details

    • setParametersTypes

      protected final void setParametersTypes​(CachedClass[] pt)
    • getParameterTypes

      public CachedClass[] getParameterTypes()
    • getNativeParameterTypes

      public java.lang.Class[] getNativeParameterTypes()
    • getPT

      protected java.lang.Class[] getPT()
    • isVargsMethod

      public boolean isVargsMethod()
    • isVargsMethod

      public boolean isVargsMethod​(java.lang.Object[] arguments)
    • coerceArgumentsToClasses

      public final java.lang.Object[] coerceArgumentsToClasses​(java.lang.Object[] argumentArray)
    • correctArguments

      public java.lang.Object[] correctArguments​(java.lang.Object[] argumentArray)
    • isValidMethod

      public boolean isValidMethod​(java.lang.Class[] arguments)
    • isValidExactMethod

      public boolean isValidExactMethod​(java.lang.Object[] args)
    • isValidExactMethod

      public boolean isValidExactMethod​(java.lang.Class[] args)
    • isValidMethod

      public boolean isValidMethod​(java.lang.Object[] arguments)