public class ParameterTypes
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
isVargsMethod |
protected java.lang.Class[] |
nativeParamTypes |
protected CachedClass[] |
parameterTypes |
Constructor and Description |
---|
ParameterTypes() |
ParameterTypes(CachedClass[] parameterTypes) |
ParameterTypes(java.lang.Class[] pt) |
ParameterTypes(java.lang.String[] pt) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object[] |
coerceArgumentsToClasses(java.lang.Object[] argumentArray) |
java.lang.Object[] |
correctArguments(java.lang.Object[] argumentArray) |
java.lang.Class[] |
getNativeParameterTypes() |
CachedClass[] |
getParameterTypes() |
protected java.lang.Class[] |
getPT() |
boolean |
isValidExactMethod(java.lang.Class[] args) |
boolean |
isValidExactMethod(java.lang.Object[] args) |
boolean |
isValidMethod(java.lang.Class[] arguments) |
boolean |
isValidMethod(java.lang.Object[] arguments) |
boolean |
isVargsMethod() |
boolean |
isVargsMethod(java.lang.Object[] arguments) |
protected void |
setParametersTypes(CachedClass[] pt) |
protected volatile java.lang.Class[] nativeParamTypes
protected volatile CachedClass[] parameterTypes
protected boolean isVargsMethod
public ParameterTypes()
public ParameterTypes(java.lang.Class[] pt)
public ParameterTypes(java.lang.String[] pt)
public ParameterTypes(CachedClass[] parameterTypes)
protected final void setParametersTypes(CachedClass[] pt)
public CachedClass[] getParameterTypes()
public java.lang.Class[] getNativeParameterTypes()
protected java.lang.Class[] getPT()
public boolean isVargsMethod()
public boolean isVargsMethod(java.lang.Object[] arguments)
public final java.lang.Object[] coerceArgumentsToClasses(java.lang.Object[] argumentArray)
public java.lang.Object[] correctArguments(java.lang.Object[] argumentArray)
public boolean isValidMethod(java.lang.Class[] arguments)
public boolean isValidExactMethod(java.lang.Object[] args)
public boolean isValidExactMethod(java.lang.Class[] args)
public boolean isValidMethod(java.lang.Object[] arguments)