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 
- 
- 
Field SummaryFields Modifier and Type Field Description protected booleanisVargsMethodprotected Class[]nativeParamTypesprotected CachedClass[]parameterTypes
 - 
Constructor SummaryConstructors Constructor Description ParameterTypes()ParameterTypes(Class[] pt)ParameterTypes(String[] pt)ParameterTypes(CachedClass[] parameterTypes)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Object[]coerceArgumentsToClasses(Object[] argumentArray)Object[]correctArguments(Object[] argumentArray)Class[]getNativeParameterTypes()CachedClass[]getParameterTypes()protected Class[]getPT()booleanisValidExactMethod(Class[] args)booleanisValidExactMethod(Object[] args)booleanisValidMethod(Class[] arguments)booleanisValidMethod(Object[] arguments)booleanisVargsMethod()booleanisVargsMethod(Object[] arguments)protected voidsetParametersTypes(CachedClass[] pt)
 
- 
- 
- 
Field Detail- 
nativeParamTypesprotected volatile Class[] nativeParamTypes 
 - 
parameterTypesprotected volatile CachedClass[] parameterTypes 
 - 
isVargsMethodprotected boolean isVargsMethod 
 
- 
 - 
Constructor Detail- 
ParameterTypespublic ParameterTypes() 
 - 
ParameterTypespublic ParameterTypes(Class[] pt) 
 - 
ParameterTypespublic ParameterTypes(String[] pt) 
 - 
ParameterTypespublic ParameterTypes(CachedClass[] parameterTypes) 
 
- 
 - 
Method Detail- 
setParametersTypesprotected final void setParametersTypes(CachedClass[] pt) 
 - 
getParameterTypespublic CachedClass[] getParameterTypes() 
 - 
getNativeParameterTypespublic Class[] getNativeParameterTypes() 
 - 
getPTprotected Class[] getPT() 
 - 
isVargsMethodpublic boolean isVargsMethod() 
 - 
isVargsMethodpublic boolean isVargsMethod(Object[] arguments) 
 - 
isValidMethodpublic boolean isValidMethod(Class[] arguments) 
 - 
isValidExactMethodpublic boolean isValidExactMethod(Object[] args) 
 - 
isValidExactMethodpublic boolean isValidExactMethod(Class[] args) 
 - 
isValidMethodpublic boolean isValidMethod(Object[] arguments) 
 
- 
 
-