Save This Page
Home » openjdk-7 » com.sun.tools » javac » code » [javadoc | source]
com.sun.tools.javac.code
public enum class: Lint.LintCategory [javadoc | source]
java.lang.Enum
   com.sun.tools.javac.code.Lint$LintCategory
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     
Constructor:
 public LintCategory(String option) 
 LintCategory(String option,
    boolean hidden) 
Method from com.sun.tools.javac.code.Lint$LintCategory Summary:
get
Method from com.sun.tools.javac.code.Lint$LintCategory Detail:
 static LintCategory get(String option)