Package com.android.dx.ssa
Enum Class EscapeAnalysis.EscapeState
- All Implemented Interfaces:
Serializable
,Comparable<EscapeAnalysis.EscapeState>
,Constable
- Enclosing class:
EscapeAnalysis
Lattice values used to indicate escape state for an object. Analysis can
only raise escape state values, not lower them.
TOP - Used for objects that haven't been analyzed yet
NONE - Object does not escape, and is eligible for scalar replacement.
METHOD - Object remains local to method, but can't be scalar replaced.
INTER - Object is passed between methods. (treated as globally escaping
since this is an intraprocedural analysis)
GLOBAL - Object escapes globally.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic EscapeAnalysis.EscapeState
Returns the enum constant of this class with the specified name.static EscapeAnalysis.EscapeState[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TOP
-
NONE
-
METHOD
-
INTER
-
GLOBAL
-
-
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
-