public static enum JCDiagnostic.DiagnosticType extends Enum<JCDiagnostic.DiagnosticType>
Enum Constant and Description |
---|
ERROR
An error.
|
FRAGMENT
A fragment of an enclosing diagnostic.
|
NOTE
A note: similar to, but less serious than, a warning.
|
WARNING
A warning.
|
Modifier and Type | Method and Description |
---|---|
static JCDiagnostic.DiagnosticType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JCDiagnostic.DiagnosticType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JCDiagnostic.DiagnosticType FRAGMENT
public static final JCDiagnostic.DiagnosticType NOTE
public static final JCDiagnostic.DiagnosticType WARNING
public static final JCDiagnostic.DiagnosticType ERROR
public static JCDiagnostic.DiagnosticType[] values()
for (JCDiagnostic.DiagnosticType c : JCDiagnostic.DiagnosticType.values()) System.out.println(c);
public static JCDiagnostic.DiagnosticType 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 nullCopyright © 2015. All rights reserved.