Package org.codehaus.groovy.reflection
Class ParameterTypes
java.lang.Object
org.codehaus.groovy.reflection.ParameterTypes
- Direct Known Subclasses:
CachedConstructor
,MetaMethod
-
Field Summary
-
Constructor Summary
ConstructorDescriptionParameterTypes
(Class[] pt) ParameterTypes
(String[] pt) ParameterTypes
(CachedClass[] pt) -
Method Summary
Modifier and TypeMethodDescriptionfinal Object[]
coerceArgumentsToClasses
(Object[] arguments) Object[]
correctArguments
(Object[] arguments) Class[]
protected Class[]
getPT()
boolean
isValidExactMethod
(Class[] args) boolean
isValidExactMethod
(Object[] args) boolean
isValidMethod
(Class[] argumentTypes) boolean
isValidMethod
(Object[] arguments) boolean
boolean
isVargsMethod
(Object[] arguments) protected final void
-
Field Details
-
parameterTypes
-
nativeParamTypes
-
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
-