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 Summary
Fields Modifier and Type Field Description protected boolean
isVargsMethod
protected Class[]
nativeParamTypes
protected CachedClass[]
parameterTypes
-
Constructor Summary
Constructors Constructor Description ParameterTypes()
ParameterTypes(Class[] pt)
ParameterTypes(String[] pt)
ParameterTypes(CachedClass[] parameterTypes)
-
Method Summary
Modifier and Type Method Description Object[]
coerceArgumentsToClasses(Object[] argumentArray)
Object[]
correctArguments(Object[] argumentArray)
Class[]
getNativeParameterTypes()
CachedClass[]
getParameterTypes()
protected Class[]
getPT()
boolean
isValidExactMethod(Class[] args)
boolean
isValidExactMethod(Object[] args)
boolean
isValidMethod(Class[] arguments)
boolean
isValidMethod(Object[] arguments)
boolean
isVargsMethod()
boolean
isVargsMethod(Object[] arguments)
protected void
setParametersTypes(CachedClass[] pt)
-
Field Details
-
nativeParamTypes
-
parameterTypes
-
isVargsMethod
protected boolean isVargsMethod
-
-
Constructor Details
-
ParameterTypes
public ParameterTypes() -
ParameterTypes
-
ParameterTypes
-
ParameterTypes
-
-
Method Details
-
setParametersTypes
-
getParameterTypes
-
getNativeParameterTypes
-
getPT
-
isVargsMethod
public boolean isVargsMethod() -
isVargsMethod
-
coerceArgumentsToClasses
-
correctArguments
-
isValidMethod
-
isValidExactMethod
-
isValidExactMethod
-
isValidMethod
-