Enum GosuVisitor.Mode
- java.lang.Object
-
- java.lang.Enum<GosuVisitor.Mode>
-
- editor.util.transform.java.visitor.GosuVisitor.Mode
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<GosuVisitor.Mode>
- Enclosing class:
- GosuVisitor
private static enum GosuVisitor.Mode extends java.lang.Enum<GosuVisitor.Mode>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADD_RESOURCES_FINALLY_BLOCKCATCH_PARAMCLASS_VARLAMBDA_PARAMMETHOD_PARAMNORMALUSING_CASTUSING_NO_MODIFIERS
-
Constructor Summary
Constructors Modifier Constructor Description privateMode()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GosuVisitor.ModevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static GosuVisitor.Mode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NORMAL
public static final GosuVisitor.Mode NORMAL
-
USING_NO_MODIFIERS
public static final GosuVisitor.Mode USING_NO_MODIFIERS
-
CATCH_PARAM
public static final GosuVisitor.Mode CATCH_PARAM
-
USING_CAST
public static final GosuVisitor.Mode USING_CAST
-
METHOD_PARAM
public static final GosuVisitor.Mode METHOD_PARAM
-
ADD_RESOURCES_FINALLY_BLOCK
public static final GosuVisitor.Mode ADD_RESOURCES_FINALLY_BLOCK
-
LAMBDA_PARAM
public static final GosuVisitor.Mode LAMBDA_PARAM
-
CLASS_VAR
public static final GosuVisitor.Mode CLASS_VAR
-
-
Method Detail
-
values
public static GosuVisitor.Mode[] 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 (GosuVisitor.Mode c : GosuVisitor.Mode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GosuVisitor.Mode 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
-
-