public class MConstantOptimizer extends AbstractRecursiveOptimizer
IReadAccessor
and ICondition
.Constructor and Description |
---|
MConstantOptimizer() |
Modifier and Type | Method and Description |
---|---|
protected IAddon |
doAfterChildren(ICompilationContext ctxt,
IAddon parent,
PersistantPropertyInfo parentProp,
IAddon addon)
Does nothing.
|
protected IAddon |
doBeforeChildren(ICompilationContext ctxt,
IAddon parent,
PersistantPropertyInfo parentProp,
IAddon addon)
Replaces eligible Read Accessors and conditions by constant values.
|
pOptimize, pOptimizeInCollection, pOptimizeInMap, pOptimizeRecursively
getActivationPropertyName, isActivated, optimize, setActivated
protected IAddon doBeforeChildren(ICompilationContext ctxt, IAddon parent, PersistantPropertyInfo parentProp, IAddon addon) throws MRuleValidationException
doBeforeChildren
in class AbstractRecursiveOptimizer
MRuleValidationException
protected IAddon doAfterChildren(ICompilationContext ctxt, IAddon parent, PersistantPropertyInfo parentProp, IAddon addon) throws MRuleValidationException
doAfterChildren
in class AbstractRecursiveOptimizer
MRuleValidationException