Enum DefiniteAssignmentStatus
- java.lang.Object
-
- java.lang.Enum<DefiniteAssignmentStatus>
-
- com.strobel.decompiler.languages.java.ast.DefiniteAssignmentStatus
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<DefiniteAssignmentStatus>
public enum DefiniteAssignmentStatus extends java.lang.Enum<DefiniteAssignmentStatus>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ASSIGNED_AFTER_FALSE_EXPRESSION
The variable is definitely assigned iff the expression results in the valuefalse
.ASSIGNED_AFTER_TRUE_EXPRESSION
The variable is definitely assigned iff the expression results in the valuetrue
.CODE_UNREACHABLE
The code is unreachable.DEFINITELY_ASSIGNED
The variable is definitely assigned.DEFINITELY_NOT_ASSIGNED
The variable is definitely not assigned.POTENTIALLY_ASSIGNED
The variable might be assigned or unassigned.
-
Constructor Summary
Constructors Modifier Constructor Description private
DefiniteAssignmentStatus()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DefiniteAssignmentStatus
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static DefiniteAssignmentStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEFINITELY_NOT_ASSIGNED
public static final DefiniteAssignmentStatus DEFINITELY_NOT_ASSIGNED
The variable is definitely not assigned.
-
POTENTIALLY_ASSIGNED
public static final DefiniteAssignmentStatus POTENTIALLY_ASSIGNED
The variable might be assigned or unassigned.
-
DEFINITELY_ASSIGNED
public static final DefiniteAssignmentStatus DEFINITELY_ASSIGNED
The variable is definitely assigned.
-
ASSIGNED_AFTER_TRUE_EXPRESSION
public static final DefiniteAssignmentStatus ASSIGNED_AFTER_TRUE_EXPRESSION
The variable is definitely assigned iff the expression results in the valuetrue
.
-
ASSIGNED_AFTER_FALSE_EXPRESSION
public static final DefiniteAssignmentStatus ASSIGNED_AFTER_FALSE_EXPRESSION
The variable is definitely assigned iff the expression results in the valuefalse
.
-
CODE_UNREACHABLE
public static final DefiniteAssignmentStatus CODE_UNREACHABLE
The code is unreachable.
-
-
Method Detail
-
values
public static DefiniteAssignmentStatus[] 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 (DefiniteAssignmentStatus c : DefiniteAssignmentStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DefiniteAssignmentStatus valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-