public interface ExternalHooks
| Modifier and Type | Interface and Description |
|---|---|
static interface |
ExternalHooks.GetProvenance |
static interface |
ExternalHooks.Lookup
Defines an interface for a lookup mechanism.
|
static class |
ExternalHooks.NoProvenance |
| Modifier and Type | Method and Description |
|---|---|
java.util.Optional<ClassFileManager> |
getExternalClassFileManager()
Returns the implementation of a
ClassFileManager to be used
alongside the internal manager provided by the default implementation. |
java.util.Optional<ExternalHooks.Lookup> |
getExternalLookup()
Returns the implementation of a lookup mechanism to be used instead of
the internal lookup provided by the default implementation.
|
default InvalidationProfiler |
getInvalidationProfiler() |
default ExternalHooks.GetProvenance |
getProvenance() |
ExternalHooks |
withExternalClassFileManager(ClassFileManager externalClassFileManager)
Returns an instance of hooks that executes the external passed class file manager.
|
ExternalHooks |
withExternalLookup(ExternalHooks.Lookup externalLookup)
Returns an instance of hooks with one lookup.
|
default ExternalHooks |
withGetProvenance(ExternalHooks.GetProvenance getProvenance) |
default ExternalHooks |
withInvalidationProfiler(InvalidationProfiler profiler) |
java.util.Optional<ExternalHooks.Lookup> getExternalLookup()
java.util.Optional<ClassFileManager> getExternalClassFileManager()
ClassFileManager to be used
alongside the internal manager provided by the default implementation.
This class file manager is run after the internal
ClassFileManager defined in IncOptions.
default ExternalHooks.GetProvenance getProvenance()
ExternalHooks withExternalClassFileManager(ClassFileManager externalClassFileManager)
ExternalHooks with the aggregated external class file manager.ExternalHooks withExternalLookup(ExternalHooks.Lookup externalLookup)
ExternalHooks with the specified lookup.default ExternalHooks withGetProvenance(ExternalHooks.GetProvenance getProvenance)
default InvalidationProfiler getInvalidationProfiler()
default ExternalHooks withInvalidationProfiler(InvalidationProfiler profiler)