|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<Lint.LintCategory>
com.sun.tools.javac.code.Lint.LintCategory
public static enum Lint.LintCategory
Categories of warnings that can be generated by the compiler.
| Enum Constant Summary | |
|---|---|
CAST
Warn about use of unnecessary casts. |
|
DEP_ANN
Warn about items which are documented with an @deprecated JavaDoc
comment, but which do not have @Deprecated annotation. |
|
DEPRECATION
Warn about use of deprecated items. |
|
DIVZERO
Warn about division by constant integer 0. |
|
EMPTY
Warn about empty statement after if. |
|
FALLTHROUGH
Warn about falling through from one case of a switch statement to the next. |
|
FINALLY
Warn about finally clauses that do not terminate normally. |
|
OVERRIDES
Warn about issues regarding method overrides. |
|
PATH
Warn about invalid path elements on the command line. |
|
PROCESSING
Warn about issues regarding annotation processing. |
|
RAW
Warn about unchecked operations on raw types. |
|
SERIAL
Warn about Serializable classes that do not provide a serial version ID. |
|
UNCHECKED
Warn about unchecked operations on raw types. |
|
| Field Summary | |
|---|---|
java.lang.String |
option
|
| Method Summary | |
|---|---|
(package private) static Lint.LintCategory |
get(java.lang.String option)
|
static Lint.LintCategory |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Lint.LintCategory[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Lint.LintCategory CAST
public static final Lint.LintCategory DEPRECATION
public static final Lint.LintCategory DEP_ANN
@deprecated JavaDoc
comment, but which do not have @Deprecated annotation.
public static final Lint.LintCategory DIVZERO
public static final Lint.LintCategory EMPTY
public static final Lint.LintCategory FALLTHROUGH
public static final Lint.LintCategory FINALLY
public static final Lint.LintCategory OVERRIDES
public static final Lint.LintCategory PATH
public static final Lint.LintCategory PROCESSING
public static final Lint.LintCategory SERIAL
public static final Lint.LintCategory UNCHECKED
public static final Lint.LintCategory RAW
| Field Detail |
|---|
public final java.lang.String option
| Method Detail |
|---|
public static final Lint.LintCategory[] values()
for(Lint.LintCategory c : Lint.LintCategory.values())
System.out.println(c);
public static Lint.LintCategory 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 namestatic Lint.LintCategory get(java.lang.String option)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||