org.codehaus.groovy.reflection
Class ParameterTypes
java.lang.Object
org.codehaus.groovy.reflection.ParameterTypes
- Direct Known Subclasses:
- CachedConstructor, MetaMethod
public class ParameterTypes
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
nativeParamTypes
protected volatile Class[] nativeParamTypes
parameterTypes
protected volatile CachedClass[] parameterTypes
isVargsMethod
protected boolean isVargsMethod
ParameterTypes
public ParameterTypes()
ParameterTypes
public ParameterTypes(Class[] pt)
ParameterTypes
public ParameterTypes(String[] pt)
ParameterTypes
public ParameterTypes(CachedClass[] parameterTypes)
setParametersTypes
protected final void setParametersTypes(CachedClass[] pt)
getParameterTypes
public CachedClass[] getParameterTypes()
getNativeParameterTypes
public Class[] getNativeParameterTypes()
getPT
protected Class[] getPT()
isVargsMethod
public boolean isVargsMethod(Object[] arguments)
coerceArgumentsToClasses
public final Object[] coerceArgumentsToClasses(Object[] argumentArray)
correctArguments
public Object[] correctArguments(Object[] argumentArray)
isValidMethod
public boolean isValidMethod(Class[] arguments)
isValidExactMethod
public boolean isValidExactMethod(Object[] args)
isValidExactMethod
public boolean isValidExactMethod(Class[] args)
isValidMethod
public boolean isValidMethod(Object[] arguments)