public static enum JCDiagnostic.DiagnosticFlag extends Enum<JCDiagnostic.DiagnosticFlag>
Enum Constant and Description |
---|
COMPRESSED |
MANDATORY |
NON_DEFERRABLE |
RECOVERABLE |
RESOLVE_ERROR |
SYNTAX |
Modifier and Type | Method and Description |
---|---|
static JCDiagnostic.DiagnosticFlag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JCDiagnostic.DiagnosticFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JCDiagnostic.DiagnosticFlag MANDATORY
public static final JCDiagnostic.DiagnosticFlag RESOLVE_ERROR
public static final JCDiagnostic.DiagnosticFlag SYNTAX
public static final JCDiagnostic.DiagnosticFlag RECOVERABLE
public static final JCDiagnostic.DiagnosticFlag NON_DEFERRABLE
public static final JCDiagnostic.DiagnosticFlag COMPRESSED
public static JCDiagnostic.DiagnosticFlag[] values()
for (JCDiagnostic.DiagnosticFlag c : JCDiagnostic.DiagnosticFlag.values()) System.out.println(c);
public static JCDiagnostic.DiagnosticFlag 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.