Class GroovyCategorySupport.CategoryMethod
java.lang.Object
org.codehaus.groovy.reflection.ParameterTypes
groovy.lang.MetaMethod
org.codehaus.groovy.runtime.metaclass.ReflectionMetaMethod
org.codehaus.groovy.runtime.metaclass.NewMetaMethod
org.codehaus.groovy.runtime.metaclass.NewInstanceMetaMethod
org.codehaus.groovy.runtime.GroovyCategorySupport.CategoryMethod
- All Implemented Interfaces:
Cloneable, Comparable
- Enclosing class:
GroovyCategorySupport
public static class GroovyCategorySupport.CategoryMethod
extends NewInstanceMetaMethod
implements Comparable
- Author:
- sam, Paul King, Alex Tkachman
-
Field Summary
Fields inherited from class NewMetaMethod
bytecodeParameterTypes, EMPTY_TYPE_ARRAYFields inherited from class ReflectionMetaMethod
methodFields inherited from class ParameterTypes
isVargsMethod, nativeParamTypes, parameterTypes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintSort by most specific to least specific.booleanReturns whether this object is cacheableMethods inherited from class NewInstanceMetaMethod
getModifiers, invoke, isStaticMethods inherited from class NewMetaMethod
getBytecodeParameterTypes, getDeclaringClass, getOwnerClassMethods inherited from class ReflectionMetaMethod
getCachedMethod, getName, getPT, getReturnType, toStringMethods inherited from class MetaMethod
checkParameters, clone, doMethodInvoke, equal, equal, getDescriptor, getMopName, getSignature, isAbstract, isMethod, isPrivate, isProtected, isPublic, isSame, processDoMethodInvokeExceptionMethods inherited from class ParameterTypes
coerceArgumentsToClasses, correctArguments, getNativeParameterTypes, getParameterTypes, isValidExactMethod, isValidExactMethod, isValidMethod, isValidMethod, isVargsMethod, isVargsMethod, setParametersTypes
-
Constructor Details
-
CategoryMethod
-
-
Method Details
-
isCacheable
public boolean isCacheable()Description copied from class:MetaMethodReturns whether this object is cacheable- Overrides:
isCacheablein classMetaMethod
-
compareTo
Sort by most specific to least specific.- Specified by:
compareToin interfaceComparable- Parameters:
o- the object to compare against
-