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 (see ExtensionModule) if the list of extension modules has changed. It avoids recomputing the whole list each time we perform a method lookup.
Modifiers | Name | Description |
---|---|---|
static ExtensionMethodCache |
INSTANCE |
Type Params | Return Type | Name and description |
---|---|---|
|
protected void |
addAdditionalClassesToScan(Set<Class> instanceExtClasses, Set<Class> staticExtClasses) |
|
protected String |
getDisablePropertyName() |
|
protected Predicate<MethodNode> |
getMethodFilter() |
|
protected Function<MethodNode, String> |
getMethodMapper() |
Methods inherited from class | Name |
---|---|
class AbstractExtensionMethodCache |
addAdditionalClassesToScan, get, getDisablePropertyName, getMethodFilter, getMethodMapper |