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
private static class GroovyCategorySupport.CategoryMethod
- extends NewInstanceMetaMethod
- implements java.lang.Comparable
Field Summary |
private java.lang.Class |
metaClass
|
Method Summary |
int |
compareTo(java.lang.Object o)
Sort by most specific to least specific. |
boolean |
isCacheable()
|
private boolean |
isChildOfParent(java.lang.Class candidateChild,
java.lang.Class candidateParent)
|
Methods inherited from class groovy.lang.MetaMethod |
checkParameters, clone, doMethodInvoke, equal, equal, getDescriptor, getMopName, getSignature, isAbstract, isMethod, isPrivate, isProtected, isPublic, isSame, processDoMethodInvokeException |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
metaClass
private final java.lang.Class metaClass
GroovyCategorySupport.CategoryMethod
public GroovyCategorySupport.CategoryMethod(CachedMethod metaMethod,
java.lang.Class metaClass)
isCacheable
public boolean isCacheable()
- Overrides:
isCacheable
in class MetaMethod
compareTo
public int compareTo(java.lang.Object o)
- Sort by most specific to least specific.
- Specified by:
compareTo
in interface java.lang.Comparable
- Parameters:
o
- the object to compare against
isChildOfParent
private boolean isChildOfParent(java.lang.Class candidateChild,
java.lang.Class candidateParent)
Copyright © ${year} The Codehaus. All Rights Reserved.