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, processDoMethodInvokeException
coerceArgumentsToClasses, correctArguments, getNativeParameterTypes, getParameterTypes, isValidExactMethod, isValidExactMethod, isValidMethod, isValidMethod, isVargsMethod, 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 final 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 final java.lang.reflect.Method setAccessible()
public boolean isStatic()
isStatic
in class MetaMethod
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
public 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()