public enum DiagnosticKind extends java.lang.Enum<DiagnosticKind>
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
parseString
How the diagnostic identifier actually appears in error messages or source code
|
| Modifier and Type | Method and Description |
|---|---|
static DiagnosticKind |
fromParseString(java.lang.String parseStr)
Convert a string as it would appear in error messages or source code into a DiagnosticKind
|
static DiagnosticKind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DiagnosticKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DiagnosticKind Warning
public static final DiagnosticKind Error
public static final DiagnosticKind Other
public final java.lang.String parseString
public static DiagnosticKind[] values()
for (DiagnosticKind c : DiagnosticKind.values()) System.out.println(c);
public static DiagnosticKind 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 static DiagnosticKind fromParseString(java.lang.String parseStr)