< prev index next >

src/jdk.compiler/share/classes/com/sun/tools/javac/code/Lint.java

Print this page




 258          * Warn about use of automatic modules in the requires clauses.
 259          */
 260         REQUIRES_AUTOMATIC("requires-automatic"),
 261 
 262         /**
 263          * Warn about automatic modules in requires transitive.
 264          */
 265         REQUIRES_TRANSITIVE_AUTOMATIC("requires-transitive-automatic"),
 266 
 267         /**
 268          * Warn about Serializable classes that do not provide a serial version ID.
 269          */
 270         SERIAL("serial"),
 271 
 272         /**
 273          * Warn about issues relating to use of statics
 274          */
 275         STATIC("static"),
 276 
 277         /**
 278          * Warn about issues relating to use of text blocks
 279          */
 280         TEXT_BLOCKS("text-blocks"),
 281 
 282         /**
 283          * Warn about issues relating to use of try blocks (i.e. try-with-resources)
 284          */
 285         TRY("try"),
 286 
 287         /**
 288          * Warn about unchecked operations on raw types.
 289          */
 290         UNCHECKED("unchecked"),
 291 
 292         /**
 293          * Warn about potentially unsafe vararg methods
 294          */
 295         VARARGS("varargs"),
 296 
 297         /**
 298          * Warn about use of preview features.
 299          */
 300         PREVIEW("preview");
 301 
 302         LintCategory(String option) {




 258          * Warn about use of automatic modules in the requires clauses.
 259          */
 260         REQUIRES_AUTOMATIC("requires-automatic"),
 261 
 262         /**
 263          * Warn about automatic modules in requires transitive.
 264          */
 265         REQUIRES_TRANSITIVE_AUTOMATIC("requires-transitive-automatic"),
 266 
 267         /**
 268          * Warn about Serializable classes that do not provide a serial version ID.
 269          */
 270         SERIAL("serial"),
 271 
 272         /**
 273          * Warn about issues relating to use of statics
 274          */
 275         STATIC("static"),
 276 
 277         /**





 278          * Warn about issues relating to use of try blocks (i.e. try-with-resources)
 279          */
 280         TRY("try"),
 281 
 282         /**
 283          * Warn about unchecked operations on raw types.
 284          */
 285         UNCHECKED("unchecked"),
 286 
 287         /**
 288          * Warn about potentially unsafe vararg methods
 289          */
 290         VARARGS("varargs"),
 291 
 292         /**
 293          * Warn about use of preview features.
 294          */
 295         PREVIEW("preview");
 296 
 297         LintCategory(String option) {


< prev index next >