com.android.dx.ssa
Enum EscapeAnalysis.EscapeState

java.lang.Object
  extended by java.lang.Enum<EscapeAnalysis.EscapeState>
      extended by com.android.dx.ssa.EscapeAnalysis.EscapeState
All Implemented Interfaces:
Serializable, Comparable<EscapeAnalysis.EscapeState>
Enclosing class:
EscapeAnalysis

public static enum EscapeAnalysis.EscapeState
extends Enum<EscapeAnalysis.EscapeState>

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.


Enum Constant Summary
GLOBAL
           
INTER
           
METHOD
           
NONE
           
TOP
           
 
Method Summary
static EscapeAnalysis.EscapeState valueOf(String name)
          Returns the enum constant of this type with the specified name.
static EscapeAnalysis.EscapeState[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

TOP

public static final EscapeAnalysis.EscapeState TOP

NONE

public static final EscapeAnalysis.EscapeState NONE

METHOD

public static final EscapeAnalysis.EscapeState METHOD

INTER

public static final EscapeAnalysis.EscapeState INTER

GLOBAL

public static final EscapeAnalysis.EscapeState GLOBAL
Method Detail

values

public static EscapeAnalysis.EscapeState[] 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 (EscapeAnalysis.EscapeState c : EscapeAnalysis.EscapeState.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static EscapeAnalysis.EscapeState 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 name
NullPointerException - if the argument is null


Copyright © 2015. All rights reserved.