blob: 05899f20b51494bbfb8c1f2736bdde5d30039e6d [file] [log] [blame]
Stephan Herrmann6dcbb382011-10-25 16:30:31 +00001###############################################################################
Stephan Herrmann6cecadb2012-02-26 01:08:39 +01002# Copyright (c) 2000, 2012 IBM Corporation and others.
Stephan Herrmann6dcbb382011-10-25 16:30:31 +00003# All rights reserved. This program and the accompanying materials
4# are made available under the terms of the Eclipse Public License v1.0
5# which accompanies this distribution, and is available at
6# http://www.eclipse.org/legal/epl-v10.html
7#
8# Contributors:
9# IBM Corporation - initial API and implementation
10# Benjamin Muskalla - Contribution for bug 239066
11# Stephan Herrmann - Contributions for
Stephan Herrmann2c38ab42012-01-28 20:42:28 +010012# bug 236385 - [compiler] Warn for potential programming problem if an object is created but not used
13# bug 295551 - Add option to automatically promote all warnings to errors
14# bug 359721 - [options] add command line option for new warning token "resource"
15# bug 365208 - [compiler][batch] command line options for annotation based null analysis
Stephan Herrmann4f3f3d12012-04-28 23:46:59 +020016# bug 374605 - Unreasonable warning for enum-based switch statements
Stephan Herrmann6dcbb382011-10-25 16:30:31 +000017###############################################################################
18### JavaBatchCompiler messages.
19
20### compiler
Stephan Herrmann7b7062f2010-04-01 19:56:59 +000021#Format: compiler.name = word1 word2 word3
22compiler.name = Eclipse Compiler for Java(TM)
23#Format: compiler.version = 0.XXX[, other words (don't forget the comma if adding other words)]
Stephan Herrmann2feba952012-05-26 15:02:07 +020024compiler.version = 0.C56, 3.8.0
Stephan Herrmann4f3f3d12012-04-28 23:46:59 +020025compiler.copyright = Copyright IBM Corp 2000, 2012. All rights reserved.
Stephan Herrmann7b7062f2010-04-01 19:56:59 +000026
27###{ObjectTeams:
28otdtc.name = Extension for Object Teams
Stephan Herrmann852ab2e2012-05-08 21:34:04 +020029otdtc.version = 2.1.0 M7
Stephan Herrmann2c38ab42012-01-28 20:42:28 +010030otdtc.copyright = Copyright by TU Berlin, Fraunhofer FIRST and others, 2004, 2012.
Stephan Herrmann7b7062f2010-04-01 19:56:59 +000031### SH}
32### progress
33progress.compiling = Compiling
34
35### compile
36compile.repetition = [repetition {0}/{1}]
37compile.instantTime = [compiled {0} lines in {1} ms: {2} lines/s]
38compile.detailedTime = [parse: {0} ms ({1}%), resolve: {2} ms ({3}%), analyze: {4} ms ({5}%), generate: {6} ms ({7}%) ]
39compile.ioTime = [i/o: read: {0} ms ({1}%), write: {2} ms ({3}%)]
40compile.averageTime = [average, excluding min-max {0} lines in {1} ms: {2} lines/s]
41compile.totalTime = [total compilation time: {0}]
42compile.oneProblem = 1 problem ({0})
43compile.severalProblemsErrorsOrWarnings = {0} problems ({1})
44compile.severalProblemsErrorsAndWarnings = {0} problems ({1}, {2})
45compile.oneError = 1 error
46compile.severalErrors = {0} errors
47compile.oneWarning = 1 warning
48compile.severalWarnings = {0} warnings
49compile.oneClassFileGenerated = [1 .class file generated]
50compile.severalClassFilesGenerated = [{0} .class files generated]
51
52### configure
53configure.requiresJDK1.2orAbove = Need to use a JVM >= 1.2
54configure.duplicateLog = duplicate log specification: {0}
55configure.duplicateRepeat = duplicate repeat specification: {0}
56configure.duplicateMaxProblems = duplicate max problems specification: {0}
57configure.duplicateCompliance = duplicate compliance setting specification: {0}
58configure.duplicateSource = duplicate source compliance setting specification: {0}
59configure.duplicateTarget = duplicate target compliance setting specification: {0}
60configure.source = source level should be comprised in between ''1.3'' and ''1.6'' (or ''5'', ''5.0'', ..., ''7'' or ''7.0''): {0}
61configure.duplicateOutputPath = duplicate output path specification: {0}
62configure.duplicateBootClasspath = duplicate bootclasspath specification: {0}
63configure.duplicateExtDirs = duplicate extdirs specification: {0}
64configure.duplicateSourcepath = duplicate sourcepath specification: {0}
65configure.invalidDebugOption = invalid debug option: {0}
66configure.invalidWarningConfiguration = invalid warning configuration: ''{0}''
67configure.invalidWarning = invalid warning token: ''{0}''. Ignoring warning and compiling
68configure.invalidWarningOption = invalid warning option: ''{0}''. Must specify a warning token
69configure.targetJDK = target level should be comprised in between ''1.1'' and ''1.7'' (or ''5'', ''5.0'', ..., ''7'' or ''7.0'') or cldc1.1: {0}
70configure.incompatibleTargetForSource = Target level ''{0}'' is incompatible with source level ''{1}''. A target level ''{1}'' or better is required
71configure.incompatibleTargetForGenericSource = Target level ''{0}'' is incompatible with source level ''{1}''. A source level ''1.5'' or better is required
72configure.incompatibleComplianceForSource = Compliance level ''{0}'' is incompatible with source level ''{1}''. A compliance level ''{1}'' or better is required
73configure.incompatibleComplianceForTarget = Compliance level ''{0}'' is incompatible with target level ''{1}''. A compliance level ''{1}'' or better is required
74configure.repetition = repetition must be a positive integer: {0}
75configure.maxProblems = max problems must be a positive integer: {0}
Stephan Herrmannb9e10522012-03-15 21:24:23 +010076configure.invalidNowarnOption = invalid syntax for nowarn option: {0}
Stephan Herrmann7b7062f2010-04-01 19:56:59 +000077
78configure.invalidErrorConfiguration = invalid error configuration: ''{0}''
79configure.invalidError = invalid error token: ''{0}''. Ignoring this error token and compiling
80configure.invalidErrorOption = invalid error option: ''{0}''. Must specify an error token
Stephan Herrmann7b7062f2010-04-01 19:56:59 +000081
82## configure.directoryNotExist = directory does not exist: {0}
83configure.unrecognizedOption = Unrecognized option : {0}
84configure.noClasspath = no classpath defined, using default directory instead
85configure.incorrectClasspath = incorrect classpath: {0}
86configure.invalidexpansionargumentname = expansion argument file {0} does not exist or cannot be read
87configure.cannotOpenLog = cannot open .log file: {0}
88configure.cannotOpenLogInvalidEncoding = cannot open .log file: {0}; because UTF-8 is not supported
89configure.unexpectedCustomEncoding = unexpected custom encoding specification: {0}[{1}]
90configure.unsupportedEncoding = unsupported encoding format: {0}
91configure.duplicateDefaultEncoding = duplicate default encoding format specification: {0}
92configure.invalidTaskTag ={0} is an invalid task tag
93configure.incorrectExtDirsEntry = incorrect ext dir entry; {0} must be a directory
94configure.incorrectEndorsedDirsEntry = incorrect endorsed dir entry; {0} must be a directory
95configure.duplicateEndorsedDirs = duplicate endorseddirs specification: {0}
96configure.incorrectDestinationPathEntry = incorrect destination path entry: {0}
97configure.unexpectedBracket = unexpected bracket: {0}
98configure.unexpectedDestinationPathEntry = unexpected destination path entry in {0} option
99configure.unexpectedDestinationPathEntryFile = unexpected destination path entry for file: {0}
100configure.accessRuleAfterDestinationPath = access rules cannot follow destination path entries: {0}
101configure.duplicateDestinationPathEntry = duplicate destination path entry in {0} option
102configure.invalidClassName = invalid class name: {0}
103configure.incorrectVMVersionforAPT = Annotation processing got disabled, since it requires a 1.6 compliant JVM
104configure.incompatibleSourceForCldcTarget=Target level ''{0}'' is incompatible with source level ''{1}''. A source level ''1.3'' or lower is required
105configure.incompatibleComplianceForCldcTarget=Target level ''{0}'' is incompatible with compliance level ''{1}''. A compliance level ''1.4''or lower is required
106configure.invalidClasspathSection = invalid Class-Path header in manifest of jar file: {0}
107configure.multipleClasspathSections = multiple Class-Path headers in manifest of jar file: {0}
Stephan Herrmanna55c3412010-04-24 14:26:14 +0000108configure.missingwarningspropertiesfile=properties file {0} does not exist
109configure.ioexceptionwarningspropertiesfile=An IOException occurred while reading the properties file {0}
Stephan Herrmann6c186a42010-04-27 23:21:41 +0000110configure.multipleencodings=Multiple encoding specified: {1}. The default encoding has been set to {0}
111configure.differentencodings=Found encoding {0}. Different encodings were specified: {1}
112configure.differentencoding=Found encoding {0}. A different encoding was specified: {1}
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000113
Stephan Herrmann2c38ab42012-01-28 20:42:28 +0100114### null annotations
115configure.invalidNullAnnot = Token {0} is not in the expected format "nullAnnot(<non null annotation name> | <nullable annotation name> | <non-null by default annotation name>)"
116
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000117### requestor
118requestor.error = {0}. ERROR in {1}
119requestor.warning = {0}. WARNING in {1}
Stephan Herrmann29b019c2011-04-26 10:30:44 +0000120requestor.extraerror = {0}. Error:
121requestor.extrawarning = {0}. Warning:
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000122requestor.notRetrieveErrorMessage = Cannot retrieve the error message for {0}
123requestor.noFileNameSpecified = (original file name is not available)
124
125### EMACS STYLE
126output.emacs.error=error
127output.emacs.warning=warning
128
129### unit
130unit.more = File {0} is specified more than once
131unit.missing = File {0} is missing
132
133### output
134output.noClassFileCreated = No .class file created for file {1} in {0} because of an IOException: {2}
135
136### miscellaneous
137### {ObjectTeams: one for testing the other for -version command
138misc.version.orig = {0} {1}, {2}
139misc.version = {0} {1}, {2}\n{3}, {4}, {5}
140### SH}
141misc.usage = {1} {2}\n\
142{3}\n\
143\ \n\
144\ Usage: <options> <source files | directories>\n\
145\ If directories are specified, then their source contents are compiled.\n\
146\ Possible options are listed below. Options enabled by default are prefixed\n\
147\ with ''+''.\n\
148\ \n\
149\ Classpath options:\n\
150\ -cp -classpath <directories and ZIP archives separated by {0}>\n\
151\ specify location for application classes and sources.\n\
152\ Each directory or file can specify access rules for\n\
153\ types between ''['' and '']'' (e.g. [-X] to forbid\n\
154\ access to type X, [~X] to discourage access to type X,\n\
155\ [+p/X{0}-p/*] to forbid access to all types in package p\n\
156\ but allow access to p/X)\n\
157\ -bootclasspath <directories and ZIP archives separated by {0}>\n\
158\ specify location for system classes. Each directory or\n\
159\ file can specify access rules for types between ''[''\n\
160\ and '']''\n\
161\ -sourcepath <directories and ZIP archives separated by {0}>\n\
162\ specify location for application sources. Each directory\n\
163\ or file can specify access rules for types between ''[''\n\
164\ and '']''. Each directory can further specify a specific\n\
165\ destination directory using a ''-d'' option between ''[''\n\
166\ and '']''; this overrides the general ''-d'' option.\n\
167\ .class files created from source files contained in a\n\
168\ jar file are put in the user.dir folder in case no\n\
169\ general ''-d'' option is specified. ZIP archives cannot\n\
170\ override the general ''-d'' option\n\
171\ -extdirs <directories separated by {0}>\n\
172\ specify location for extension ZIP archives\n\
173\ -endorseddirs <directories separated by {0}>\n\
174\ specify location for endorsed ZIP archives\n\
175\ -d <dir> destination directory (if omitted, no directory is\n\
176\ created); this option can be overridden per source\n\
177\ directory\n\
178\ -d none generate no .class files\n\
Stephan Herrmanne042d002010-06-05 13:49:29 +0000179\ -encoding <enc> specify default encoding for all source files. Each\n\
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000180\ file/directory can override it when suffixed with\n\
Stephan Herrmann6c186a42010-04-27 23:21:41 +0000181\ ''[''<enc>'']'' (e.g. X.java[utf8]).\n\
Stephan Herrmanne042d002010-06-05 13:49:29 +0000182\ If multiple default encodings are specified, the last\n\
183\ one will be used.\n\
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000184\ \n\
185\ Compliance options:\n\
186\ -1.3 use 1.3 compliance (-source 1.3 -target 1.1)\n\
187\ -1.4 + use 1.4 compliance (-source 1.3 -target 1.2)\n\
188\ -1.5 -5 -5.0 use 1.5 compliance (-source 1.5 -target 1.5)\n\
189\ -1.6 -6 -6.0 use 1.6 compliance (-source 1.6 -target 1.6)\n\
190\ -1.7 -7 -7.0 use 1.7 compliance (-source 1.7 -target 1.7)\n\
191\ -source <version> set source level: 1.3 to 1.7 (or 5, 5.0, etc)\n\
192\ -target <version> set classfile target: 1.1 to 1.7 (or 5, 5.0, etc)\n\
193\ cldc1.1 can also be used to generate the StackMap\n\
194\ attribute\n\
195\ \n\
196\ Warning options:\n\
197\ -deprecation + deprecation outside deprecated code (equivalent to\n\
198\ -warn:+deprecation)\n\
199\ -nowarn -warn:none disable all warnings\n\
Stephan Herrmannb9e10522012-03-15 21:24:23 +0100200\ -nowarn:[<directories separated by {0}>]\n\
201\ specify directories from which optional problems should\n\
202\ be ignored\n\
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000203\ -?:warn -help:warn display advanced warning options\n\
204\ \n\
205\ Error options:\n\
206\ -err:<warnings separated by ,> convert exactly the listed warnings\n\
207\ to be reported as errors\n\
208\ -err:+<warnings separated by ,> enable additional warnings to be\n\
209\ reported as errors\n\
210\ -err:-<warnings separated by ,> disable specific warnings to be\n\
211\ reported as errors\n\
212\ \n\
Stephan Herrmanna55c3412010-04-24 14:26:14 +0000213\ Setting warning or error options using properties file:\n\
Stephan Herrmann54669f82012-05-08 19:36:39 +0200214\ -properties <file> set warnings/errors option based on the properties\n\
Stephan Herrmanna55c3412010-04-24 14:26:14 +0000215\ file contents. This option can be used with -nowarn,\n\
216\ -err:.. or -warn:.. options, but the last one on the\n\
217\ command line sets the options to be used.\n\
218\ \n\
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000219\ Debug options:\n\
220\ -g[:lines,vars,source] custom debug info\n\
221\ -g:lines,source + both lines table and source debug info\n\
222\ -g all debug info\n\
223\ -g:none no debug info\n\
224\ -preserveAllLocals preserve unused local vars for debug purpose\n\
225\ \n\
226\ Annotation processing options:\n\
227\ These options are meaningful only in a 1.6 environment.\n\
228\ -Akey[=value] options that are passed to annotation processors\n\
229\ -processorpath <directories and ZIP archives separated by {0}>\n\
230\ specify locations where to find annotation processors.\n\
231\ If this option is not used, the classpath will be\n\
232\ searched for processors\n\
233\ -processor <class1[,class2,...]>\n\
234\ qualified names of the annotation processors to run.\n\
235\ This bypasses the default annotation discovery process\n\
236\ -proc:only run annotation processors, but do not compile\n\
237\ -proc:none perform compilation but do not run annotation\n\
238\ processors\n\
239\ -s <dir> destination directory for generated source files\n\
240\ -XprintProcessorInfo print information about which annotations and elements\n\
241\ a processor is asked to process\n\
242\ -XprintRounds print information about annotation processing rounds\n\
243\ -classNames <className1[,className2,...]>\n\
244\ qualified names of binary classes to process\n\
245\ \n\
246\ Advanced options:\n\
247\ @<file> read command line arguments from file\n\
248\ -maxProblems <n> max number of problems per compilation unit (100 by\n\
249\ default)\n\
250\ -log <file> log to a file. If the file extension is ''.xml'', then\n\
251\ the log will be a xml file.\n\
252\ -proceedOnError[:Fatal]\n\
253\ do not stop at first error, dumping class files with\n\
254\ problem methods\n\
255\ With ":Fatal", all optional errors are treated as fatal\n\
256\ -verbose enable verbose output\n\
257\ -referenceInfo compute reference info\n\
258\ -progress show progress (only in -log mode)\n\
259\ -time display speed information \n\
260\ -noExit do not call System.exit(n) at end of compilation (n==0\n\
261\ if no error)\n\
262\ -repeat <n> repeat compilation process <n> times for perf analysis\n\
263\ -inlineJSR inline JSR bytecode (implicit if target >= 1.5)\n\
264\ -enableJavadoc consider references in javadoc\n\
265\ -Xemacs used to enable emacs-style output in the console.\n\
266\ It does not affect the xml log output\n\
Stephan Herrmannb9e10522012-03-15 21:24:23 +0100267\ -missingNullDefault report missing default nullness annotation\n\
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000268\ \n\
269\ -? -help print this help message\n\
270\ -v -version print compiler version\n\
271\ -showversion print compiler version and continue\n\
272\ \n\
273\ Ignored options:\n\
274\ -J<option> pass option to virtual machine (ignored)\n\
275\ -X<option> specify non-standard option (ignored\n\
276\ except for listed -X options)\n\
277\ -X print non-standard options and exit (ignored)\n\
278\ -O optimize for execution time (ignored)\n
279##{ObjectTeams: OT-warning tokens added
280misc.usage.warn = {1} {2}\n\
281{3}\n\
282\ \n\
283\ Warning options:\n\
284\ -deprecation + deprecation outside deprecated code\n\
285\ -nowarn -warn:none disable all warnings\n\
Stephan Herrmannb9e10522012-03-15 21:24:23 +0100286\ -nowarn:[<directories separated by {0}>]\n\
287\ specify directories from which optional problems should\n\
288\ be ignored\n\
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000289\ -warn:<warnings separated by ,> enable exactly the listed warnings\n\
290\ -warn:+<warnings separated by ,> enable additional warnings\n\
291\ -warn:-<warnings separated by ,> disable specific warnings\n\
292\ abstractrelevantrole + abstract relevant role (OTJLD 2.5(b))\n\
293\ adaptDeprecated + adapting a deprecated type/method\n\
Stephan Herrmann6dcbb382011-10-25 16:30:31 +0000294\ all enable all warnings\n\
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000295\ allDeadCode dead code including trivial if(DEBUG) check\n\
296\ allDeprecation deprecation including inside deprecated code\n\
297\ allJavadoc invalid or missing javadoc\n\
298\ allOver-ann all missing @Override annotations\n\
Stephan Herrmannbb25a052011-01-27 11:59:20 +0000299\ all-static-method all method can be declared as static warnings\n\
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000300\ ambiguousbinding + ambiguous role-base bindings (OTJLD 2.3.4(a))\n\
301\ ambiguouslowering + ambiguous lowering or upcast (OTJLD 2.2(f))\n\
302\ assertIdentifier + ''assert'' used as identifier\n\
303\ basecall + base call not issued exactly once on each path\n\
304\ (OTJLD 4.3(b,c))\n\
Stephan Herrmann7464c322010-07-09 16:05:38 +0000305\ baseclasscycle + role involved in a baseclass-member cycle\n\
306\ (OTJLD 2.1.2(b)\n\
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000307\ bindingconventions + discouraged use of import / import base\n\
308\ (OTJLD 2.1.2(d))\n\
309\ bindingtosystemclass + trying to bind a role to a system class\n\
310\ boxing autoboxing conversion\n\
311\ charConcat + char[] in String concat\n\
312\ compareIdentical + comparing identical expressions\n\
313\ conditionAssign possible accidental boolean assignment\n\
314\ constructorName + method with constructor name\n\
315\ dangerouscallin + dangerous callin binding (hashCode or equals)\n\
316\ deadCode + dead code excluding trivial if (DEBUG) check\n\
317\ decapsulation + overriding access restrictions of a base class\n\
318\ (OTJLD 3.4)\n\
319\ dep-ann missing @Deprecated annotation\n\
320\ deprecation + deprecation outside deprecated code\n\
321\ discouraged + use of types matching a discouraged access rule\n\
322\ emptyBlock undocumented empty block\n\
323\ enumIdentifier ''enum'' used as identifier\n\
324\ enumSwitch incomplete enum switch\n\
Stephan Herrmann4f3f3d12012-04-28 23:46:59 +0200325\ enumSwitchPedantic + report missing enum switch cases even\n\
326\ in the presence of a default case\n\
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000327\ exceptioninguard + guard predicate throwing checked exception\n\
328\ fallthrough possible fall-through case\n\
329\ fieldHiding field hiding another variable\n\
330\ finalBound type parameter with final bound\n\
331\ finally + finally block not completing normally\n\
332\ forbidden + use of types matching a forbidden access rule\n\
333\ fragilecallin + replace callin not providing expected result\n\
334\ (OTJLD 4.3(e))\n\
335\ hashCode missing hashCode() method when overriding equals()\n\
Stephan Herrmanne283d5e2011-05-12 15:58:02 +0000336\ hiddenLiftingProblem + a lifting that is not directly visible in source\n\
337\ code could fail at runtime (OTJLD 2.3.5)\n\
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000338\ hiding macro for fieldHiding, localHiding, typeHiding and\n\
339\ maskedCatchBlock\n\
Stephan Herrmann016c4262010-10-20 22:02:18 +0000340\ includeAssertNull raise null warnings for variables\n\
341\ that got tainted in an assert expression\n\
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000342\ indirectStatic indirect reference to static member\n\
343\ inferredcallout + a callout binding has to be inferred (OTJLD 3.1(j))\n\
344\ intfAnnotation + annotation type used as super interface\n\
345\ intfNonInherited + interface non-inherited method compatibility\n\
346\ intfRedundant find redundant superinterfaces\n\
347\ javadoc invalid javadoc\n\
348\ localHiding local variable hiding another variable\n\
349\ maskedCatchBlock + hidden catch block\n\
350\ nls string literal lacking non-nls tag //$NON-NLS-<n>$\n\
351\ noEffectAssign + assignment without effect\n\
352\ null potential missing or redundant null check\n\
Stephan Herrmann2c38ab42012-01-28 20:42:28 +0100353\ nullAnnot(<annot. names separated by |>) + annotation based null analysis,\n\
354\ nullable|nonnull|nonnullbydefault annotation types\n\
355\ optionally specified using fully qualified names\n\
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000356\ nullDereference + missing null check\n\
357\ over-ann missing @Override annotation (superclass)\n\
358\ paramAssign assignment to a parameter\n\
359\ pkgDefaultMethod + attempt to override package-default method\n\
360\ raw + usage of raw type\n\
Stephan Herrmann6dcbb382011-10-25 16:30:31 +0000361\ resource + (pot.) unsafe usage of resource of type Closeable\n\
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000362\ roleinstantiation + unsafe instantiation of a role\n\
363\ (OTJLD 2.4.1(c), 2.4.3)\n\
364\ roletypesyntax + old style syntax for role types (dependent types)\n\
365\ (OTJLD 1.2.2(b))\n\
366\ semicolon unnecessary semicolon, empty statement\n\
367\ serial + missing serialVersionUID\n\
368\ specialParamHiding constructor or setter parameter hiding a field\n\
Stephan Herrmannbb25a052011-01-27 11:59:20 +0000369\ static-method method can be declared as static\n\
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000370\ static-access macro for indirectStatic and staticReceiver\n\
371\ staticReceiver + non-static reference to static member\n\
372\ super overriding a method without making a super invocation\n\
373\ suppress + enable @SuppressWarnings\n\
Stephan Herrmanne5d6be82010-04-02 03:29:32 +0000374\ When used with -err:, it can also silent optional\n\
375\ errors and warnings\n\
Stephan Herrmann4f3f3d12012-04-28 23:46:59 +0200376\ switchDefault + switch statement lacking a default case\n\
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000377\ syncOverride missing synchronized in synchr. method override\n\
378\ syntheticAccess synthetic access for innerclass\n\
379\ tasks(<tags separated by |>) tasks identified by tags inside comments\n\
380\ typeHiding + type parameter hiding another type\n\
Stephan Herrmann0e64ff62011-03-10 18:42:36 +0000381\ unavoidableGenericProblems + ignore unavoidable type safety problems\n\
382\ due to raw APIs\n\
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000383\ unchecked + unchecked type operation\n\
384\ unnecessaryElse unnecessary else clause\n\
385\ unqualifiedField unqualified reference to field\n\
386\ unused macro for unusedAllocation, unusedArgument,\n\
387\ unusedImport, unusedLabel, unusedLocal,\n\
388\ unusedPrivate, unusedThrown, and unusedTypeArgs\n\
389\ unusedAllocation allocating an object that is not used\n\
390\ unusedArgument unread method parameter\n\
391\ unusedImport + unused import declaration\n\
392\ unusedLabel + unused label\n\
393\ unusedLocal + unread local variable\n\
394\ unusedPrivate + unused private member declaration\n\
395\ unusedThrown unused declared thrown exception\n\
Stephan Herrmanndd780c62011-08-13 11:41:32 +0000396\ unusedTypeArgs + unused type arguments for method and constructor\n\
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000397\ uselessTypeCheck unnecessary cast/instanceof operation\n\
398\ varargsCast + varargs argument need explicit cast\n\
399\ warningToken + unsupported or unnecessary @SuppressWarnings\n
400## SH}