public enum Warning extends Enum<Warning>
Enum Constant and Description |
---|
ENDIF_LABELS |
ERROR |
IMPORT |
TRIGRAPHS |
UNDEF |
UNUSED_MACROS |
Modifier and Type | Method and Description |
---|---|
static Warning |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Warning[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Warning TRIGRAPHS
public static final Warning IMPORT
public static final Warning UNDEF
public static final Warning UNUSED_MACROS
public static final Warning ENDIF_LABELS
public static final Warning ERROR
public static Warning[] values()
for (Warning c : Warning.values()) System.out.println(c);
public static Warning 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 null