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

public enum DataChainsUpdatePolicy extends Enum<DataChainsUpdatePolicy>
Post-optimizer update policy for data chains.
  • Enum Constant Details

    • UPDATE_NOT_NECESSARY

      public static final DataChainsUpdatePolicy UPDATE_NOT_NECESSARY
      Data chains should not be modified. Existing chains need not be invalidated, even if optimizations were performed.
    • UPDATE_PERFORMED_INTERNALLY

      public static final DataChainsUpdatePolicy 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 as UPDATE_NOT_NECESSARY, except modifications are allowed).

      This is the default policy for optimizers not specifying a policy.

    • UPDATE_IF_OPTIMIZED

      public static final DataChainsUpdatePolicy 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

      public static final DataChainsUpdatePolicy 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

      public static DataChainsUpdatePolicy[] 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

      public static DataChainsUpdatePolicy valueOf(String name)
      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 name
      NullPointerException - if the argument is null