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
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addAdditionalClassesToScan
(Set<Class> instanceExtClasses, Set<Class> staticExtClasses) protected String
protected 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:
addAdditionalClassesToScan
in classAbstractExtensionMethodCache
-
getDisablePropertyName
- Specified by:
getDisablePropertyName
in classAbstractExtensionMethodCache
-
getMethodFilter
- Specified by:
getMethodFilter
in classAbstractExtensionMethodCache
-
getMethodMapper
- Specified by:
getMethodMapper
in classAbstractExtensionMethodCache
-