Package soot.jimple.infoflow.solver
Enum Class PredecessorShorteningMode
- All Implemented Interfaces:
Serializable,Comparable<PredecessorShorteningMode>,Constable
Enumeration containing all modes with which predecessor chains can be
shortened in the solvers
- Author:
- Steven Arzt
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAlways maximally shorten predecessor chains.Never shorten any predecessor chains.Shorten predecessor chains by skipping over elements that are equal to their respective predecessor. -
Method Summary
Modifier and TypeMethodDescriptionstatic PredecessorShorteningModeReturns the enum constant of this class with the specified name.static PredecessorShorteningMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NeverShorten
Never shorten any predecessor chains. This option ensures that path data is fully available in all cases, but consumes more resources. -
ShortenIfEqual
Shorten predecessor chains by skipping over elements that are equal to their respective predecessor. -
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
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
-