public class CachedMethod extends MetaMethod
Modifiers | Name | Description |
---|---|---|
static CachedMethod[] |
EMPTY_ARRAY |
|
CachedClass |
cachedClass |
Fields inherited from class | Fields |
---|---|
class MetaMethod |
EMPTY_ARRAY |
class ParameterTypes |
isVargsMethod, nativeParamTypes, parameterTypes |
Constructor and description |
---|
CachedMethod
(CachedClass clazz, Method method) |
CachedMethod
(Method method) |
Type Params | Return Type | Name and description |
---|---|---|
|
boolean |
canAccessLegally(Class<?> callerClass) |
|
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) |
|
T |
getAnnotation(Class<T> annotationClass) |
|
Method |
getCachedMethod() |
|
CachedClass |
getDeclaringClass() |
|
String |
getDescriptor() |
|
int |
getModifiers() |
|
String |
getName() |
|
Class[] |
getPT() |
|
ParameterTypes |
getParamTypes() |
|
int |
getParamsCount() |
|
Class |
getReturnType() |
|
String |
getSignature() |
|
CachedMethod |
getTransformedMethod() |
|
int |
hashCode() |
|
Object |
invoke(Object object, Object[] arguments) |
|
boolean |
isStatic() |
|
boolean |
isSynthetic() |
|
Method |
setAccessible() |
|
void |
setTransformedMethod(CachedMethod transformedMethod) |
|
String |
toString() |
Methods inherited from class | Name |
---|---|
class MetaMethod |
checkParameters, clone, doMethodInvoke, equal, equal, getDeclaringClass, getDescriptor, getModifiers, getMopName, getName, getReturnType, getSignature, invoke, isAbstract, isCacheable, isMethod, isPrivate, isProtected, isPublic, isSame, isStatic, processDoMethodInvokeException, toString |
class ParameterTypes |
coerceArgumentsToClasses, correctArguments, getNativeParameterTypes, getPT, getParameterTypes, isValidExactMethod, isValidExactMethod, isValidMethod, isValidMethod, isVargsMethod, isVargsMethod, setParametersTypes |
Copyright © 2003-2020 The Apache Software Foundation. All rights reserved.