Save This Page
Home » openjdk-7 » » javac » code » [javadoc | source]
public enum class: Lint.LintCategory [javadoc | source]
Categories of warnings that can be generated by the compiler.
Field Summary
public  LintCategory CAST    Warn about use of unnecessary casts. 
public  LintCategory CLASSFILE    Warn about issues related to classfile contents 
public  LintCategory DEPRECATION    Warn about use of deprecated items. 
public  LintCategory DEP_ANN    Warn about items which are documented with an {@code @deprecated} JavaDoc comment, but which do not have {@code @Deprecated} annotation. 
public  LintCategory DIVZERO    Warn about division by constant integer 0. 
public  LintCategory EMPTY    Warn about empty statement after if. 
public  LintCategory FALLTHROUGH    Warn about falling through from one case of a switch statement to the next. 
public  LintCategory FINALLY    Warn about finally clauses that do not terminate normally. 
public  LintCategory OPTIONS    Warn about issues relating to use of command line options 
public  LintCategory OVERRIDES    Warn about issues regarding method overrides. 
public  LintCategory PATH    Warn about invalid path elements on the command line. Such warnings cannot be suppressed with the SuppressWarnings annotation. 
public  LintCategory PROCESSING    Warn about issues regarding annotation processing. 
public  LintCategory RAW    Warn about unchecked operations on raw types. 
public  LintCategory SERIAL    Warn about Serializable classes that do not provide a serial version ID. 
public  LintCategory STATIC    Warn about issues relating to use of statics 
public  LintCategory SUNAPI    Warn about proprietary API that may be removed in a future release. 
public  LintCategory TRY    Warn about issues relating to use of try blocks (i.e. try-with-resources) 
public  LintCategory UNCHECKED    Warn about unchecked operations on raw types. 
public  LintCategory VARARGS    Warn about potentially unsafe vararg methods 
public final  String option     
public final  boolean hidden     
 public LintCategory(String option) 
 LintCategory(String option,
    boolean hidden) 
Method from$LintCategory Summary:
Method from$LintCategory Detail:
 static LintCategory get(String option)