blob: f7598998c3a0891b4ef83f66966b2ddd973008a4 [file] [log] [blame]
Stephan Herrmann6dcbb382011-10-25 16:30:31 +00001###############################################################################
Stephan Herrmannd3b99322015-03-17 18:29:35 +01002# Copyright (c) 2000, 2015 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
Stephan Herrmann37fc84c2014-12-13 20:39:23 +010010# 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 Herrmann918c05c2012-12-16 20:09:49 +010017# bug 388281 - [compiler][null] inheritance of null annotations as an option
Stephan Herrmannfa54e432015-02-21 22:52:33 +010018# bug 440687 - [compiler][batch][null] improve command line option for external annotations
Stephan Herrmannd3b99322015-03-17 18:29:35 +010019# Bug 408815 - [batch][null] Add CLI option for COMPILER_PB_SYNTACTIC_NULL_ANALYSIS_FOR_FIELDS
Stephan Herrmann4c9fed72012-07-05 19:13:58 +020020# Alan Moraes <alan@kelon.org> - Contribution for bug 383644
Stephan Herrmann64791942013-12-28 21:28:24 +010021# Jesper S Moller - Contribution for bug 407297 - [1.8][compiler] Control generation of parameter names by option
Stephan Herrmann6dcbb382011-10-25 16:30:31 +000022###############################################################################
23### JavaBatchCompiler messages.
24
25### compiler
Stephan Herrmann7b7062f2010-04-01 19:56:59 +000026#Format: compiler.name = word1 word2 word3
27compiler.name = Eclipse Compiler for Java(TM)
Stephan Herrmann1002fa42013-12-17 17:50:02 +010028#Format: compiler.version = (The place holders will be automatically filled. Do not remove or alter it)
29compiler.version = bundle_qualifier, bundle_version
Stephan Herrmannd3b99322015-03-17 18:29:35 +010030compiler.copyright = Copyright IBM Corp 2000, 2015. All rights reserved.
Stephan Herrmann7b7062f2010-04-01 19:56:59 +000031
32###{ObjectTeams:
33otdtc.name = Extension for Object Teams
Stephan Herrmann6d8387c2015-11-10 16:07:05 +010034otdtc.version = 2.5.0 M3
Stephan Herrmann7c1e20e2015-05-05 16:52:51 +020035otdtc.copyright = Copyright by TU Berlin, Fraunhofer FIRST and others, 2004, 2015.
Stephan Herrmann7b7062f2010-04-01 19:56:59 +000036### SH}
37### progress
38progress.compiling = Compiling
39
40### compile
41compile.repetition = [repetition {0}/{1}]
42compile.instantTime = [compiled {0} lines in {1} ms: {2} lines/s]
43compile.detailedTime = [parse: {0} ms ({1}%), resolve: {2} ms ({3}%), analyze: {4} ms ({5}%), generate: {6} ms ({7}%) ]
44compile.ioTime = [i/o: read: {0} ms ({1}%), write: {2} ms ({3}%)]
45compile.averageTime = [average, excluding min-max {0} lines in {1} ms: {2} lines/s]
46compile.totalTime = [total compilation time: {0}]
47compile.oneProblem = 1 problem ({0})
48compile.severalProblemsErrorsOrWarnings = {0} problems ({1})
49compile.severalProblemsErrorsAndWarnings = {0} problems ({1}, {2})
50compile.oneError = 1 error
51compile.severalErrors = {0} errors
52compile.oneWarning = 1 warning
53compile.severalWarnings = {0} warnings
54compile.oneClassFileGenerated = [1 .class file generated]
55compile.severalClassFilesGenerated = [{0} .class files generated]
56
57### configure
58configure.requiresJDK1.2orAbove = Need to use a JVM >= 1.2
59configure.duplicateLog = duplicate log specification: {0}
60configure.duplicateRepeat = duplicate repeat specification: {0}
61configure.duplicateMaxProblems = duplicate max problems specification: {0}
62configure.duplicateCompliance = duplicate compliance setting specification: {0}
63configure.duplicateSource = duplicate source compliance setting specification: {0}
64configure.duplicateTarget = duplicate target compliance setting specification: {0}
Stephan Herrmann5fa7f312012-07-13 01:52:51 +020065configure.source = source level should be comprised in between ''1.3'' and ''1.8'' (or ''5'', ''5.0'', ..., ''8'' or ''8.0''): {0}
Stephan Herrmann7b7062f2010-04-01 19:56:59 +000066configure.duplicateOutputPath = duplicate output path specification: {0}
67configure.duplicateBootClasspath = duplicate bootclasspath specification: {0}
68configure.duplicateExtDirs = duplicate extdirs specification: {0}
69configure.duplicateSourcepath = duplicate sourcepath specification: {0}
70configure.invalidDebugOption = invalid debug option: {0}
71configure.invalidWarningConfiguration = invalid warning configuration: ''{0}''
72configure.invalidWarning = invalid warning token: ''{0}''. Ignoring warning and compiling
73configure.invalidWarningOption = invalid warning option: ''{0}''. Must specify a warning token
Stephan Herrmann5fa7f312012-07-13 01:52:51 +020074configure.targetJDK = target level should be comprised in between ''1.1'' and ''1.8'' (or ''5'', ''5.0'', ..., ''8'' or ''8.0'') or cldc1.1: {0}
Stephan Herrmann7b7062f2010-04-01 19:56:59 +000075configure.incompatibleTargetForSource = Target level ''{0}'' is incompatible with source level ''{1}''. A target level ''{1}'' or better is required
76configure.incompatibleTargetForGenericSource = Target level ''{0}'' is incompatible with source level ''{1}''. A source level ''1.5'' or better is required
77configure.incompatibleComplianceForSource = Compliance level ''{0}'' is incompatible with source level ''{1}''. A compliance level ''{1}'' or better is required
78configure.incompatibleComplianceForTarget = Compliance level ''{0}'' is incompatible with target level ''{1}''. A compliance level ''{1}'' or better is required
79configure.repetition = repetition must be a positive integer: {0}
80configure.maxProblems = max problems must be a positive integer: {0}
Stephan Herrmannb9e10522012-03-15 21:24:23 +010081configure.invalidNowarnOption = invalid syntax for nowarn option: {0}
Stephan Herrmann7b7062f2010-04-01 19:56:59 +000082
83configure.invalidErrorConfiguration = invalid error configuration: ''{0}''
84configure.invalidError = invalid error token: ''{0}''. Ignoring this error token and compiling
85configure.invalidErrorOption = invalid error option: ''{0}''. Must specify an error token
Stephan Herrmann7b7062f2010-04-01 19:56:59 +000086
87## configure.directoryNotExist = directory does not exist: {0}
88configure.unrecognizedOption = Unrecognized option : {0}
89configure.noClasspath = no classpath defined, using default directory instead
90configure.incorrectClasspath = incorrect classpath: {0}
91configure.invalidexpansionargumentname = expansion argument file {0} does not exist or cannot be read
92configure.cannotOpenLog = cannot open .log file: {0}
93configure.cannotOpenLogInvalidEncoding = cannot open .log file: {0}; because UTF-8 is not supported
94configure.unexpectedCustomEncoding = unexpected custom encoding specification: {0}[{1}]
95configure.unsupportedEncoding = unsupported encoding format: {0}
96configure.duplicateDefaultEncoding = duplicate default encoding format specification: {0}
97configure.invalidTaskTag ={0} is an invalid task tag
98configure.incorrectExtDirsEntry = incorrect ext dir entry; {0} must be a directory
99configure.incorrectEndorsedDirsEntry = incorrect endorsed dir entry; {0} must be a directory
100configure.duplicateEndorsedDirs = duplicate endorseddirs specification: {0}
101configure.incorrectDestinationPathEntry = incorrect destination path entry: {0}
102configure.unexpectedBracket = unexpected bracket: {0}
103configure.unexpectedDestinationPathEntry = unexpected destination path entry in {0} option
104configure.unexpectedDestinationPathEntryFile = unexpected destination path entry for file: {0}
105configure.accessRuleAfterDestinationPath = access rules cannot follow destination path entries: {0}
106configure.duplicateDestinationPathEntry = duplicate destination path entry in {0} option
107configure.invalidClassName = invalid class name: {0}
Stephan Herrmannae707952015-10-30 22:28:02 +0100108configure.unavailableAPT = Unable to load annotation processing manager {0} from classpath.
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000109configure.incorrectVMVersionforAPT = Annotation processing got disabled, since it requires a 1.6 compliant JVM
110configure.incompatibleSourceForCldcTarget=Target level ''{0}'' is incompatible with source level ''{1}''. A source level ''1.3'' or lower is required
111configure.incompatibleComplianceForCldcTarget=Target level ''{0}'' is incompatible with compliance level ''{1}''. A compliance level ''1.4''or lower is required
112configure.invalidClasspathSection = invalid Class-Path header in manifest of jar file: {0}
113configure.multipleClasspathSections = multiple Class-Path headers in manifest of jar file: {0}
Stephan Herrmanna55c3412010-04-24 14:26:14 +0000114configure.missingwarningspropertiesfile=properties file {0} does not exist
115configure.ioexceptionwarningspropertiesfile=An IOException occurred while reading the properties file {0}
Stephan Herrmann6c186a42010-04-27 23:21:41 +0000116configure.multipleencodings=Multiple encoding specified: {1}. The default encoding has been set to {0}
117configure.differentencodings=Found encoding {0}. Different encodings were specified: {1}
118configure.differentencoding=Found encoding {0}. A different encoding was specified: {1}
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000119
Stephan Herrmann2c38ab42012-01-28 20:42:28 +0100120### null annotations
121configure.invalidNullAnnot = Token {0} is not in the expected format "nullAnnot(<non null annotation name> | <nullable annotation name> | <non-null by default annotation name>)"
Stephan Herrmannfa54e432015-02-21 22:52:33 +0100122configure.missingAnnotationPath = Missing argument to -annotationpath at ''{0}''
Stephan Herrmann2c38ab42012-01-28 20:42:28 +0100123
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000124### requestor
125requestor.error = {0}. ERROR in {1}
126requestor.warning = {0}. WARNING in {1}
Stephan Herrmann37fc84c2014-12-13 20:39:23 +0100127requestor.extraerror = {0}. ERROR:
128requestor.extrawarning = {0}. WARNING:
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000129requestor.notRetrieveErrorMessage = Cannot retrieve the error message for {0}
130requestor.noFileNameSpecified = (original file name is not available)
131
132### EMACS STYLE
133output.emacs.error=error
134output.emacs.warning=warning
135
136### unit
137unit.more = File {0} is specified more than once
138unit.missing = File {0} is missing
139
140### output
141output.noClassFileCreated = No .class file created for file {1} in {0} because of an IOException: {2}
142
143### miscellaneous
144### {ObjectTeams: one for testing the other for -version command
145misc.version.orig = {0} {1}, {2}
146misc.version = {0} {1}, {2}\n{3}, {4}, {5}
147### SH}
148misc.usage = {1} {2}\n\
149{3}\n\
150\ \n\
151\ Usage: <options> <source files | directories>\n\
152\ If directories are specified, then their source contents are compiled.\n\
153\ Possible options are listed below. Options enabled by default are prefixed\n\
154\ with ''+''.\n\
155\ \n\
156\ Classpath options:\n\
157\ -cp -classpath <directories and ZIP archives separated by {0}>\n\
158\ specify location for application classes and sources.\n\
159\ Each directory or file can specify access rules for\n\
160\ types between ''['' and '']'' (e.g. [-X] to forbid\n\
161\ access to type X, [~X] to discourage access to type X,\n\
162\ [+p/X{0}-p/*] to forbid access to all types in package p\n\
163\ but allow access to p/X)\n\
164\ -bootclasspath <directories and ZIP archives separated by {0}>\n\
165\ specify location for system classes. Each directory or\n\
166\ file can specify access rules for types between ''[''\n\
167\ and '']''\n\
168\ -sourcepath <directories and ZIP archives separated by {0}>\n\
169\ specify location for application sources. Each directory\n\
170\ or file can specify access rules for types between ''[''\n\
171\ and '']''. Each directory can further specify a specific\n\
172\ destination directory using a ''-d'' option between ''[''\n\
173\ and '']''; this overrides the general ''-d'' option.\n\
174\ .class files created from source files contained in a\n\
175\ jar file are put in the user.dir folder in case no\n\
176\ general ''-d'' option is specified. ZIP archives cannot\n\
177\ override the general ''-d'' option\n\
178\ -extdirs <directories separated by {0}>\n\
179\ specify location for extension ZIP archives\n\
180\ -endorseddirs <directories separated by {0}>\n\
181\ specify location for endorsed ZIP archives\n\
182\ -d <dir> destination directory (if omitted, no directory is\n\
183\ created); this option can be overridden per source\n\
184\ directory\n\
185\ -d none generate no .class files\n\
Stephan Herrmanne042d002010-06-05 13:49:29 +0000186\ -encoding <enc> specify default encoding for all source files. Each\n\
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000187\ file/directory can override it when suffixed with\n\
Stephan Herrmann6c186a42010-04-27 23:21:41 +0000188\ ''[''<enc>'']'' (e.g. X.java[utf8]).\n\
Stephan Herrmanne042d002010-06-05 13:49:29 +0000189\ If multiple default encodings are specified, the last\n\
190\ one will be used.\n\
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000191\ \n\
192\ Compliance options:\n\
193\ -1.3 use 1.3 compliance (-source 1.3 -target 1.1)\n\
194\ -1.4 + use 1.4 compliance (-source 1.3 -target 1.2)\n\
195\ -1.5 -5 -5.0 use 1.5 compliance (-source 1.5 -target 1.5)\n\
196\ -1.6 -6 -6.0 use 1.6 compliance (-source 1.6 -target 1.6)\n\
197\ -1.7 -7 -7.0 use 1.7 compliance (-source 1.7 -target 1.7)\n\
Stephan Herrmann5fa7f312012-07-13 01:52:51 +0200198\ -1.8 -8 -8.0 use 1.8 compliance (-source 1.8 -target 1.8)\n\
199\ -source <version> set source level: 1.3 to 1.8 (or 5, 5.0, etc)\n\
200\ -target <version> set classfile target: 1.1 to 1.8 (or 5, 5.0, etc)\n\
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000201\ cldc1.1 can also be used to generate the StackMap\n\
202\ attribute\n\
Stephan Herrmannb2c76ea2014-05-18 01:07:58 +0200203\ -ot.weaving:otre compile for the traditional Object Teams weaver\n\
204\ -ot.weaving:otdre compile for the dynamic Object Teams weaver\n\
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000205\ \n\
206\ Warning options:\n\
207\ -deprecation + deprecation outside deprecated code (equivalent to\n\
208\ -warn:+deprecation)\n\
209\ -nowarn -warn:none disable all warnings\n\
Stephan Herrmannb9e10522012-03-15 21:24:23 +0100210\ -nowarn:[<directories separated by {0}>]\n\
211\ specify directories from which optional problems should\n\
212\ be ignored\n\
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000213\ -?:warn -help:warn display advanced warning options\n\
214\ \n\
215\ Error options:\n\
216\ -err:<warnings separated by ,> convert exactly the listed warnings\n\
217\ to be reported as errors\n\
218\ -err:+<warnings separated by ,> enable additional warnings to be\n\
219\ reported as errors\n\
220\ -err:-<warnings separated by ,> disable specific warnings to be\n\
221\ reported as errors\n\
222\ \n\
Stephan Herrmanna55c3412010-04-24 14:26:14 +0000223\ Setting warning or error options using properties file:\n\
Stephan Herrmann54669f82012-05-08 19:36:39 +0200224\ -properties <file> set warnings/errors option based on the properties\n\
Stephan Herrmanna55c3412010-04-24 14:26:14 +0000225\ file contents. This option can be used with -nowarn,\n\
226\ -err:.. or -warn:.. options, but the last one on the\n\
227\ command line sets the options to be used.\n\
228\ \n\
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000229\ Debug options:\n\
230\ -g[:lines,vars,source] custom debug info\n\
231\ -g:lines,source + both lines table and source debug info\n\
232\ -g all debug info\n\
233\ -g:none no debug info\n\
234\ -preserveAllLocals preserve unused local vars for debug purpose\n\
235\ \n\
236\ Annotation processing options:\n\
237\ These options are meaningful only in a 1.6 environment.\n\
238\ -Akey[=value] options that are passed to annotation processors\n\
239\ -processorpath <directories and ZIP archives separated by {0}>\n\
240\ specify locations where to find annotation processors.\n\
241\ If this option is not used, the classpath will be\n\
242\ searched for processors\n\
243\ -processor <class1[,class2,...]>\n\
244\ qualified names of the annotation processors to run.\n\
245\ This bypasses the default annotation discovery process\n\
246\ -proc:only run annotation processors, but do not compile\n\
247\ -proc:none perform compilation but do not run annotation\n\
248\ processors\n\
249\ -s <dir> destination directory for generated source files\n\
250\ -XprintProcessorInfo print information about which annotations and elements\n\
251\ a processor is asked to process\n\
252\ -XprintRounds print information about annotation processing rounds\n\
253\ -classNames <className1[,className2,...]>\n\
254\ qualified names of binary classes to process\n\
255\ \n\
256\ Advanced options:\n\
257\ @<file> read command line arguments from file\n\
258\ -maxProblems <n> max number of problems per compilation unit (100 by\n\
259\ default)\n\
260\ -log <file> log to a file. If the file extension is ''.xml'', then\n\
261\ the log will be a xml file.\n\
262\ -proceedOnError[:Fatal]\n\
263\ do not stop at first error, dumping class files with\n\
264\ problem methods\n\
265\ With ":Fatal", all optional errors are treated as fatal\n\
266\ -verbose enable verbose output\n\
267\ -referenceInfo compute reference info\n\
268\ -progress show progress (only in -log mode)\n\
269\ -time display speed information \n\
270\ -noExit do not call System.exit(n) at end of compilation (n==0\n\
271\ if no error)\n\
272\ -repeat <n> repeat compilation process <n> times for perf analysis\n\
273\ -inlineJSR inline JSR bytecode (implicit if target >= 1.5)\n\
274\ -enableJavadoc consider references in javadoc\n\
Stephan Herrmann64791942013-12-28 21:28:24 +0100275\ -parameters generate method parameters attribute (for target >= 1.8)\n\
Stephan Herrmann8e7340d2014-11-23 21:04:27 +0100276\ -genericsignature generate generic signature for lambda expressions\n\
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000277\ -Xemacs used to enable emacs-style output in the console.\n\
278\ It does not affect the xml log output\n\
Stephan Herrmannb9e10522012-03-15 21:24:23 +0100279\ -missingNullDefault report missing default nullness annotation\n\
Stephan Herrmannfa54e432015-02-21 22:52:33 +0100280\ -annotationpath <directories and ZIP archives separated by {0}>\n\
281\ specify locations where to find external annotations\n\
282\ to support annotation-based null analysis.\n\
283\ The special name CLASSPATH will cause lookup of\n\
284\ external annotations from the classpath and sourcepath.\n\
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000285\ \n\
286\ -? -help print this help message\n\
287\ -v -version print compiler version\n\
288\ -showversion print compiler version and continue\n\
289\ \n\
290\ Ignored options:\n\
291\ -J<option> pass option to virtual machine (ignored)\n\
292\ -X<option> specify non-standard option (ignored\n\
293\ except for listed -X options)\n\
294\ -X print non-standard options and exit (ignored)\n\
295\ -O optimize for execution time (ignored)\n
296##{ObjectTeams: OT-warning tokens added
297misc.usage.warn = {1} {2}\n\
298{3}\n\
299\ \n\
300\ Warning options:\n\
Stephan Herrmann37fc84c2014-12-13 20:39:23 +0100301\ -deprecation + deprecation outside deprecated code\n\
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000302\ -nowarn -warn:none disable all warnings\n\
Stephan Herrmannb9e10522012-03-15 21:24:23 +0100303\ -nowarn:[<directories separated by {0}>]\n\
304\ specify directories from which optional problems should\n\
305\ be ignored\n\
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000306\ -warn:<warnings separated by ,> enable exactly the listed warnings\n\
307\ -warn:+<warnings separated by ,> enable additional warnings\n\
308\ -warn:-<warnings separated by ,> disable specific warnings\n\
309\ abstractrelevantrole + abstract relevant role (OTJLD 2.5(b))\n\
310\ adaptDeprecated + adapting a deprecated type/method\n\
Stephan Herrmann6dcbb382011-10-25 16:30:31 +0000311\ all enable all warnings\n\
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000312\ allDeadCode dead code including trivial if(DEBUG) check\n\
313\ allDeprecation deprecation including inside deprecated code\n\
314\ allJavadoc invalid or missing javadoc\n\
315\ allOver-ann all missing @Override annotations\n\
Stephan Herrmannbb25a052011-01-27 11:59:20 +0000316\ all-static-method all method can be declared as static warnings\n\
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000317\ ambiguousbinding + ambiguous role-base bindings (OTJLD 2.3.4(a))\n\
318\ ambiguouslowering + ambiguous lowering or upcast (OTJLD 2.2(f))\n\
319\ assertIdentifier + ''assert'' used as identifier\n\
320\ basecall + base call not issued exactly once on each path\n\
321\ (OTJLD 4.3(b,c))\n\
Stephan Herrmann7464c322010-07-09 16:05:38 +0000322\ baseclasscycle + role involved in a baseclass-member cycle\n\
323\ (OTJLD 2.1.2(b)\n\
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000324\ bindingconventions + discouraged use of import / import base\n\
325\ (OTJLD 2.1.2(d))\n\
326\ bindingtosystemclass + trying to bind a role to a system class\n\
327\ boxing autoboxing conversion\n\
328\ charConcat + char[] in String concat\n\
329\ compareIdentical + comparing identical expressions\n\
330\ conditionAssign possible accidental boolean assignment\n\
331\ constructorName + method with constructor name\n\
332\ dangerouscallin + dangerous callin binding (hashCode or equals)\n\
333\ deadCode + dead code excluding trivial if (DEBUG) check\n\
334\ decapsulation + overriding access restrictions of a base class\n\
335\ (OTJLD 3.4)\n\
336\ dep-ann missing @Deprecated annotation\n\
337\ deprecation + deprecation outside deprecated code\n\
338\ discouraged + use of types matching a discouraged access rule\n\
339\ emptyBlock undocumented empty block\n\
340\ enumIdentifier ''enum'' used as identifier\n\
341\ enumSwitch incomplete enum switch\n\
Stephan Herrmann4f3f3d12012-04-28 23:46:59 +0200342\ enumSwitchPedantic + report missing enum switch cases even\n\
343\ in the presence of a default case\n\
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000344\ exceptioninguard + guard predicate throwing checked exception\n\
345\ fallthrough possible fall-through case\n\
346\ fieldHiding field hiding another variable\n\
347\ finalBound type parameter with final bound\n\
348\ finally + finally block not completing normally\n\
349\ forbidden + use of types matching a forbidden access rule\n\
350\ fragilecallin + replace callin not providing expected result\n\
351\ (OTJLD 4.3(e))\n\
352\ hashCode missing hashCode() method when overriding equals()\n\
Stephan Herrmanne283d5e2011-05-12 15:58:02 +0000353\ hiddenLiftingProblem + a lifting that is not directly visible in source\n\
354\ code could fail at runtime (OTJLD 2.3.5)\n\
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000355\ hiding macro for fieldHiding, localHiding, typeHiding and\n\
356\ maskedCatchBlock\n\
Stephan Herrmann016c4262010-10-20 22:02:18 +0000357\ includeAssertNull raise null warnings for variables\n\
358\ that got tainted in an assert expression\n\
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000359\ indirectStatic indirect reference to static member\n\
360\ inferredcallout + a callout binding has to be inferred (OTJLD 3.1(j))\n\
Stephan Herrmann918c05c2012-12-16 20:09:49 +0100361\ inheritNullAnnot inherit null annotations\n\
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000362\ intfAnnotation + annotation type used as super interface\n\
363\ intfNonInherited + interface non-inherited method compatibility\n\
364\ intfRedundant find redundant superinterfaces\n\
Stephan Herrmannb046a492012-08-10 16:50:55 +0200365\ invalidJavadoc all warnings for malformed javadoc tags\n\
366\ invalidJavadocTag validate javadoc tag arguments\n\
367\ invalidJavadocTagDep validate deprecated references in javadoc tag args\n\
368\ invalidJavadocTagNotVisible validate non-visible references in javadoc\n\
369\ tag args\n\
370\ invalidJavadocVisibility(<visibility>) specify visibility modifier\n\
371\ for malformed javadoc tag warnings\n\
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000372\ javadoc invalid javadoc\n\
373\ localHiding local variable hiding another variable\n\
374\ maskedCatchBlock + hidden catch block\n\
Stephan Herrmannb046a492012-08-10 16:50:55 +0200375\ missingJavadocTags missing Javadoc tags\n\
376\ missingJavadocTagsOverriding missing Javadoc tags in overriding methods\n\
377\ missingJavadocTagsMethod missing Javadoc tags for method type parameter\n\
378\ missingJavadocTagsVisibility(<visibility>) specify visibility modifier\n\
379\ for missing javadoc tags warnings\n\
380\ missingJavadocComments missing Javadoc comments\n\
381\ missingJavadocCommentsOverriding missing Javadoc tags in overriding\n\
382\ methods\n\
383\ missingJavadocCommentsVisibility(<visibility>) specify visibility\n\
384\ modifier for missing javadoc comments warnings\n\
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000385\ nls string literal lacking non-nls tag //$NON-NLS-<n>$\n\
386\ noEffectAssign + assignment without effect\n\
387\ null potential missing or redundant null check\n\
Stephan Herrmannb046a492012-08-10 16:50:55 +0200388\ nullAnnot(<annot. names separated by |>) annotation based null analysis,\n\
Stephan Herrmann2c38ab42012-01-28 20:42:28 +0100389\ nullable|nonnull|nonnullbydefault annotation types\n\
Stephan Herrmannb046a492012-08-10 16:50:55 +0200390\ optionally specified using fully qualified names.\n\
391\ Enabling this option enables all null-annotation\n\
392\ related sub-options. These can be individually\n\
393\ controlled using options listed below.\n\
394\ nullAnnotConflict conflict between null annotation specified\n\
395\ and nullness inferred. Is effective only with\n\
396\ nullAnnot option enabled.\n\
397\ nullAnnotRedundant redundant specification of null annotation. Is\n\
398\ effective only with nullAnnot option enabled.\n\
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000399\ nullDereference + missing null check\n\
Stephan Herrmannb046a492012-08-10 16:50:55 +0200400\ nullUncheckedConversion unchecked conversion from non-annotated type\n\
401\ to @NonNull type. Is effective only with\n\
402\ nullAnnot option enabled.\n\
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000403\ over-ann missing @Override annotation (superclass)\n\
404\ paramAssign assignment to a parameter\n\
405\ pkgDefaultMethod + attempt to override package-default method\n\
406\ raw + usage of raw type\n\
Stephan Herrmann6dcbb382011-10-25 16:30:31 +0000407\ resource + (pot.) unsafe usage of resource of type Closeable\n\
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000408\ roleinstantiation + unsafe instantiation of a role\n\
409\ (OTJLD 2.4.1(c), 2.4.3)\n\
410\ roletypesyntax + old style syntax for role types (dependent types)\n\
411\ (OTJLD 1.2.2(b))\n\
412\ semicolon unnecessary semicolon, empty statement\n\
413\ serial + missing serialVersionUID\n\
414\ specialParamHiding constructor or setter parameter hiding a field\n\
Stephan Herrmannbb25a052011-01-27 11:59:20 +0000415\ static-method method can be declared as static\n\
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000416\ static-access macro for indirectStatic and staticReceiver\n\
417\ staticReceiver + non-static reference to static member\n\
418\ super overriding a method without making a super invocation\n\
419\ suppress + enable @SuppressWarnings\n\
Stephan Herrmanne5d6be82010-04-02 03:29:32 +0000420\ When used with -err:, it can also silent optional\n\
421\ errors and warnings\n\
Stephan Herrmann14d6b962015-06-09 14:32:46 +0200422\ switchDefault switch statement lacking a default case\n\
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000423\ syncOverride missing synchronized in synchr. method override\n\
Stephan Herrmannd3b99322015-03-17 18:29:35 +0100424\ syntacticAnalysis perform syntax-based null analysis for fields\n\
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000425\ syntheticAccess synthetic access for innerclass\n\
426\ tasks(<tags separated by |>) tasks identified by tags inside comments\n\
427\ typeHiding + type parameter hiding another type\n\
Stephan Herrmann0e64ff62011-03-10 18:42:36 +0000428\ unavoidableGenericProblems + ignore unavoidable type safety problems\n\
429\ due to raw APIs\n\
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000430\ unchecked + unchecked type operation\n\
431\ unnecessaryElse unnecessary else clause\n\
432\ unqualifiedField unqualified reference to field\n\
433\ unused macro for unusedAllocation, unusedArgument,\n\
434\ unusedImport, unusedLabel, unusedLocal,\n\
Stephan Herrmann32fd38b2014-12-13 15:26:29 +0100435\ unusedPrivate, unusedThrown, and unusedTypeArgs,\n\
436\ unusedExceptionParam\n\
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000437\ unusedAllocation allocating an object that is not used\n\
438\ unusedArgument unread method parameter\n\
Stephan Herrmann32fd38b2014-12-13 15:26:29 +0100439\ unusedExceptionParam unread exception parameter\n\
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000440\ unusedImport + unused import declaration\n\
441\ unusedLabel + unused label\n\
442\ unusedLocal + unread local variable\n\
Stephan Herrmannb046a492012-08-10 16:50:55 +0200443\ unusedParam unused parameter\n\
444\ unusedParamOverriding unused parameter for overriding method\n\
445\ unusedParamImplementing unused parameter for implementing method\n\
446\ unusedParamIncludeDoc unused parameter documented in comment tag\n\
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000447\ unusedPrivate + unused private member declaration\n\
448\ unusedThrown unused declared thrown exception\n\
Stephan Herrmannb046a492012-08-10 16:50:55 +0200449\ unusedThrownWhenOverriding unused declared thrown exception in \n\
450\ overriding method\n\
451\ unusedThrownIncludeDocComment unused declared thrown exception,\n\
452\ documented in a comment tag\n\
453\ unusedThrownExemptExceptionThrowable unused declared thrown exception,\n\
454\ exempt Exception and Throwable\n\
Stephan Herrmanndd780c62011-08-13 11:41:32 +0000455\ unusedTypeArgs + unused type arguments for method and constructor\n\
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000456\ uselessTypeCheck unnecessary cast/instanceof operation\n\
457\ varargsCast + varargs argument need explicit cast\n\
458\ warningToken + unsupported or unnecessary @SuppressWarnings\n
459## SH}