public interface ExternalHooks
| Modifier and Type | Interface and Description |
|---|---|
static interface |
ExternalHooks.Lookup
Defines an interface for a lookup mechanism.
|
| 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.
|
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.
|
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.
ExternalHooks withExternalClassFileManager(ClassFileManager externalClassFileManager)
ExternalHooks with the aggregated external class file manager.ExternalHooks withExternalLookup(ExternalHooks.Lookup externalLookup)
ExternalHooks with the specified lookup.