public interface OptimizerHook
Modifier and Type | Method and Description |
---|---|
Accessor |
generateAccessor(AccessorOptimizer optimizer)
The optimizer should delegate back to the hook through this method, passing an instance of itself
in the current state.
|
boolean |
isOptimizerSupported(Class<? extends AccessorOptimizer> optimizer)
Should answer back whether or not this hook understands how to work with the current
optimizer.
|
boolean isOptimizerSupported(Class<? extends AccessorOptimizer> optimizer)
optimizer
- - class type of the current optimizer being usedAccessor generateAccessor(AccessorOptimizer optimizer)
optimizer
- - instance of optimizerCopyright © 2018. All rights reserved.