Class AbstractExtensionMethodCache

java.lang.Object
org.codehaus.groovy.transform.stc.AbstractExtensionMethodCache
Direct Known Subclasses:
ExtensionMethodCache

public abstract class AbstractExtensionMethodCache
extends java.lang.Object
Since:
3.0.0
  • Constructor Summary

    Constructors
    Constructor Description
    AbstractExtensionMethodCache()  
  • Method Summary

    Modifier and Type Method Description
    protected abstract void addAdditionalClassesToScan​(java.util.Set<java.lang.Class> instanceExtClasses, java.util.Set<java.lang.Class> staticExtClasses)  
    java.util.Map<java.lang.String,​java.util.List<MethodNode>> get​(java.lang.ClassLoader loader)  
    protected abstract java.util.function.Predicate<MethodNode> getMethodFilter()  
    protected abstract java.util.function.Function<MethodNode,​java.lang.String> getMethodMapper()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AbstractExtensionMethodCache

      public AbstractExtensionMethodCache()
  • Method Details

    • get

      public java.util.Map<java.lang.String,​java.util.List<MethodNode>> get​(java.lang.ClassLoader loader)
    • addAdditionalClassesToScan

      protected abstract void addAdditionalClassesToScan​(java.util.Set<java.lang.Class> instanceExtClasses, java.util.Set<java.lang.Class> staticExtClasses)
    • getMethodFilter

      protected abstract java.util.function.Predicate<MethodNode> getMethodFilter()
    • getMethodMapper

      protected abstract java.util.function.Function<MethodNode,​java.lang.String> getMethodMapper()