Class ExtensionMethodCache
java.lang.Object
org.codehaus.groovy.transform.stc.AbstractExtensionMethodCache
org.codehaus.groovy.transform.stc.ExtensionMethodCache
This class is used to make extension methods lookup faster. Basically, it will only
collect the list of extension methods (see
ExtensionModule) if the list of
extension modules has changed. It avoids recomputing the whole list each time we perform
a method lookup.-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddAdditionalClassesToScan(Set<Class> instanceExtClasses, Set<Class> staticExtClasses) protected Stringprotected Predicate<MethodNode>protected Function<MethodNode,String> Methods inherited from class org.codehaus.groovy.transform.stc.AbstractExtensionMethodCache
get
-
Field Details
-
INSTANCE
-
-
Method Details
-
addAdditionalClassesToScan
protected void addAdditionalClassesToScan(Set<Class> instanceExtClasses, Set<Class> staticExtClasses) - Specified by:
addAdditionalClassesToScanin classAbstractExtensionMethodCache
-
getDisablePropertyName
- Specified by:
getDisablePropertyNamein classAbstractExtensionMethodCache
-
getMethodFilter
- Specified by:
getMethodFilterin classAbstractExtensionMethodCache
-
getMethodMapper
- Specified by:
getMethodMapperin classAbstractExtensionMethodCache
-