public class CachedMethod extends MetaMethod implements Comparable
Modifier and Type | Field and Description |
---|---|
CachedClass |
cachedClass |
isVargsMethod, nativeParamTypes, parameterTypes
Constructor and Description |
---|
CachedMethod(CachedClass clazz,
Method method) |
CachedMethod(Method method) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Object o) |
CallSite |
createPogoMetaMethodSite(CallSite site,
MetaClassImpl metaClass,
Class[] params) |
CallSite |
createPojoMetaMethodSite(CallSite site,
MetaClassImpl metaClass,
Class[] params) |
CallSite |
createStaticMetaMethodSite(CallSite site,
MetaClassImpl metaClass,
Class[] params) |
boolean |
equals(Object o) |
static CachedMethod |
find(Method method) |
Method |
getCachedMethod() |
CachedClass |
getDeclaringClass() |
String |
getDescriptor() |
int |
getModifiers() |
String |
getName() |
int |
getParamsCount() |
ParameterTypes |
getParamTypes() |
protected Class[] |
getPT() |
Class |
getReturnType() |
String |
getSignature() |
int |
hashCode() |
Object |
invoke(Object object,
Object[] arguments) |
boolean |
isStatic() |
Method |
setAccessible() |
String |
toString() |
checkParameters, clone, doMethodInvoke, equal, equal, getMopName, isAbstract, isCacheable, isMethod, isPrivate, isProtected, isPublic, isSame, processDoMethodInvokeException
coerceArgumentsToClasses, correctArguments, getNativeParameterTypes, getParameterTypes, isValidExactMethod, isValidExactMethod, isValidMethod, isValidMethod, isVargsMethod, isVargsMethod, setParametersTypes
public final CachedClass cachedClass
public CachedMethod(CachedClass clazz, Method method)
public CachedMethod(Method method)
public static CachedMethod find(Method method)
protected Class[] getPT()
getPT
in class ParameterTypes
public String getName()
getName
in class MetaMethod
public String getDescriptor()
getDescriptor
in class MetaMethod
public CachedClass getDeclaringClass()
getDeclaringClass
in class MetaMethod
public final Object invoke(Object object, Object[] arguments)
invoke
in class MetaMethod
public ParameterTypes getParamTypes()
public Class getReturnType()
getReturnType
in class MetaMethod
public int getParamsCount()
public int getModifiers()
getModifiers
in class MetaMethod
public String getSignature()
getSignature
in class MetaMethod
public final Method setAccessible()
public boolean isStatic()
isStatic
in class MetaMethod
public int compareTo(Object o)
compareTo
in interface Comparable
public String toString()
toString
in class MetaMethod
public CallSite createPogoMetaMethodSite(CallSite site, MetaClassImpl metaClass, Class[] params)
public CallSite createPojoMetaMethodSite(CallSite site, MetaClassImpl metaClass, Class[] params)
public CallSite createStaticMetaMethodSite(CallSite site, MetaClassImpl metaClass, Class[] params)
public Method getCachedMethod()