java.io.Serializable, java.lang.Comparable<CompilerMessage.Kind>public static enum CompilerMessage.Kind extends java.lang.Enum<CompilerMessage.Kind>
| Enum Constant | Description |
|---|---|
ERROR |
Problem which prevents the tool's normal completion.
|
MANDATORY_WARNING |
Problem similar to a warning, but is mandated by the tool's specification.
|
NOTE |
Informative message from the tool.
|
OTHER |
Diagnostic which does not fit within the other kinds.
|
WARNING |
Problem which does not usually prevent the tool from completing normally.
|
| Modifier and Type | Method | Description |
|---|---|---|
static CompilerMessage.Kind |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static CompilerMessage.Kind[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompilerMessage.Kind ERROR
public static final CompilerMessage.Kind MANDATORY_WARNING
public static final CompilerMessage.Kind NOTE
public static final CompilerMessage.Kind OTHER
public static final CompilerMessage.Kind WARNING
public static CompilerMessage.Kind[] values()
for (CompilerMessage.Kind c : CompilerMessage.Kind.values()) System.out.println(c);
public static CompilerMessage.Kind valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright © 2018. All rights reserved.