Enum SwitchExpressionRewriter.ClassifyType
- java.lang.Object
-
- java.lang.Enum<SwitchExpressionRewriter.ClassifyType>
-
- org.benf.cfr.reader.bytecode.analysis.opgraph.op4rewriters.SwitchExpressionRewriter.ClassifyType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SwitchExpressionRewriter.ClassifyType>
- Enclosing class:
- SwitchExpressionRewriter
private static enum SwitchExpressionRewriter.ClassifyType extends java.lang.Enum<SwitchExpressionRewriter.ClassifyType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHAINED_CONSTRUCTOR
DEFINITION
EMPTY_SWITCH
NONE
OTHER
OTHER_CREATION
SWITCH_EXPRESSION
-
Constructor Summary
Constructors Modifier Constructor Description private
ClassifyType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SwitchExpressionRewriter.ClassifyType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SwitchExpressionRewriter.ClassifyType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final SwitchExpressionRewriter.ClassifyType NONE
-
EMPTY_SWITCH
public static final SwitchExpressionRewriter.ClassifyType EMPTY_SWITCH
-
SWITCH_EXPRESSION
public static final SwitchExpressionRewriter.ClassifyType SWITCH_EXPRESSION
-
OTHER_CREATION
public static final SwitchExpressionRewriter.ClassifyType OTHER_CREATION
-
CHAINED_CONSTRUCTOR
public static final SwitchExpressionRewriter.ClassifyType CHAINED_CONSTRUCTOR
-
DEFINITION
public static final SwitchExpressionRewriter.ClassifyType DEFINITION
-
OTHER
public static final SwitchExpressionRewriter.ClassifyType OTHER
-
-
Method Detail
-
values
public static SwitchExpressionRewriter.ClassifyType[] 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 (SwitchExpressionRewriter.ClassifyType c : SwitchExpressionRewriter.ClassifyType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SwitchExpressionRewriter.ClassifyType 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
-
-