blob: ae8ecfad1259ebec6769ced0e938d43a6983c60a [file] [log] [blame]
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001###############################################################################
Stephan Herrmanne4589e82011-04-30 12:18:45 +00002# Copyright (c) 2000, 2011 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 Herrmann7b7062f2010-04-01 19:56:59 +00007#
8# Contributors:
9# IBM Corporation - initial API and implementation
10# Benjamin Muskalla - Contribution for bug 239066
Stephan Herrmannaa1e2842011-12-10 00:30:58 +010011# Fraunhofer FIRST - extended API and implementation
12# Technical University Berlin - extended API and implementation
Stephan Herrmann6dcbb382011-10-25 16:30:31 +000013# Stephan Herrmann <stephan@cs.tu-berlin.de> - Contributions for
14# bug 185682 - Increment/decrement operators mark local variables as read
15# bug 349326 - [1.7] new warning for missing try-with-resources
Stephan Herrmannaa1e2842011-12-10 00:30:58 +010016# bug 186342 - [compiler][null] Using annotations for null checking
Stephan Herrmann2c38ab42012-01-28 20:42:28 +010017# bug 365662 - [compiler][null] warn on contradictory and redundant null annotations
Stephan Herrmann7b7062f2010-04-01 19:56:59 +000018###############################################################################
190 = {0}
201 = super cannot be used in java.lang.Object
212 = {0} cannot be resolved to a type
223 = The type {0} is not visible
234 = The type {0} is ambiguous
245 = The type {0} is deprecated
256 = The nested type {0} cannot be referenced using its binary name
267 = The type {0} is never used locally
27
2815 = Incompatible operand types {0} and {1}
2916 = Incompatible conditional operand types {0} and {1}
3017 = Type mismatch: cannot convert from {0} to {1}
3118 = The static member type {0}.{1} should be accessed directly
32
3320 = 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}).
3421 = 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}).
3522 = No enclosing instance of the type {0} is accessible in scope
3623 = Illegal enclosing instance specification for type {0}
3724 = Cannot define static initializer in inner type {0}
3825 = Cannot refer to a non-final variable {0} inside an inner class defined in a different method
3926 = The member interface {0} can only be defined inside a top-level class or interface
4027 = Cannot use an expression of the type {0} as a valid enclosing instance
4128 = No enclosing instance of type {0} is available due to some intermediate constructor invocation
4229 = An anonymous class cannot subclass the final class {0}
Stephan Herrmann29b019c2011-04-26 10:30:44 +00004330 = The member annotation {0} can only be defined inside a top-level class or interface
4431 = The member enum {0} can only be defined inside a top-level class or interface
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00004532 = The member enum {0} must be defined inside a static member type
4633 = The type {0} is hiding the type {1}
47
4850 = {0} cannot be resolved
4951 = The local variable {0} may not have been initialized
5052 = void is an invalid type for the variable {0}
51###[obsolete] 53 = An array of void is an invalid type for the variable {0}
5254 = void[] is an invalid type
5355 = Duplicate local variable {0}
5456 = Duplicate parameter {0}
5557 = The final local variable {0} may already have been assigned
5658 = The final local variable {0} cannot be assigned. It must be blank and not using a compound assignment
5759 = The parameter {0} should not be assigned
5860 = The final local variable {0} cannot be assigned, since it is defined in an enclosing type
Stephan Herrmanne880bb62010-11-06 15:10:25 +00005961 = The value of the local variable {0} is not used
6062 = The value of the parameter {0} is not used
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00006163 = The code of method {0}({1}) is exceeding the 65535 bytes limit
6264 = The code for the static initializer is exceeding the 65535 bytes limit
6365 = Too many parameters, parameter {0} is exceeding the limit of 255 words eligible for method parameters
6466 = Too many local variables, local variable {0} is exceeding the limit of 65535 words eligible for method local variables
6567 = Too many synthetic parameters, emulated parameter {0} is exceeding the limit of 255 words eligible for method parameters
6668 = Too many array dimensions. Maximum is 255
6769 = The code of constructor {0}({1}) is exceeding the 65535 bytes limit
6870 = {0} cannot be resolved or is not a field
6971 = The field {1}.{0} is not visible
7072 = The field {0} is ambiguous
7173 = The field {0}.{1} is deprecated
7274 = Cannot make a static reference to the non-static field {0}
7375 = Cannot reference a field before it is defined
7476 = The static field {0}.{1} should be accessed in a static way
Stephan Herrmanne880bb62010-11-06 15:10:25 +00007577 = The value of the field {0}.{1} is not used
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00007678 = The static field {0}.{1} should be accessed directly
7779 = Unqualified access to the field {0}.{1}
7880 = The final field {0}.{1} cannot be assigned
7981 = The blank final field {0} may not have been initialized
8082 = The final field {0} may already have been assigned
8183 = {0} cannot be resolved to a variable
82
8390 = The local variable {0} is hiding another local variable defined in an enclosing type scope
8491 = The local variable {0} is hiding a field from type {1}
8592 = The field {0}.{1} is hiding another local variable defined in an enclosing type scope
8693 = The field {0}.{1} is hiding a field from type {2}
8794 = The parameter {0} is hiding another local variable defined in an enclosing type scope
8895 = The parameter {0} is hiding a field from type {1}
8996 = The serializable class {0} does not declare a static final serialVersionUID field of type long
90
91100 = The method {1}({2}) is undefined for the type {0}
92101 = The method {1}({2}) from the type {0} is not visible
93102 = The method {1}({2}) is ambiguous for the type {0}
94103 = The method {1}({2}) from the type {0} is deprecated
95104 = Cannot directly invoke the abstract method {1}({2}) for the type {0}
96105 = Void methods cannot return a value
97106 = Cannot return a void result
98107 = This method requires a body instead of a semicolon
99108 = This method must return a result of type {0}
100
101110 = This method has a constructor name
102111 = Return type for the method is missing
103112 = Native methods do not specify a body
104113 = Abstract methods do not specify a body
105114 = Cannot invoke {1}({2}) on the primitive type {0}
106115 = The method {1}({2}) in the type {0} is not applicable for the arguments ({3})
107116 = Cannot invoke {1}({2}) on the array type {0}
108117 = The static method {1}({2}) from the type {0} should be accessed in a static way
109118 = The method {1}({2}) from the type {0} is never used locally
110119 = The static method {1}({2}) from the type {0} should be accessed directly
111120 = The method {1}({2}) from the type {0} refers to the missing type {3}
Stephan Herrmannbb25a052011-01-27 11:59:20 +0000112121 = The method {1}({2}) from the type {0} can be declared as static
113122 = The method {1}({2}) from the type {0} can potentially be declared as static
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000114
115129 = The constructor {0}({1}) refers to the missing type {2}
116130 = The constructor {0}({1}) is undefined
117131 = The constructor {0}({1}) is not visible
118132 = The constructor {0}({1}) is ambiguous
119133 = The constructor {0}({1}) is deprecated
120134 = The constructor {0}({1}) is never used locally
121135 = Cannot refer to an instance field {0} while explicitly invoking a constructor
122136 = Cannot refer to an instance method while explicitly invoking a constructor
123137 = Recursive constructor invocation {0}({1})
124138 = Cannot refer to 'this' nor 'super' while explicitly invoking a constructor
125139 = Constructor call must be the first statement in a constructor
126140 = Implicit super constructor {0}({1}) is undefined for default constructor. Must define an explicit constructor
127141 = Implicit super constructor {0}({1}) is not visible for default constructor. Must define an explicit constructor
128142 = Implicit super constructor {0}({1}) is ambiguous for default constructor. Must define an explicit constructor
129143 = Implicit super constructor {0}({1}) is undefined. Must explicitly invoke another constructor
130144 = Implicit super constructor {0}({1}) is not visible. Must explicitly invoke another constructor
131145 = Implicit super constructor {0}({1}) is ambiguous. Must explicitly invoke another constructor
132146 = Default constructor cannot handle exception type {0} thrown by implicit super constructor. Must define an explicit constructor
133147 = Unhandled exception type {0} thrown by implicit super constructor
134
135
136148 = The allocated object is never used
137149 = Dead code
138150 = The type of the expression must be an array type but it resolved to {0}
139151 = Must explicitly convert the char[] to a String
140152 = String constant is exceeding the limit of 65535 bytes of UTF8 encoding
141153 = case expressions must be constant expressions
142154 = The literal {1} of type {0} is out of range
143156 = Cannot cast from {0} to {1}
144157 = Cannot instantiate the type {0}
145158 = Cannot define dimension expressions when an array initializer is provided
146159 = Variable must provide either dimension expressions or an array initializer
147160 = The operator {0} is undefined for the argument type(s) {1}
148161 = Unreachable code
149162 = Cannot return from within an initializer
150163 = Initializer does not complete normally
151164 = Expression must return a value
Stephan Herrmann6dcbb382011-10-25 16:30:31 +0000152165 = 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 +0000153166 = The default case is already defined
154167 = Unreachable catch block for {0}. This exception is never thrown from the try statement body
155168 = Unhandled exception type {0}
Stephan Herrmann3df378f2011-08-25 12:46:17 +0000156169 = Cannot switch on a value of type {0}. Only convertible int values or enum variables are permitted
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000157170 = Duplicate case
158171 = Duplicate label {0}
159172 = break cannot be used outside of a loop or a switch
160173 = continue cannot be used outside of a loop
161174 = The label {0} is missing
162175 = {0} is not a valid type''s argument for the synchronized statement
163176 = null is not a valid argument for the synchronized statement
164177 = Cannot throw null as an exception
165178 = The assignment to variable {0} has no effect
166179 = Possible accidental assignment in place of a comparison. A condition expression should not be reduced to an assignment
167180 = Unnecessary semicolon
168181 = Unnecessary cast from {0} to {1}
169182 = Unnecessary cast from {0} to {1}. It is already compatible with the argument type {2}
170183 = The expression of type {0} is already an instance of type {1}
171184 = finally block does not complete normally
172185 = The declared exception {3} is not actually thrown by the method {1}({2}) from type {0}
173186 = The declared exception {2} is not actually thrown by the constructor {0}({1})
174187 = Unreachable catch block for {0}. It is already handled by the catch block for {1}
175188 = Empty control-flow statement
176189 = Statement unnecessarily nested within else clause. The corresponding then clause does not complete normally
177190 = Read access to enclosing field {0}.{1} is emulated by a synthetic accessor method
178191 = Write access to enclosing field {0}.{1} is emulated by a synthetic accessor method
179192 = Access to enclosing method {1}({2}) from the type {0} is emulated by a synthetic accessor method
180193 = Access to enclosing constructor {0}({1}) is emulated by a synthetic accessor method
181194 = Switch case may be entered by falling through previous case. If intended, add a new comment //$FALL-THROUGH$ on the line above
182195 = The method {1} is defined in an inherited type and an enclosing scope
183196 = The field {0} is defined in an inherited type and an enclosing scope
184197 = The type {0} is defined in an inherited type and an enclosing scope
185198 = 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
186199 = The label {0} is never explicitly referenced
187200 = Cannot use {0} in a static context
188201 = Cannot make a static reference to the non-static method {1}({2}) from the type {0}
189202 = Cannot specify an array dimension after an empty dimension
Stephan Herrmann3db42762011-03-03 19:17:16 +0000190#203 = Invalid cast expression
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000191204 = Syntax error on token "{0}", {1} expected
192205 = Syntax error on token "{0}", no accurate correction available
193206 = Invalid argument to operation ++/--
194207 = Interfaces cannot have constructors
195208 = Array constants can only be used in initializers
196209 = Syntax error on keyword "{0}"; {1} expected
197210 = Syntax error on keyword "{0}", no accurate correction available
198211 = Comparing identical expressions
199
200220 = Unmatched bracket
201221 = The primitive type {0} of {1} does not have a field {2}
202222 = Invalid expression as statement
203223 = The left-hand side of an assignment must be a variable
204224 = Missing semicolon
205225 = Invalid parenthesized expression
206
207230 = Syntax error on token "{0}", {1} expected before this token
208231 = Syntax error on token "{0}", {1} expected after this token
209232 = Syntax error on token "{0}", delete this token
210233 = Syntax error on tokens, delete these tokens
211234 = Syntax error on tokens, they can be merged to form {0}
212235 = Syntax error on token "{0}", invalid {1}
213236 = Syntax error on token(s), misplaced construct(s)
214237 = Syntax error on tokens, {0} expected instead
215238 = Syntax error on tokens, no accurate correction available
216239 = Syntax error, unexpected {0}
217240 = Syntax error, insert "{0}" to complete {1}
218241 = Syntax error, insert "{0}" to complete scope
219242 = Syntax error, insert "{0}" to complete phrase
220
221250 = Unexpected end of file
222251 = Invalid hex literal number
223252 = Invalid octal literal number
224253 = Invalid character constant
225254 = Invalid escape sequence (valid ones are \\b \\t \\n \\f \\r \\" \\' \\\\ )
226255 = Invalid input
227256 = Invalid unicode
228257 = Invalid float literal number
229258 = Null source string
230259 = String literal is not properly closed by a double-quote
231260 = Unexpected end of comment
232261 = Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
233262 = Invalid digit (valid ones are 0..9)
234263 = Invalid low surrogate: must be within 0xDC00 and 0xDFFF
235264 = Invalid high surrogate: must be within 0xD800 and 0xDBFF
236265 = Unnecessary $NON-NLS$ tag
Stephan Herrmann44109d32011-08-02 14:34:26 +0000237266 = Invalid binary literal number (only '0' and '1' are expected)
238267 = Binary literals can only be used with source level 1.7 or greater
239268 = Underscores have to be located within digits
240269 = Underscores can only be used with source level 1.7 or greater
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000241
242280 = Discouraged access: {0}
243
244300 = The interface {0} cannot define an initializer
245301 = Duplicate modifier for the type {0}
246302 = Illegal modifier for the class {0}; only public, abstract & final are permitted
247303 = Illegal modifier for the interface {0}; only public & abstract are permitted
248304 = Illegal modifier for the member class {0}; only public, protected, private, static, abstract & final are permitted
249305 = Illegal modifier for the member interface {0}; only public, protected, private, static & abstract are permitted
250306 = Illegal modifier for the local class {0}; only abstract or final is permitted
251307 = Access restriction: {0}
252308 = The class {0} can be either abstract or final, not both
253309 = The interface member type {0} can only be public
254310 = The member type {0} can only set one of public / protected / private
255311 = The member type {0} cannot be declared static; static types can only be declared in static or top level types
256312 = The type {0} cannot be the superclass of {1}; a superclass must be a class
257313 = The type {1} cannot subclass the final class {0}
258314 = Duplicate interface {0} for the type {1}
259315 = The type {0} cannot be a superinterface of {1}; a superinterface must be an interface
260316 = Cycle detected: the type {0} cannot extend/implement itself or one of its own member types
261317 = Cycle detected: a cycle exists in the type hierarchy between {0} and {1}
262318 = The nested type {0} cannot hide an enclosing type
263319 = Duplicate nested type {0}
264320 = No exception of type {0} can be thrown; an exception type must be a subclass of Throwable
265321 = The package {0} collides with a type
266322 = The type {1} collides with a package
267323 = The type {1} is already defined
268324 = The type {0} cannot be resolved. It is indirectly referenced from required .class files
269325 = The public type {1} must be defined in its own file
Stephan Herrmanna1bf6562011-03-01 21:59:07 +0000270###[obsolete] 326 = A package must be specified in {0} or a default package created
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000271327 = The hierarchy of the type {0} is inconsistent
272328 = The declared package "{1}" does not match the expected package "{0}"
273329 = The type java.lang.Object cannot have a superclass or superinterfaces
274330 = The type java.lang.Object must be a class
275331 = Redundant superinterface {0} for the type {1}, already defined by {2}
276332 = The type {0} should also implement hashCode() since it overrides Object.equals()
277333 = The type {0} must be an abstract class to define abstract methods
278
279###[obsolete] 330 = {0} cannot be resolved or is not a valid superclass
280###[obsolete] 331 = Superclass {0} is not visible
281###[obsolete] 332 = Superclass {0} is ambiguous
282###[obsolete] 333 = Superclass {0} cannot be referenced using its binary name
283###[obsolete] 334 = Superclass {0} is defined in an inherited type and an enclosing scope
284###[obsolete] 335 = {0} cannot be resolved or is not a valid superinterface
285###[obsolete] 336 = Superinterface {0} is not visible
286###[obsolete] 337 = Superinterface {0} is ambiguous
287###[obsolete] 338 = Superinterface {0} cannot be referenced using its binary name
288###[obsolete] 339 = Superinterface {0} is defined in an inherited type and an enclosing scope
289
290340 = Duplicate field {0}.{1}
291341 = Duplicate modifier for the field {0}
292342 = Illegal modifier for the field {0}; only public, protected, private, static, final, transient & volatile are permitted
293343 = Illegal modifier for the interface field {0}.{1}; only public, static & final are permitted
294344 = The field {0} can only set one of public / protected / private
295345 = The field {0} can be either final or volatile, not both
Stephan Herrmann6dcbb382011-10-25 16:30:31 +0000296346 = 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 +0000297
298###[obsolete] 350 = {2} cannot be resolved (or is not a valid type) for the field {1}.{0}
299###[obsolete] 351 = The type {2} is not visible for the field {1}.{0}
300###[obsolete] 352 = The type {2} is ambiguous for the field {1}.{0}
301###[obsolete] 353 = The field type {2} cannot be referenced using its binary name
302###[obsolete] 354 = The field type {2} is defined in an inherited type and an enclosing scope
303
304355 = Duplicate method {0}({2}) in type {1}
305356 = Illegal modifier for parameter {0}; only final is permitted
306357 = Duplicate modifier for the method {1} in type {0}
307358 = Illegal modifier for the method {0}; only public, protected, private, static, final, abstract, synchronized & native are permitted
308359 = Illegal modifier for the interface method {0}; only public & abstract are permitted
309360 = The method {1} in type {0} can only set one of public / protected / private
310361 = The method {1} cannot be declared static; static methods can only be declared in a static or top level type
311362 = The abstract method {1} in type {0} can only set a visibility modifier, one of public or protected
312363 = The abstract method {1} in type {0} can only be defined by an abstract class
313364 = void is an invalid type for the parameter {1} of the method {0}
314###[obsolete] 365 = An array of void is an invalid type for the parameter {1} of the method {0}
315###[obsolete] 366 = An array of void is an invalid return type for the method {0}
316367 = The native method {1} cannot also be declared strictfp
317368 = Duplicate modifier for parameter {0}
318369 = Illegal modifier for the constructor in type {0}; only public, protected & private are permitted
319
320###[obsolete] 370 = {2} cannot be resolved (or is not a valid type) for the parameter {1} of the method {0}
321###[obsolete] 371 = The type {2} is not visible for the parameter {1} of the method {0}
322###[obsolete] 372 = The type {2} is ambiguous for the parameter {1} of the method {0}
323###[obsolete] 373 = The parameter type {2} cannot be referenced using its binary name
324###[obsolete] 374 = The parameter type {2} is defined in an inherited type and an enclosing scope
325###[obsolete] 375 = {1} cannot be resolved (or is not an exception type) for the method {0}
326###[obsolete] 376 = The exception type {1} is not visible for the method {0}
327###[obsolete] 377 = The exception type {1} is ambiguous for the method {0}
328###[obsolete] 378 = The exception type {1} cannot be referenced using its binary name
329###[obsolete] 379 = The exception type {1} is defined in an inherited type and an enclosing scope
330###[obsolete] 380 = {1} cannot be resolved (or is not a valid return type) for the method {0}
331###[obsolete] 381 = The return type {1} is not visible for the method {0}
332###[obsolete] 382 = The return type {1} is ambiguous for the method {0}
333###[obsolete] 383 = The return type {1} cannot be referenced using its binary name
334###[obsolete] 384 = The return type {1} is defined in an inherited type and an enclosing scope
335
336385 = The import {0} conflicts with a type defined in the same file
337386 = The import {0} collides with another import statement
338387 = Only a type can be imported. {0} resolves to a package
339388 = The import {0} is never used
340390 = The import {0} cannot be resolved
341
342###[obsolete] 391 = The imported type {0} is not visible
343###[obsolete] 392 = The imported type {0} is ambiguous
344###[obsolete] 393 = The imported type {0} cannot be referenced using its binary name
345###[obsolete] 394 = The imported type {0} is defined in an inherited type and an enclosing scope
346
347391 = The static import {0} must be a field or member type
348
349395 = Duplicate modifier for the variable {0}
350396 = Illegal modifier for the variable {0}; only final is permitted
351###[obsolete] 397 = Redundant null check: The variable {0} cannot be null at this location
352###[obsolete] 398 = Null pointer access: The variable {0} can only be null at this location
353###[obsolete] 399 = Potential null pointer access: The variable {0} may be null at this location
354
355400 = The type {3} must implement the inherited abstract method {2}.{0}({1})
356401 = Cannot override the final method from {0}
357402 = Exception {0} is not compatible with throws clause in {1}
358403 = Exception {0} in throws clause of {1} is not compatible with {2}
359404 = The return type is incompatible with {0}
360405 = The inherited method {0} cannot hide the public abstract method in {1}
361406 = This instance method cannot override the static method from {0}
362407 = This static method cannot hide the instance method from {0}
363408 = The static method {0} conflicts with the abstract method in {1}
364409 = Cannot reduce the visibility of the inherited method from {0}
365410 = The method {0} does not override the inherited method from {1} since it is private to a different package
366411 = 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
367412 = The method {0} overrides a deprecated method from {1}
368413 = The return type is incompatible with {0}, thus this interface cannot be implemented
369414 = Exception {0} is not compatible with throws clause in {1}, thus this interface cannot be implemented
370415 = The variable argument type {0} of the method {1} must be the last parameter
371416 = The method {0} is overriding a method without making a super invocation
372417 = The method {0}.{1}({2}) is overriding a synchronized method without being synchronized
373418 = The type {3} must implement the inherited abstract method {2}.{0}({1}) to override {6}.{4}({5})
374419 = The return types are incompatible for the inherited methods {0}
375
376420 = Code snippet support cannot find the class {0}
377421 = Code snippet support cannot find the method {0}.{1}({2})
378422 = super cannot be used in the code snippet code
379
380430 = Too many constants, the constant pool for {0} would exceed 65536 entries
381431 = The type generates a string that requires more than 65535 bytes to encode in Utf8 format in the constant pool
382
383432 = Too many fields for type {0}. Maximum is 65535
384433 = Too many methods for type {0}. Maximum is 65535
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000385434 = The synthetic method created to access {0}({1}) of type {2} has too many parameters
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000386
387440 = 'assert' should not be used as an identifier, since it is a reserved keyword from source level 1.4 on
388441 = 'enum' should not be used as an identifier, since it is a reserved keyword from source level 1.5 on
389442 = Enum constants cannot be surrounded by parenthesis
390
Stephan Herrmanne5d6be82010-04-02 03:29:32 +0000391450 = {0}{1}
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000392
393451 = Null pointer access: The variable {0} can only be null at this location
394452 = Potential null pointer access: The variable {0} may be null at this location
395453 = Redundant null check: The variable {0} can only be null at this location
396454 = Null comparison always yields false: The variable {0} can only be null at this location
397455 = Redundant assignment: The variable {0} can only be null at this location
398456 = instanceof always yields false: The variable {0} can only be null at this location
399457 = Redundant null check: The variable {0} cannot be null at this location
400458 = Null comparison always yields false: The variable {0} cannot be null at this location
401
402460 = Empty block should be documented
403
404### DOC
405462 = Invalid URL reference. Double quote the reference or use the href syntax
406463 = Description expected after this reference
407464 = Unexpected duplicated tag @{0}
408465 = ''{0}'' visibility for malformed doc comments hides this ''{1}'' reference
409466 = Invalid member type qualification
410467 = Missing identifier
411468 = Cannot make a static reference to the non-static type variable {0}
412469 = Invalid param tag type parameter name
413470 = Unexpected tag
414471 = Missing tag for parameter {0}
415472 = Missing parameter name
416473 = Duplicate tag for parameter
417474 = Parameter {0} is not declared
418475 = Missing tag for return type
419476 = Duplicate tag for return type
420477 = Missing tag for declared exception {0}
421478 = Missing class name
422479 = Invalid class name
423480 = Duplicate tag for thrown exception
424481 = Exception {0} is not declared
425482 = Missing reference
426483 = Invalid reference
427484 = Malformed link reference
428485 = Invalid parameters declaration
429486 = Missing comment for {0} declaration
430487 = Invalid tag
431488 = {0} cannot be resolved or is not a field
432489 = The field {0} is not visible
433490 = The field {0} is ambiguous
434491 = The field {0}.{1} is deprecated
435492 = The constructor {0}({1}) is undefined
436493 = The constructor {0}({1}) is not visible
437494 = The constructor {0}({1}) is ambiguous
438495 = The constructor {0}({1}) is deprecated
439496 = The method {1}({2}) is undefined for the type {0}
440497 = The method {1}({2}) from the type {0} is not visible
441498 = The method {1}({2}) is ambiguous for the type {0}
442499 = The method {1}({2}) from the type {0} is deprecated
443500 = Cannot invoke {1}({2}) on the primitive type {0}
444501 = The method {1}({2}) in the type {0} is not applicable for the arguments ({3})
445502 = Cannot invoke {1}({2}) on the array type {0}
446503 = {0} cannot be resolved to a type
447504 = The type {0} is not visible
448505 = The type {0} is ambiguous
449506 = The type {0} is deprecated
450507 = The nested type {0} cannot be referenced using its binary name
451508 = The method {1} is defined in an inherited type and an enclosing scope
452509 = The field {0} is defined in an inherited type and an enclosing scope
453510 = The type {0} is defined in an inherited type and an enclosing scope
454511 = {0} is an ambiguous method reference or is not a field
455512 = Missing closing brace for inline tag
456513 = Malformed reference (missing end space separator)
457514 = Javadoc:
458515 = Missing #: "{0}"
459516 = Description expected after @{0}
460517 = Only static field reference is allowed for @value tag
461518 = Unexpected text
462519 = Invalid param tag name
463
464### GENERICS
465520 = Duplicate type parameter {0}
466521 = Cannot refer to the type parameter {0} as a supertype
467522 = Cannot make a static reference to the non-static type {0}
468523 = The type java.lang.Object cannot be declared as a generic
469524 = The type {0} is not generic; it cannot be parameterized with arguments <{1}>
470525 = Incorrect number of arguments for type {0}; it cannot be parameterized with arguments <{1}>
471526 = Bound mismatch: The type {0} is not a valid substitute for the bounded parameter <{2} extends {3}> of the type {1}
472527 = Method {0}({2}) has the same erasure {0}({3}) as another method in type {1}
473528 = Illegal forward reference to type parameter {0}
474529 = The type {0} is not an interface; it cannot be specified as a bounded parameter
475530 = Type safety: The constructor {0}({1}) belongs to the raw type {0}. References to generic type {2} should be parameterized
476531 = Type safety: The method {0}({1}) belongs to the raw type {2}. References to generic type {3} should be parameterized
477532 = Type safety: The expression of type {0} needs unchecked conversion to conform to {1}
478533 = Cannot use the type parameter {0} in a catch block
479534 = Cannot use the parameterized type {0} either in catch block or throws clause
480535 = Cannot create a generic array of {0}
481536 = 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
482537 = The type parameter {0} should not be bounded by the final type {1}. Final types cannot be further extended
483538 = Inconsistent classfile encountered: The undefined type parameter {0} is referenced from within {1}
484539 = The interface {2} cannot be implemented more than once with different arguments: {0} and {1}
485540 = 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}
486541 = 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}
487542 = 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
488543 = 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}>
489544 = 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}>
490545 = Type safety: Unchecked cast from {0} to {1}
491546 = Cannot perform instanceof check against parameterized type {0}. Use the form {1} instead since further generic type information will be erased at runtime
492547 = Cannot perform instanceof check against type parameter {0}. Use instead its erasure {1} instead since further generic type information will be erased at runtime
493548 = The method {0}({1}) of type {2} is not generic; it cannot be parameterized with arguments <{3}>
494549 = Incorrect number of type arguments for generic method <{3}>{0}({1}) of type {2}; it cannot be parameterized with arguments <{4}>
495550 = The parameterized method <{3}>{0}({1}) of type {2} is not applicable for the arguments ({4})
496551 = The constructor {0}({1}) of type {2} is not generic; it cannot be parameterized with arguments <{3}>
497552 = Incorrect number of type arguments for generic constructor <{3}>{0}({1}) of type {2}; it cannot be parameterized with arguments <{4}>
498553 = The parameterized constructor <{3}>{0}({1}) of type {2} is not applicable for the arguments ({4})
499554 = The method {0}({1}) of raw type {2} is no longer generic; it cannot be parameterized with arguments <{3}>
500555 = The constructor {0}({1}) of raw type {2} is no longer generic; it cannot be parameterized with arguments <{3}>
501556 = The type {1} cannot extend or implement {0}. A supertype may not specify any wildcard
502557 = The generic class {0} may not subclass java.lang.Throwable
503558 = Illegal class literal for the type parameter {0}
504559 = Type safety: The return type {0} for {1}({2}) from the type {3} needs unchecked conversion to conform to {4} from the type {5}
505560 = Name clash: The method {0}({1}) of type {2} has the same erasure as {0}({3}) of type {4} but does not override it
506561 = The member type {0}<{1}> must be qualified with a parameterized type, since it is not static
507562 = The member type {0} must be parameterized, since it is qualified with a parameterized type
508563 = The member type {0} cannot be qualified with a parameterized type, since it is static. Remove arguments from qualifying type {1}
509###[obsolete] 564 = Bound conflict: {0} is inherited with conflicting arguments
510565 = Duplicate methods named {0} with the parameters ({2}) and ({3}) are defined by the type {1}
511566 = Cannot allocate the member type {0} using a parameterized compound name; use its simple name and an enclosing instance of type {1}
512567 = Duplicate bound {0}
513568 = The array type {0} cannot be used as a type parameter bound
514569 = Type safety: Unchecked invocation {0}({3}) of the generic constructor {0}({1}) of type {2}
515570 = Type safety: Unchecked invocation {0}({3}) of the generic method {0}({1}) of type {2}
516571 = The type parameter {0} is hiding the type {1}
517572 = {0} is a raw type. References to generic type {1} should be parameterized
518573 = Cannot specify any additional bound {0} when first bound is a type parameter
Stephan Herrmann44109d32011-08-02 14:34:26 +0000519574 = Type safety: A generic array of {0} is created for a varargs parameter
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000520575 = Illegal qualified access from the type parameter {0}
521576 = The nested type {0} is hiding the type parameter {1} of type {2}
522577 = The nested type {0} is hiding the type parameter {1} of the generic method {2}({3}) of type {4}
523578 = Wildcard is not allowed at this location
524579 = 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 +0000525583 = 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 +0000526584 = 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 Herrmann7b7062f2010-04-01 19:56:59 +0000527
528### FOREACH
529580 = Type mismatch: cannot convert from element type {0} to {1}
530581 = Can only iterate over an array or an instance of java.lang.Iterable
531582 = Can only iterate over an array or an instance of java.util.Collection
532
533### SOURCE LEVEL
Stephan Herrmann44109d32011-08-02 14:34:26 +0000534590 = Syntax error, type parameters are only available if source level is 1.5 or greater
535591 = Syntax error, static imports are only available if source level is 1.5 or greater
536592 = Syntax error, 'for each' statements are only available if source level is 1.5 or greater
537593 = Syntax error, parameterized types are only available if source level is 1.5 or greater
538594 = Syntax error, enum declarations are only available if source level is 1.5 or greater
539595 = Syntax error, varargs are only available if source level is 1.5 or greater
540596 = Syntax error, annotations are only available if source level is 1.5 or greater
541597 = Syntax error, annotation declarations are only available if source level is 1.5 or greater
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000542598 = Syntax error, annotation declaration cannot have type parameters
543599 = Syntax error, enum declaration cannot have type parameters
544
545### ANNOTATIONS
546600 = Illegal modifier for the annotation attribute {0}.{1}; only public & abstract are permitted
547601 = Extended dimensions are illegal in an annotation attribute declaration
548602 = Package annotations must be in file package-info.java
549603 = Illegal modifier for the annotation type {0}; only public & abstract are permitted
550604 = Illegal modifier for the member annotation type {0}; only public, protected, private, static & abstract are permitted
551605 = Invalid type {0} for the annotation attribute {2}.{1}; only primitive type, String, Class, annotation, enumeration are permitted or 1-dimensional arrays thereof
552606 = Cycle detected: the annotation type {0} cannot contain attributes of the annotation type itself
553607 = Cycle detected: a cycle exists between annotation attributes of {0} and {1}
554608 = Duplicate annotation @{0}
555609 = The annotation @{0} must define the attribute {1}
556610 = Duplicate attribute {0} in annotation @{1}
557611 = The attribute {0} is undefined for the annotation type {1}
558612 = The value for annotation attribute {0}.{1} must be a class literal
559613 = The value for annotation attribute {0}.{1} must be a constant expression
560###[obsolete] 614 = The annotation field {0}.{1} must be initialized with a constant expression
561615 = Illegal modifier for the annotation field {0}.{1}; only public, static & final are permitted
562616 = The annotation type {0} cannot override the method {1}.{2}({3})
563617 = Annotation attributes cannot have parameters
564618 = Annotation attributes cannot be generic
565619 = Annotation type declaration cannot have an explicit superclass
566620 = Annotation type declaration cannot have explicit superinterfaces
567621 = Duplicate element {0} specified in annotation @{1}
568622 = The annotation @{0} is disallowed for this location
569623 = The method {0}({1}) of type {2} must override a superclass method
570624 = Annotation type declaration cannot have a constructor
571625 = The value for annotation attribute {0}.{1} must be some @{2} annotation
572626 = The annotation type {0} should not be used as a superinterface for {1}
573627 = The method {0}({1}) of type {2} should be tagged with @Override since it actually overrides a superclass method
574628 = The deprecated field {0}.{1} should be annotated with @Deprecated
575629 = The deprecated method {0}({1}) of type {2} should be annotated with @Deprecated
576630 = The deprecated type {0} should be annotated with @Deprecated
577631 = Unsupported @SuppressWarnings("{0}")
578632 = The value for annotation attribute {0}.{1} must be an array initializer
579633 = The value for annotation attribute {0}.{1} must be an enum constant expression
580634 = The method {0}({1}) of type {2} must override or implement a supertype method
581635 = Unnecessary @SuppressWarnings("{0}")
582636 = The method {0}({1}) of type {2} should be tagged with @Override since it actually overrides a superinterface method
583
584### MORE GENERICS
585660 = Unused type arguments for the non generic constructor {0}({1}) of type {2}; it should not be parameterized with arguments <{3}>
586
Stephan Herrmann2c38ab42012-01-28 20:42:28 +0100587### NULL ANALYSIS FOR FIELDS
588670 = Null pointer access: The field {0} can only be null at this location
589671 = Potential null pointer access: The field {0} may be null at this location
590672 = Redundant null check: The field {0} can only be null at this location
591673 = Null comparison always yields false: The field {0} can only be null at this location
592674 = Redundant null check: The field {0} cannot be null at this location
593675 = Null comparison always yields false: The field {0} cannot be null at this location
594676 = Redundant assignment: The field {0} can only be null at this location
595677 = instanceof always yields false: The field {0} can only be null at this location
596
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000597### CORRUPTED BINARIES
598700 = The class file {0} contains a signature ''{1}'' ill-formed at position {2}
599
600### CORRUPTED SOURCES
601701 = Cannot read the source from {0}; either the file uses a different encoding than {1} or it is corrupted
602702 = Cannot read the source from {0} due to internal exception {1}
603
604### AUTOBOXING
605720 = The expression of type {0} is boxed into {1}
606721 = The expression of type {0} is unboxed into {1}
607
608### ENUMS
609750 = Illegal modifier for the enum {0}; only public is permitted
610751 = Illegal modifier for the enum constant {0}; no modifier is allowed
611###[obsolete] 752 = Illegal modifier for the local enum {0}; only abstract is permitted
612753 = Illegal modifier for the member enum {0}; only public, protected, private & static are permitted
613754 = The enum {1} already defines the method {0}({2}) implicitly
614755 = The qualified case label {0}.{1} must be replaced with the unqualified enum constant {1}
615756 = The type {1} may not subclass {0} explicitly
616757 = Cannot invoke super constructor from enum constructor {0}({1})
617758 = The enum {2} can only define the abstract method {0}({1}) if it also defines enum constants with corresponding implementations
618759 = The field {0}.{1} cannot be referenced from an enum case label; only enum constants can be used in enum switch
619760 = Illegal modifier for the enum constructor; only private is permitted.
620761 = The enum constant {1} needs a corresponding case label in this enum switch on {0}
621762 = Cannot refer to the static enum field {0}.{1} within an initializer
622763 = The enum constant {2} must implement the abstract method {0}({1})
623764 = The enum constant {0} cannot define abstract methods
624765 = The method {1} cannot be abstract in the enum constant {0}
625
626### VARARGS
627800 = Extended dimensions are illegal for a variable argument
628801 = The argument of type {0} should explicitly be cast to {1} for the invocation of the varargs method {2}({3}) from type {4}. It could alternatively be cast to {5} for a varargs invocation
629802 = The argument of type {0} should explicitly be cast to {1} for the invocation of the varargs constructor {2}({3}). It could alternatively be cast to {4} for a varargs invocation
630803 = 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 +0000631804 = @SafeVarargs annotation cannot be applied to fixed arity method {0}
632805 = @SafeVarargs annotation cannot be applied to non-final instance method {0}
633806 = Type safety: Potential heap pollution via varargs parameter {0}
Stephan Herrmann41a335b2011-12-08 22:55:07 +0100634807 = The method {0}({1}) of type {2} is not applicable as the formal varargs element type {3} is not accessible here
635808 = The constructor {0}({1}) of type {2} is not applicable as the formal varargs element type {3} is not accessible here
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000636
637### GENERIC JAVADOC
638850 = 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}>
639851 = The method {0}({1}) of type {2} is not generic; it cannot be parameterized with arguments <{3}>
640852 = Incorrect number of type arguments for generic method <{3}>{0}({1}) of type {2}; it cannot be parameterized with arguments <{4}>
641853 = The parameterized method <{3}>{0}({1}) of type {2} is not applicable for the arguments ({4})
642854 = The method {0}({1}) of raw type {2} is no longer generic; it cannot be parameterized with arguments <{3}>
643855 = 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}>
644856 = The constructor {0}({1}) of type {2} is not generic; it cannot be parameterized with arguments <{3}>
645857 = Incorrect number of type arguments for generic constructor <{3}>{0}({1}) of type {2}; it cannot be parameterized with arguments <{4}>
646858 = The parameterized constructor <{3}>{0}({1}) of type {2} is not applicable for the arguments ({4})
647859 = The constructor {0}({1}) of raw type {2} is no longer generic; it cannot be parameterized with arguments <{3}>
648
Stephan Herrmann44109d32011-08-02 14:34:26 +0000649### Java 7
650870 = The parameter {0} of a multi-catch block cannot be assigned
651871 = The resource type {0} does not implement java.lang.AutoCloseable
652872 = The resource {0} of a try-with-resources statement cannot be assigned
653873 = The exception {0} is already caught by the alternative {1}
654874 = Resource specification not allowed here for source level below 1.7
655875 = Multi-catch parameters are not allowed for source level below 1.7
656876 = Invocation of polymorphic methods not allowed for source level below 1.7
Stephan Herrmann3df378f2011-08-25 12:46:17 +0000657877 = 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 +0000658878 = Cannot infer type arguments for {0}
659879 = Explicit type arguments cannot be used with '<>' in an allocation expression
660880 = '<>' cannot be used with anonymous classes
Stephan Herrmann3df378f2011-08-25 12:46:17 +0000661881 = 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 +0000662882 = Unhandled exception type {0} thrown by automatic close() invocation on {1}
663883 = '<>' operator is not allowed for source level below 1.7
664884 = Redundant specification of type arguments <{0}>
Stephan Herrmann6dcbb382011-10-25 16:30:31 +0000665885 = Potential resource leak: ''{0}'' may not be closed
666886 = Potential resource leak: ''{0}'' may not be closed at this location
667887 = Resource leak: ''{0}'' is never closed
668888 = Resource leak: ''{0}'' is not closed at this location
669889 = Resource ''{0}'' should be managed by try-with-resource
670890 = 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 +0000671
Stephan Herrmannaa1e2842011-12-10 00:30:58 +0100672### NULL ANNOTATIONS
673910 = Type mismatch: required ''@{0} {1}'' but the provided value is null
674911 = Type mismatch: required ''@{0} {1}'' but the provided value can be null
675912 = Potential type mismatch: required ''@{0} {1}'' but nullness of the provided value is unknown
676913 = Buildpath problem: the type {0}, which is configured as a null annotation type, cannot be resolved
677914 = The return type is incompatible with the @{1} return from {0}
678915 = Illegal redefinition of parameter {0}, inherited method from {1} declares this parameter as @{2}
679916 = Illegal redefinition of parameter {0}, inherited method from {1} does not constrain this parameter
680917 = Missing non-null annotation: inherited method from {1} declares this parameter as @{2}
681918 = Missing nullable annotation: inherited method from {1} declares this parameter as @{2}
682919 = Potential null pointer access: The method {0} may return null
683920 = Redundant null check: The method {0} cannot return null
684921 = The method {0} from {1} cannot implement the corresponding method from {2} due to incompatible nullness constraints
685922 = The nullness annotation is redundant with a default that applies to this location
686923 = The nullness annotation @{0} is not applicable for the primitive type {1}
Stephan Herrmann2c38ab42012-01-28 20:42:28 +0100687925 = Nullness default is redundant with the global default
688926 = Nullness default is redundant with a default specified for the enclosing package {0}
689927 = Nullness default is redundant with a default specified for the enclosing type {0}
690928 = Nullness default is redundant with a default specified for the enclosing method {0}
691929 = Contradictory null specification; only one of @{0} and @{1} can be specified at any location
Stephan Herrmannaa1e2842011-12-10 00:30:58 +0100692
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000693### ELABORATIONS
694## Access restrictions
69578592 = The type {1} is not accessible due to restriction on classpath entry {0}
69678593 = The type {1} is not accessible due to restriction on required project {0}
69778594 = The type {1} is not accessible due to restriction on required library {0}
69878596 = The field {1} from the type {2} is not accessible due to restriction on classpath entry {0}
69978597 = The field {1} from the type {2} is not accessible due to restriction on required project {0}
70078598 = The field {1} from the type {2} is not accessible due to restriction on required library {0}
70178600 = The constructor {1} is not accessible due to restriction on classpath entry {0}
70278601 = The constructor {1} is not accessible due to restriction on required project {0}
70378602 = The constructor {1} is not accessible due to restriction on required library {0}
70478604 = The method {1} from the type {2} is not accessible due to restriction on classpath entry {0}
70578606 = The method {1} from the type {2} is not accessible due to restriction on required library {0}
70678605 = The method {1} from the type {2} is not accessible due to restriction on required project {0}
707
708### ObjectTeams:
7091000001 = The type org.objectteams.Team cannot have a superclass or superinterfaces
7101000002 = Illegal modifier for team class {0}.
711
712### TEAMS AND ROLES
7131102101 = Illegal modifier for role {0}. Roles cannot be static (OTJLD 1.2.1).
7141102102 = Illegal access modifier for role {0}. Only public and protected are allowed here (OTJLD 1.2.1(a)).
7151102103 = The method {1}({2}) from the role type {0} is not visible (OTJLD 1.2.1(e)).
Stephan Herrmann8f29b012010-04-02 21:18:05 +00007161102104 = The role constructor {0}({1}) is not visible (OTJLD 1.2.1(e)).
7171102105 = 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)).
7181102106 = Cannot access non-public field {0} via externalized role {1} (OTJLD 1.2.1(e)).
7191102107 = Cannot access non-public method {1} via externalized role {0} (OTJLD 1.2.1(e)).
7201102108 = Cannot access non-public constructor {0}({1}) to instantiate externalized role (OTJLD 1.2.1(e)).
7211102109 = Indirect tsuper method inherited from {0} is not visible (OTJLD 1.2.1(e)).
7221102110 = 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 +0000723
7241102200 = Cannot externalize non-public role {0} (OTJLD 1.2.2(a)).
725#unused: 1102201 =
7261102202 = Missing anchor (team instance) for role type {0} outside its team context (OTJLD 1.2.2(b)).
7271102203 = Not a valid type anchor: type {0} is not the enclosing team of role type {1} (OTJLD 1.2.2(b)).
7281102204 = ''{0}'' cannot be used as type anchor for an externalized role: is not a team (OTJLD 1.2.2(b)).
7291102205 = Cannot resolve type anchor {0} (OTJLD 1.2.2(b)).
7301102206 = Cannot resolve type {0}: no such role in team {1} (OTJLD 1.2.2(b)).
7311102207 = Path syntax for externalized role type is deprecated (OTJLD 1.2.2(b)).
7321102208 = 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)).
7331102209 = Invalid externalized use of role type {0}, anchor is not final (OTJLD 1.2.2(c)).
7341102210 = Anchor {0} for the role type {1} is not final (OTJLD 1.2.2(c)).
7351102211 = Not a valid type anchor for externalized role {0}, need a final variable (OTJLD 1.2.2(c)).
7361102212 = 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)).
7371102213 = Illegal qualified use of type {0}: path contains no suitable team anchor (OTJLD 1.2.2(f)).
7381102214 = Externalized role {0} is not allowed in this position (OTJLD 1.2.2(g)).
7391102215 = Cannot sub-class an externalized role type (OTJLD 1.2.2(g)).
7401102216 = Detected a cycle while resolve field {0}.{1} as a team anchor (OTJLD 1.2.2).
7411102217 = Illegal import for role type {0}: roles cannot be imported (OTJLD 1.2.2(i)).
7421102300 = Illegal qualified use of non-public role {0} (OTJLD 1.2.3(b)).
7431102301 = Illegal parameterized use of non-public role {0} (OTJLD 1.2.3(b)).
744
7451102501 = Role file must contain exactly one toplevel type (OTJLD 1.2.5(b)).
7461102502 = The name of role file {0} does not match the role type {1} which it defines (OTJLD 1.2.5(b)).
7471102503 = Package name {0} does not match the name of the enclosing package {1} for role file {2} (OTJLD 1.2.5(c)).
7481102504 = Package declaration {0} refers to the enclosing team of role file {1}.\nMust use a ''team package'' declaration (OTJLD 1.2.5(c)).
7491102505 = Enclosing team {0} not found for role file {1} (OTJLD 1.2.5(c)).
7501102506 = Javadoc: Missing tag for role file {0} (OTJLD 1.2.5(d)).
7511102507 = Javadoc: Type {0} is not a role file of this team (OTJLD 1.2.5(d)).
7521102508 = Javadoc: {0} cannot be resolved to a role of this team (OTJLD 1.2.5(d)).
7531102509 = Javadoc: {0} is an inline role, whereas the @role tag should only be used for role files (OTJLD 1.2.5(d)).
7541102510 = Javadoc: Illegal @role tag, type {0} is not a team (OTJLD 1.2.5(d)).
7551102511 = The enum type {0} illegally resides in a role file of team {1} (OTJLD 1.2.5(e)).
756
7571103001 = Illegal ''extends'' for a regular class: superclass {0} is a team (OTJLD 1.3).
7581103101 = Role class {0} cannot override an interface of the same name (OTJLD 1.3.1(c)).
7591103102 = Role interface {0} cannot override class of the same name (OTJLD 1.3.1(c)).
7601103103 = Cannot override the final role {0} (OTJLD 1.3.1(c)).
7611103104 = Role {0} must override a role from a super team (OTJLD 1.3.1(c)).
7621103105 = Role {0} should be tagged with @Override since it actually overrides a superteam role (OTJLD 1.3.1(c)).
7631103106 = Type mismatch: cannot convert from {0} to {1} because static types of enclosing teams differs (OTJLD 1.3.1(d)).
7641103107 = Cannot use ''tsuper'' in method {0}, enclosing type {1} is not a role (OTJLD 1.3.1(f)).
7651103108 = Illegal tsuper call: role {0} has no implicit super class (OTJLD 1.3.1(f)).
7661103109 = Invalid qualified ''tsuper'': type {1} contains no role corresponding to {0} (OTJLD 1.3.1(f)).
7671103110 = Illegal tsuper call: can only invoke the method being overridden by the current method (OTJLD 1.3.1(f)).
7681103111 = Cannot reduce the visibility of role {0} to {1}, implicit super-role is ''{2}'' (OTJLD 1.3.1(h)).
7691103112 = Cannot reduce the visibility of the inherited method from implicit super class {0} (OTJLD 1.3.1(h)).
7701103113 = The return type of implicitly inherited method {0} is not compatible to the return type of explicitly inherited method {1} (1.3.1(k)).
7711103201 = 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 +00007721103202 = 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 +00007731103203 = Illegal tsuper call. Must use a constructor of newly introduced super-class {0} (OTJLD 1.3.2(c)).
7741103204 = Method {0} inherited from regular super class {1} is not visible outside the role {2} (OTJLD 1.3.2(e)).
775
7761104001 = Role type {0} shadows the visible type {1} (OTJLD 1.4(a)).
7771104002 = Field declaration {0} conflicts with an implicitly inherited field (OTJLD 1.4(b)).
778
7791105001 = Regular role cannot override team {0} (OTJLD 1.5(a)).
7801105002 = Member types not allowed in regular roles. Mark class {0} as a team if {1} should be its role (OTJLD 1.5(a,b)).
7811105003 = Team {0} cannot extend its enclosing team {1} (OTJLD 1.5(c)).
7821105004 = Name clash for implicit super types of role {0}: {1} and {2} are incomparable (OTJLD 1.5(d)).
783
784
785### ROLE-BASE-BINDING
7861201001 = Overlapping role hierarchies: role is subtype of these bound roles: {0} (OTJLD 2.1(c)).
7871201002 = Illegal redefinition: {0} is not a sub-type of baseclass {1} as inherited from {2} (OTJLD 2.1(c)).
7881201003 = Role inherits incompatible ''playedBy'' declaration(s): {0} is not comparable to {1} (OTJLD 2.1(c)).
7891201004 = 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 +00007901201101 = 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 +00007911201201 = Member type {0} cannot be used as the base class of {1} (OTJLD 2.1.2(b)).
7921201202 = 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 +00007931201203 = Base class {0} is an enclosing type of {1}; please read the hints in the OT/J Language Definition (OTJLD 2.1.2(b)).
7941201204 = 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 +00007951201205 = Overriding access restriction of base class {0} (OTJLD 2.1.2(c)).
7961201206 = PlayedBy binding overrides finalness of base class {0} (OTJLD 2.1.2(c)).
7971201207 = Trying to override access restriction of confined base class {0} (OTJLD 2.1.2(c)).
7981201208 = "base" import is not allowed in regular class {0} (OTJLD 2.1.2(d)).
7991201209 = "base" import is not allowed in a role file (OTJLD 2.1.2(d)).
8001201210 = It is recommended that base class {0} be imported with the modifier "base" (OTJLD 2.1.2(d)).
8011201211 = Qualified reference to base class {0} is deprecated, should use a base import instead (OTJLD 2.1.2(d)).
8021201212 = Bound base class {0} cannot have free type parameters (OTJLD 2.1.2(e)).
8031201213 = Role {0} cannot have free type parameters when binding to a base class (OTJLD 2.1.2(e)).
804
8051201299 = Base class {0} is deprecated.
806
8071201308 = Illegal base import: this package is not provided by the declared base plug-in(s) {0} (OT/Equinox).
8081201309 = Illegal base import: this package is not provided by the declared base plug-in {0} but by plug-in {1} (OT/Equinox).
8091201310 = Illegal base import: no aspect binding declared for team {0} (OT/Equinox).
8101201311 = 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).
8111201312 = This messages should never be seen ({0}).
8121201313 = 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 +00008131201314 = 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 +00008141201315 = 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).
815
8161202001 = Types {0} and {1} are compatible only by lowering, which is not allowed here (OTJLD 2.2(b)).
8171202002 = 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?
8181202003 = 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?
8191202004 = Assigning a {0} to {1} is ambiguous: will not apply lowering to {2} because direct upcasting is sufficient (OTJLD 2.2(f)).
820
8211203101 = The constructor {0} is undefined. Note that bound roles per default only have a lifting constructor (OTJLD 2.3.1(b)).
8221203102 = Need custom lifting constructor, because super class has no argumentless constructor {0} (OTJLD 2.3.1(c)).
8231203103 = Lifting constructor cannot have explicit super-call (OTJLD 2.3.1(c)).
Stephan Herrmann81f9ee42011-03-10 17:49:33 +00008241203104 = Annotation '@{0}' can only be applied to role classes (OTJLD 2.3.1(d)).
8251203105 = Fields are discouraged in roles with InstantiationPolicy '{0}' (OTJLD 2.3.1(d)).
8261203106 = Roles with InstantiationPolicy '{0}' should define equals() and hashCode() methods (OTJLD 2.3.1(d)).
827
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000828
8291203201 = Illegal type for argument {0}: declared lifting not allowed in static methods (OTJLD 2.3.2(a)).
8301203202 = Qualified type name not allowed here. Type after keyword "as" must be a role of the enclosing team {0} (OTJLD 2.3.2(a)).
8311203203 = Declared lifting is only allowed in signatures of team methods (OTJLD 2.3.2(a)).
8321203204 = The primitive type {0} is not allowed in declared lifting type (OTJLD 2.3.2(a)).
8331203205 = Illegal type {0}, need a role type for declared lifting (OTJLD 2.3.2(a)).
8341203206 = Cannot lift to role {0} because it is not played by a base class (OTJLD 2.3.2(a)).
8351203207 = Class {0} is incompatible to the base class {2} of role {1}. Lifting not possible (OTJLD 2.3.2(a)).
8361203208 = Syntax error in declared lifting. Array dimensions do not match (OTJLD 2.3.2(c)).
8371203209 = Illegal type bound: {0} is not a role type (OTJLD 2.3.2(e)).
8381203210 = 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)).
839
8401203401 = 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 +00008411203402 = 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 +00008421203403 = Unhandled exception type LiftingFailedException, caused by an unsafe lifting request (OTJLD 2.3.5).
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000843
8441204101 = Cannot invoke the lifting constructor {0} to create an externalized role (OTJLD 2.4.1(a)).
8451204102 = 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)).
8461204201 = Illegal base constructor call: method {0} is not a constructor of a bound role (OTJLD 2.4.2).
8471204202 = Illegal call to base constructor: this constructor is a lifting constructor (OTJLD 2.4.2).
8481204203 = 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 +00008491204204 = Constructor call (tsuper) must be the first statement in a role constructor (OTJLD 2.4.2).
Stephan Herrmann7464c322010-07-09 16:05:38 +00008501204205 = Cannot invoke a base constructor because enclosing role {0} is involved in baseclass circularity (OTJLD 2.4.2).
8511204206 = Call to base constructor is not first statement (after super-call) (OTJLD 2.4.2(b)).
8521204207 = Missing call to a base constructor, class {0} is a bound role (OTJLD 2.4.2(b)).
8531204208 = Illegal call to base constructor: constructor called by ''{0}'' already calls a base constructor (OTJLD 2.4.2(b)).
8541204209 = Access restriction of constructor {0} is overridden by this base constructor call (OTJLD 2.4.2(b)).
Stephan Herrmann57e57ec2010-08-27 21:36:52 +00008551204210 = Base constructor call not allowed in this position, must be first statement or argument to another constructor call (OTJLD 2.4.2(c)).
8561204211 = 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 Herrmann7b7062f2010-04-01 19:56:59 +00008571204301 = Dangerous instantitation. To avoid a WrongRoleException at runtime role {0} should be used instead (OTJLD 2.4.3).
858
8591205001 = Team {0} may need to be declared abstract, because irrelevance for abstract role {1} could not be shown (OTJLD 2.5(b)).
8601205002 = Team {0} must be declared abstract, because abstract role {1} is relevant (OTJLD 2.5(b)).
861
8621206001 = Cannot use ''base'' as a prefix since ''{0}'' is not a team (OTJLD 2.6(a)).
8631206002 = Illegal qualified use of ''base'', type ''{0}'' is not a bound role (OTJLD 2.6(a)).
8641206003 = Cannot use ''base'' in the regular method ''{0}'' (OTJLD 2.6(c)).
8651206004 = Cannot use explicit base call in method bindings (OTJLD 2.6).
8661206005 = Illegal use of keyword ''base'' (OTJLD 2.6).
8671206006 = Access restriction of field {0} in type {1} is overridden by this reference (OTJLD 2.6(g)).
8681206007 = Access restriction of method {0} in type {1} is overridden by this call (OTJLD 2.6(g)).
869
870### CALLOUT
8711301001 = Method binding not allowed here, {0} is not a role (OTJLD 3.1(a)).
8721301002 = 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 +00008731301003 = Role {0} cannot declare callout bindings because it is playedBy enclosing type {1} (OTJLD 3.1(a)); please directly access the target method.
8741301004 = No method {0} found in type {1} to resolve method designator (OTJLD 3.1(c)).
8751301005 = Method specifier ''{0}'' is ambiguous for the type {1}. Please use the exact method signature to disambiguate (OTJLD 3.1(c)).
8761301006 = Method designator binds to a method returning {0} whereas return type {1} is specified (OTJLD 3.1(c)).
8771301007 = Method specifier finds no direct match, argument of closest match is {0} instead of {1} (OTJLD 3.1(c)).
8781301008 = A non-abstract role method exists for this callout-binding. Use callout-override (''=>'') if you want to override it (OTJLD 3.1(e)).
8791301009 = Trying to bind an abstract method as callout override (OTJLD 3.1(e)).
8801301010 = Callout binding tries to override method {0} from the same role class (OTJLD 3.1(e)).
8811301011 = Callout binding conflicts with inherited callout binding from class {0}. Use ''=>'' if you want to override it (OTJLD 3.1(f)).
8821301012 = The method is bound as callout more than once: {0} (OTJLD 3.1(g)).
8831301013 = 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 +00008841301014 = Inherited abstract method {0} is implicitly bound as an inferred callout (OTJLD 3.1(j)).
8851301015 = Unresolved self call {0} is implicitly bound by an inferred callout (OTJLD 3.1(j)).
Stephan Herrmannd70a7b72010-04-28 21:01:30 +00008861301016 = Attempting to infer callout to base field {0} in a compound assignment (OTJLD 3.1(j)).
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000887
8881302001 = Unused mapping for parameter {0} is ignored (OTJLD 3.2).
8891302002 = Syntax error: parameter mapping allowed only if methods are specified with their signatures (OTJLD 3.2(a)).
8901302003 = Parameter {0} is mapped more than once (OTJLD 3.2(b)).
8911302004 = Incomplete parameter mapping: argument {0} of base method {1} is not mapped (OTJLD 3.2(b)).
8921302005 = Wrong mapping direction for parameter {0}, should use {1} unless mapping 'result' (OTJLD 3.2(b)).
8931302006 = Wrong mapping direction for \"result\", should use {0} (OTJLD 3.2(c)).
8941302007 = Illegal mapping for 'result'. {0} returns void (OTJLD 3.2(c)).
8951302008 = Illegal use of 'result' in parameter mapping: wrong binding direction (OTJLD 3.2(c)).
8961302009 = Cannot use 'result' here: method {0} returns void (OTJLD 3.2(c)).
8971302010 = ''result'' can only be mapped to ''result'' (OTJLD 3.2(c)).
8981302011 = Method {0} does not provide enough arguments for binding to method {1} (OTJLD 3.2(e)).
8991302012 = Cannot implicitly map signatures for callout binding:\nBase method {1} returns void whereas role method {0} expects {2} (OTJLD 3.2(e)).
9001302013 = Parameter mapping not allowed here: enclosing type {0} is an interface (OTJLD 3.2(a)).
901
9021303001 = Type mismatch in callout binding: cannot convert from {0} to {1} (OTJLD 3.3(d)).
9031303002 = When mapping the {0}. argument of {1}: cannot convert from {2} to {3} (OTJLD 3.3(d)).
9041303003 = The bound method {0} does not provide required result of type {1} (OTJLD 3.3(d)).
9051303004 = 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)).
906
9071304001 = This class overrides access restrictions of its base class. Compile with -decapsulation for details (OTJLD 3.4(a)).
9081304002 = Access restriction of method {0} in type {1} is overridden by this method binding (OTJLD 3.4(a)).
9091304003 = The method {0} from type {1} is not visible for this binding (enable decapsulation? OTJLD 3.4).
9101304004 = The private base feature {0} from type {1} is not available via the base type {2} (OTJLD 3.4(d)).
911
9121305001 = Callout binding cannot resolve field {0} in type {1} (OTJLD 3.5).
9131305002 = Field specifier ''{0}'' resolves to type {1} whereas type {2} is specified (OTJLD 3.5(a)).
9141305003 = Accessing field {1} through method "{0}" has no effect (OTJLD 3.5(b)).
9151305004 = Binding method ''{0}'' via callout as field setter cannot return a value (OTJLD 3.5(b)).
9161305005 = Cannot bind role method {0} to field {1}:\nMissing parameter of type {2} (OTJLD 3.5(b)).
9171305006 = When binding field {1} via callout to role method {0}:\nIncompatible types: can't convert {3} to {2} (OTJLD 3.5(b)).
9181305007 = 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 +00009191305008 = Access restriction of {2}field {0} in type {1} is overridden by this binding (OTJLD 3.5(e)).
9201305009 = Write access to the {2}field {0} in type {1} overrides access restriction (OTJLD 3.5(e)).
9211305010 = A non-abstract role method exists for this callout-binding. Use callout-override (''=>'') if you want to override it (OTJLD 3.5(g)).
9221305011 = Callout binding conflicts with inherited callout binding from class {0}. Use ''=>'' if you want to override it (OTJLD 3.5(g)).
9231305012 = Assignment to unresolved variable {0} implicitly uses callout to base field '{1}' (OTJLD 3.5(h)).
9241305013 = Reference {1} implicitly uses callout getter to base field '{1}' (OTJLD 3.5(h)).
9251305014 = Method call {0} tries to re-use an inferred callout to field (OTJLD 3.5(h)).
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000926
927### CALLIN
9281401001 = Method binding not allowed here, {0} is not a role (OTJLD 4.1(b)).
9291401002 = 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 +00009301401003 = Unsafe callin binding, because lifting to role {0} may fail due to a reported binding ambiguity (OTJLD 2.3.5(c)).
9311401004 = 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 +00009321401005 = No method {0} found in type {1} to resolve method designator (OTJLD 4.1(c)).
9331401006 = Method specifier "{0}" is ambiguous for the type {1}. Please use the exact method signature to disambiguate (OTJLD 4.1(c)).
9341401007 = Method designator binds to a method returning {0} whereas return type {1} is specified (OTJLD 4.1(c)).
9351401008 = Method specifier finds no direct match, argument of closest match is {0} instead of {1} (OTJLD 4.1(c)).
9361401009 = Duplicate callin name "{0}" (OTJLD 4.1(e)).
9371401010 = Trying to bind final method {0} from class {1} via class {2}; must bind directly to {1} (OTJLD 4.1(f).
9381401011 = Base method does not declare {0} which is thrown by the bound role method (OTJLD 4.1(g)).
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000939
9401401099 = Bound base method {0} is deprecated.
941
9421402001 = Modifier ''callin'' not allowed here. Enclosing class {0} is not a role (OTJLD 4.2(d)).
9431402002 = Illegal modifier(s) ''{0}'' for method {1}, callin method must not declare visibility (OTJLD 4.2(d)).
9441402003 = Method {0} cannot be called explicitly; is a callin method (OTJLD 4.2(d)).
9451402004 = Cannot bind method {0} as callout; is a callin method (OTJLD 4.2(d)).
9461402005 = Cannot bind method {0} using "replace": need a callin method (OTJLD 4.2(d)).
9471402006 = Cannot bind callin method {0} using "{1}" (OTJLD 4.2(d)).
9481402007 = Modifier "callin" not allowed here; trying to override a method from {0} which is not a callin method (OTJLD 4.2(d)).
9491402008 = Missing modifier "callin"; trying to override a method from {0} which is a callin method (OTJLD 4.2(d)).
9501402009 = Class inherits incompatible methods {0} from {1} and {2}: conflict between callin and regular method (OTJLD 4.2(d)).
951
9521403001 = Illegal method in base call, can only call base version of the enclosing method {0} (OTJLD 4.3(a)).
9531403002 = Base call "{0}" does not match the signature of the enclosing callin method (OTJLD 4.3(a)).
9541403003 = Potentially missing base call in callin method (OTJLD 4.3(b)).
9551403004 = This callin method has no base call (OTJLD 4.3(b)).
9561403005 = Potentially duplicate base call (OTJLD 4.3(c)).
9571403006 = This callin method calls its base method more than once (OTJLD 4.3(c)).
9581403007 = 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)).
9591403008 = 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)).
9601403009 = 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)).
9611403010 = 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)).
9621403011 = 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)).
963
9641404000 = Syntax error: parameter mapping allowed only if methods are specified with their signatures (OTJLD 4.4(a)).
9651404001 = Illegal use of 'result' in parameter mapping: wrong binding direction (OTJLD 4.4(a)).
9661404002 = Method {1} does not provide enough arguments for binding to method {0} (OTJLD 4.4(a)).
9671404003 = Parameter {0} is mapped more than once (OTJLD 4.4(a)).
9681404004 = Cannot use 'result' here: method {0} returns void (OTJLD 4.4(a)).
9691404005 = Incomplete parameter mapping: argument {0} of role method {1} is not mapped (OTJLD 4.4(a)).
Stephan Herrmann1e3ee002010-04-27 14:10:37 +00009701404006 = 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)).
9711404007 = Illegal expression in callin replace binding: here 'result' must be mapped to 'result' (OTJLD 4.4(b)).
9721404008 = Role method "{1} {0}" bound via replace callin to method "{4} {3}" must not return a non-void result (OTJLD 4.4(b)).
9731404009 = 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)).
9741404010 = 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)).
9751404011 = ''result'' can only be mapped to ''result'' (OTJLD 4.4(b)).
9761404012 = Illegal expression in callin replace binding: cannot use base method argument in compound expression (OTJLD 4.4(b)).
9771404013 = Illegal direction ''->'' in parameter mapping for non-replace callin (OTJLD 4.4(c)).
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000978
9791405001 = Type mismatch in callin binding: cannot convert from {0} to {1} (OTJLD 4.5(d)).
9801405002 = When mapping the {0}. argument of {1}: cannot convert from {2} to {3} (OTJLD 4.5(d)).
981# unused:
9821405003 = The bound method {0} does not provide required result of type {1} (OTJLD 4.5(d)).
9831405004 = When mapping the {2}. argument: types {0} and {1} are not two-way compatible as required for replace bindings (OTJLD 4.5(d)).
984
9851406001 = Access restriction of method {0} in type {1} will be overridden if the bound callin method issues a base call (OTJLD 4.6).
9861406002 = The private base feature {0} from type {1} is not available via the base type {2} (OTJLD 4.6(a)).
987
988
9891407001 = Cannot bind static base method {1} to non-static role method {0} (OTJLD 4.7(b)).
9901407002 = Cannot bind non-static base method {1} to static callin method {0} via replace (OTJLD 4.7(d)).
991
9921408001 = ''{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 +00009931408002 = 'precedence' declaration can only refer to direct role classes, however {1} is a nested role of team {0} (OTJLD 4.8).
9941408003 = 'precedence' declaration not allowed here, enclosing type {0} is neither a team nor a role (OTJLD 4.8(a)).
9951408004 = 'precedence' declaration for 'after' binding must be specified as 'precedence after' (OTJLD 4.8(a)).
9961408005 = 'precedence after' declaration cannot refer to '{0}' bindings (OTJLD 4.8(a)).
9971408006 = Callin binding {0} not found in type {1} (OTJLD 4.8(b)).
9981408007 = Type {0} is not a legal prefix for callin {1}; Need a role or team type (OTJLD 4.8(b)).
9991408008 = Contradictory precedence lists for type {0} cannot be combined (conflicts with ''{1}'') (OTJLD 4.8(d)).
10001408009 = Contradictory precedence lists for type {0} cannot be combined (''{1}'' vs. ''{2}'') (OTJLD 4.8(d)).
10011408010 = Cannot define precedence for '{0}' and '{1}', because the former overrides the latter (OTJLD 4.8(e)).
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001002
10031409001 = 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)).
1004
10051410001 = Type variable {0} cannot capture a covariant return type because it is used more than once in this signature (OTJLD 4.10(a)).
1006
1007### ACTIVATION/PREDICATES
10081502001 = Within statement {0} must have a team instance as argument (OTJLD 5.2(a)).
10091504001 = Guard predicate throws checked exception {0} (OTJLD 5.4(c)).
10101504101 = ''{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)).
10111504201 = Illegal base guard: {0} is not a bound role (OTJLD 5.4.2(f)).
1012
1013### API
10141601001 = Cannot use class literal for role {0} in a static context (OTJLD 6.1(c)).
10151601002 = Cannot use unqualified class literal for role {0} outside its enclosing team (OTJLD 6.1(c)).
10161602001 = The method {0} conflicts with a predefined method of same name and number of arguments (OTJLD 6.2).
1017
1018### ENCAPSULATION
10191702001 = Role class tries to override the builtin type org.objectteams.Team.{0} (OTJLD 7.2(a)).
10201702002 = An array of confined roles is not compatible with java.lang.Object (OTJLD 7.2(b)).
1021
1022### DEPENDENT TYPES
10231900210 = Parameter is not a value (OTJLD 9.2.1).
10241900211 = Parameter cannot be resolved to an object reference (OTJLD 9.2.1).
10251900212 = Parameter '{0}' cannot be resolved (OTJLD 9.2.1).
10261900213 = Parameter does not match declaration of value parameter '{0} {1}' (OTJLD 9.2.1).
10271900214 = 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 +000010281900215 = Cannot rebind the anchor {1} of type variable {0} (OTJLD 9.2.1(a)).
1029
10301900220 = 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 +00001031
1032### SYNTAX
10332000101 = Object Teams keyword not enabled in this scope (OTJLD A.0.1).
10342000201 = Illegal superclass: Name of method ''{0}'' inherited from {1} is a keyword in OT/J (OTJLD A.0.2).
10352000301 = Illegal identifier {0} (OTJLD A.0.3).
1036
10372001101 = Illegal ''playedBy'' declaration: class {0} is not a role (OTJLD A.1.1(a)).
1038
10392003101 = Method binding must be directly contained in a class (OTJLD A.3.1).
10402003201 = Modifiers not allowed in short callout bindings (OTJLD A.3.2).
10412003202 = Illegal modifier for callout binding (only public, protected or private allowed here) (OTJLD A.3.2).
10422003203 = Illegal method designator: illegal constructor reference or missing return type (OTJLD A.3.2).
10432003204 = Syntax error: missing return type for method designator (OTJLD A.3.2).
10442003301 = Modifiers not allowed in callin bindings (OTJLD A.3.3).
10452003302 = Syntax error: callin label must be a simple name (OTJLD A.3.3).
10462003303 = Callin modifier (before, after or replace) missing for callin-binding {0} (OTJLD A.3.3).
10472003304 = Syntax error: right hand side of method binding does not specify type arguments (OTJLD A.3.3).
10482003501 = Method designator must not specify a modifier (OTJLD A.3.5).
1049
10502006001 = Syntax Error: Declared lifting type not support in this position (OTJLD A.6(a)).
1051
10522007001 = Syntax Error: missing boolean expression for guard predicate (OTJLD A.7.1).
1053
10542009001 = Illegal position for value parameter {0}: must be a parameter of a single name type reference(OTJLD A.9(a)).
1055
10562010001 = Syntax error, SingleTypeReference expected (OTJLD 1.2.4(c)).
1057
1058
1059### LIMITATIONS
10602100001 = Limitation: generics not supported in this position.
10612100002 = Internal method for lifting type {0} to role {1} has not been generated.
10622100003 = 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.
10632100006 = Requesting role file {0} for team {1} which is already compiled (compiler limitation).
10642100007 = Role {0} is missing for binary team {1} (compiler limitation).
10652100008 = Role {0} has not been copied (implicit inheritance) to team {1} (probably caused by some other error).
10662100009 = Cannot generate method {0}, tsuper method has corrupt byte code. This may or may not be caused by an internal compiler error.
10672100010 = Implicit super role has incompatible byte code, offending name: ''{0}''. It was probably compiled for an incompatible JRE.
10682100011 = Limitation: compiler support for dependent types is incomplete: {0}.
10692100012 = Using an experimental feature: {0}.
10702100013 = 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.
10712100014 = Role {1} seems to require recompilation due to changes in super role {0}. Please consider a full rebuild of the enclosing project.
10722100015 = A synthetic access method for field {1} is missing in type {0}. Please consider a full rebuild of the enclosing project.
10732100016 = Compiler limitation: wrong compilation order for role {0} as a member of team {1} which is already compiled.
10742100017 = Incremental compilation problem: role {0} consists of a source and a binary part.
10752100018 = Internal representations of role {0} and {1} are inconsistent.
10762100019 = Compiler limitation: unsupported compilation order: ''{0}''.
10772100020 = Incomplete incremental build: did not generate callin binding for role {0}.\nBefore launching the application please perform a full build.
10782100021 = Cannot resolve base class for type {0}: unexpected build order (please consider a full build for this project).
10792100022 = Compiler limitation: the role field {0} can only be static if it is also declared final.
10802100023 = Illegally copied default constructor, role {0} is a bound role.
10812100024 = Modifier "readonly" is not yet supported.
10822100025 = Missing compiler implementation: {0} is not yet supported.
Stephan Herrmann0e390872010-04-02 02:27:06 +000010832100026 = 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 +000010842100027 = Dangerous callin binding: {0} is used internally during lifting, which could create infinite recursion.
10852100028 = Compiler limitation: can't copy annotation ''{0}'' for implicitly inherited field ''{1}'': unexpected structure.
10862100029 = 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 +000010872100030 = Implementation limitation: Callin binding to an interface ({0}) is not supported.
Stephan Herrmann9391b222011-02-06 20:05:22 +000010882100031 = Corrupt byte code: attempt to invoke abstract method {0}.
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001089
1090## EXPERIMENTAL
10912200001 = Type {0} does not support team migration, only applicable for roles (OT/J experimental feature).
10922200002 = Team migration not possible because enclosing team class {0} is not final (OT/J experimental feature).
10932200003 = Argument is not a valid new team anchor (OT/J experimental feature).
10942200004 = The special method {1}.migrateToTeam({2}) is not applicable for the arguments ({0}).
10952200005 = Team migration not possible in the current implementation because {0} is a bound role class (OT/J experimental feature).
1096
10972200010 = Type {0} does not support base migration; this is only applicable for roles (OT/J experimental feature).
10982200011 = Role {0} cannot support base migration because it is not bound to a base class (OT/J experimental feature).
10992200012 = The special method {1}.migrateToBase({2}) is not applicable for the arguments ({0}).
1100