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 |
|---|---|
int |
compareTo(java.lang.Object o) |
CallSite |
createPogoMetaMethodSite(CallSite site,
MetaClassImpl metaClass,
java.lang.Class[] params) |
CallSite |
createPojoMetaMethodSite(CallSite site,
MetaClassImpl metaClass,
java.lang.Class[] params) |
CallSite |
createStaticMetaMethodSite(CallSite site,
MetaClassImpl metaClass,
java.lang.Class[] params) |
boolean |
equals(java.lang.Object o) |
static CachedMethod |
find(java.lang.reflect.Method method) |
java.lang.reflect.Method |
getCachedMethod() |
CachedClass |
getDeclaringClass() |
java.lang.String |
getDescriptor() |
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() |
java.lang.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, 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 ParameterTypespublic java.lang.String getName()
getName in class MetaMethodpublic java.lang.String getDescriptor()
getDescriptor in class MetaMethodpublic CachedClass getDeclaringClass()
getDeclaringClass in class MetaMethodpublic final java.lang.Object invoke(java.lang.Object object,
java.lang.Object[] arguments)
invoke in class MetaMethodpublic ParameterTypes getParamTypes()
public java.lang.Class getReturnType()
getReturnType in class MetaMethodpublic int getParamsCount()
public int getModifiers()
getModifiers in class MetaMethodpublic java.lang.String getSignature()
getSignature in class MetaMethodpublic final java.lang.reflect.Method setAccessible()
public boolean isStatic()
isStatic in class MetaMethodpublic int compareTo(java.lang.Object o)
compareTo in interface java.lang.Comparablepublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class MetaMethodpublic CallSite createPogoMetaMethodSite(CallSite site, MetaClassImpl metaClass, java.lang.Class[] params)
public CallSite createPojoMetaMethodSite(CallSite site, MetaClassImpl metaClass, java.lang.Class[] params)
public CallSite createStaticMetaMethodSite(CallSite site, MetaClassImpl metaClass, java.lang.Class[] params)
public java.lang.reflect.Method getCachedMethod()