< prev index next >

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

Print this page

234         FALLTHROUGH("fallthrough"),
235 
236         /**
237          * Warn about finally clauses that do not terminate normally.
238          */
239         FINALLY("finally"),
240 
241         /**
242          * Warn about uses of @ValueBased classes where an identity class is expected.
243          */
244         IDENTITY(List.of("identity", "synchronization"), Property.ENABLED_BY_DEFAULT),
245 
246         /**
247          * Warn about use of incubating modules.
248          *
249          * <p>
250          * This category is not supported by {@code @SuppressWarnings}.
251          */
252         INCUBATING("incubating", Property.NO_ANNOTATION_SUPPRESSION, Property.ENABLED_BY_DEFAULT),
253 






254         /**
255           * Warn about compiler possible lossy conversions.
256           */
257         LOSSY_CONVERSIONS("lossy-conversions"),
258 
259         /**
260           * Warn about compiler generation of a default constructor.
261           */
262         MISSING_EXPLICIT_CTOR("missing-explicit-ctor"),
263 
264         /**
265          * Warn about module system related issues.
266          */
267         MODULE("module", Property.ENABLED_BY_DEFAULT),
268 





269         /**
270          * Warn about issues regarding module opens.
271          */
272         OPENS("opens", Property.ENABLED_BY_DEFAULT),
273 
274         /**
275          * Warn about issues relating to use of command line options.
276          *
277          * <p>
278          * This category is not supported by {@code @SuppressWarnings}.
279          */
280         OPTIONS("options", Property.NO_ANNOTATION_SUPPRESSION),
281 
282         /**
283          * Warn when any output file is written to more than once.
284          *
285          * <p>
286          * This category is not supported by {@code @SuppressWarnings}.
287          */
288         OUTPUT_FILE_CLASH("output-file-clash", Property.NO_ANNOTATION_SUPPRESSION),

234         FALLTHROUGH("fallthrough"),
235 
236         /**
237          * Warn about finally clauses that do not terminate normally.
238          */
239         FINALLY("finally"),
240 
241         /**
242          * Warn about uses of @ValueBased classes where an identity class is expected.
243          */
244         IDENTITY(List.of("identity", "synchronization"), Property.ENABLED_BY_DEFAULT),
245 
246         /**
247          * Warn about use of incubating modules.
248          *
249          * <p>
250          * This category is not supported by {@code @SuppressWarnings}.
251          */
252         INCUBATING("incubating", Property.NO_ANNOTATION_SUPPRESSION, Property.ENABLED_BY_DEFAULT),
253 
254         /**
255          * Warn about code in identity classes that wouldn't be allowed in early
256          * construction due to a this dependency.
257          */
258         INITIALIZATION("initialization"),
259 
260         /**
261           * Warn about compiler possible lossy conversions.
262           */
263         LOSSY_CONVERSIONS("lossy-conversions"),
264 
265         /**
266           * Warn about compiler generation of a default constructor.
267           */
268         MISSING_EXPLICIT_CTOR("missing-explicit-ctor"),
269 
270         /**
271          * Warn about module system related issues.
272          */
273         MODULE("module", Property.ENABLED_BY_DEFAULT),
274 
275         /**
276          * Warn about issues related to migration of JDK classes.
277          */
278         MIGRATION("migration"),
279 
280         /**
281          * Warn about issues regarding module opens.
282          */
283         OPENS("opens", Property.ENABLED_BY_DEFAULT),
284 
285         /**
286          * Warn about issues relating to use of command line options.
287          *
288          * <p>
289          * This category is not supported by {@code @SuppressWarnings}.
290          */
291         OPTIONS("options", Property.NO_ANNOTATION_SUPPRESSION),
292 
293         /**
294          * Warn when any output file is written to more than once.
295          *
296          * <p>
297          * This category is not supported by {@code @SuppressWarnings}.
298          */
299         OUTPUT_FILE_CLASH("output-file-clash", Property.NO_ANNOTATION_SUPPRESSION),
< prev index next >