public class CachedMethod extends MetaMethod implements java.lang.Comparable
Modifier and Type | Field and Description |
---|---|
CachedClass |
cachedClass |
isVargsMethod, nativeParamTypes, parameterTypes
Constructor and Description |
---|
CachedMethod(CachedClass clazz,
java.lang.reflect.Method method) |
CachedMethod(java.lang.reflect.Method method) |
Modifier and Type | Method and Description |
---|---|
boolean |
canBeCalledByReflector() |
int |
compareTo(java.lang.Object o) |
boolean |
equals(java.lang.Object o) |
static CachedMethod |
find(java.lang.reflect.Method method) |
CachedClass |
getDeclaringClass() |
java.lang.String |
getDescriptor() |
int |
getMethodIndex() |
int |
getModifiers() |
java.lang.String |
getName() |
int |
getParamsCount() |
ParameterTypes |
getParamTypes() |
protected java.lang.Class[] |
getPT() |
java.lang.Class |
getReturnType() |
java.lang.String |
getSignature() |
int |
hashCode() |
java.lang.Object |
invoke(java.lang.Object object,
java.lang.Object[] arguments) |
boolean |
isStatic() |
java.lang.reflect.Method |
setAccessible() |
void |
setMethodIndex(int i) |
java.lang.String |
toString() |
checkParameters, clone, doMethodInvoke, equal, equal, getMopName, isAbstract, isCacheable, isMethod, isPrivate, isProtected, isPublic, isSame, processDoMethodInvokeException
coerceArgumentsToClasses, getNativeParameterTypes, getParameterTypes, isValidMethod, isValidMethod, isVargsMethod, setParametersTypes
public final CachedClass cachedClass
public CachedMethod(CachedClass clazz, java.lang.reflect.Method method)
public CachedMethod(java.lang.reflect.Method method)
public static CachedMethod find(java.lang.reflect.Method method)
protected java.lang.Class[] getPT()
getPT
in class ParameterTypes
public java.lang.String getName()
getName
in class MetaMethod
public java.lang.String getDescriptor()
getDescriptor
in class MetaMethod
public CachedClass getDeclaringClass()
getDeclaringClass
in class MetaMethod
public java.lang.Object invoke(java.lang.Object object, java.lang.Object[] arguments)
invoke
in class MetaMethod
public ParameterTypes getParamTypes()
public java.lang.Class getReturnType()
getReturnType
in class MetaMethod
public int getParamsCount()
public int getModifiers()
getModifiers
in class MetaMethod
public java.lang.String getSignature()
getSignature
in class MetaMethod
public java.lang.reflect.Method setAccessible()
public boolean isStatic()
isStatic
in class MetaMethod
public void setMethodIndex(int i)
public int getMethodIndex()
public boolean canBeCalledByReflector()
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class MetaMethod