Class MetaMethodIndex.Cache

java.lang.Object
org.codehaus.groovy.runtime.metaclass.MetaMethodIndex.Cache
Enclosing class:
MetaMethodIndex

public static class MetaMethodIndex.Cache extends Object
A cache of metamethods indexed by name.
  • Field Details

    • name

      public final String name
      The method name
    • methods

      public Object methods
      A list of methods or a single method
    • methodsForSuper

      public Object methodsForSuper
      Methods available for super calls
    • staticMethods

      public Object staticMethods
      Static methods for this name
    • cachedMethod

      public MetaMethodIndex.MetaMethodCache cachedMethod
      Cached method result for normal calls
    • cachedMethodForSuper

      public MetaMethodIndex.MetaMethodCache cachedMethodForSuper
      Cached method result for super calls
    • cachedStaticMethod

      public MetaMethodIndex.MetaMethodCache cachedStaticMethod
      Cached static method result
  • Constructor Details

    • Cache

      public Cache(String name)
      Constructs a new Cache for the given method name.
      Parameters:
      name - the method name
  • Method Details