Enum Class Slicer.ControlDependenceOptions
java.lang.Object
java.lang.Enum<Slicer.ControlDependenceOptions>
com.ibm.wala.ipa.slicer.Slicer.ControlDependenceOptions
- All Implemented Interfaces:
Serializable
,Comparable<Slicer.ControlDependenceOptions>
,Constable
- Enclosing class:
Slicer
options to control control dependence edges in the sdg
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptiontrack all control dependenciesdon't track control dependence due to exceptional control flowdon't track control dependence from caller to calleedon't track interprocedural or exceptional control dependencetrack no control dependencies. -
Method Summary
Modifier and TypeMethodDescriptionfinal String
getName()
final boolean
final boolean
Returns the enum constant of this class with the specified name.static Slicer.ControlDependenceOptions[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FULL
track all control dependencies -
NONE
track no control dependencies. Note that other code in the slicer checks for the NONE case explicitly, so its effect is not entirely captured by theis*()
methods inSlicer.ControlDependenceOptions
-
NO_EXCEPTIONAL_EDGES
don't track control dependence due to exceptional control flow -
NO_INTERPROC_EDGES
don't track control dependence from caller to callee -
NO_INTERPROC_NO_EXCEPTION
don't track interprocedural or exceptional control dependence
-
-
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
-
getName
-
isIgnoreExceptions
public final boolean isIgnoreExceptions() -
isIgnoreInterproc
public final boolean isIgnoreInterproc()
-