Enum Class PredecessorShorteningMode

java.lang.Object
java.lang.Enum<PredecessorShorteningMode>
soot.jimple.infoflow.solver.PredecessorShorteningMode
All Implemented Interfaces:
Serializable, Comparable<PredecessorShorteningMode>, Constable

public enum PredecessorShorteningMode extends Enum<PredecessorShorteningMode>
Enumeration containing all modes with which predecessor chains can be shortened in the solvers
Author:
Steven Arzt
  • Enum Constant Details

    • NeverShorten

      public static final PredecessorShorteningMode NeverShorten
      Never shorten any predecessor chains. This option ensures that path data is fully available in all cases, but consumes more resources.
    • ShortenIfEqual

      public static final PredecessorShorteningMode ShortenIfEqual
      Shorten predecessor chains by skipping over elements that are equal to their respective predecessor.
    • AlwaysShorten

      public static final PredecessorShorteningMode AlwaysShorten
      Always maximally shorten predecessor chains. This option uses the fewest resources, but does not allow for path reconstruction (more precisely: will only yield a one-element path).
  • Method Details

    • values

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