public static class GroovyCategorySupport.CategoryMethod extends NewInstanceMetaMethod implements Comparable
bytecodeParameterTypes, EMPTY_TYPE_ARRAY
method
isVargsMethod, nativeParamTypes, parameterTypes
Constructor and Description |
---|
CategoryMethod(CachedMethod metaMethod,
Class metaClass) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Object o)
Sort by most specific to least specific.
|
boolean |
isCacheable()
Returns whether this object is cacheable
|
getModifiers, invoke, isStatic
getBytecodeParameterTypes, getDeclaringClass, getOwnerClass
getCachedMethod, getName, getPT, getReturnType, toString
checkParameters, clone, doMethodInvoke, equal, equal, getDescriptor, getMopName, getSignature, isAbstract, isMethod, isPrivate, isProtected, isPublic, isSame, processDoMethodInvokeException
coerceArgumentsToClasses, correctArguments, getNativeParameterTypes, getParameterTypes, isValidExactMethod, isValidExactMethod, isValidMethod, isValidMethod, isVargsMethod, isVargsMethod, setParametersTypes
public CategoryMethod(CachedMethod metaMethod, Class metaClass)
public boolean isCacheable()
MetaMethod
isCacheable
in class MetaMethod
public int compareTo(Object o)
compareTo
in interface Comparable
o
- the object to compare against