Class 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
    • Constructor Detail

      • CategoryMethod

        public CategoryMethod​(CachedMethod metaMethod,
                              java.lang.Class metaClass)
    • Method Detail

      • isCacheable

        public boolean isCacheable()
        Description copied from class: MetaMethod
        Returns whether this object is cacheable
        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