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 Details

    • CategoryMethod

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

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