public static enum Lint.LintCategory extends Enum<Lint.LintCategory>
Enum Constant and Description |
---|
AUXILIARYCLASS
Warn when code refers to a auxiliary class that is hidden in a source file (ie source file name is
different from the class name, and the type is not properly nested) and the referring code
is not located in the same source file.
|
CAST
Warn about use of unnecessary casts.
|
CLASSFILE
Warn about issues related to classfile contents
|
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.
|
OPTIONS
Warn about issues relating to use of command line options
|
OVERLOADS
Warn about issues regarding method overloads.
|
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.
|
STATIC
Warn about issues relating to use of statics
|
SUNAPI
Warn about proprietary API that may be removed in a future release.
|
TRY
Warn about issues relating to use of try blocks (i.e.
|
UNCHECKED
Warn about unchecked operations on raw types.
|
VARARGS
Warn about potentially unsafe vararg methods
|
Modifier and Type | Method and Description |
---|---|
static Lint.LintCategory |
valueOf(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 are declared.
|
public static final Lint.LintCategory AUXILIARYCLASS
public static final Lint.LintCategory CAST
public static final Lint.LintCategory CLASSFILE
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 OPTIONS
public static final Lint.LintCategory OVERLOADS
public static final Lint.LintCategory OVERRIDES
public static final Lint.LintCategory PATH
public static final Lint.LintCategory PROCESSING
public static final Lint.LintCategory RAW
public static final Lint.LintCategory SERIAL
public static final Lint.LintCategory STATIC
public static final Lint.LintCategory SUNAPI
public static final Lint.LintCategory TRY
public static final Lint.LintCategory UNCHECKED
public static final Lint.LintCategory VARARGS
public final String option
public final boolean hidden
public static Lint.LintCategory[] values()
for (Lint.LintCategory c : Lint.LintCategory.values()) System.out.println(c);
public static Lint.LintCategory 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.