Enum Class DataChainsUpdatePolicy
java.lang.Object
java.lang.Enum<DataChainsUpdatePolicy>
com.pnfsoftware.jeb.core.units.code.asm.decompiler.ir.opt.DataChainsUpdatePolicy
- All Implemented Interfaces:
Serializable
,Comparable<DataChainsUpdatePolicy>
,Constable
Post-optimizer update policy for data chains.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionData chains may be modified.Data chains may be modified.Data chains should not be modified.Data chains may be modified. -
Method Summary
Modifier and TypeMethodDescriptionstatic DataChainsUpdatePolicy
Returns the enum constant of this class with the specified name.static DataChainsUpdatePolicy[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UPDATE_NOT_NECESSARY
Data chains should not be modified. Existing chains need not be invalidated, even if optimizations were performed. -
UPDATE_PERFORMED_INTERNALLY
Data chains may be modified. It is the responsibility of the optimizer to invalidate or recalculate them if necessary. (Operationally, this is the same asUPDATE_NOT_NECESSARY
, except modifications are allowed).This is the default policy for optimizers not specifying a policy.
-
UPDATE_IF_OPTIMIZED
Data chains may be modified. The manager of the optimizer is expected to invalidate or recalculate them if optimizations were performed. -
UPDATE_IF_REQUIRED
Data chains may be modified. The manager of the optimizer is expected to invalidate or recalculate them if optimizations were performed AND an explicit recalculation request was specified by the optimizer.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-