public enum DiagnosticTag extends java.lang.Enum<DiagnosticTag>
| Enum Constant and Description |
|---|
Deprecated
Deprecated or obsolete code.
|
Unnecessary
Unused or unnecessary code.
|
| Modifier and Type | Method and Description |
|---|---|
static DiagnosticTag |
forValue(int value) |
int |
getValue() |
static DiagnosticTag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DiagnosticTag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DiagnosticTag Unnecessary
public static final DiagnosticTag Deprecated
public static DiagnosticTag[] values()
for (DiagnosticTag c : DiagnosticTag.values()) System.out.println(c);
public static DiagnosticTag valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int getValue()
public static DiagnosticTag forValue(int value)