Class GroovyCategorySupport.CategoryMethod

    • Constructor Detail

      • CategoryMethod

        public CategoryMethod​(CachedMethod metaMethod,
                              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​(Object o)
        Sort by most specific to least specific.
        Specified by:
        compareTo in interface Comparable
        Parameters:
        o - the object to compare against