public enum DiagnosticKind extends Enum<DiagnosticKind>
| Enum Constant and Description | 
|---|
Error
An error. 
 | 
JSpecify
A JSpecify diagnostic. 
 | 
Other
Something else. 
 | 
Warning
A warning. 
 | 
| Modifier and Type | Field and Description | 
|---|---|
String | 
parseString
How this DiagnosticKind appears in error messages or source code. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static @Nullable 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 JSpecify
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 @Nullable DiagnosticKind fromParseString(String parseStr)