com.pnfsoftware.jeb.core.units.code.java.IJMasterOptimizer |
A manager of AST optimizers
. A master optimizer (MO) orchestrates and
executes optimizers. This class is currently not meant to be implemented by third-party code.
Implementation note: the master optimizer may call optimizers repeatedly until no more optimizations are performed.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract boolean |
add(IJOptimizer optimizer)
Register an optimizer.
| ||||||||||
abstract IJavaDecompilableElement |
getTarget()
Retrieve the target AST element to be optimized.
| ||||||||||
abstract boolean |
isEnableUnsafeOptimizers()
This method is deprecated.
No replacement.
| ||||||||||
abstract boolean |
isSafeMode()
Determine whether safe mode is enabled.
| ||||||||||
abstract int |
perform()
Perform optimizations on the
target . | ||||||||||
abstract boolean |
remove(IJOptimizer optimizer)
Unregister an optimizer.
| ||||||||||
abstract void |
setEnableUnsafeOptimizers(boolean enabled)
This method is deprecated.
No replacement.
| ||||||||||
abstract void |
setSafeMode(boolean enabled)
Enable or disable safe mode.
|
Retrieve the target AST element to be optimized.
This method is deprecated.
No replacement.
Perform optimizations on the target
.
This method is deprecated.
No replacement.