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 that)
        Sort by most specific to least specific.
        Specified by:
        compareTo in interface Comparable
        Parameters:
        that - the object to compare against