Package com.ibm.wala.ipa.slicer
Enum Slicer.DataDependenceOptions
- java.lang.Object
-
- java.lang.Enum<Slicer.DataDependenceOptions>
-
- com.ibm.wala.ipa.slicer.Slicer.DataDependenceOptions
-
- All Implemented Interfaces:
Serializable
,Comparable<Slicer.DataDependenceOptions>
- Enclosing class:
- Slicer
public static enum Slicer.DataDependenceOptions extends Enum<Slicer.DataDependenceOptions>
options to control data dependence edges in the SDG
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FULL
NO_BASE_NO_EXCEPTIONS
NO_BASE_NO_HEAP
NO_BASE_NO_HEAP_NO_EXCEPTIONS
NO_BASE_PTRS
NO_EXCEPTIONS
NO_HEAP
NO_HEAP_NO_EXCEPTIONS
NONE
REFLECTION
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
boolean
isIgnoreBasePtrs()
boolean
isIgnoreExceptions()
boolean
isIgnoreHeap()
boolean
isTerminateAtCast()
Should data dependence chains terminate at casts? This is used for reflection processing ...static Slicer.DataDependenceOptions
valueOf(String name)
Returns the enum constant of this type with the specified name.static Slicer.DataDependenceOptions[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FULL
public static final Slicer.DataDependenceOptions FULL
-
NO_BASE_PTRS
public static final Slicer.DataDependenceOptions NO_BASE_PTRS
-
NO_BASE_NO_HEAP
public static final Slicer.DataDependenceOptions NO_BASE_NO_HEAP
-
NO_BASE_NO_EXCEPTIONS
public static final Slicer.DataDependenceOptions NO_BASE_NO_EXCEPTIONS
-
NO_BASE_NO_HEAP_NO_EXCEPTIONS
public static final Slicer.DataDependenceOptions NO_BASE_NO_HEAP_NO_EXCEPTIONS
-
NO_HEAP
public static final Slicer.DataDependenceOptions NO_HEAP
-
NO_HEAP_NO_EXCEPTIONS
public static final Slicer.DataDependenceOptions NO_HEAP_NO_EXCEPTIONS
-
NO_EXCEPTIONS
public static final Slicer.DataDependenceOptions NO_EXCEPTIONS
-
NONE
public static final Slicer.DataDependenceOptions NONE
-
REFLECTION
public static final Slicer.DataDependenceOptions REFLECTION
-
-
Method Detail
-
values
public static Slicer.DataDependenceOptions[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Slicer.DataDependenceOptions c : Slicer.DataDependenceOptions.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Slicer.DataDependenceOptions valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
isIgnoreBasePtrs
public final boolean isIgnoreBasePtrs()
-
isIgnoreHeap
public final boolean isIgnoreHeap()
-
isIgnoreExceptions
public final boolean isIgnoreExceptions()
-
isTerminateAtCast
public final boolean isTerminateAtCast()
Should data dependence chains terminate at casts? This is used for reflection processing ... we only track flow into casts ... but not out.
-
getName
public final String getName()
-
-