Package editor
Enum SmartFixManager.SmartFixMode
- java.lang.Object
-
- java.lang.Enum<SmartFixManager.SmartFixMode>
-
- editor.SmartFixManager.SmartFixMode
-
- All Implemented Interfaces:
Serializable
,Comparable<SmartFixManager.SmartFixMode>
- Enclosing class:
- SmartFixManager
public static enum SmartFixManager.SmartFixMode extends Enum<SmartFixManager.SmartFixMode>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADD_MISSING_OVERRIDE
FIX_CASE
FIX_CTOR_SYNTAX
FIX_IMPLICIT_CAST
FIX_JAVA_STYLE_CAST
FIX_RETURN_TYPE
FIX_UNUSED_ELEMENT
GENERATE_CONSTRUCTORS
GENERATE_SUPER_CALL
IMPORT
NONE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toString()
static SmartFixManager.SmartFixMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static SmartFixManager.SmartFixMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final SmartFixManager.SmartFixMode NONE
-
IMPORT
public static final SmartFixManager.SmartFixMode IMPORT
-
FIX_IMPLICIT_CAST
public static final SmartFixManager.SmartFixMode FIX_IMPLICIT_CAST
-
FIX_JAVA_STYLE_CAST
public static final SmartFixManager.SmartFixMode FIX_JAVA_STYLE_CAST
-
FIX_CTOR_SYNTAX
public static final SmartFixManager.SmartFixMode FIX_CTOR_SYNTAX
-
FIX_UNUSED_ELEMENT
public static final SmartFixManager.SmartFixMode FIX_UNUSED_ELEMENT
-
ADD_MISSING_OVERRIDE
public static final SmartFixManager.SmartFixMode ADD_MISSING_OVERRIDE
-
FIX_CASE
public static final SmartFixManager.SmartFixMode FIX_CASE
-
FIX_RETURN_TYPE
public static final SmartFixManager.SmartFixMode FIX_RETURN_TYPE
-
GENERATE_CONSTRUCTORS
public static final SmartFixManager.SmartFixMode GENERATE_CONSTRUCTORS
-
GENERATE_SUPER_CALL
public static final SmartFixManager.SmartFixMode GENERATE_SUPER_CALL
-
-
Method Detail
-
values
public static SmartFixManager.SmartFixMode[] 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 (SmartFixManager.SmartFixMode c : SmartFixManager.SmartFixMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SmartFixManager.SmartFixMode 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 nameNullPointerException
- if the argument is null
-
toString
public String toString()
- Overrides:
toString
in classEnum<SmartFixManager.SmartFixMode>
-
-