Package org.codehaus.groovy.runtime
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:
java.lang.Cloneable,java.lang.Comparable
- Enclosing class:
- GroovyCategorySupport
public static class GroovyCategorySupport.CategoryMethod extends NewInstanceMetaMethod implements java.lang.Comparable
-
Field Summary
Fields inherited from class org.codehaus.groovy.runtime.metaclass.NewMetaMethod
bytecodeParameterTypes, EMPTY_TYPE_ARRAYFields inherited from class org.codehaus.groovy.runtime.metaclass.ReflectionMetaMethod
methodFields inherited from class groovy.lang.MetaMethod
EMPTY_ARRAYFields inherited from class org.codehaus.groovy.reflection.ParameterTypes
isVargsMethod, nativeParamTypes, parameterTypes -
Constructor Summary
Constructors Constructor Description CategoryMethod(CachedMethod metaMethod, java.lang.Class metaClass) -
Method Summary
Modifier and Type Method Description intcompareTo(java.lang.Object that)Sort by most specific to least specific.booleanisCacheable()Returns whether this object is cacheableMethods inherited from class org.codehaus.groovy.runtime.metaclass.NewInstanceMetaMethod
getModifiers, invoke, isStaticMethods inherited from class org.codehaus.groovy.runtime.metaclass.NewMetaMethod
getBytecodeParameterTypes, getDeclaringClass, getOwnerClassMethods inherited from class org.codehaus.groovy.runtime.metaclass.ReflectionMetaMethod
getCachedMethod, getName, getPT, getReturnType, toStringMethods inherited from class groovy.lang.MetaMethod
checkParameters, clone, doMethodInvoke, equal, equal, getDescriptor, getMopName, getSignature, isAbstract, isMethod, isPrivate, isProtected, isPublic, isSame, processDoMethodInvokeExceptionMethods inherited from class org.codehaus.groovy.reflection.ParameterTypes
coerceArgumentsToClasses, correctArguments, getNativeParameterTypes, getParameterTypes, isValidExactMethod, isValidExactMethod, isValidMethod, isValidMethod, isVargsMethod, isVargsMethod, setParametersTypesMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
CategoryMethod
-
-
Method Details
-
isCacheable
public boolean isCacheable()Description copied from class:MetaMethodReturns whether this object is cacheable- Overrides:
isCacheablein classMetaMethod
-
compareTo
public int compareTo(java.lang.Object that)Sort by most specific to least specific.- Specified by:
compareToin interfacejava.lang.Comparable- Parameters:
that- the object to compare against
-