Class ExtensionMethodCache
- java.lang.Object
- 
- org.codehaus.groovy.transform.stc.AbstractExtensionMethodCache
- 
- org.codehaus.groovy.transform.stc.ExtensionMethodCache
 
 
- 
 public class ExtensionMethodCache extends AbstractExtensionMethodCache This class is used to make extension methods lookup faster. Basically, it will only collect the list of extension methods (seeExtensionModuleif the list of extension modules has changed. It avoids recomputing the whole list each time we perform a method lookup.
- 
- 
Field SummaryFields Modifier and Type Field Description static ExtensionMethodCacheINSTANCE
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddAdditionalClassesToScan(Set<Class> instanceExtClasses, Set<Class> staticExtClasses)protected Predicate<MethodNode>getMethodFilter()protected Function<MethodNode,String>getMethodMapper()- 
Methods inherited from class org.codehaus.groovy.transform.stc.AbstractExtensionMethodCacheget
 
- 
 
- 
- 
- 
Field Detail- 
INSTANCEpublic static final ExtensionMethodCache INSTANCE 
 
- 
 - 
Method Detail- 
addAdditionalClassesToScanprotected void addAdditionalClassesToScan(Set<Class> instanceExtClasses, Set<Class> staticExtClasses) - Specified by:
- addAdditionalClassesToScanin class- AbstractExtensionMethodCache
 
 - 
getMethodFilterprotected Predicate<MethodNode> getMethodFilter() - Specified by:
- getMethodFilterin class- AbstractExtensionMethodCache
 
 - 
getMethodMapperprotected Function<MethodNode,String> getMethodMapper() - Specified by:
- getMethodMapperin class- AbstractExtensionMethodCache
 
 
- 
 
-