blob: 3beee8e975b485f00def5a49eb4db314a9fc193e [file] [log] [blame]
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001###############################################################################
Stephan Herrmann6054d022016-03-19 16:21:11 +01002# Copyright (c) 2000, 2016 IBM Corporation and others.
Stephan Herrmann7b7062f2010-04-01 19:56:59 +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
Stephan Herrmann5fa7f312012-07-13 01:52:51 +02007#
Stephan Herrmann5fa7f312012-07-13 01:52:51 +02008#
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00009# Contributors:
10# IBM Corporation - initial API and implementation
11# Benjamin Muskalla - Contribution for bug 239066
Stephan Herrmannaa1e2842011-12-10 00:30:58 +010012# Fraunhofer FIRST - extended API and implementation
13# Technical University Berlin - extended API and implementation
Stephan Herrmann6dcbb382011-10-25 16:30:31 +000014# Stephan Herrmann <stephan@cs.tu-berlin.de> - Contributions for
15# bug 185682 - Increment/decrement operators mark local variables as read
16# bug 349326 - [1.7] new warning for missing try-with-resources
Stephan Herrmannaa1e2842011-12-10 00:30:58 +010017# bug 186342 - [compiler][null] Using annotations for null checking
Stephan Herrmann2c38ab42012-01-28 20:42:28 +010018# bug 365662 - [compiler][null] warn on contradictory and redundant null annotations
Stephan Herrmann6cecadb2012-02-26 01:08:39 +010019# bug 365531 - [compiler][null] investigate alternative strategy for internally encoding nullness defaults
Stephan Herrmannb9e10522012-03-15 21:24:23 +010020# bug 365859 - [compiler][null] distinguish warnings based on flow analysis vs. null annotations
Stephan Herrmann4f3f3d12012-04-28 23:46:59 +020021# bug 374605 - Unreasonable warning for enum-based switch statements
Stephan Herrmann5fa7f312012-07-13 01:52:51 +020022# bug 382353 - [1.8][compiler] Implementation property modifiers should be accepted on default methods.
Stephan Herrmannbf0ecd32013-04-04 15:17:36 +020023# bug 382347 - [1.8][compiler] Compiler accepts incorrect default method inheritance
Stephan Herrmanne4a85442012-11-01 21:00:53 +010024# bug 388281 - [compiler][null] inheritance of null annotations as an option
Stephan Herrmann0363ef22013-02-02 16:22:13 +010025# bug 381443 - [compiler][null] Allow parameter widening from @NonNull to unannotated
Stephan Herrmann0363ef22013-02-02 16:22:13 +010026# bug 331649 - [compiler][null] consider null annotations for fields
Stephan Herrmann307ebe32013-05-02 02:46:05 +020027# bug 393719 - [compiler] inconsistent warnings on iteration variables
Stephan Herrmanna01ee392013-04-05 01:42:45 +020028# bug 392862 - [1.8][compiler][null] Evaluate null annotations on array types
Stephan Herrmann307ebe32013-05-02 02:46:05 +020029# bug 382789 - [compiler][null] warn when syntactically-nonnull expression is compared against null
30# bug 402028 - [1.8][compiler] null analysis for reference expressions
31# bug 401796 - [1.8][compiler] don't treat default methods as overriding an independent inherited abstract method
32# bug 404649 - [1.8][compiler] detect illegal reference to indirect or redundant super
Stephan Herrmann64791942013-12-28 21:28:24 +010033# Bug 392099 - [1.8][compiler][null] Apply null annotation on types for null analysis
34# Bug 415043 - [1.8][null] Follow-up re null type annotations after bug 392099
Stephan Herrmann4388de02013-12-30 10:43:45 +010035# Bug 392238 - [1.8][compiler][null] Detect semantically invalid null type annotations
36# Bug 416307 - [1.8][compiler][null] subclass with type parameter substitution confuses null checking
Stephan Herrmannc1c48622014-01-04 23:19:31 +010037# Bug 400874 - [1.8][compiler] Inference infrastructure should evolve to meet JLS8 18.x (Part G of JSR335 spec)
Stephan Herrmann78721b12014-02-12 00:01:46 +010038# Bug 424637 - [1.8][compiler][null] AIOOB in ReferenceExpression.resolveType with a method reference to Files::walk
Stephan Herrmann2671e412014-03-29 00:36:47 +010039# Bug 418743 - [1.8][null] contradictory annotations on invocation of generic method not reported
40# Bug 416190 - [1.8][null] detect incompatible overrides due to null type annotations
Stephan Herrmanne2399432014-03-29 13:02:22 +010041# Bug 392245 - [1.8][compiler][null] Define whether / how @NonNullByDefault applies to TYPE_USE locations
Stephan Herrmannac2aba32014-05-01 14:58:19 +020042# Bug 430150 - [1.8][null] stricter checking against type variables
Stephan Herrmann35ce9502014-06-05 16:16:02 +020043# Bug 434600 - Incorrect null analysis error reporting on type parameters
Stephan Herrmann881bc142014-10-03 22:03:34 +020044# Bug 439516 - [1.8][null] NonNullByDefault wrongly applied to implicit type bound of binary type
45# Bug 438467 - [compiler][null] Better error position for "The method _ cannot implement the corresponding method _ due to incompatible nullness constraints"
Stephan Herrmann8f59a942015-02-01 15:13:21 +010046# Bug 458361 - [1.8][null] reconciler throws NPE in ProblemReporter.illegalReturnRedefinition()
Stephan Herrmann63010de2013-05-01 20:08:26 +020047# Jesper S Moller <jesper@selskabet.org> - Contributions for
48# bug 382701 - [1.8][compiler] Implement semantic analysis of Lambda expressions & Reference expression
Stephan Herrmann307ebe32013-05-02 02:46:05 +020049# bug 384567 - [1.5][compiler] Compiler accepts illegal modifiers on package declaration
Stephan Herrmann5d5b2c32014-01-02 00:10:41 +010050# Bug 412153 - [1.8][compiler] Check validity of annotations which may be repeatable
51# Bug 412151 - [1.8][compiler] Check repeating annotation's collection type
Stephan Herrmann31907e22014-01-03 15:27:45 +010052# Bug 419209 - [1.8] Repeating container annotations should be rejected in the presence of annotation it contains
Stephan Herrmann7b7062f2010-04-01 19:56:59 +000053###############################################################################
540 = {0}
551 = super cannot be used in java.lang.Object
562 = {0} cannot be resolved to a type
573 = The type {0} is not visible
584 = The type {0} is ambiguous
595 = The type {0} is deprecated
606 = The nested type {0} cannot be referenced using its binary name
617 = The type {0} is never used locally
62
6315 = Incompatible operand types {0} and {1}
6416 = Incompatible conditional operand types {0} and {1}
6517 = Type mismatch: cannot convert from {0} to {1}
6618 = The static member type {0}.{1} should be accessed directly
Stephan Herrmanna9ff5de2014-01-04 13:16:55 +01006719 = Type mismatch: cannot convert from {0} to {1}
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00006820 = No enclosing instance of type {0} is accessible to invoke the super constructor. Must define a constructor and explicitly qualify its super constructor invocation with an instance of {0} (e.g. x.super() where x is an instance of {0}).
6921 = No enclosing instance of type {0} is accessible. Must qualify the allocation with an enclosing instance of type {0} (e.g. x.new A() where x is an instance of {0}).
7022 = No enclosing instance of the type {0} is accessible in scope
7123 = Illegal enclosing instance specification for type {0}
7224 = Cannot define static initializer in inner type {0}
Stephan Herrmann31907e22014-01-03 15:27:45 +01007325 = Cannot refer to the non-final local variable {0} defined in an enclosing scope
7426 = The member interface {0} can only be defined inside a top-level class or interface or in a static context
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00007527 = Cannot use an expression of the type {0} as a valid enclosing instance
7628 = No enclosing instance of type {0} is available due to some intermediate constructor invocation
7729 = An anonymous class cannot subclass the final class {0}
Stephan Herrmann7941b7c2013-11-03 16:07:28 +01007830 = The member annotation {0} can only be defined inside a top-level class or interface or in a static context
7931 = The member enum {0} can only be defined inside a top-level class or interface or in a static context
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00008032 = The member enum {0} must be defined inside a static member type
8133 = The type {0} is hiding the type {1}
Stephan Herrmann881bc142014-10-03 22:03:34 +02008234 = {0} is not an annotation type
Stephan Herrmann7b7062f2010-04-01 19:56:59 +000083
8450 = {0} cannot be resolved
8551 = The local variable {0} may not have been initialized
8652 = void is an invalid type for the variable {0}
87###[obsolete] 53 = An array of void is an invalid type for the variable {0}
8854 = void[] is an invalid type
8955 = Duplicate local variable {0}
9056 = Duplicate parameter {0}
9157 = The final local variable {0} may already have been assigned
9258 = The final local variable {0} cannot be assigned. It must be blank and not using a compound assignment
9359 = The parameter {0} should not be assigned
9460 = The final local variable {0} cannot be assigned, since it is defined in an enclosing type
Stephan Herrmanne880bb62010-11-06 15:10:25 +00009561 = The value of the local variable {0} is not used
9662 = The value of the parameter {0} is not used
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00009763 = The code of method {0}({1}) is exceeding the 65535 bytes limit
9864 = The code for the static initializer is exceeding the 65535 bytes limit
9965 = Too many parameters, parameter {0} is exceeding the limit of 255 words eligible for method parameters
10066 = Too many local variables, local variable {0} is exceeding the limit of 65535 words eligible for method local variables
10167 = Too many synthetic parameters, emulated parameter {0} is exceeding the limit of 255 words eligible for method parameters
10268 = Too many array dimensions. Maximum is 255
10369 = The code of constructor {0}({1}) is exceeding the 65535 bytes limit
10470 = {0} cannot be resolved or is not a field
10571 = The field {1}.{0} is not visible
10672 = The field {0} is ambiguous
10773 = The field {0}.{1} is deprecated
10874 = Cannot make a static reference to the non-static field {0}
10975 = Cannot reference a field before it is defined
11076 = The static field {0}.{1} should be accessed in a static way
Stephan Herrmanne880bb62010-11-06 15:10:25 +000011177 = The value of the field {0}.{1} is not used
Stephan Herrmann7b7062f2010-04-01 19:56:59 +000011278 = The static field {0}.{1} should be accessed directly
11379 = Unqualified access to the field {0}.{1}
11480 = The final field {0}.{1} cannot be assigned
11581 = The blank final field {0} may not have been initialized
11682 = The final field {0} may already have been assigned
11783 = {0} cannot be resolved to a variable
Stephan Herrmann307ebe32013-05-02 02:46:05 +020011884 = This static method of interface {0} can only be accessed as {0}.{1}
Stephan Herrmann881bc142014-10-03 22:03:34 +020011985 = The value of the exception parameter {0} is not used
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000120
Stephan Herrmann307ebe32013-05-02 02:46:05 +020012190 = The local variable {0} is hiding another local variable defined in an enclosing scope
Stephan Herrmann7b7062f2010-04-01 19:56:59 +000012291 = The local variable {0} is hiding a field from type {1}
Stephan Herrmann307ebe32013-05-02 02:46:05 +020012392 = The field {0}.{1} is hiding another local variable defined in an enclosing scope
Stephan Herrmann7b7062f2010-04-01 19:56:59 +000012493 = The field {0}.{1} is hiding a field from type {2}
Stephan Herrmann307ebe32013-05-02 02:46:05 +020012594 = The parameter {0} is hiding another local variable defined in an enclosing scope
Stephan Herrmann7b7062f2010-04-01 19:56:59 +000012695 = The parameter {0} is hiding a field from type {1}
12796 = The serializable class {0} does not declare a static final serialVersionUID field of type long
Stephan Herrmann4388de02013-12-30 10:43:45 +010012897 = Lambda expression''s parameter {0} cannot redeclare another local variable defined in an enclosing scope.
12998 = Lambda expression''s local variable {0} cannot redeclare another local variable defined in an enclosing scope.
Stephan Herrmann307ebe32013-05-02 02:46:05 +020013099 = The type {0} from the descriptor computed for the target context is not visible here.
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000131100 = The method {1}({2}) is undefined for the type {0}
132101 = The method {1}({2}) from the type {0} is not visible
133102 = The method {1}({2}) is ambiguous for the type {0}
134103 = The method {1}({2}) from the type {0} is deprecated
135104 = Cannot directly invoke the abstract method {1}({2}) for the type {0}
136105 = Void methods cannot return a value
137106 = Cannot return a void result
138107 = This method requires a body instead of a semicolon
139108 = This method must return a result of type {0}
140
141110 = This method has a constructor name
142111 = Return type for the method is missing
143112 = Native methods do not specify a body
144113 = Abstract methods do not specify a body
145114 = Cannot invoke {1}({2}) on the primitive type {0}
146115 = The method {1}({2}) in the type {0} is not applicable for the arguments ({3})
147116 = Cannot invoke {1}({2}) on the array type {0}
148117 = The static method {1}({2}) from the type {0} should be accessed in a static way
149118 = The method {1}({2}) from the type {0} is never used locally
150119 = The static method {1}({2}) from the type {0} should be accessed directly
151120 = The method {1}({2}) from the type {0} refers to the missing type {3}
Stephan Herrmannbb25a052011-01-27 11:59:20 +0000152121 = The method {1}({2}) from the type {0} can be declared as static
153122 = The method {1}({2}) from the type {0} can potentially be declared as static
Stephan Herrmann307ebe32013-05-02 02:46:05 +0200154123 = Ambiguous method reference: both {1}({2}) and {3}({4}) from the type {0} are eligible
155124 = The method {1}({2}) from the type {0} should be accessed in a static way
156125 = Incompatible parameter list for array constructor. Expected (int), but found ({1})
157126 = Constructed array {0} cannot be assigned to {1} as required in the interface descriptor
158127 = The type {0} does not define {1}({2}) that is applicable here
Stephan Herrmann4388de02013-12-30 10:43:45 +0100159128 = The type of {0}({1}) from the type {2} is {3}, this is incompatible with the descriptor''s return type: {4}
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000160129 = The constructor {0}({1}) refers to the missing type {2}
161130 = The constructor {0}({1}) is undefined
162131 = The constructor {0}({1}) is not visible
163132 = The constructor {0}({1}) is ambiguous
164133 = The constructor {0}({1}) is deprecated
165134 = The constructor {0}({1}) is never used locally
166135 = Cannot refer to an instance field {0} while explicitly invoking a constructor
167136 = Cannot refer to an instance method while explicitly invoking a constructor
168137 = Recursive constructor invocation {0}({1})
169138 = Cannot refer to 'this' nor 'super' while explicitly invoking a constructor
170139 = Constructor call must be the first statement in a constructor
171140 = Implicit super constructor {0}({1}) is undefined for default constructor. Must define an explicit constructor
172141 = Implicit super constructor {0}({1}) is not visible for default constructor. Must define an explicit constructor
173142 = Implicit super constructor {0}({1}) is ambiguous for default constructor. Must define an explicit constructor
174143 = Implicit super constructor {0}({1}) is undefined. Must explicitly invoke another constructor
175144 = Implicit super constructor {0}({1}) is not visible. Must explicitly invoke another constructor
176145 = Implicit super constructor {0}({1}) is ambiguous. Must explicitly invoke another constructor
177146 = Default constructor cannot handle exception type {0} thrown by implicit super constructor. Must define an explicit constructor
178147 = Unhandled exception type {0} thrown by implicit super constructor
179
180
181148 = The allocated object is never used
182149 = Dead code
183150 = The type of the expression must be an array type but it resolved to {0}
184151 = Must explicitly convert the char[] to a String
185152 = String constant is exceeding the limit of 65535 bytes of UTF8 encoding
186153 = case expressions must be constant expressions
187154 = The literal {1} of type {0} is out of range
188156 = Cannot cast from {0} to {1}
189157 = Cannot instantiate the type {0}
190158 = Cannot define dimension expressions when an array initializer is provided
191159 = Variable must provide either dimension expressions or an array initializer
192160 = The operator {0} is undefined for the argument type(s) {1}
193161 = Unreachable code
194162 = Cannot return from within an initializer
195163 = Initializer does not complete normally
196164 = Expression must return a value
Stephan Herrmann6dcbb382011-10-25 16:30:31 +0000197165 = Unreachable catch block for {0}. Only more specific exceptions are thrown and they are handled by previous catch block(s).
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000198166 = The default case is already defined
199167 = Unreachable catch block for {0}. This exception is never thrown from the try statement body
200168 = Unhandled exception type {0}
Stephan Herrmann3df378f2011-08-25 12:46:17 +0000201169 = Cannot switch on a value of type {0}. Only convertible int values or enum variables are permitted
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000202170 = Duplicate case
203171 = Duplicate label {0}
204172 = break cannot be used outside of a loop or a switch
205173 = continue cannot be used outside of a loop
206174 = The label {0} is missing
207175 = {0} is not a valid type''s argument for the synchronized statement
208176 = null is not a valid argument for the synchronized statement
209177 = Cannot throw null as an exception
210178 = The assignment to variable {0} has no effect
211179 = Possible accidental assignment in place of a comparison. A condition expression should not be reduced to an assignment
212180 = Unnecessary semicolon
213181 = Unnecessary cast from {0} to {1}
214182 = Unnecessary cast from {0} to {1}. It is already compatible with the argument type {2}
215183 = The expression of type {0} is already an instance of type {1}
216184 = finally block does not complete normally
217185 = The declared exception {3} is not actually thrown by the method {1}({2}) from type {0}
218186 = The declared exception {2} is not actually thrown by the constructor {0}({1})
219187 = Unreachable catch block for {0}. It is already handled by the catch block for {1}
220188 = Empty control-flow statement
221189 = Statement unnecessarily nested within else clause. The corresponding then clause does not complete normally
222190 = Read access to enclosing field {0}.{1} is emulated by a synthetic accessor method
223191 = Write access to enclosing field {0}.{1} is emulated by a synthetic accessor method
224192 = Access to enclosing method {1}({2}) from the type {0} is emulated by a synthetic accessor method
225193 = Access to enclosing constructor {0}({1}) is emulated by a synthetic accessor method
226194 = Switch case may be entered by falling through previous case. If intended, add a new comment //$FALL-THROUGH$ on the line above
227195 = The method {1} is defined in an inherited type and an enclosing scope
228196 = The field {0} is defined in an inherited type and an enclosing scope
229197 = The type {0} is defined in an inherited type and an enclosing scope
230198 = Cannot allocate the member type {0} using its compound name when qualified by an enclosing instance. The member type name is resolved relatively to the qualifying instance type
231199 = The label {0} is never explicitly referenced
232200 = Cannot use {0} in a static context
233201 = Cannot make a static reference to the non-static method {1}({2}) from the type {0}
234202 = Cannot specify an array dimension after an empty dimension
Stephan Herrmann3db42762011-03-03 19:17:16 +0000235#203 = Invalid cast expression
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000236204 = Syntax error on token "{0}", {1} expected
237205 = Syntax error on token "{0}", no accurate correction available
238206 = Invalid argument to operation ++/--
239207 = Interfaces cannot have constructors
240208 = Array constants can only be used in initializers
241209 = Syntax error on keyword "{0}"; {1} expected
242210 = Syntax error on keyword "{0}", no accurate correction available
243211 = Comparing identical expressions
244
245220 = Unmatched bracket
246221 = The primitive type {0} of {1} does not have a field {2}
247222 = Invalid expression as statement
248223 = The left-hand side of an assignment must be a variable
249224 = Missing semicolon
250225 = Invalid parenthesized expression
Stephan Herrmann4d079452014-03-27 18:01:49 +0100251226 = super reference is illegal in interface context
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000252
253230 = Syntax error on token "{0}", {1} expected before this token
254231 = Syntax error on token "{0}", {1} expected after this token
255232 = Syntax error on token "{0}", delete this token
256233 = Syntax error on tokens, delete these tokens
257234 = Syntax error on tokens, they can be merged to form {0}
258235 = Syntax error on token "{0}", invalid {1}
259236 = Syntax error on token(s), misplaced construct(s)
260237 = Syntax error on tokens, {0} expected instead
261238 = Syntax error on tokens, no accurate correction available
262239 = Syntax error, unexpected {0}
263240 = Syntax error, insert "{0}" to complete {1}
264241 = Syntax error, insert "{0}" to complete scope
265242 = Syntax error, insert "{0}" to complete phrase
266
267250 = Unexpected end of file
268251 = Invalid hex literal number
269252 = Invalid octal literal number
270253 = Invalid character constant
271254 = Invalid escape sequence (valid ones are \\b \\t \\n \\f \\r \\" \\' \\\\ )
272255 = Invalid input
273256 = Invalid unicode
274257 = Invalid float literal number
275258 = Null source string
276259 = String literal is not properly closed by a double-quote
277260 = Unexpected end of comment
278261 = Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
279262 = Invalid digit (valid ones are 0..9)
280263 = Invalid low surrogate: must be within 0xDC00 and 0xDFFF
281264 = Invalid high surrogate: must be within 0xD800 and 0xDBFF
282265 = Unnecessary $NON-NLS$ tag
Stephan Herrmann44109d32011-08-02 14:34:26 +0000283266 = Invalid binary literal number (only '0' and '1' are expected)
284267 = Binary literals can only be used with source level 1.7 or greater
285268 = Underscores have to be located within digits
286269 = Underscores can only be used with source level 1.7 or greater
Stephan Herrmanne2399432014-03-29 13:02:22 +0100287271 = This lambda expression refers to the missing type {0}
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000288
289280 = Discouraged access: {0}
290
291300 = The interface {0} cannot define an initializer
292301 = Duplicate modifier for the type {0}
293302 = Illegal modifier for the class {0}; only public, abstract & final are permitted
294303 = Illegal modifier for the interface {0}; only public & abstract are permitted
Stephan Herrmann64791942013-12-28 21:28:24 +0100295304 = Illegal modifier for the member class {0}; only public, protected, private, abstract, static & final are permitted
296305 = Illegal modifier for the member interface {0}; only public, protected, private, abstract & static are permitted
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000297306 = Illegal modifier for the local class {0}; only abstract or final is permitted
298307 = Access restriction: {0}
299308 = The class {0} can be either abstract or final, not both
300309 = The interface member type {0} can only be public
301310 = The member type {0} can only set one of public / protected / private
302311 = The member type {0} cannot be declared static; static types can only be declared in static or top level types
303312 = The type {0} cannot be the superclass of {1}; a superclass must be a class
304313 = The type {1} cannot subclass the final class {0}
305314 = Duplicate interface {0} for the type {1}
306315 = The type {0} cannot be a superinterface of {1}; a superinterface must be an interface
307316 = Cycle detected: the type {0} cannot extend/implement itself or one of its own member types
308317 = Cycle detected: a cycle exists in the type hierarchy between {0} and {1}
309318 = The nested type {0} cannot hide an enclosing type
310319 = Duplicate nested type {0}
311320 = No exception of type {0} can be thrown; an exception type must be a subclass of Throwable
312321 = The package {0} collides with a type
313322 = The type {1} collides with a package
314323 = The type {1} is already defined
315324 = The type {0} cannot be resolved. It is indirectly referenced from required .class files
316325 = The public type {1} must be defined in its own file
Stephan Herrmanna1bf6562011-03-01 21:59:07 +0000317###[obsolete] 326 = A package must be specified in {0} or a default package created
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000318327 = The hierarchy of the type {0} is inconsistent
319328 = The declared package "{1}" does not match the expected package "{0}"
320329 = The type java.lang.Object cannot have a superclass or superinterfaces
321330 = The type java.lang.Object must be a class
322331 = Redundant superinterface {0} for the type {1}, already defined by {2}
323332 = The type {0} should also implement hashCode() since it overrides Object.equals()
324333 = The type {0} must be an abstract class to define abstract methods
325
326###[obsolete] 330 = {0} cannot be resolved or is not a valid superclass
327###[obsolete] 331 = Superclass {0} is not visible
328###[obsolete] 332 = Superclass {0} is ambiguous
329###[obsolete] 333 = Superclass {0} cannot be referenced using its binary name
330###[obsolete] 334 = Superclass {0} is defined in an inherited type and an enclosing scope
331###[obsolete] 335 = {0} cannot be resolved or is not a valid superinterface
332###[obsolete] 336 = Superinterface {0} is not visible
333###[obsolete] 337 = Superinterface {0} is ambiguous
334###[obsolete] 338 = Superinterface {0} cannot be referenced using its binary name
335###[obsolete] 339 = Superinterface {0} is defined in an inherited type and an enclosing scope
336
337340 = Duplicate field {0}.{1}
338341 = Duplicate modifier for the field {0}
339342 = Illegal modifier for the field {0}; only public, protected, private, static, final, transient & volatile are permitted
340343 = Illegal modifier for the interface field {0}.{1}; only public, static & final are permitted
341344 = The field {0} can only set one of public / protected / private
342345 = The field {0} can be either final or volatile, not both
Stephan Herrmann6dcbb382011-10-25 16:30:31 +0000343346 = The field {0} cannot be declared static in a non-static inner type, unless initialized with a constant expression
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000344
345###[obsolete] 350 = {2} cannot be resolved (or is not a valid type) for the field {1}.{0}
346###[obsolete] 351 = The type {2} is not visible for the field {1}.{0}
347###[obsolete] 352 = The type {2} is ambiguous for the field {1}.{0}
348###[obsolete] 353 = The field type {2} cannot be referenced using its binary name
349###[obsolete] 354 = The field type {2} is defined in an inherited type and an enclosing scope
350
351355 = Duplicate method {0}({2}) in type {1}
352356 = Illegal modifier for parameter {0}; only final is permitted
353357 = Duplicate modifier for the method {1} in type {0}
Stephan Herrmann64791942013-12-28 21:28:24 +0100354358 = Illegal modifier for the method {0}; only public, protected, private, abstract, static, final, synchronized, native & strictfp are permitted
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000355359 = Illegal modifier for the interface method {0}; only public & abstract are permitted
356360 = The method {1} in type {0} can only set one of public / protected / private
357361 = The method {1} cannot be declared static; static methods can only be declared in a static or top level type
358362 = The abstract method {1} in type {0} can only set a visibility modifier, one of public or protected
359363 = The abstract method {1} in type {0} can only be defined by an abstract class
Stephan Herrmann59cd3cc2013-05-01 23:38:47 +0200360364 = void is an invalid type for the parameter {1} of a method
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000361###[obsolete] 365 = An array of void is an invalid type for the parameter {1} of the method {0}
362###[obsolete] 366 = An array of void is an invalid return type for the method {0}
363367 = The native method {1} cannot also be declared strictfp
364368 = Duplicate modifier for parameter {0}
365369 = Illegal modifier for the constructor in type {0}; only public, protected & private are permitted
366
367###[obsolete] 370 = {2} cannot be resolved (or is not a valid type) for the parameter {1} of the method {0}
368###[obsolete] 371 = The type {2} is not visible for the parameter {1} of the method {0}
369###[obsolete] 372 = The type {2} is ambiguous for the parameter {1} of the method {0}
370###[obsolete] 373 = The parameter type {2} cannot be referenced using its binary name
371###[obsolete] 374 = The parameter type {2} is defined in an inherited type and an enclosing scope
372###[obsolete] 375 = {1} cannot be resolved (or is not an exception type) for the method {0}
373###[obsolete] 376 = The exception type {1} is not visible for the method {0}
374###[obsolete] 377 = The exception type {1} is ambiguous for the method {0}
375###[obsolete] 378 = The exception type {1} cannot be referenced using its binary name
376###[obsolete] 379 = The exception type {1} is defined in an inherited type and an enclosing scope
377###[obsolete] 380 = {1} cannot be resolved (or is not a valid return type) for the method {0}
378###[obsolete] 381 = The return type {1} is not visible for the method {0}
379###[obsolete] 382 = The return type {1} is ambiguous for the method {0}
380###[obsolete] 383 = The return type {1} cannot be referenced using its binary name
381###[obsolete] 384 = The return type {1} is defined in an inherited type and an enclosing scope
382
383385 = The import {0} conflicts with a type defined in the same file
384386 = The import {0} collides with another import statement
385387 = Only a type can be imported. {0} resolves to a package
386388 = The import {0} is never used
387390 = The import {0} cannot be resolved
388
389###[obsolete] 391 = The imported type {0} is not visible
390###[obsolete] 392 = The imported type {0} is ambiguous
391###[obsolete] 393 = The imported type {0} cannot be referenced using its binary name
392###[obsolete] 394 = The imported type {0} is defined in an inherited type and an enclosing scope
393
394391 = The static import {0} must be a field or member type
395
396395 = Duplicate modifier for the variable {0}
397396 = Illegal modifier for the variable {0}; only final is permitted
398###[obsolete] 397 = Redundant null check: The variable {0} cannot be null at this location
399###[obsolete] 398 = Null pointer access: The variable {0} can only be null at this location
400###[obsolete] 399 = Potential null pointer access: The variable {0} may be null at this location
401
402400 = The type {3} must implement the inherited abstract method {2}.{0}({1})
403401 = Cannot override the final method from {0}
404402 = Exception {0} is not compatible with throws clause in {1}
405403 = Exception {0} in throws clause of {1} is not compatible with {2}
406404 = The return type is incompatible with {0}
407405 = The inherited method {0} cannot hide the public abstract method in {1}
408406 = This instance method cannot override the static method from {0}
409407 = This static method cannot hide the instance method from {0}
410408 = The static method {0} conflicts with the abstract method in {1}
411409 = Cannot reduce the visibility of the inherited method from {0}
412410 = The method {0} does not override the inherited method from {1} since it is private to a different package
413411 = This class must implement the inherited abstract method {1}, but cannot override it since it is not visible from {0}. Either make the type abstract or make the inherited method visible
414412 = The method {0} overrides a deprecated method from {1}
415413 = The return type is incompatible with {0}, thus this interface cannot be implemented
416414 = Exception {0} is not compatible with throws clause in {1}, thus this interface cannot be implemented
417415 = The variable argument type {0} of the method {1} must be the last parameter
418416 = The method {0} is overriding a method without making a super invocation
419417 = The method {0}.{1}({2}) is overriding a synchronized method without being synchronized
420418 = The type {3} must implement the inherited abstract method {2}.{0}({1}) to override {6}.{4}({5})
421419 = The return types are incompatible for the inherited methods {0}
422
423420 = Code snippet support cannot find the class {0}
424421 = Code snippet support cannot find the method {0}.{1}({2})
425422 = super cannot be used in the code snippet code
426
427430 = Too many constants, the constant pool for {0} would exceed 65536 entries
428431 = The type generates a string that requires more than 65535 bytes to encode in Utf8 format in the constant pool
429
430432 = Too many fields for type {0}. Maximum is 65535
431433 = Too many methods for type {0}. Maximum is 65535
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000432434 = The synthetic method created to access {0}({1}) of type {2} has too many parameters
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000433
434440 = 'assert' should not be used as an identifier, since it is a reserved keyword from source level 1.4 on
435441 = 'enum' should not be used as an identifier, since it is a reserved keyword from source level 1.5 on
436442 = Enum constants cannot be surrounded by parenthesis
Stephan Herrmann307ebe32013-05-02 02:46:05 +0200437443 = '_' should not be used as an identifier, since it is a reserved keyword from source level 1.8 on
Stephan Herrmann37fadc12014-01-03 18:13:44 +0100438444 = The uninterned types {0} and {1} should not be compared using ==/!= operators.
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000439
Stephan Herrmanne5d6be82010-04-02 03:29:32 +0000440450 = {0}{1}
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000441
442451 = Null pointer access: The variable {0} can only be null at this location
443452 = Potential null pointer access: The variable {0} may be null at this location
444453 = Redundant null check: The variable {0} can only be null at this location
445454 = Null comparison always yields false: The variable {0} can only be null at this location
446455 = Redundant assignment: The variable {0} can only be null at this location
447456 = instanceof always yields false: The variable {0} can only be null at this location
448457 = Redundant null check: The variable {0} cannot be null at this location
449458 = Null comparison always yields false: The variable {0} cannot be null at this location
Stephan Herrmann396f3342013-03-14 14:31:57 +0100450459 = Potential null pointer access: This expression of type {0} may be null but requires auto-unboxing
451461 = Null pointer access: This expression of type {0} is null but requires auto-unboxing
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000452460 = Empty block should be documented
453
454### DOC
455462 = Invalid URL reference. Double quote the reference or use the href syntax
456463 = Description expected after this reference
457464 = Unexpected duplicated tag @{0}
458465 = ''{0}'' visibility for malformed doc comments hides this ''{1}'' reference
459466 = Invalid member type qualification
460467 = Missing identifier
461468 = Cannot make a static reference to the non-static type variable {0}
462469 = Invalid param tag type parameter name
463470 = Unexpected tag
464471 = Missing tag for parameter {0}
465472 = Missing parameter name
466473 = Duplicate tag for parameter
467474 = Parameter {0} is not declared
468475 = Missing tag for return type
469476 = Duplicate tag for return type
470477 = Missing tag for declared exception {0}
471478 = Missing class name
472479 = Invalid class name
473480 = Duplicate tag for thrown exception
474481 = Exception {0} is not declared
475482 = Missing reference
476483 = Invalid reference
477484 = Malformed link reference
478485 = Invalid parameters declaration
479486 = Missing comment for {0} declaration
480487 = Invalid tag
481488 = {0} cannot be resolved or is not a field
482489 = The field {0} is not visible
483490 = The field {0} is ambiguous
484491 = The field {0}.{1} is deprecated
485492 = The constructor {0}({1}) is undefined
486493 = The constructor {0}({1}) is not visible
487494 = The constructor {0}({1}) is ambiguous
488495 = The constructor {0}({1}) is deprecated
489496 = The method {1}({2}) is undefined for the type {0}
490497 = The method {1}({2}) from the type {0} is not visible
491498 = The method {1}({2}) is ambiguous for the type {0}
492499 = The method {1}({2}) from the type {0} is deprecated
493500 = Cannot invoke {1}({2}) on the primitive type {0}
494501 = The method {1}({2}) in the type {0} is not applicable for the arguments ({3})
495502 = Cannot invoke {1}({2}) on the array type {0}
496503 = {0} cannot be resolved to a type
497504 = The type {0} is not visible
498505 = The type {0} is ambiguous
499506 = The type {0} is deprecated
500507 = The nested type {0} cannot be referenced using its binary name
501508 = The method {1} is defined in an inherited type and an enclosing scope
502509 = The field {0} is defined in an inherited type and an enclosing scope
503510 = The type {0} is defined in an inherited type and an enclosing scope
504511 = {0} is an ambiguous method reference or is not a field
505512 = Missing closing brace for inline tag
506513 = Malformed reference (missing end space separator)
507514 = Javadoc:
508515 = Missing #: "{0}"
509516 = Description expected after @{0}
510517 = Only static field reference is allowed for @value tag
511518 = Unexpected text
512519 = Invalid param tag name
513
514### GENERICS
515520 = Duplicate type parameter {0}
516521 = Cannot refer to the type parameter {0} as a supertype
517522 = Cannot make a static reference to the non-static type {0}
518523 = The type java.lang.Object cannot be declared as a generic
519524 = The type {0} is not generic; it cannot be parameterized with arguments <{1}>
520525 = Incorrect number of arguments for type {0}; it cannot be parameterized with arguments <{1}>
521526 = Bound mismatch: The type {0} is not a valid substitute for the bounded parameter <{2} extends {3}> of the type {1}
Stephan Herrmann6a72b272013-07-14 17:29:27 +0200522527 = Erasure of method {0}({2}) is the same as another method in type {1}
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000523528 = Illegal forward reference to type parameter {0}
524529 = The type {0} is not an interface; it cannot be specified as a bounded parameter
525530 = Type safety: The constructor {0}({1}) belongs to the raw type {0}. References to generic type {2} should be parameterized
526531 = Type safety: The method {0}({1}) belongs to the raw type {2}. References to generic type {3} should be parameterized
527532 = Type safety: The expression of type {0} needs unchecked conversion to conform to {1}
528533 = Cannot use the type parameter {0} in a catch block
529534 = Cannot use the parameterized type {0} either in catch block or throws clause
530535 = Cannot create a generic array of {0}
531536 = Type safety: The field {1} from the raw type {2} is assigned a value of type {0}. References to generic type {3} should be parameterized
532537 = The type parameter {0} should not be bounded by the final type {1}. Final types cannot be further extended
533538 = Inconsistent classfile encountered: The undefined type parameter {0} is referenced from within {1}
534539 = The interface {2} cannot be implemented more than once with different arguments: {0} and {1}
535540 = Bound mismatch: The constructor {0}({1}) of type {2} is not applicable for the arguments ({3}). The wildcard parameter {5} has no lower bound, and may actually be more restrictive than argument {4}
536541 = Bound mismatch: The method {0}({1}) of type {2} is not applicable for the arguments ({3}). The wildcard parameter {5} has no lower bound, and may actually be more restrictive than argument {4}
537542 = Bound mismatch: Cannot assign expression of type {0} to wildcard type {1}. The wildcard type has no lower bound, and may actually be more restrictive than expression type
538543 = Bound mismatch: The generic method {0}({1}) of type {2} is not applicable for the arguments ({3}). The inferred type {4} is not a valid substitute for the bounded parameter <{5} extends {6}>
539544 = Bound mismatch: The generic constructor {0}({1}) of type {2} is not applicable for the arguments ({3}). The inferred type {4} is not a valid substitute for the bounded parameter <{5} extends {6}>
540545 = Type safety: Unchecked cast from {0} to {1}
541546 = Cannot perform instanceof check against parameterized type {0}. Use the form {1} instead since further generic type information will be erased at runtime
Stephan Herrmannb9e10522012-03-15 21:24:23 +0100542547 = Cannot perform instanceof check against type parameter {0}. Use its erasure {1} instead since further generic type information will be erased at runtime
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000543548 = The method {0}({1}) of type {2} is not generic; it cannot be parameterized with arguments <{3}>
544549 = Incorrect number of type arguments for generic method <{3}>{0}({1}) of type {2}; it cannot be parameterized with arguments <{4}>
545550 = The parameterized method <{3}>{0}({1}) of type {2} is not applicable for the arguments ({4})
546551 = The constructor {0}({1}) of type {2} is not generic; it cannot be parameterized with arguments <{3}>
547552 = Incorrect number of type arguments for generic constructor <{3}>{0}({1}) of type {2}; it cannot be parameterized with arguments <{4}>
548553 = The parameterized constructor <{3}>{0}({1}) of type {2} is not applicable for the arguments ({4})
549554 = The method {0}({1}) of raw type {2} is no longer generic; it cannot be parameterized with arguments <{3}>
550555 = The constructor {0}({1}) of raw type {2} is no longer generic; it cannot be parameterized with arguments <{3}>
551556 = The type {1} cannot extend or implement {0}. A supertype may not specify any wildcard
552557 = The generic class {0} may not subclass java.lang.Throwable
553558 = Illegal class literal for the type parameter {0}
554559 = Type safety: The return type {0} for {1}({2}) from the type {3} needs unchecked conversion to conform to {4} from the type {5}
555560 = Name clash: The method {0}({1}) of type {2} has the same erasure as {0}({3}) of type {4} but does not override it
556561 = The member type {0}<{1}> must be qualified with a parameterized type, since it is not static
557562 = The member type {0} must be parameterized, since it is qualified with a parameterized type
558563 = The member type {0} cannot be qualified with a parameterized type, since it is static. Remove arguments from qualifying type {1}
559###[obsolete] 564 = Bound conflict: {0} is inherited with conflicting arguments
560565 = Duplicate methods named {0} with the parameters ({2}) and ({3}) are defined by the type {1}
561566 = Cannot allocate the member type {0} using a parameterized compound name; use its simple name and an enclosing instance of type {1}
562567 = Duplicate bound {0}
563568 = The array type {0} cannot be used as a type parameter bound
564569 = Type safety: Unchecked invocation {0}({3}) of the generic constructor {0}({1}) of type {2}
565570 = Type safety: Unchecked invocation {0}({3}) of the generic method {0}({1}) of type {2}
566571 = The type parameter {0} is hiding the type {1}
567572 = {0} is a raw type. References to generic type {1} should be parameterized
568573 = Cannot specify any additional bound {0} when first bound is a type parameter
Stephan Herrmann44109d32011-08-02 14:34:26 +0000569574 = Type safety: A generic array of {0} is created for a varargs parameter
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000570575 = Illegal qualified access from the type parameter {0}
571576 = The nested type {0} is hiding the type parameter {1} of type {2}
572577 = The nested type {0} is hiding the type parameter {1} of the generic method {2}({3}) of type {4}
573578 = Wildcard is not allowed at this location
574579 = Unused type arguments for the non generic method {0}({1}) of type {2}; it should not be parameterized with arguments <{3}>
Stephan Herrmann44109d32011-08-02 14:34:26 +0000575583 = Duplicate methods named {0} with the parameters ({1}) and ({2}) are inherited from the types {3} and {4}
Stephan Herrmann3df378f2011-08-25 12:46:17 +0000576584 = Name clash: The method {0}({1}) of type {2} has the same erasure as {0}({3}) of type {4} but does not hide it
Stephan Herrmann4194d172014-11-11 21:35:54 +0100577586 = Type arguments are not allowed here
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000578
579### FOREACH
580580 = Type mismatch: cannot convert from element type {0} to {1}
581581 = Can only iterate over an array or an instance of java.lang.Iterable
582582 = Can only iterate over an array or an instance of java.util.Collection
Stephan Herrmann0363ef22013-02-02 16:22:13 +0100583585 = Type safety: Elements of type {0} need unchecked conversion to conform to {1}
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000584
585### SOURCE LEVEL
Stephan Herrmann44109d32011-08-02 14:34:26 +0000586590 = Syntax error, type parameters are only available if source level is 1.5 or greater
587591 = Syntax error, static imports are only available if source level is 1.5 or greater
588592 = Syntax error, 'for each' statements are only available if source level is 1.5 or greater
589593 = Syntax error, parameterized types are only available if source level is 1.5 or greater
590594 = Syntax error, enum declarations are only available if source level is 1.5 or greater
591595 = Syntax error, varargs are only available if source level is 1.5 or greater
592596 = Syntax error, annotations are only available if source level is 1.5 or greater
593597 = Syntax error, annotation declarations are only available if source level is 1.5 or greater
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000594598 = Syntax error, annotation declaration cannot have type parameters
595599 = Syntax error, enum declaration cannot have type parameters
596
597### ANNOTATIONS
598600 = Illegal modifier for the annotation attribute {0}.{1}; only public & abstract are permitted
599601 = Extended dimensions are illegal in an annotation attribute declaration
600602 = Package annotations must be in file package-info.java
601603 = Illegal modifier for the annotation type {0}; only public & abstract are permitted
Stephan Herrmann64791942013-12-28 21:28:24 +0100602604 = Illegal modifier for the member annotation type {0}; only public, protected, private, abstract & static are permitted
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000603605 = Invalid type {0} for the annotation attribute {2}.{1}; only primitive type, String, Class, annotation, enumeration are permitted or 1-dimensional arrays thereof
604606 = Cycle detected: the annotation type {0} cannot contain attributes of the annotation type itself
605607 = Cycle detected: a cycle exists between annotation attributes of {0} and {1}
Stephan Herrmann5d5b2c32014-01-02 00:10:41 +0100606608 = Duplicate annotation @{0}. Repeated annotations are allowed only at source level 1.8 or above
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000607609 = The annotation @{0} must define the attribute {1}
608610 = Duplicate attribute {0} in annotation @{1}
609611 = The attribute {0} is undefined for the annotation type {1}
610612 = The value for annotation attribute {0}.{1} must be a class literal
611613 = The value for annotation attribute {0}.{1} must be a constant expression
612###[obsolete] 614 = The annotation field {0}.{1} must be initialized with a constant expression
613615 = Illegal modifier for the annotation field {0}.{1}; only public, static & final are permitted
614616 = The annotation type {0} cannot override the method {1}.{2}({3})
615617 = Annotation attributes cannot have parameters
616618 = Annotation attributes cannot be generic
617619 = Annotation type declaration cannot have an explicit superclass
618620 = Annotation type declaration cannot have explicit superinterfaces
619621 = Duplicate element {0} specified in annotation @{1}
620622 = The annotation @{0} is disallowed for this location
621623 = The method {0}({1}) of type {2} must override a superclass method
622624 = Annotation type declaration cannot have a constructor
623625 = The value for annotation attribute {0}.{1} must be some @{2} annotation
624626 = The annotation type {0} should not be used as a superinterface for {1}
625627 = The method {0}({1}) of type {2} should be tagged with @Override since it actually overrides a superclass method
626628 = The deprecated field {0}.{1} should be annotated with @Deprecated
627629 = The deprecated method {0}({1}) of type {2} should be annotated with @Deprecated
628630 = The deprecated type {0} should be annotated with @Deprecated
629631 = Unsupported @SuppressWarnings("{0}")
630632 = The value for annotation attribute {0}.{1} must be an array initializer
631633 = The value for annotation attribute {0}.{1} must be an enum constant expression
632634 = The method {0}({1}) of type {2} must override or implement a supertype method
633635 = Unnecessary @SuppressWarnings("{0}")
634636 = The method {0}({1}) of type {2} should be tagged with @Override since it actually overrides a superinterface method
Stephan Herrmann5fa7f312012-07-13 01:52:51 +0200635637 = Syntax error, type annotations are available only when source level is at least 1.8
Stephan Herrmann4388de02013-12-30 10:43:45 +0100636638 = Explicit 'this' parameter is allowed only in instance methods of non-anonymous classes and inner class constructors
Stephan Herrmann5fa7f312012-07-13 01:52:51 +0200637639 = Syntax error, type annotations are illegal here
Stephan Herrmannee9076e2013-04-04 16:21:27 +0200638640 = Type annotations are not allowed on type names used to access static members
Stephan Herrmann5fa7f312012-07-13 01:52:51 +0200639641 = Type annotation is illegal for a method that returns void
Stephan Herrmann4388de02013-12-30 10:43:45 +0100640642 = Only the first formal parameter may be declared explicitly as 'this'
641643 = Explicit declaration of 'this' parameter is allowed only at source level 1.8 or above
Stephan Herrmann5fa7f312012-07-13 01:52:51 +0200642644 = Default methods are allowed only at source level 1.8 or above
643645 = Lambda expressions are allowed only at source level 1.8 or above
644646 = Method references are allowed only at source level 1.8 or above
645647 = Constructor references are allowed only at source level 1.8 or above
646648 = Lambda expressions cannot declare a this parameter
Stephan Herrmanneffbeb02013-04-04 21:43:04 +0200647649 = Annotation types that do not specify explicit target element types cannot be applied here
Stephan Herrmann5d5bef92013-04-04 15:05:20 +0200648650 = The declared type of the explicit ''this'' parameter is expected to be {0}
649651 = The explicit ''this'' parameter is expected to be qualified with {0}
Stephan Herrmann4388de02013-12-30 10:43:45 +0100650652 = The explicit 'this' parameter for a method cannot have a qualifying name
Stephan Herrmann63010de2013-05-01 20:08:26 +0200651653 = The target type of this expression must be a functional interface
652654 = The variable argument type {0} of the lambda expression must be the last parameter
Stephan Herrmann59cd3cc2013-05-01 23:38:47 +0200653655 = The target type of this expression is not a well formed parameterized type due to bound(s) mismatch
Stephan Herrmann78721b12014-02-12 00:01:46 +0100654656 = Lambda expression''s signature does not match the signature of the functional interface method {0}
Stephan Herrmann4388de02013-12-30 10:43:45 +0100655657 = Lambda expression''s parameter {0} is expected to be of type {1}
656658 = Incompatible type specified for lambda expression''s parameter {0}
Stephan Herrmann3e63bc32013-05-01 23:47:49 +0200657659 = Illegal lambda expression: Method {0} of type {1} is generic
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000658### MORE GENERICS
659660 = Unused type arguments for the non generic constructor {0}({1}) of type {2}; it should not be parameterized with arguments <{3}>
Stephan Herrmanne4a85442012-11-01 21:00:53 +0100660661 = Unused type parameter {0}
661
662### MORE TYPE RELATED
663662 = Illegal attempt to create arrays of union types
Stephan Herrmann31907e22014-01-03 15:27:45 +0100664663 = Local variable {0} defined in an enclosing scope must be final or effectively final
Stephan Herrmann4388de02013-12-30 10:43:45 +0100665664 = Invalid ''@FunctionalInterface'' annotation; {0} is not a functional interface
666665 = The constructed object of type {0} is incompatible with the descriptor''s return type: {1}
Stephan Herrmann31907e22014-01-03 15:27:45 +0100667666 = Syntax error, type annotations are illegal here
Stephan Herrmann7c967d32016-08-02 21:34:11 +0200668667 = Super method references to interface default methods are allowed only at source level 1.8 or above
669668 = References to interface static methods are allowed only at source level 1.8 or above
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000670
Stephan Herrmann0363ef22013-02-02 16:22:13 +0100671### NULL ANALYSIS FOR OTHER EXPRESSIONS
672670 = Null comparison always yields false: this expression cannot be null
673671 = Redundant null check: this expression cannot be null
Stephan Herrmann396f3342013-03-14 14:31:57 +0100674672 = Null pointer access: This expression can only be null
675673 = Potential null pointer access: This expression may be null
Stephan Herrmann0363ef22013-02-02 16:22:13 +0100676
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000677### CORRUPTED BINARIES
678700 = The class file {0} contains a signature ''{1}'' ill-formed at position {2}
679
680### CORRUPTED SOURCES
681701 = Cannot read the source from {0}; either the file uses a different encoding than {1} or it is corrupted
682702 = Cannot read the source from {0} due to internal exception {1}
683
684### AUTOBOXING
685720 = The expression of type {0} is boxed into {1}
686721 = The expression of type {0} is unboxed into {1}
687
688### ENUMS
689750 = Illegal modifier for the enum {0}; only public is permitted
690751 = Illegal modifier for the enum constant {0}; no modifier is allowed
691###[obsolete] 752 = Illegal modifier for the local enum {0}; only abstract is permitted
692753 = Illegal modifier for the member enum {0}; only public, protected, private & static are permitted
693754 = The enum {1} already defines the method {0}({2}) implicitly
694755 = The qualified case label {0}.{1} must be replaced with the unqualified enum constant {1}
695756 = The type {1} may not subclass {0} explicitly
696757 = Cannot invoke super constructor from enum constructor {0}({1})
697758 = The enum {2} can only define the abstract method {0}({1}) if it also defines enum constants with corresponding implementations
698759 = The field {0}.{1} cannot be referenced from an enum case label; only enum constants can be used in enum switch
699760 = Illegal modifier for the enum constructor; only private is permitted.
700761 = The enum constant {1} needs a corresponding case label in this enum switch on {0}
701762 = Cannot refer to the static enum field {0}.{1} within an initializer
702763 = The enum constant {2} must implement the abstract method {0}({1})
703764 = The enum constant {0} cannot define abstract methods
704765 = The method {1} cannot be abstract in the enum constant {0}
Stephan Herrmann4f3f3d12012-04-28 23:46:59 +0200705766 = The switch over the enum type {0} should have a default case
Stephan Herrmannb046a492012-08-10 16:50:55 +0200706767 = The switch statement should have a default case
Stephan Herrmann4f3f3d12012-04-28 23:46:59 +0200707768 = The enum constant {1} should have a corresponding case label in this enum switch on {0}. To suppress this problem, add a comment //$CASES-OMITTED$ on the line above the ''default:''
708769 = The local variable {0} may not have been initialized. Note that a problem regarding missing ''default:'' on ''switch'' has been suppressed, which is perhaps related to this problem
709770 = The blank final field {0} may not have been initialized. Note that a problem regarding missing ''default:'' on ''switch'' has been suppressed, which is perhaps related to this problem
710771 = This method must return a result of type {0}. Note that a problem regarding missing ''default:'' on ''switch'' has been suppressed, which is perhaps related to this problem
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000711
712### VARARGS
713800 = Extended dimensions are illegal for a variable argument
Stephan Herrmanncf711a12014-03-11 16:19:58 +0100714801 = Type {0} of the last argument to method {2}({3}) doesn''t exactly match the vararg parameter type. Cast to {1} to confirm the non-varargs invocation, or pass individual arguments of type {5} for a varargs invocation.
715802 = Type {0} of the last argument to constructor {2}({3}) doesn''t exactly match the vararg parameter type. Cast to {1} to confirm the non-varargs invocation, or pass individual arguments of type {4} for a varargs invocation.
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000716803 = Varargs methods should only override or be overridden by other varargs methods unlike {2}.{0}({1}) and {4}.{0}({3})
Stephan Herrmann44109d32011-08-02 14:34:26 +0000717804 = @SafeVarargs annotation cannot be applied to fixed arity method {0}
718805 = @SafeVarargs annotation cannot be applied to non-final instance method {0}
719806 = Type safety: Potential heap pollution via varargs parameter {0}
Stephan Herrmann41a335b2011-12-08 22:55:07 +0100720807 = The method {0}({1}) of type {2} is not applicable as the formal varargs element type {3} is not accessible here
721808 = The constructor {0}({1}) of type {2} is not applicable as the formal varargs element type {3} is not accessible here
Stephan Herrmann78721b12014-02-12 00:01:46 +0100722809 = The method {0}({1}) of type {2} cannot be invoked as it is overridden by an inapplicable method
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000723
724### GENERIC JAVADOC
725850 = Bound mismatch: The generic method {0}({1}) of type {2} is not applicable for the arguments ({3}). The inferred type {4} is not a valid substitute for the bounded parameter <{5} extends {6}>
726851 = The method {0}({1}) of type {2} is not generic; it cannot be parameterized with arguments <{3}>
727852 = Incorrect number of type arguments for generic method <{3}>{0}({1}) of type {2}; it cannot be parameterized with arguments <{4}>
728853 = The parameterized method <{3}>{0}({1}) of type {2} is not applicable for the arguments ({4})
729854 = The method {0}({1}) of raw type {2} is no longer generic; it cannot be parameterized with arguments <{3}>
730855 = Bound mismatch: The generic constructor {0}({1}) of type {2} is not applicable for the arguments ({3}). The inferred type {4} is not a valid substitute for the bounded parameter <{5} extends {6}>
731856 = The constructor {0}({1}) of type {2} is not generic; it cannot be parameterized with arguments <{3}>
732857 = Incorrect number of type arguments for generic constructor <{3}>{0}({1}) of type {2}; it cannot be parameterized with arguments <{4}>
733858 = The parameterized constructor <{3}>{0}({1}) of type {2} is not applicable for the arguments ({4})
734859 = The constructor {0}({1}) of raw type {2} is no longer generic; it cannot be parameterized with arguments <{3}>
735
Stephan Herrmann44109d32011-08-02 14:34:26 +0000736### Java 7
737870 = The parameter {0} of a multi-catch block cannot be assigned
738871 = The resource type {0} does not implement java.lang.AutoCloseable
739872 = The resource {0} of a try-with-resources statement cannot be assigned
740873 = The exception {0} is already caught by the alternative {1}
741874 = Resource specification not allowed here for source level below 1.7
742875 = Multi-catch parameters are not allowed for source level below 1.7
743876 = Invocation of polymorphic methods not allowed for source level below 1.7
Stephan Herrmann3df378f2011-08-25 12:46:17 +0000744877 = Cannot switch on a value of type {0}. Only convertible int values, strings or enum variables are permitted
Stephan Herrmann44109d32011-08-02 14:34:26 +0000745878 = Cannot infer type arguments for {0}
746879 = Explicit type arguments cannot be used with '<>' in an allocation expression
747880 = '<>' cannot be used with anonymous classes
Stephan Herrmann3df378f2011-08-25 12:46:17 +0000748881 = Cannot switch on a value of type String for source level below 1.7. Only convertible int values or enum variables are permitted
Stephan Herrmann44109d32011-08-02 14:34:26 +0000749882 = Unhandled exception type {0} thrown by automatic close() invocation on {1}
750883 = '<>' operator is not allowed for source level below 1.7
751884 = Redundant specification of type arguments <{0}>
Stephan Herrmann6dcbb382011-10-25 16:30:31 +0000752885 = Potential resource leak: ''{0}'' may not be closed
753886 = Potential resource leak: ''{0}'' may not be closed at this location
754887 = Resource leak: ''{0}'' is never closed
755888 = Resource leak: ''{0}'' is not closed at this location
756889 = Resource ''{0}'' should be managed by try-with-resource
757890 = Cannot switch on an enum value for source level below 1.5. Only convertible int values are permitted
Stephan Herrmann44109d32011-08-02 14:34:26 +0000758
Stephan Herrmann307ebe32013-05-02 02:46:05 +0200759#### Java 8
760891 = Additional bounds are not allowed in cast operator at source levels below 1.8
761892 = Base types are not allowed in intersection cast operator
762893 = Arrays are not allowed in intersection cast operator
763894 = Duplicate type in intersection cast operator
Stephan Herrmann6054d022016-03-19 16:21:11 +0100764#[obsolete] 895 = The target type of this expression is not a functional interface: more than one of the intersecting interfaces are functional
Stephan Herrmann307ebe32013-05-02 02:46:05 +0200765896 = Static methods are allowed in interfaces only at source level 1.8 or above
766
Stephan Herrmann5d5b2c32014-01-02 00:10:41 +0100767897 = Duplicate annotation of non-repeatable type @{0}. Only annotation types marked @Repeatable can be used multiple times at one target.
Stephan Herrmannaf4fd6e2014-01-02 21:06:15 +0100768898 = The annotation @{0} cannot be repeated at this location since its container annotation type @{1} is disallowed at this location
769899 = The repeatable annotation @{0} may not be repeated where its container annotation type @{1} is also used directly
770902 = The value method in the container annotation type @{0} must be of type {1}[] but is {2}
771903 = The container annotation type @{0} must declare a member value()
772904 = The container annotation type @{0} must declare a default value for the annotation attribute ''{1}''
773905 = Retention ''{1}'' of @{0} is longer than the retention of its container annotation type @{2}, which is ''{3}''
774906 = The container annotation type @{1} is allowed at targets where the repeatable annotation type @{0} is not: {2}
775907 = The repeatable annotation type @{0} is marked @Documented, but its container annotation type @{1} is not
776908 = The repeatable annotation type @{0} is marked @Inherited, but its container annotation type @{1} is not
Stephan Herrmann31907e22014-01-03 15:27:45 +0100777909 = The repeatable annotation @{0} may not be present where its container annotation type @{1} is repeated
Stephan Herrmann5d5b2c32014-01-02 00:10:41 +0100778
Stephan Herrmannaa1e2842011-12-10 00:30:58 +0100779### NULL ANNOTATIONS
Stephan Herrmanna01ee392013-04-05 01:42:45 +0200780910 = Null type mismatch: required ''{0}'' but the provided value is null
781911 = Null type mismatch: required ''{0}'' but the provided value is inferred as @{1}
Stephan Herrmann64791942013-12-28 21:28:24 +0100782912 = Null type safety: The expression of type ''{0}'' needs unchecked conversion to conform to ''{1}''
Stephan Herrmannb9e10522012-03-15 21:24:23 +0100783913 = A default nullness annotation has not been specified for the package {0}
Stephan Herrmann881bc142014-10-03 22:03:34 +0200784914 = The return type is incompatible with ''{1}'' returned from {0} (mismatching null constraints)
Stephan Herrmannaa1e2842011-12-10 00:30:58 +0100785915 = Illegal redefinition of parameter {0}, inherited method from {1} declares this parameter as @{2}
786916 = Illegal redefinition of parameter {0}, inherited method from {1} does not constrain this parameter
Stephan Herrmann64791942013-12-28 21:28:24 +0100787917 = Missing non-null annotation: inherited method from {0} specifies this parameter as @{1}
788918 = Missing nullable annotation: inherited method from {0} specifies this parameter as @{1}
Stephan Herrmannaa1e2842011-12-10 00:30:58 +0100789919 = Potential null pointer access: The method {0} may return null
790920 = Redundant null check: The method {0} cannot return null
Stephan Herrmann2671e412014-03-29 00:36:47 +0100791921 = The method {0}{1}({2}) from {3} cannot implement the corresponding method from {4} due to incompatible nullness constraints
Stephan Herrmannaa1e2842011-12-10 00:30:58 +0100792922 = The nullness annotation is redundant with a default that applies to this location
793923 = The nullness annotation @{0} is not applicable for the primitive type {1}
Stephan Herrmann64791942013-12-28 21:28:24 +0100794924 = Potential null pointer access: The field {0} is specified as @{1}
Stephan Herrmann2c38ab42012-01-28 20:42:28 +0100795925 = Nullness default is redundant with the global default
796926 = Nullness default is redundant with a default specified for the enclosing package {0}
797927 = Nullness default is redundant with a default specified for the enclosing type {0}
798928 = Nullness default is redundant with a default specified for the enclosing method {0}
799929 = Contradictory null specification; only one of @{0} and @{1} can be specified at any location
Stephan Herrmannb9e10522012-03-15 21:24:23 +0100800930 = A default nullness annotation has not been specified for the type {0}
801931 = Redundant null check: The variable {0} is specified as @{1}
802932 = Null comparison always yields false: The variable {0} is specified as @{1}
Stephan Herrmanna01ee392013-04-05 01:42:45 +0200803933 = Null type mismatch: required ''{0}'' but the provided value is specified as @{1}
Stephan Herrmann0363ef22013-02-02 16:22:13 +0100804934 = The @{0} field {1} may not have been initialized
805935 = The @{0} field {1} may not have been initialized. Note that a problem regarding missing ''default:'' on ''switch'' has been suppressed, which is perhaps related to this problem
806936 = Null comparison always yields false: The method {0} cannot return null
Stephan Herrmann64791942013-12-28 21:28:24 +0100807937 = Redundant null check: The field {0} is specified as @{1}
808938 = Null comparison always yields false: The field {0} is specified as @{1}
Stephan Herrmanne4a85442012-11-01 21:00:53 +0100809939 = The default ''@{0}'' conflicts with the inherited ''@{1}'' annotation in the overridden method from {2}
810940 = Conflict between inherited null annotations ''@{0}'' declared in {1} versus ''@{2}'' declared in {3}
Stephan Herrmann64791942013-12-28 21:28:24 +0100811941 = Redundant null check: The field {0} cannot be null at this location (ignoring concurrency)
812942 = Null comparison always yields false: The field {0} cannot be null at this location (ignoring concurrency)
Stephan Herrmannaa1e2842011-12-10 00:30:58 +0100813
Stephan Herrmanna01ee392013-04-05 01:42:45 +0200814951 = Potential null pointer access: array element may be null
815952 = Potential null pointer access: this expression has a ''@{0}'' type
816953 = Null type mismatch (type annotations): required ''{0}'' but this expression has type ''{1}''
Stephan Herrmann4388de02013-12-30 10:43:45 +0100817954 = Null type mismatch (type annotations): required ''{0}'' but this expression has type ''{1}'', corresponding supertype is ''{2}''
818955 = Null type safety (type annotations): The expression of type ''{1}'' needs unchecked conversion to conform to ''{0}''
819956 = Null type safety (type annotations): The expression of type ''{1}'' needs unchecked conversion to conform to ''{0}'', corresponding supertype is ''{2}''
Stephan Herrmann78721b12014-02-12 00:01:46 +0100820957 = Null type mismatch at parameter {0}: required ''{1}'' but provided ''{2}'' via method descriptor {3}
821958 = Null type safety: parameter {0} provided via method descriptor {3} needs unchecked conversion to conform to ''{1}''
Stephan Herrmann075533e2015-04-28 17:54:14 +0200822959 = Null type mismatch at method return type: Method descriptor {0} promises ''{1}'' but referenced method provides ''{2}''
823960 = Null type safety at method return type: Method descriptor {0} promises ''{1}'' but referenced method provides ''{2}''
Stephan Herrmann4388de02013-12-30 10:43:45 +0100824961 = Redundant null check: comparing ''{0}'' against null
825962 = The nullness annotation ''{0}'' is not applicable at this location
826963 = Nullness annotations are not applicable at this location
Stephan Herrmann35ce9502014-06-05 16:16:02 +0200827964 = Null constraint mismatch: The type ''{1}'' is not a valid substitute for the type parameter ''{0}''
Stephan Herrmann4388de02013-12-30 10:43:45 +0100828965 = This nullness annotation conflicts with a ''@{0}'' annotation which is effective on the same type parameter
Stephan Herrmann2671e412014-03-29 00:36:47 +0100829966 = Contradictory null annotations: method was inferred as ''{2} {3}({4})'', but only one of ''@{0}'' and ''@{1}'' can be effective at any location
830967 = Null type safety: Unchecked cast from {0} to {1}
Stephan Herrmannd55c1fc2014-03-29 21:09:46 +0100831#968 temporary warning has been removed
Stephan Herrmannac2aba32014-05-01 14:58:19 +0200832969 = Null type mismatch (type annotations): ''null'' is not compatible to the free type variable ''{0}''
833970 = Null type mismatch (type annotations): required ''{0}'' but this expression has type ''{1}'', where ''{0}'' is a free type variable
Stephan Herrmann881bc142014-10-03 22:03:34 +0200834971 = The explicit type bound 'Object' is not affected by the nullness default for DefaultLocation.TYPE_BOUND.
835972 = Illegal redefinition of parameter {0}, inherited method from {1} declares this parameter as ''{2}'' (mismatching null constraints)
Stephan Herrmann32fd38b2014-12-13 15:26:29 +0100836973 = Contradictory null annotations: function type was inferred as ''{2} ({4})'', but only one of ''@{0}'' and ''@{1}'' can be effective at any location
Stephan Herrmann8f59a942015-02-01 15:13:21 +0100837974 = The return type is incompatible with the free type variable ''{1}'' returned from {0} (mismatching null constraints)
Stephan Herrmannd1a89d72015-12-08 19:38:48 +0100838975 = Cannot redefine null constraints of type variable ''{0}'' declared in ''{1}''
Stephan Herrmann6054d022016-03-19 16:21:11 +0100839976 = Potential null pointer access: this expression has type ''{0}'', a free type variable that may represent a ''@{1}'' type
840977 = The field {0} may not have been initialized, whereas its type ''{1}'' is a free type variable that may represent a ''@{2}'' type
841978 = The field {0} may not have been initialized, whereas its type ''{1}'' is a free type variable that may represent a ''@{2}'' type. Note that a problem regarding missing ''default:'' on ''switch'' has been suppressed, which is perhaps related to this problem
842979 = Null type safety: required ''@{0}'' but this expression has type ''{1}'', a free type variable that may represent a ''@{2}'' type
Stephan Herrmannf94f0622016-04-26 18:20:41 +0200843980 = Unsafe interpretation of method return type as ''@{0}'' based on the receiver type ''{1}''. Type ''{2}'' doesn''t seem to be designed with null type annotations in mind
844981 = Unsafe interpretation of method return type as ''@{0}'' based on substitution ''{1}={2}''. Declaring type ''{3}'' doesn''t seem to be designed with null type annotations in mind
Stephan Herrmann6054d022016-03-19 16:21:11 +0100845
Stephan Herrmann5fa7f312012-07-13 01:52:51 +0200846
Stephan Herrmann307ebe32013-05-02 02:46:05 +0200847# Java 8
Stephan Herrmann5fa7f312012-07-13 01:52:51 +02008481001 = Syntax error, modifiers and annotations are not allowed for the lambda parameter {0} as its type is elided
Stephan Herrmann307ebe32013-05-02 02:46:05 +02008491002 = Syntax error, modifiers are not allowed here
Stephan Herrmann78721b12014-02-12 00:01:46 +01008501003 = Explicit type arguments cannot be specified in raw constructor reference expression
Stephan Herrmann5fa7f312012-07-13 01:52:51 +0200851
852# Default methods:
853# variant of 359:
Stephan Herrmann64791942013-12-28 21:28:24 +01008541050 = Illegal modifier for the interface method {0}; only public, abstract, default, static and strictfp are permitted
Stephan Herrmannbf0ecd32013-04-04 15:17:36 +02008551051 = A default method cannot override a method from java.lang.Object
8561052 = The default method {0} inherited from {1} conflicts with another method inherited from {2}
Stephan Herrmann307ebe32013-05-02 02:46:05 +02008571053 = Duplicate default methods named {0} with the parameters ({1}) and ({2}) are inherited from the types {3} and {4}
8581054 = Illegal reference to super type {0}, cannot bypass the more specific direct super type {1}
8591055 = Illegal reference to super method {0} from type {1}, cannot bypass the more specific override from type {2}
Stephan Herrmann64791942013-12-28 21:28:24 +01008601056 = Illegal combination of modifiers for the interface method {0}; only one of abstract, default, or static permitted
8611057 = strictfp is not permitted for abstract interface method {0}
Stephan Herrmannac2aba32014-05-01 14:58:19 +02008621058 = Default methods are allowed only in interfaces.
Stephan Herrmann7c967d32016-08-02 21:34:11 +02008631059 = Cannot infer type argument(s) for <{0}> {1}
Stephan Herrmann5fa7f312012-07-13 01:52:51 +0200864
Stephan Herrmann14e866b2014-03-28 20:26:29 +01008651100 = Problem detected during type inference: {0}
Stephan Herrmannc1c48622014-01-04 23:19:31 +0100866
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000867### ELABORATIONS
868## Access restrictions
Stephan Herrmannac2aba32014-05-01 14:58:19 +020086978592 = The type ''{1}'' is not API (restriction on classpath entry ''{0}'')
87078593 = The type ''{1}'' is not API (restriction on required project ''{0}'')
87178594 = The type ''{1}'' is not API (restriction on required library ''{0}'')
87278596 = The field ''{2}.{1}'' is not API (restriction on classpath entry ''{0}'')
87378597 = The field ''{2}.{1}'' is not API (restriction on required project ''{0}'')
87478598 = The field ''{2}.{1}'' is not API (restriction on required library ''{0}'')
87578600 = The constructor ''{1}'' is not API (restriction on classpath entry ''{0}'')
87678601 = The constructor ''{1}'' is not API (restriction on required project ''{0}'')
87778602 = The constructor ''{1}'' is not API (restriction on required library ''{0}'')
87878604 = The method ''{2}.{1}'' is not API (restriction on classpath entry ''{0}'')
87978606 = The method ''{2}.{1}'' is not API (restriction on required library ''{0}'')
88078605 = The method ''{2}.{1}'' is not API (restriction on required project ''{0}'')
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000881### ObjectTeams:
8821000001 = The type org.objectteams.Team cannot have a superclass or superinterfaces
8831000002 = Illegal modifier for team class {0}.
884
885### TEAMS AND ROLES
8861102101 = Illegal modifier for role {0}. Roles cannot be static (OTJLD 1.2.1).
8871102102 = Illegal access modifier for role {0}. Only public and protected are allowed here (OTJLD 1.2.1(a)).
8881102103 = The method {1}({2}) from the role type {0} is not visible (OTJLD 1.2.1(e)).
Stephan Herrmann8f29b012010-04-02 21:18:05 +00008891102104 = The role constructor {0}({1}) is not visible (OTJLD 1.2.1(e)).
8901102105 = Type mismatch: cannot convert from {0} to {1} because type anchors could not be proven to be the same instance (OTJLD 1.2.2(e)).
8911102106 = Cannot access non-public field {0} via externalized role {1} (OTJLD 1.2.1(e)).
8921102107 = Cannot access non-public method {1} via externalized role {0} (OTJLD 1.2.1(e)).
8931102108 = Cannot access non-public constructor {0}({1}) to instantiate externalized role (OTJLD 1.2.1(e)).
8941102109 = Indirect tsuper method inherited from {0} is not visible (OTJLD 1.2.1(e)).
8951102110 = Non-constant initialization not allowed for a static field of a role class (OTJLD 1.2.1(g)).
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000896
8971102200 = Cannot externalize non-public role {0} (OTJLD 1.2.2(a)).
898#unused: 1102201 =
8991102202 = Missing anchor (team instance) for role type {0} outside its team context (OTJLD 1.2.2(b)).
9001102203 = Not a valid type anchor: type {0} is not the enclosing team of role type {1} (OTJLD 1.2.2(b)).
9011102204 = ''{0}'' cannot be used as type anchor for an externalized role: is not a team (OTJLD 1.2.2(b)).
9021102205 = Cannot resolve type anchor {0} (OTJLD 1.2.2(b)).
9031102206 = Cannot resolve type {0}: no such role in team {1} (OTJLD 1.2.2(b)).
9041102207 = Path syntax for externalized role type is deprecated (OTJLD 1.2.2(b)).
9051102208 = Invalid qualification for role type {0}, externalized roles must be anchored to a team instance, otherwise use the simple name (OTJLD 1.2.2(b)).
9061102209 = Invalid externalized use of role type {0}, anchor is not final (OTJLD 1.2.2(c)).
9071102210 = Anchor {0} for the role type {1} is not final (OTJLD 1.2.2(c)).
9081102211 = Not a valid type anchor for externalized role {0}, need a final variable (OTJLD 1.2.2(c)).
9091102212 = Creation of a role instance outside its enclosing team must have the form ''t.new R()''\n where t is a valid type anchor according to OTJLD 1.2.2(c) and R is the simple name of a role class (OTJLD 1.2.2(h)).
9101102213 = Illegal qualified use of type {0}: path contains no suitable team anchor (OTJLD 1.2.2(f)).
9111102214 = Externalized role {0} is not allowed in this position (OTJLD 1.2.2(g)).
9121102215 = Cannot sub-class an externalized role type (OTJLD 1.2.2(g)).
9131102216 = Detected a cycle while resolve field {0}.{1} as a team anchor (OTJLD 1.2.2).
9141102217 = Illegal import for role type {0}: roles cannot be imported (OTJLD 1.2.2(i)).
9151102300 = Illegal qualified use of non-public role {0} (OTJLD 1.2.3(b)).
9161102301 = Illegal parameterized use of non-public role {0} (OTJLD 1.2.3(b)).
917
9181102501 = Role file must contain exactly one toplevel type (OTJLD 1.2.5(b)).
9191102502 = The name of role file {0} does not match the role type {1} which it defines (OTJLD 1.2.5(b)).
9201102503 = Package name {0} does not match the name of the enclosing package {1} for role file {2} (OTJLD 1.2.5(c)).
9211102504 = Package declaration {0} refers to the enclosing team of role file {1}.\nMust use a ''team package'' declaration (OTJLD 1.2.5(c)).
9221102505 = Enclosing team {0} not found for role file {1} (OTJLD 1.2.5(c)).
9231102506 = Javadoc: Missing tag for role file {0} (OTJLD 1.2.5(d)).
9241102507 = Javadoc: Type {0} is not a role file of this team (OTJLD 1.2.5(d)).
9251102508 = Javadoc: {0} cannot be resolved to a role of this team (OTJLD 1.2.5(d)).
9261102509 = Javadoc: {0} is an inline role, whereas the @role tag should only be used for role files (OTJLD 1.2.5(d)).
9271102510 = Javadoc: Illegal @role tag, type {0} is not a team (OTJLD 1.2.5(d)).
9281102511 = The enum type {0} illegally resides in a role file of team {1} (OTJLD 1.2.5(e)).
929
9301103001 = Illegal ''extends'' for a regular class: superclass {0} is a team (OTJLD 1.3).
9311103101 = Role class {0} cannot override an interface of the same name (OTJLD 1.3.1(c)).
9321103102 = Role interface {0} cannot override class of the same name (OTJLD 1.3.1(c)).
9331103103 = Cannot override the final role {0} (OTJLD 1.3.1(c)).
9341103104 = Role {0} must override a role from a super team (OTJLD 1.3.1(c)).
9351103105 = Role {0} should be tagged with @Override since it actually overrides a superteam role (OTJLD 1.3.1(c)).
9361103106 = Type mismatch: cannot convert from {0} to {1} because static types of enclosing teams differs (OTJLD 1.3.1(d)).
9371103107 = Cannot use ''tsuper'' in method {0}, enclosing type {1} is not a role (OTJLD 1.3.1(f)).
9381103108 = Illegal tsuper call: role {0} has no implicit super class (OTJLD 1.3.1(f)).
9391103109 = Invalid qualified ''tsuper'': type {1} contains no role corresponding to {0} (OTJLD 1.3.1(f)).
9401103110 = Illegal tsuper call: can only invoke the method being overridden by the current method (OTJLD 1.3.1(f)).
9411103111 = Cannot reduce the visibility of role {0} to {1}, implicit super-role is ''{2}'' (OTJLD 1.3.1(h)).
9421103112 = Cannot reduce the visibility of the inherited method from implicit super class {0} (OTJLD 1.3.1(h)).
9431103113 = The return type of implicitly inherited method {0} is not compatible to the return type of explicitly inherited method {1} (1.3.1(k)).
9441103201 = Cannot extend {1}.{0} because enclosing type {1} is not an enclosing type of this role (OTJLD 1.3.2(a)).
Stephan Herrmann12438862010-08-03 14:52:05 +00009451103202 = Role inherits incompatible ''extends'' declarations: {0} is not a sub-type of {1} (''extends {1}'' is inherited is from {2}) (OTJLD 1.3.2(b)).
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00009461103203 = Illegal tsuper call. Must use a constructor of newly introduced super-class {0} (OTJLD 1.3.2(c)).
9471103204 = Method {0} inherited from regular super class {1} is not visible outside the role {2} (OTJLD 1.3.2(e)).
948
9491104001 = Role type {0} shadows the visible type {1} (OTJLD 1.4(a)).
9501104002 = Field declaration {0} conflicts with an implicitly inherited field (OTJLD 1.4(b)).
951
9521105001 = Regular role cannot override team {0} (OTJLD 1.5(a)).
9531105002 = Member types not allowed in regular roles. Mark class {0} as a team if {1} should be its role (OTJLD 1.5(a,b)).
9541105003 = Team {0} cannot extend its enclosing team {1} (OTJLD 1.5(c)).
9551105004 = Name clash for implicit super types of role {0}: {1} and {2} are incomparable (OTJLD 1.5(d)).
956
957
958### ROLE-BASE-BINDING
9591201001 = Overlapping role hierarchies: role is subtype of these bound roles: {0} (OTJLD 2.1(c)).
9601201002 = Illegal redefinition: {0} is not a sub-type of baseclass {1} as inherited from {2} (OTJLD 2.1(c)).
9611201003 = Role inherits incompatible ''playedBy'' declaration(s): {0} is not comparable to {1} (OTJLD 2.1(c)).
9621201004 = Cannot bind role class {0} to {1} because implicit super-role is already bound to {2} (OTJLD 2.1(d)).
Stephan Herrmannc87554d2010-08-27 23:02:19 +00009631201101 = When binding interface {0} as base of {1}:\nNote that some features like callin bindings are not yet supported in this situation (OTJLD 2.1.1).
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00009641201201 = Member type {0} cannot be used as the base class of {1} (OTJLD 2.1.2(b)).
9651201202 = Role {1} cannot be played by {0}: this name stands for a role of the same team (OTJLD 2.1.2(a)).
Stephan Herrmann7464c322010-07-09 16:05:38 +00009661201203 = Base class {0} is an enclosing type of {1}; please read the hints in the OT/J Language Definition (OTJLD 2.1.2(b)).
9671201204 = Base class/member type circularity via chain {0};\nplease read the hints in the OT/J Language Definition (OTJLD 2.1.2(b)).
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00009681201205 = Overriding access restriction of base class {0} (OTJLD 2.1.2(c)).
9691201206 = PlayedBy binding overrides finalness of base class {0} (OTJLD 2.1.2(c)).
9701201207 = Trying to override access restriction of confined base class {0} (OTJLD 2.1.2(c)).
9711201208 = "base" import is not allowed in regular class {0} (OTJLD 2.1.2(d)).
9721201209 = "base" import is not allowed in a role file (OTJLD 2.1.2(d)).
9731201210 = It is recommended that base class {0} be imported with the modifier "base" (OTJLD 2.1.2(d)).
9741201211 = Qualified reference to base class {0} is deprecated, should use a base import instead (OTJLD 2.1.2(d)).
9751201212 = Bound base class {0} cannot have free type parameters (OTJLD 2.1.2(e)).
9761201213 = Role {0} cannot have free type parameters when binding to a base class (OTJLD 2.1.2(e)).
977
9781201299 = Base class {0} is deprecated.
979
9801201308 = Illegal base import: this package is not provided by the declared base plug-in(s) {0} (OT/Equinox).
9811201309 = Illegal base import: this package is not provided by the declared base plug-in {0} but by plug-in {1} (OT/Equinox).
Stephan Herrmannba0cbc02012-09-23 00:53:33 +02009821201310 = Illegal base import: no aspect binding declared for team {0} or any nested team (OT/Equinox).
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00009831201311 = Decapsulating base class {0} by means of a forced export. Note, that additionally a corresponing declaration is needed in config.ini (OTJLD 2.1.2(c) + OT/Equinox).
9841201312 = This messages should never be seen ({0}).
9851201313 = The forced-exported type {0} cannot be accessed other than as a role's base class (OT/Equinox).
Stephan Herrmann08e2dc42010-07-31 09:02:12 +00009861201314 = The declared base plug-in contains one or more split packages; please manually ensure that class {0} is actually provided by plug-in {1} (OT/Equinox).
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00009871201315 = A declared base plug-in contains on or more split packages; please manually ensure that class {0} is actually provided by one of the plug-ins {1} (OT/Equinox).
988
9891202001 = Types {0} and {1} are compatible only by lowering, which is not allowed here (OTJLD 2.2(b)).
9901202002 = Types {0} and {1} are compatible only by lowering, which is not allowed here (OTJLD 2.2(b)).\nPerhaps you should just remove this cast?
9911202003 = Types {0} and {1} are compatible only by lowering, which is not allowed here (OTJLD 2.2(b)).\nPerhaps you should use a local variable to get the lowered expression?
9921202004 = Assigning a {0} to {1} is ambiguous: will not apply lowering to {2} because direct upcasting is sufficient (OTJLD 2.2(f)).
993
9941203101 = The constructor {0} is undefined. Note that bound roles per default only have a lifting constructor (OTJLD 2.3.1(b)).
9951203102 = Need custom lifting constructor, because super class has no argumentless constructor {0} (OTJLD 2.3.1(c)).
9961203103 = Lifting constructor cannot have explicit super-call (OTJLD 2.3.1(c)).
Stephan Herrmann81f9ee42011-03-10 17:49:33 +00009971203104 = Annotation '@{0}' can only be applied to role classes (OTJLD 2.3.1(d)).
9981203105 = Fields are discouraged in roles with InstantiationPolicy '{0}' (OTJLD 2.3.1(d)).
9991203106 = Roles with InstantiationPolicy '{0}' should define equals() and hashCode() methods (OTJLD 2.3.1(d)).
1000
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001001
10021203201 = Illegal type for argument {0}: declared lifting not allowed in static methods (OTJLD 2.3.2(a)).
10031203202 = Qualified type name not allowed here. Type after keyword "as" must be a role of the enclosing team {0} (OTJLD 2.3.2(a)).
10041203203 = Declared lifting is only allowed in signatures of team methods (OTJLD 2.3.2(a)).
10051203204 = The primitive type {0} is not allowed in declared lifting type (OTJLD 2.3.2(a)).
10061203205 = Illegal type {0}, need a role type for declared lifting (OTJLD 2.3.2(a)).
10071203206 = Cannot lift to role {0} because it is not played by a base class (OTJLD 2.3.2(a)).
10081203207 = Class {0} is incompatible to the base class {2} of role {1}. Lifting not possible (OTJLD 2.3.2(a)).
10091203208 = Syntax error in declared lifting. Array dimensions do not match (OTJLD 2.3.2(c)).
10101203209 = Illegal type bound: {0} is not a role type (OTJLD 2.3.2(e)).
10111203210 = Bound mismatch: The generic method {0}({1}) of type {2} is not applicable for the arguments ({3}). The inferred type {4} is not a valid substitute for the bounded parameter <{5} base {6}> (OTJLD 2.3.2(e)).
1012
10131203401 = Potential ambiguity in role binding. The base ''{0}'' is bound to the following roles: {1} (OTJLD 2.3.4(a)).
Stephan Herrmann27b7e252011-05-12 21:39:09 +000010141203402 = Team introduces binding ambiguity for role {0}, which may break clients of the super team (OTJLD 2.3.5(d)).
Stephan Herrmanne5817832011-05-14 12:02:34 +000010151203403 = Unhandled exception type LiftingFailedException, caused by an unsafe lifting request (OTJLD 2.3.5).
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001016
10171204101 = Cannot invoke the lifting constructor {0} to create an externalized role (OTJLD 2.4.1(a)).
10181204102 = Argument to lifting constructor {0} is not a freshly created base object (of type {1}); may cause a DuplicateRoleException at runtime (OTJLD 2.4.1(c)).
Stephan Herrmann03cf9a52016-11-26 16:50:45 +010010191204201 = Illegal base constructor call: enclosing ''{0}'' is not a constructor of a bound role (OTJLD 2.4.2).
Stephan Herrmann7b7062f2010-04-01 19:56:59 +000010201204202 = Illegal call to base constructor: this constructor is a lifting constructor (OTJLD 2.4.2).
10211204203 = Cannot use this constructor from class {0}, because it creates a base instance of type {2} wheras a base instance of type {1} is required (OTJLD 2.4.2(c)).
Stephan Herrmanncfdc8492010-04-02 02:41:16 +000010221204204 = Constructor call (tsuper) must be the first statement in a role constructor (OTJLD 2.4.2).
Stephan Herrmann7464c322010-07-09 16:05:38 +000010231204205 = Cannot invoke a base constructor because enclosing role {0} is involved in baseclass circularity (OTJLD 2.4.2).
10241204206 = Call to base constructor is not first statement (after super-call) (OTJLD 2.4.2(b)).
10251204207 = Missing call to a base constructor, class {0} is a bound role (OTJLD 2.4.2(b)).
10261204208 = Illegal call to base constructor: constructor called by ''{0}'' already calls a base constructor (OTJLD 2.4.2(b)).
10271204209 = Access restriction of constructor {0} is overridden by this base constructor call (OTJLD 2.4.2(b)).
Stephan Herrmann57e57ec2010-08-27 21:36:52 +000010281204210 = Base constructor call not allowed in this position, must be first statement or argument to another constructor call (OTJLD 2.4.2(c)).
10291204211 = This constructor conflicts with the lifting constructor (using argument lowering).\nDue to lower visibility external allocations will use the lifting constructor instead (OTJLD 2.4.2(d)).
Stephan Herrmannbddc31a2013-05-25 21:33:05 +020010301204301 = Dangerous instantiation. To avoid a WrongRoleException at runtime role {0} should be used instead (OTJLD 2.4.3).
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001031
10321205001 = Team {0} may need to be declared abstract, because irrelevance for abstract role {1} could not be shown (OTJLD 2.5(b)).
10331205002 = Team {0} must be declared abstract, because abstract role {1} is relevant (OTJLD 2.5(b)).
1034
10351206001 = Cannot use ''base'' as a prefix since ''{0}'' is not a team (OTJLD 2.6(a)).
10361206002 = Illegal qualified use of ''base'', type ''{0}'' is not a bound role (OTJLD 2.6(a)).
10371206003 = Cannot use ''base'' in the regular method ''{0}'' (OTJLD 2.6(c)).
10381206004 = Cannot use explicit base call in method bindings (OTJLD 2.6).
10391206005 = Illegal use of keyword ''base'' (OTJLD 2.6).
10401206006 = Access restriction of field {0} in type {1} is overridden by this reference (OTJLD 2.6(g)).
10411206007 = Access restriction of method {0} in type {1} is overridden by this call (OTJLD 2.6(g)).
1042
1043### CALLOUT
10441301001 = Method binding not allowed here, {0} is not a role (OTJLD 3.1(a)).
10451301002 = Method binding not allowed here, role {0} is not played by a base class (OTJLD 3.1(a)).
Stephan Herrmann7464c322010-07-09 16:05:38 +000010461301003 = Role {0} cannot declare callout bindings because it is playedBy enclosing type {1} (OTJLD 3.1(a)); please directly access the target method.
10471301004 = No method {0} found in type {1} to resolve method designator (OTJLD 3.1(c)).
10481301005 = Method specifier ''{0}'' is ambiguous for the type {1}. Please use the exact method signature to disambiguate (OTJLD 3.1(c)).
10491301006 = Method designator binds to a method returning {0} whereas return type {1} is specified (OTJLD 3.1(c)).
10501301007 = Method specifier finds no direct match, argument of closest match is {0} instead of {1} (OTJLD 3.1(c)).
10511301008 = A non-abstract role method exists for this callout-binding. Use callout-override (''=>'') if you want to override it (OTJLD 3.1(e)).
10521301009 = Trying to bind an abstract method as callout override (OTJLD 3.1(e)).
10531301010 = Callout binding tries to override method {0} from the same role class (OTJLD 3.1(e)).
10541301011 = Callout binding conflicts with inherited callout binding from class {0}. Use ''=>'' if you want to override it (OTJLD 3.1(f)).
10551301012 = The method is bound as callout more than once: {0} (OTJLD 3.1(g)).
10561301013 = Callout method does not declare {0} which is thrown by the bound base method (OTJLD 3.1(h)).
Stephan Herrmann7b7062f2010-04-01 19:56:59 +000010571301014 = Inherited abstract method {0} is implicitly bound as an inferred callout (OTJLD 3.1(j)).
10581301015 = Unresolved self call {0} is implicitly bound by an inferred callout (OTJLD 3.1(j)).
Stephan Herrmannd70a7b72010-04-28 21:01:30 +000010591301016 = Attempting to infer callout to base field {0} in a compound assignment (OTJLD 3.1(j)).
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001060
10611302001 = Unused mapping for parameter {0} is ignored (OTJLD 3.2).
10621302002 = Syntax error: parameter mapping allowed only if methods are specified with their signatures (OTJLD 3.2(a)).
10631302003 = Parameter {0} is mapped more than once (OTJLD 3.2(b)).
10641302004 = Incomplete parameter mapping: argument {0} of base method {1} is not mapped (OTJLD 3.2(b)).
10651302005 = Wrong mapping direction for parameter {0}, should use {1} unless mapping 'result' (OTJLD 3.2(b)).
10661302006 = Wrong mapping direction for \"result\", should use {0} (OTJLD 3.2(c)).
10671302007 = Illegal mapping for 'result'. {0} returns void (OTJLD 3.2(c)).
10681302008 = Illegal use of 'result' in parameter mapping: wrong binding direction (OTJLD 3.2(c)).
10691302009 = Cannot use 'result' here: method {0} returns void (OTJLD 3.2(c)).
10701302010 = ''result'' can only be mapped to ''result'' (OTJLD 3.2(c)).
10711302011 = Method {0} does not provide enough arguments for binding to method {1} (OTJLD 3.2(e)).
10721302012 = Cannot implicitly map signatures for callout binding:\nBase method {1} returns void whereas role method {0} expects {2} (OTJLD 3.2(e)).
10731302013 = Parameter mapping not allowed here: enclosing type {0} is an interface (OTJLD 3.2(a)).
1074
10751303001 = Type mismatch in callout binding: cannot convert from {0} to {1} (OTJLD 3.3(d)).
10761303002 = When mapping the {0}. argument of {1}: cannot convert from {2} to {3} (OTJLD 3.3(d)).
10771303003 = The bound method {0} does not provide required result of type {1} (OTJLD 3.3(d)).
10781303004 = Callout binding:\nReturn of base method {1} is incompatible with return expected by method {0}:\nCan't convert {3} to {2} (OTJLD 3.3(d)).
1079
10801304001 = This class overrides access restrictions of its base class. Compile with -decapsulation for details (OTJLD 3.4(a)).
10811304002 = Access restriction of method {0} in type {1} is overridden by this method binding (OTJLD 3.4(a)).
10821304003 = The method {0} from type {1} is not visible for this binding (enable decapsulation? OTJLD 3.4).
10831304004 = The private base feature {0} from type {1} is not available via the base type {2} (OTJLD 3.4(d)).
1084
10851305001 = Callout binding cannot resolve field {0} in type {1} (OTJLD 3.5).
10861305002 = Field specifier ''{0}'' resolves to type {1} whereas type {2} is specified (OTJLD 3.5(a)).
10871305003 = Accessing field {1} through method "{0}" has no effect (OTJLD 3.5(b)).
10881305004 = Binding method ''{0}'' via callout as field setter cannot return a value (OTJLD 3.5(b)).
10891305005 = Cannot bind role method {0} to field {1}:\nMissing parameter of type {2} (OTJLD 3.5(b)).
10901305006 = When binding field {1} via callout to role method {0}:\nIncompatible types: can't convert {3} to {2} (OTJLD 3.5(b)).
10911305007 = When binding role method {0} via callout to field {1}:\nIncompatible types: can't convert {3} to {2} (OTJLD 3.5(b)).
Stephan Herrmann13465d72011-01-26 23:10:59 +000010921305008 = Access restriction of {2}field {0} in type {1} is overridden by this binding (OTJLD 3.5(e)).
10931305009 = Write access to the {2}field {0} in type {1} overrides access restriction (OTJLD 3.5(e)).
10941305010 = A non-abstract role method exists for this callout-binding. Use callout-override (''=>'') if you want to override it (OTJLD 3.5(g)).
10951305011 = Callout binding conflicts with inherited callout binding from class {0}. Use ''=>'' if you want to override it (OTJLD 3.5(g)).
10961305012 = Assignment to unresolved variable {0} implicitly uses callout to base field '{1}' (OTJLD 3.5(h)).
10971305013 = Reference {1} implicitly uses callout getter to base field '{1}' (OTJLD 3.5(h)).
10981305014 = Method call {0} tries to re-use an inferred callout to field (OTJLD 3.5(h)).
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001099
1100### CALLIN
11011401001 = Method binding not allowed here, {0} is not a role (OTJLD 4.1(b)).
11021401002 = Method binding not allowed here, role {0} is not played by a base class (OTJLD 4.1(b)).
Stephan Herrmanncfa946e2011-05-17 22:24:42 +000011031401003 = Unsafe callin binding, because lifting to role {0} may fail due to a reported binding ambiguity (OTJLD 2.3.5(c)).
11041401004 = Unsafe callin binding, because lifting to role {0} may fail due to abstractness (OTJLD 2.3.5(c)).
Stephan Herrmann62a80732011-05-12 14:01:57 +000011051401005 = No method {0} found in type {1} to resolve method designator (OTJLD 4.1(c)).
11061401006 = Method specifier "{0}" is ambiguous for the type {1}. Please use the exact method signature to disambiguate (OTJLD 4.1(c)).
11071401007 = Method designator binds to a method returning {0} whereas return type {1} is specified (OTJLD 4.1(c)).
11081401008 = Method specifier finds no direct match, argument of closest match is {0} instead of {1} (OTJLD 4.1(c)).
11091401009 = Duplicate callin name "{0}" (OTJLD 4.1(e)).
11101401010 = Trying to bind final method {0} from class {1} via class {2}; must bind directly to {1} (OTJLD 4.1(f).
11111401011 = Base method does not declare {0} which is thrown by the bound role method (OTJLD 4.1(g)).
Stephan Herrmann88c3ae22013-05-28 14:27:34 +020011121401012 = Callin binding to constructor ''{0}'' must use the callin modifier "after" (OTJLD 4.1(i)).
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001113
11141401099 = Bound base method {0} is deprecated.
1115
11161402001 = Modifier ''callin'' not allowed here. Enclosing class {0} is not a role (OTJLD 4.2(d)).
11171402002 = Illegal modifier(s) ''{0}'' for method {1}, callin method must not declare visibility (OTJLD 4.2(d)).
11181402003 = Method {0} cannot be called explicitly; is a callin method (OTJLD 4.2(d)).
11191402004 = Cannot bind method {0} as callout; is a callin method (OTJLD 4.2(d)).
11201402005 = Cannot bind method {0} using "replace": need a callin method (OTJLD 4.2(d)).
11211402006 = Cannot bind callin method {0} using "{1}" (OTJLD 4.2(d)).
11221402007 = Modifier "callin" not allowed here; trying to override a method from {0} which is not a callin method (OTJLD 4.2(d)).
11231402008 = Missing modifier "callin"; trying to override a method from {0} which is a callin method (OTJLD 4.2(d)).
11241402009 = Class inherits incompatible methods {0} from {1} and {2}: conflict between callin and regular method (OTJLD 4.2(d)).
1125
11261403001 = Illegal method in base call, can only call base version of the enclosing method {0} (OTJLD 4.3(a)).
11271403002 = Base call "{0}" does not match the signature of the enclosing callin method (OTJLD 4.3(a)).
11281403003 = Potentially missing base call in callin method (OTJLD 4.3(b)).
11291403004 = This callin method has no base call (OTJLD 4.3(b)).
11301403005 = Potentially duplicate base call (OTJLD 4.3(c)).
11311403006 = This callin method calls its base method more than once (OTJLD 4.3(c)).
11321403007 = Illegal callin binding: base method requires a result of type {0}, which is not provided in this binding nor by a base call in the bound role method (OTJLD 4.3(e)).
11331403008 = Fragile callin binding: base method requires a result of type {0}, which is not provided in this binding. If no base call is issued, the result will be missing, causing a ResultNotProvidedException to be thrown (OTJLD 4.3(e)).
11341403009 = Fragile callin binding: base method requires a result of type {0}, which is not provided in this binding. If no base call is issued, the result will be uninitialized (null) (OTJLD 4.3(e)).
11351403010 = Incompatible callin binding: callin method {1} contains a base super call but bound base method {0} is not overriding a super method (OTJLD 4.3(f)).
11361403011 = Base super call bypasses both the bound base method and also other callin bindings if any are bound to the same base method (OTJLD 4.3(f)).
Stephan Herrmann4aa80b62016-04-28 18:56:22 +020011371403012 = Base call {0}({1}) is not applicable for the arguments ({2})
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001138
11391404000 = Syntax error: parameter mapping allowed only if methods are specified with their signatures (OTJLD 4.4(a)).
11401404001 = Illegal use of 'result' in parameter mapping: wrong binding direction (OTJLD 4.4(a)).
11411404002 = Method {1} does not provide enough arguments for binding to method {0} (OTJLD 4.4(a)).
11421404003 = Parameter {0} is mapped more than once (OTJLD 4.4(a)).
11431404004 = Cannot use 'result' here: method {0} returns void (OTJLD 4.4(a)).
11441404005 = Incomplete parameter mapping: argument {0} of role method {1} is not mapped (OTJLD 4.4(a)).
Stephan Herrmann1e3ee002010-04-27 14:10:37 +000011451404006 = Callin after binding cannot return a value to the base caller, role method return value of type {0} will be ignored (OTJLD 4.4(a)).
11461404007 = Illegal expression in callin replace binding: here 'result' must be mapped to 'result' (OTJLD 4.4(b)).
11471404008 = Role method "{1} {0}" bound via replace callin to method "{4} {3}" must not return a non-void result (OTJLD 4.4(b)).
11481404009 = Callin binding:\nReturn of method {1} is incompatible with return expected by base method {0}:\nCan't convert {3} to {2} (OTJLD 4.4(b)).
11491404010 = When binding method "{1} {0}" via callin to method "{4} {3}":\nBase call would require to convert return type {5} to {2} (OTJLD 4.4(b)).
11501404011 = ''result'' can only be mapped to ''result'' (OTJLD 4.4(b)).
11511404012 = Illegal expression in callin replace binding: cannot use base method argument in compound expression (OTJLD 4.4(b)).
11521404013 = Illegal direction ''->'' in parameter mapping for non-replace callin (OTJLD 4.4(c)).
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001153
11541405001 = Type mismatch in callin binding: cannot convert from {0} to {1} (OTJLD 4.5(d)).
11551405002 = When mapping the {0}. argument of {1}: cannot convert from {2} to {3} (OTJLD 4.5(d)).
1156# unused:
11571405003 = The bound method {0} does not provide required result of type {1} (OTJLD 4.5(d)).
11581405004 = When mapping the {2}. argument: types {0} and {1} are not two-way compatible as required for replace bindings (OTJLD 4.5(d)).
1159
11601406001 = Access restriction of method {0} in type {1} will be overridden if the bound callin method issues a base call (OTJLD 4.6).
11611406002 = The private base feature {0} from type {1} is not available via the base type {2} (OTJLD 4.6(a)).
1162
1163
11641407001 = Cannot bind static base method {1} to non-static role method {0} (OTJLD 4.7(b)).
11651407002 = Cannot bind non-static base method {1} to static callin method {0} via replace (OTJLD 4.7(d)).
1166
11671408001 = ''{4}'' callin bindings {0}.{1} and {2}.{3} refer to the same base method; must declare precedence of these bindings (OTJLD 4.8).
Stephan Herrmann3a839652011-01-04 21:06:35 +000011681408002 = 'precedence' declaration can only refer to direct role classes, however {1} is a nested role of team {0} (OTJLD 4.8).
11691408003 = 'precedence' declaration not allowed here, enclosing type {0} is neither a team nor a role (OTJLD 4.8(a)).
11701408004 = 'precedence' declaration for 'after' binding must be specified as 'precedence after' (OTJLD 4.8(a)).
11711408005 = 'precedence after' declaration cannot refer to '{0}' bindings (OTJLD 4.8(a)).
11721408006 = Callin binding {0} not found in type {1} (OTJLD 4.8(b)).
11731408007 = Type {0} is not a legal prefix for callin {1}; Need a role or team type (OTJLD 4.8(b)).
11741408008 = Contradictory precedence lists for type {0} cannot be combined (conflicts with ''{1}'') (OTJLD 4.8(d)).
11751408009 = Contradictory precedence lists for type {0} cannot be combined (''{1}'' vs. ''{2}'') (OTJLD 4.8(d)).
11761408010 = Cannot define precedence for '{0}' and '{1}', because the former overrides the latter (OTJLD 4.8(e)).
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001177
11781409001 = This callin binding admits covariant base method return types, must use a fresh type variable like "<E extends {0}> E" as the role side return type (OTJLD 4.9.3(c)).
1179
11801410001 = Type variable {0} cannot capture a covariant return type because it is used more than once in this signature (OTJLD 4.10(a)).
1181
1182### ACTIVATION/PREDICATES
11831502001 = Within statement {0} must have a team instance as argument (OTJLD 5.2(a)).
11841504001 = Guard predicate throws checked exception {0} (OTJLD 5.4(c)).
11851504101 = ''{0}'' cannot be resolved, perhaps you need to add signatures to the callin binding in order to expose parameters/result? (OTJLD 5.4.1(a)).
11861504201 = Illegal base guard: {0} is not a bound role (OTJLD 5.4.2(f)).
1187
1188### API
11891601001 = Cannot use class literal for role {0} in a static context (OTJLD 6.1(c)).
11901601002 = Cannot use unqualified class literal for role {0} outside its enclosing team (OTJLD 6.1(c)).
11911602001 = The method {0} conflicts with a predefined method of same name and number of arguments (OTJLD 6.2).
1192
1193### ENCAPSULATION
11941702001 = Role class tries to override the builtin type org.objectteams.Team.{0} (OTJLD 7.2(a)).
11951702002 = An array of confined roles is not compatible with java.lang.Object (OTJLD 7.2(b)).
1196
1197### DEPENDENT TYPES
11981900210 = Parameter is not a value (OTJLD 9.2.1).
11991900211 = Parameter cannot be resolved to an object reference (OTJLD 9.2.1).
12001900212 = Parameter '{0}' cannot be resolved (OTJLD 9.2.1).
12011900213 = Parameter does not match declaration of value parameter '{0} {1}' (OTJLD 9.2.1).
12021900214 = Illegal use of value parameter: type {0} does not declare a value parameter at position {1} (OTJLD 9.2.1).
Stephan Herrmannc811fda2010-12-11 23:25:25 +000012031900215 = Cannot rebind the anchor {1} of type variable {0} (OTJLD 9.2.1(a)).
1204
12051900220 = Bound mismatch: The type {0} is not a valid substitute for the value dependent parameter <{2}> of the type {1} (OTJLD 9.2.2)
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001206
1207### SYNTAX
12082000101 = Object Teams keyword not enabled in this scope (OTJLD A.0.1).
12092000201 = Illegal superclass: Name of method ''{0}'' inherited from {1} is a keyword in OT/J (OTJLD A.0.2).
12102000301 = Illegal identifier {0} (OTJLD A.0.3).
1211
12122001101 = Illegal ''playedBy'' declaration: class {0} is not a role (OTJLD A.1.1(a)).
1213
12142003101 = Method binding must be directly contained in a class (OTJLD A.3.1).
12152003201 = Modifiers not allowed in short callout bindings (OTJLD A.3.2).
12162003202 = Illegal modifier for callout binding (only public, protected or private allowed here) (OTJLD A.3.2).
12172003203 = Illegal method designator: illegal constructor reference or missing return type (OTJLD A.3.2).
12182003204 = Syntax error: missing return type for method designator (OTJLD A.3.2).
12192003301 = Modifiers not allowed in callin bindings (OTJLD A.3.3).
12202003302 = Syntax error: callin label must be a simple name (OTJLD A.3.3).
12212003303 = Callin modifier (before, after or replace) missing for callin-binding {0} (OTJLD A.3.3).
12222003304 = Syntax error: right hand side of method binding does not specify type arguments (OTJLD A.3.3).
Stephan Herrmann3cef2f02012-01-29 19:17:03 +010012232003305 = Syntax error: callin annotations must be specified after the callin name (OTJLD A.3.3).
1224
Stephan Herrmann7b7062f2010-04-01 19:56:59 +000012252003501 = Method designator must not specify a modifier (OTJLD A.3.5).
1226
12272006001 = Syntax Error: Declared lifting type not support in this position (OTJLD A.6(a)).
1228
12292007001 = Syntax Error: missing boolean expression for guard predicate (OTJLD A.7.1).
1230
12312009001 = Illegal position for value parameter {0}: must be a parameter of a single name type reference(OTJLD A.9(a)).
1232
12332010001 = Syntax error, SingleTypeReference expected (OTJLD 1.2.4(c)).
1234
1235
1236### LIMITATIONS
12372100001 = Limitation: generics not supported in this position.
12382100002 = Internal method for lifting type {0} to role {1} has not been generated.
12392100003 = Compiler limitation: This constructor seems to request lifting of an argument. However, the self call in {0} of class {1} passes its arguments in an unexpected way. Cannot perform required transitive byte-code translation.
12402100006 = Requesting role file {0} for team {1} which is already compiled (compiler limitation).
12412100007 = Role {0} is missing for binary team {1} (compiler limitation).
12422100008 = Role {0} has not been copied (implicit inheritance) to team {1} (probably caused by some other error).
12432100009 = Cannot generate method {0}, tsuper method has corrupt byte code. This may or may not be caused by an internal compiler error.
12442100010 = Implicit super role has incompatible byte code, offending name: ''{0}''. It was probably compiled for an incompatible JRE.
12452100011 = Limitation: compiler support for dependent types is incomplete: {0}.
12462100012 = Using an experimental feature: {0}.
12472100013 = Role {0} seems to refer to a stale tsuper role {1}: tsuper method {2} cannot be resolved. Please consider a full rebuild of the enclosing project.
12482100014 = Role {1} seems to require recompilation due to changes in super role {0}. Please consider a full rebuild of the enclosing project.
12492100015 = A synthetic access method for field {1} is missing in type {0}. Please consider a full rebuild of the enclosing project.
12502100016 = Compiler limitation: wrong compilation order for role {0} as a member of team {1} which is already compiled.
12512100017 = Incremental compilation problem: role {0} consists of a source and a binary part.
12522100018 = Internal representations of role {0} and {1} are inconsistent.
12532100019 = Compiler limitation: unsupported compilation order: ''{0}''.
12542100020 = Incomplete incremental build: did not generate callin binding for role {0}.\nBefore launching the application please perform a full build.
12552100021 = Cannot resolve base class for type {0}: unexpected build order (please consider a full build for this project).
12562100022 = Compiler limitation: the role field {0} can only be static if it is also declared final.
12572100023 = Illegally copied default constructor, role {0} is a bound role.
12582100024 = Modifier "readonly" is not yet supported.
12592100025 = Missing compiler implementation: {0} is not yet supported.
Stephan Herrmann0e390872010-04-02 02:27:06 +000012602100026 = Base class {0} appears to be a system class, which means that load time weaving could possibly fail\nif this class is loaded from rt.jar/the bootstrap classpath.
Stephan Herrmann7b7062f2010-04-01 19:56:59 +000012612100027 = Dangerous callin binding: {0} is used internally during lifting, which could create infinite recursion.
12622100028 = Compiler limitation: can't copy annotation ''{0}'' for implicitly inherited field ''{1}'': unexpected structure.
12632100029 = Class file {0} has incompatible OT/J byte code version {1}, please consider a full build of the declaring project.
Stephan Herrmannc87554d2010-08-27 23:02:19 +000012642100030 = Implementation limitation: Callin binding to an interface ({0}) is not supported.
Stephan Herrmann9391b222011-02-06 20:05:22 +000012652100031 = Corrupt byte code: attempt to invoke abstract method {0}.
Stephan Herrmann4467a4b2013-05-04 22:34:25 +020012662100032 = Role file {0} lacks a team package declaration, is this file on its project's classpath?
Stephan Herrmannc3070e32014-04-24 16:25:02 +020012672100033 = Base class {0} has class file version {1} which cannot be handled by the traditional OTRE based on BCEL. Please consider using the ASM based OTDRE instead.
Stephan Herrmann9c14ec82014-05-20 20:59:13 +020012682100034 = Class file {0} has been compiled for incompatible weaving target '{1}', please consider a full build of the declaring project.
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001269
1270## EXPERIMENTAL
12712200001 = Type {0} does not support team migration, only applicable for roles (OT/J experimental feature).
12722200002 = Team migration not possible because enclosing team class {0} is not final (OT/J experimental feature).
12732200003 = Argument is not a valid new team anchor (OT/J experimental feature).
12742200004 = The special method {1}.migrateToTeam({2}) is not applicable for the arguments ({0}).
12752200005 = Team migration not possible in the current implementation because {0} is a bound role class (OT/J experimental feature).
1276
12772200010 = Type {0} does not support base migration; this is only applicable for roles (OT/J experimental feature).
12782200011 = Role {0} cannot support base migration because it is not bound to a base class (OT/J experimental feature).
12792200012 = The special method {1}.migrateToBase({2}) is not applicable for the arguments ({0}).
1280