public enum DiagnosticKind extends Enum<DiagnosticKind>
| Modifier and Type | Field and Description | 
|---|---|
| String | parseStringHow the diagnostic identifier actually appears in error messages or source code | 
| Modifier and Type | Method and Description | 
|---|---|
| static DiagnosticKind | fromParseString(String parseStr)Convert a string as it would appear in error messages or source code into a DiagnosticKind | 
| static DiagnosticKind | valueOf(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 String parseString
public static DiagnosticKind[] values()
for (DiagnosticKind c : DiagnosticKind.values()) System.out.println(c);
public static DiagnosticKind valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static DiagnosticKind fromParseString(String parseStr)