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, processDoMethodInvokeExceptioncoerceArgumentsToClasses, correctArguments, getNativeParameterTypes, getParameterTypes, isValidExactMethod, isValidExactMethod, isValidMethod, isValidMethod, isVargsMethod, isVargsMethod, setParametersTypespublic 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 ParameterTypespublic String getName()
getName in class MetaMethodpublic String getDescriptor()
getDescriptor in class MetaMethodpublic CachedClass getDeclaringClass()
getDeclaringClass in class MetaMethodpublic final Object invoke(Object object, Object[] arguments)
invoke in class MetaMethodpublic ParameterTypes getParamTypes()
public Class getReturnType()
getReturnType in class MetaMethodpublic int getParamsCount()
public int getModifiers()
getModifiers in class MetaMethodpublic String getSignature()
getSignature in class MetaMethodpublic final Method setAccessible()
public boolean isStatic()
isStatic in class MetaMethodpublic int compareTo(Object o)
compareTo in interface Comparablepublic String toString()
toString in class MetaMethodpublic 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()