blob: 21e370c65ab9d52c484d04117883dc34cb96e58e [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 Herrmann6cecadb2012-02-26 01:08:39 +010018# bug 365531 - [compiler][null] investigate alternative strategy for internally encoding nullness defaults
Stephan Herrmann7b7062f2010-04-01 19:56:59 +000019###############################################################################
200 = {0}
211 = super cannot be used in java.lang.Object
222 = {0} cannot be resolved to a type
233 = The type {0} is not visible
244 = The type {0} is ambiguous
255 = The type {0} is deprecated
266 = The nested type {0} cannot be referenced using its binary name
277 = The type {0} is never used locally
28
2915 = Incompatible operand types {0} and {1}
3016 = Incompatible conditional operand types {0} and {1}
3117 = Type mismatch: cannot convert from {0} to {1}
3218 = The static member type {0}.{1} should be accessed directly
33
3420 = 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}).
3521 = 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}).
3622 = No enclosing instance of the type {0} is accessible in scope
3723 = Illegal enclosing instance specification for type {0}
3824 = Cannot define static initializer in inner type {0}
3925 = Cannot refer to a non-final variable {0} inside an inner class defined in a different method
4026 = The member interface {0} can only be defined inside a top-level class or interface
4127 = Cannot use an expression of the type {0} as a valid enclosing instance
4228 = No enclosing instance of type {0} is available due to some intermediate constructor invocation
4329 = An anonymous class cannot subclass the final class {0}
Stephan Herrmann29b019c2011-04-26 10:30:44 +00004430 = The member annotation {0} can only be defined inside a top-level class or interface
4531 = The member enum {0} can only be defined inside a top-level class or interface
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00004632 = The member enum {0} must be defined inside a static member type
4733 = The type {0} is hiding the type {1}
48
4950 = {0} cannot be resolved
5051 = The local variable {0} may not have been initialized
5152 = void is an invalid type for the variable {0}
52###[obsolete] 53 = An array of void is an invalid type for the variable {0}
5354 = void[] is an invalid type
5455 = Duplicate local variable {0}
5556 = Duplicate parameter {0}
5657 = The final local variable {0} may already have been assigned
5758 = The final local variable {0} cannot be assigned. It must be blank and not using a compound assignment
5859 = The parameter {0} should not be assigned
5960 = The final local variable {0} cannot be assigned, since it is defined in an enclosing type
Stephan Herrmanne880bb62010-11-06 15:10:25 +00006061 = The value of the local variable {0} is not used
6162 = The value of the parameter {0} is not used
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00006263 = The code of method {0}({1}) is exceeding the 65535 bytes limit
6364 = The code for the static initializer is exceeding the 65535 bytes limit
6465 = Too many parameters, parameter {0} is exceeding the limit of 255 words eligible for method parameters
6566 = Too many local variables, local variable {0} is exceeding the limit of 65535 words eligible for method local variables
6667 = Too many synthetic parameters, emulated parameter {0} is exceeding the limit of 255 words eligible for method parameters
6768 = Too many array dimensions. Maximum is 255
6869 = The code of constructor {0}({1}) is exceeding the 65535 bytes limit
6970 = {0} cannot be resolved or is not a field
7071 = The field {1}.{0} is not visible
7172 = The field {0} is ambiguous
7273 = The field {0}.{1} is deprecated
7374 = Cannot make a static reference to the non-static field {0}
7475 = Cannot reference a field before it is defined
7576 = The static field {0}.{1} should be accessed in a static way
Stephan Herrmanne880bb62010-11-06 15:10:25 +00007677 = The value of the field {0}.{1} is not used
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00007778 = The static field {0}.{1} should be accessed directly
7879 = Unqualified access to the field {0}.{1}
7980 = The final field {0}.{1} cannot be assigned
8081 = The blank final field {0} may not have been initialized
8182 = The final field {0} may already have been assigned
8283 = {0} cannot be resolved to a variable
83
8490 = The local variable {0} is hiding another local variable defined in an enclosing type scope
8591 = The local variable {0} is hiding a field from type {1}
8692 = The field {0}.{1} is hiding another local variable defined in an enclosing type scope
8793 = The field {0}.{1} is hiding a field from type {2}
8894 = The parameter {0} is hiding another local variable defined in an enclosing type scope
8995 = The parameter {0} is hiding a field from type {1}
9096 = The serializable class {0} does not declare a static final serialVersionUID field of type long
91
92100 = The method {1}({2}) is undefined for the type {0}
93101 = The method {1}({2}) from the type {0} is not visible
94102 = The method {1}({2}) is ambiguous for the type {0}
95103 = The method {1}({2}) from the type {0} is deprecated
96104 = Cannot directly invoke the abstract method {1}({2}) for the type {0}
97105 = Void methods cannot return a value
98106 = Cannot return a void result
99107 = This method requires a body instead of a semicolon
100108 = This method must return a result of type {0}
101
102110 = This method has a constructor name
103111 = Return type for the method is missing
104112 = Native methods do not specify a body
105113 = Abstract methods do not specify a body
106114 = Cannot invoke {1}({2}) on the primitive type {0}
107115 = The method {1}({2}) in the type {0} is not applicable for the arguments ({3})
108116 = Cannot invoke {1}({2}) on the array type {0}
109117 = The static method {1}({2}) from the type {0} should be accessed in a static way
110118 = The method {1}({2}) from the type {0} is never used locally
111119 = The static method {1}({2}) from the type {0} should be accessed directly
112120 = The method {1}({2}) from the type {0} refers to the missing type {3}
Stephan Herrmannbb25a052011-01-27 11:59:20 +0000113121 = The method {1}({2}) from the type {0} can be declared as static
114122 = The method {1}({2}) from the type {0} can potentially be declared as static
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000115
116129 = The constructor {0}({1}) refers to the missing type {2}
117130 = The constructor {0}({1}) is undefined
118131 = The constructor {0}({1}) is not visible
119132 = The constructor {0}({1}) is ambiguous
120133 = The constructor {0}({1}) is deprecated
121134 = The constructor {0}({1}) is never used locally
122135 = Cannot refer to an instance field {0} while explicitly invoking a constructor
123136 = Cannot refer to an instance method while explicitly invoking a constructor
124137 = Recursive constructor invocation {0}({1})
125138 = Cannot refer to 'this' nor 'super' while explicitly invoking a constructor
126139 = Constructor call must be the first statement in a constructor
127140 = Implicit super constructor {0}({1}) is undefined for default constructor. Must define an explicit constructor
128141 = Implicit super constructor {0}({1}) is not visible for default constructor. Must define an explicit constructor
129142 = Implicit super constructor {0}({1}) is ambiguous for default constructor. Must define an explicit constructor
130143 = Implicit super constructor {0}({1}) is undefined. Must explicitly invoke another constructor
131144 = Implicit super constructor {0}({1}) is not visible. Must explicitly invoke another constructor
132145 = Implicit super constructor {0}({1}) is ambiguous. Must explicitly invoke another constructor
133146 = Default constructor cannot handle exception type {0} thrown by implicit super constructor. Must define an explicit constructor
134147 = Unhandled exception type {0} thrown by implicit super constructor
135
136
137148 = The allocated object is never used
138149 = Dead code
139150 = The type of the expression must be an array type but it resolved to {0}
140151 = Must explicitly convert the char[] to a String
141152 = String constant is exceeding the limit of 65535 bytes of UTF8 encoding
142153 = case expressions must be constant expressions
143154 = The literal {1} of type {0} is out of range
144156 = Cannot cast from {0} to {1}
145157 = Cannot instantiate the type {0}
146158 = Cannot define dimension expressions when an array initializer is provided
147159 = Variable must provide either dimension expressions or an array initializer
148160 = The operator {0} is undefined for the argument type(s) {1}
149161 = Unreachable code
150162 = Cannot return from within an initializer
151163 = Initializer does not complete normally
152164 = Expression must return a value
Stephan Herrmann6dcbb382011-10-25 16:30:31 +0000153165 = 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 +0000154166 = The default case is already defined
155167 = Unreachable catch block for {0}. This exception is never thrown from the try statement body
156168 = Unhandled exception type {0}
Stephan Herrmann3df378f2011-08-25 12:46:17 +0000157169 = Cannot switch on a value of type {0}. Only convertible int values or enum variables are permitted
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000158170 = Duplicate case
159171 = Duplicate label {0}
160172 = break cannot be used outside of a loop or a switch
161173 = continue cannot be used outside of a loop
162174 = The label {0} is missing
163175 = {0} is not a valid type''s argument for the synchronized statement
164176 = null is not a valid argument for the synchronized statement
165177 = Cannot throw null as an exception
166178 = The assignment to variable {0} has no effect
167179 = Possible accidental assignment in place of a comparison. A condition expression should not be reduced to an assignment
168180 = Unnecessary semicolon
169181 = Unnecessary cast from {0} to {1}
170182 = Unnecessary cast from {0} to {1}. It is already compatible with the argument type {2}
171183 = The expression of type {0} is already an instance of type {1}
172184 = finally block does not complete normally
173185 = The declared exception {3} is not actually thrown by the method {1}({2}) from type {0}
174186 = The declared exception {2} is not actually thrown by the constructor {0}({1})
175187 = Unreachable catch block for {0}. It is already handled by the catch block for {1}
176188 = Empty control-flow statement
177189 = Statement unnecessarily nested within else clause. The corresponding then clause does not complete normally
178190 = Read access to enclosing field {0}.{1} is emulated by a synthetic accessor method
179191 = Write access to enclosing field {0}.{1} is emulated by a synthetic accessor method
180192 = Access to enclosing method {1}({2}) from the type {0} is emulated by a synthetic accessor method
181193 = Access to enclosing constructor {0}({1}) is emulated by a synthetic accessor method
182194 = Switch case may be entered by falling through previous case. If intended, add a new comment //$FALL-THROUGH$ on the line above
183195 = The method {1} is defined in an inherited type and an enclosing scope
184196 = The field {0} is defined in an inherited type and an enclosing scope
185197 = The type {0} is defined in an inherited type and an enclosing scope
186198 = 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
187199 = The label {0} is never explicitly referenced
188200 = Cannot use {0} in a static context
189201 = Cannot make a static reference to the non-static method {1}({2}) from the type {0}
190202 = Cannot specify an array dimension after an empty dimension
Stephan Herrmann3db42762011-03-03 19:17:16 +0000191#203 = Invalid cast expression
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000192204 = Syntax error on token "{0}", {1} expected
193205 = Syntax error on token "{0}", no accurate correction available
194206 = Invalid argument to operation ++/--
195207 = Interfaces cannot have constructors
196208 = Array constants can only be used in initializers
197209 = Syntax error on keyword "{0}"; {1} expected
198210 = Syntax error on keyword "{0}", no accurate correction available
199211 = Comparing identical expressions
200
201220 = Unmatched bracket
202221 = The primitive type {0} of {1} does not have a field {2}
203222 = Invalid expression as statement
204223 = The left-hand side of an assignment must be a variable
205224 = Missing semicolon
206225 = Invalid parenthesized expression
207
208230 = Syntax error on token "{0}", {1} expected before this token
209231 = Syntax error on token "{0}", {1} expected after this token
210232 = Syntax error on token "{0}", delete this token
211233 = Syntax error on tokens, delete these tokens
212234 = Syntax error on tokens, they can be merged to form {0}
213235 = Syntax error on token "{0}", invalid {1}
214236 = Syntax error on token(s), misplaced construct(s)
215237 = Syntax error on tokens, {0} expected instead
216238 = Syntax error on tokens, no accurate correction available
217239 = Syntax error, unexpected {0}
218240 = Syntax error, insert "{0}" to complete {1}
219241 = Syntax error, insert "{0}" to complete scope
220242 = Syntax error, insert "{0}" to complete phrase
221
222250 = Unexpected end of file
223251 = Invalid hex literal number
224252 = Invalid octal literal number
225253 = Invalid character constant
226254 = Invalid escape sequence (valid ones are \\b \\t \\n \\f \\r \\" \\' \\\\ )
227255 = Invalid input
228256 = Invalid unicode
229257 = Invalid float literal number
230258 = Null source string
231259 = String literal is not properly closed by a double-quote
232260 = Unexpected end of comment
233261 = Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
234262 = Invalid digit (valid ones are 0..9)
235263 = Invalid low surrogate: must be within 0xDC00 and 0xDFFF
236264 = Invalid high surrogate: must be within 0xD800 and 0xDBFF
237265 = Unnecessary $NON-NLS$ tag
Stephan Herrmann44109d32011-08-02 14:34:26 +0000238266 = Invalid binary literal number (only '0' and '1' are expected)
239267 = Binary literals can only be used with source level 1.7 or greater
240268 = Underscores have to be located within digits
241269 = Underscores can only be used with source level 1.7 or greater
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000242
243280 = Discouraged access: {0}
244
245300 = The interface {0} cannot define an initializer
246301 = Duplicate modifier for the type {0}
247302 = Illegal modifier for the class {0}; only public, abstract & final are permitted
248303 = Illegal modifier for the interface {0}; only public & abstract are permitted
249304 = Illegal modifier for the member class {0}; only public, protected, private, static, abstract & final are permitted
250305 = Illegal modifier for the member interface {0}; only public, protected, private, static & abstract are permitted
251306 = Illegal modifier for the local class {0}; only abstract or final is permitted
252307 = Access restriction: {0}
253308 = The class {0} can be either abstract or final, not both
254309 = The interface member type {0} can only be public
255310 = The member type {0} can only set one of public / protected / private
256311 = The member type {0} cannot be declared static; static types can only be declared in static or top level types
257312 = The type {0} cannot be the superclass of {1}; a superclass must be a class
258313 = The type {1} cannot subclass the final class {0}
259314 = Duplicate interface {0} for the type {1}
260315 = The type {0} cannot be a superinterface of {1}; a superinterface must be an interface
261316 = Cycle detected: the type {0} cannot extend/implement itself or one of its own member types
262317 = Cycle detected: a cycle exists in the type hierarchy between {0} and {1}
263318 = The nested type {0} cannot hide an enclosing type
264319 = Duplicate nested type {0}
265320 = No exception of type {0} can be thrown; an exception type must be a subclass of Throwable
266321 = The package {0} collides with a type
267322 = The type {1} collides with a package
268323 = The type {1} is already defined
269324 = The type {0} cannot be resolved. It is indirectly referenced from required .class files
270325 = The public type {1} must be defined in its own file
Stephan Herrmanna1bf6562011-03-01 21:59:07 +0000271###[obsolete] 326 = A package must be specified in {0} or a default package created
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000272327 = The hierarchy of the type {0} is inconsistent
273328 = The declared package "{1}" does not match the expected package "{0}"
274329 = The type java.lang.Object cannot have a superclass or superinterfaces
275330 = The type java.lang.Object must be a class
276331 = Redundant superinterface {0} for the type {1}, already defined by {2}
277332 = The type {0} should also implement hashCode() since it overrides Object.equals()
278333 = The type {0} must be an abstract class to define abstract methods
279
280###[obsolete] 330 = {0} cannot be resolved or is not a valid superclass
281###[obsolete] 331 = Superclass {0} is not visible
282###[obsolete] 332 = Superclass {0} is ambiguous
283###[obsolete] 333 = Superclass {0} cannot be referenced using its binary name
284###[obsolete] 334 = Superclass {0} is defined in an inherited type and an enclosing scope
285###[obsolete] 335 = {0} cannot be resolved or is not a valid superinterface
286###[obsolete] 336 = Superinterface {0} is not visible
287###[obsolete] 337 = Superinterface {0} is ambiguous
288###[obsolete] 338 = Superinterface {0} cannot be referenced using its binary name
289###[obsolete] 339 = Superinterface {0} is defined in an inherited type and an enclosing scope
290
291340 = Duplicate field {0}.{1}
292341 = Duplicate modifier for the field {0}
293342 = Illegal modifier for the field {0}; only public, protected, private, static, final, transient & volatile are permitted
294343 = Illegal modifier for the interface field {0}.{1}; only public, static & final are permitted
295344 = The field {0} can only set one of public / protected / private
296345 = The field {0} can be either final or volatile, not both
Stephan Herrmann6dcbb382011-10-25 16:30:31 +0000297346 = 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 +0000298
299###[obsolete] 350 = {2} cannot be resolved (or is not a valid type) for the field {1}.{0}
300###[obsolete] 351 = The type {2} is not visible for the field {1}.{0}
301###[obsolete] 352 = The type {2} is ambiguous for the field {1}.{0}
302###[obsolete] 353 = The field type {2} cannot be referenced using its binary name
303###[obsolete] 354 = The field type {2} is defined in an inherited type and an enclosing scope
304
305355 = Duplicate method {0}({2}) in type {1}
306356 = Illegal modifier for parameter {0}; only final is permitted
307357 = Duplicate modifier for the method {1} in type {0}
308358 = Illegal modifier for the method {0}; only public, protected, private, static, final, abstract, synchronized & native are permitted
309359 = Illegal modifier for the interface method {0}; only public & abstract are permitted
310360 = The method {1} in type {0} can only set one of public / protected / private
311361 = The method {1} cannot be declared static; static methods can only be declared in a static or top level type
312362 = The abstract method {1} in type {0} can only set a visibility modifier, one of public or protected
313363 = The abstract method {1} in type {0} can only be defined by an abstract class
314364 = void is an invalid type for the parameter {1} of the method {0}
315###[obsolete] 365 = An array of void is an invalid type for the parameter {1} of the method {0}
316###[obsolete] 366 = An array of void is an invalid return type for the method {0}
317367 = The native method {1} cannot also be declared strictfp
318368 = Duplicate modifier for parameter {0}
319369 = Illegal modifier for the constructor in type {0}; only public, protected & private are permitted
320
321###[obsolete] 370 = {2} cannot be resolved (or is not a valid type) for the parameter {1} of the method {0}
322###[obsolete] 371 = The type {2} is not visible for the parameter {1} of the method {0}
323###[obsolete] 372 = The type {2} is ambiguous for the parameter {1} of the method {0}
324###[obsolete] 373 = The parameter type {2} cannot be referenced using its binary name
325###[obsolete] 374 = The parameter type {2} is defined in an inherited type and an enclosing scope
326###[obsolete] 375 = {1} cannot be resolved (or is not an exception type) for the method {0}
327###[obsolete] 376 = The exception type {1} is not visible for the method {0}
328###[obsolete] 377 = The exception type {1} is ambiguous for the method {0}
329###[obsolete] 378 = The exception type {1} cannot be referenced using its binary name
330###[obsolete] 379 = The exception type {1} is defined in an inherited type and an enclosing scope
331###[obsolete] 380 = {1} cannot be resolved (or is not a valid return type) for the method {0}
332###[obsolete] 381 = The return type {1} is not visible for the method {0}
333###[obsolete] 382 = The return type {1} is ambiguous for the method {0}
334###[obsolete] 383 = The return type {1} cannot be referenced using its binary name
335###[obsolete] 384 = The return type {1} is defined in an inherited type and an enclosing scope
336
337385 = The import {0} conflicts with a type defined in the same file
338386 = The import {0} collides with another import statement
339387 = Only a type can be imported. {0} resolves to a package
340388 = The import {0} is never used
341390 = The import {0} cannot be resolved
342
343###[obsolete] 391 = The imported type {0} is not visible
344###[obsolete] 392 = The imported type {0} is ambiguous
345###[obsolete] 393 = The imported type {0} cannot be referenced using its binary name
346###[obsolete] 394 = The imported type {0} is defined in an inherited type and an enclosing scope
347
348391 = The static import {0} must be a field or member type
349
350395 = Duplicate modifier for the variable {0}
351396 = Illegal modifier for the variable {0}; only final is permitted
352###[obsolete] 397 = Redundant null check: The variable {0} cannot be null at this location
353###[obsolete] 398 = Null pointer access: The variable {0} can only be null at this location
354###[obsolete] 399 = Potential null pointer access: The variable {0} may be null at this location
355
356400 = The type {3} must implement the inherited abstract method {2}.{0}({1})
357401 = Cannot override the final method from {0}
358402 = Exception {0} is not compatible with throws clause in {1}
359403 = Exception {0} in throws clause of {1} is not compatible with {2}
360404 = The return type is incompatible with {0}
361405 = The inherited method {0} cannot hide the public abstract method in {1}
362406 = This instance method cannot override the static method from {0}
363407 = This static method cannot hide the instance method from {0}
364408 = The static method {0} conflicts with the abstract method in {1}
365409 = Cannot reduce the visibility of the inherited method from {0}
366410 = The method {0} does not override the inherited method from {1} since it is private to a different package
367411 = 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
368412 = The method {0} overrides a deprecated method from {1}
369413 = The return type is incompatible with {0}, thus this interface cannot be implemented
370414 = Exception {0} is not compatible with throws clause in {1}, thus this interface cannot be implemented
371415 = The variable argument type {0} of the method {1} must be the last parameter
372416 = The method {0} is overriding a method without making a super invocation
373417 = The method {0}.{1}({2}) is overriding a synchronized method without being synchronized
374418 = The type {3} must implement the inherited abstract method {2}.{0}({1}) to override {6}.{4}({5})
375419 = The return types are incompatible for the inherited methods {0}
376
377420 = Code snippet support cannot find the class {0}
378421 = Code snippet support cannot find the method {0}.{1}({2})
379422 = super cannot be used in the code snippet code
380
381430 = Too many constants, the constant pool for {0} would exceed 65536 entries
382431 = The type generates a string that requires more than 65535 bytes to encode in Utf8 format in the constant pool
383
384432 = Too many fields for type {0}. Maximum is 65535
385433 = Too many methods for type {0}. Maximum is 65535
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000386434 = The synthetic method created to access {0}({1}) of type {2} has too many parameters
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000387
388440 = 'assert' should not be used as an identifier, since it is a reserved keyword from source level 1.4 on
389441 = 'enum' should not be used as an identifier, since it is a reserved keyword from source level 1.5 on
390442 = Enum constants cannot be surrounded by parenthesis
391
Stephan Herrmanne5d6be82010-04-02 03:29:32 +0000392450 = {0}{1}
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000393
394451 = Null pointer access: The variable {0} can only be null at this location
395452 = Potential null pointer access: The variable {0} may be null at this location
396453 = Redundant null check: The variable {0} can only be null at this location
397454 = Null comparison always yields false: The variable {0} can only be null at this location
398455 = Redundant assignment: The variable {0} can only be null at this location
399456 = instanceof always yields false: The variable {0} can only be null at this location
400457 = Redundant null check: The variable {0} cannot be null at this location
401458 = Null comparison always yields false: The variable {0} cannot be null at this location
402
403460 = Empty block should be documented
404
405### DOC
406462 = Invalid URL reference. Double quote the reference or use the href syntax
407463 = Description expected after this reference
408464 = Unexpected duplicated tag @{0}
409465 = ''{0}'' visibility for malformed doc comments hides this ''{1}'' reference
410466 = Invalid member type qualification
411467 = Missing identifier
412468 = Cannot make a static reference to the non-static type variable {0}
413469 = Invalid param tag type parameter name
414470 = Unexpected tag
415471 = Missing tag for parameter {0}
416472 = Missing parameter name
417473 = Duplicate tag for parameter
418474 = Parameter {0} is not declared
419475 = Missing tag for return type
420476 = Duplicate tag for return type
421477 = Missing tag for declared exception {0}
422478 = Missing class name
423479 = Invalid class name
424480 = Duplicate tag for thrown exception
425481 = Exception {0} is not declared
426482 = Missing reference
427483 = Invalid reference
428484 = Malformed link reference
429485 = Invalid parameters declaration
430486 = Missing comment for {0} declaration
431487 = Invalid tag
432488 = {0} cannot be resolved or is not a field
433489 = The field {0} is not visible
434490 = The field {0} is ambiguous
435491 = The field {0}.{1} is deprecated
436492 = The constructor {0}({1}) is undefined
437493 = The constructor {0}({1}) is not visible
438494 = The constructor {0}({1}) is ambiguous
439495 = The constructor {0}({1}) is deprecated
440496 = The method {1}({2}) is undefined for the type {0}
441497 = The method {1}({2}) from the type {0} is not visible
442498 = The method {1}({2}) is ambiguous for the type {0}
443499 = The method {1}({2}) from the type {0} is deprecated
444500 = Cannot invoke {1}({2}) on the primitive type {0}
445501 = The method {1}({2}) in the type {0} is not applicable for the arguments ({3})
446502 = Cannot invoke {1}({2}) on the array type {0}
447503 = {0} cannot be resolved to a type
448504 = The type {0} is not visible
449505 = The type {0} is ambiguous
450506 = The type {0} is deprecated
451507 = The nested type {0} cannot be referenced using its binary name
452508 = The method {1} is defined in an inherited type and an enclosing scope
453509 = The field {0} is defined in an inherited type and an enclosing scope
454510 = The type {0} is defined in an inherited type and an enclosing scope
455511 = {0} is an ambiguous method reference or is not a field
456512 = Missing closing brace for inline tag
457513 = Malformed reference (missing end space separator)
458514 = Javadoc:
459515 = Missing #: "{0}"
460516 = Description expected after @{0}
461517 = Only static field reference is allowed for @value tag
462518 = Unexpected text
463519 = Invalid param tag name
464
465### GENERICS
466520 = Duplicate type parameter {0}
467521 = Cannot refer to the type parameter {0} as a supertype
468522 = Cannot make a static reference to the non-static type {0}
469523 = The type java.lang.Object cannot be declared as a generic
470524 = The type {0} is not generic; it cannot be parameterized with arguments <{1}>
471525 = Incorrect number of arguments for type {0}; it cannot be parameterized with arguments <{1}>
472526 = Bound mismatch: The type {0} is not a valid substitute for the bounded parameter <{2} extends {3}> of the type {1}
473527 = Method {0}({2}) has the same erasure {0}({3}) as another method in type {1}
474528 = Illegal forward reference to type parameter {0}
475529 = The type {0} is not an interface; it cannot be specified as a bounded parameter
476530 = Type safety: The constructor {0}({1}) belongs to the raw type {0}. References to generic type {2} should be parameterized
477531 = Type safety: The method {0}({1}) belongs to the raw type {2}. References to generic type {3} should be parameterized
478532 = Type safety: The expression of type {0} needs unchecked conversion to conform to {1}
479533 = Cannot use the type parameter {0} in a catch block
480534 = Cannot use the parameterized type {0} either in catch block or throws clause
481535 = Cannot create a generic array of {0}
482536 = 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
483537 = The type parameter {0} should not be bounded by the final type {1}. Final types cannot be further extended
484538 = Inconsistent classfile encountered: The undefined type parameter {0} is referenced from within {1}
485539 = The interface {2} cannot be implemented more than once with different arguments: {0} and {1}
486540 = 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}
487541 = 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}
488542 = 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
489543 = 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}>
490544 = 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}>
491545 = Type safety: Unchecked cast from {0} to {1}
492546 = Cannot perform instanceof check against parameterized type {0}. Use the form {1} instead since further generic type information will be erased at runtime
493547 = Cannot perform instanceof check against type parameter {0}. Use instead its erasure {1} instead since further generic type information will be erased at runtime
494548 = The method {0}({1}) of type {2} is not generic; it cannot be parameterized with arguments <{3}>
495549 = Incorrect number of type arguments for generic method <{3}>{0}({1}) of type {2}; it cannot be parameterized with arguments <{4}>
496550 = The parameterized method <{3}>{0}({1}) of type {2} is not applicable for the arguments ({4})
497551 = The constructor {0}({1}) of type {2} is not generic; it cannot be parameterized with arguments <{3}>
498552 = Incorrect number of type arguments for generic constructor <{3}>{0}({1}) of type {2}; it cannot be parameterized with arguments <{4}>
499553 = The parameterized constructor <{3}>{0}({1}) of type {2} is not applicable for the arguments ({4})
500554 = The method {0}({1}) of raw type {2} is no longer generic; it cannot be parameterized with arguments <{3}>
501555 = The constructor {0}({1}) of raw type {2} is no longer generic; it cannot be parameterized with arguments <{3}>
502556 = The type {1} cannot extend or implement {0}. A supertype may not specify any wildcard
503557 = The generic class {0} may not subclass java.lang.Throwable
504558 = Illegal class literal for the type parameter {0}
505559 = Type safety: The return type {0} for {1}({2}) from the type {3} needs unchecked conversion to conform to {4} from the type {5}
506560 = Name clash: The method {0}({1}) of type {2} has the same erasure as {0}({3}) of type {4} but does not override it
507561 = The member type {0}<{1}> must be qualified with a parameterized type, since it is not static
508562 = The member type {0} must be parameterized, since it is qualified with a parameterized type
509563 = The member type {0} cannot be qualified with a parameterized type, since it is static. Remove arguments from qualifying type {1}
510###[obsolete] 564 = Bound conflict: {0} is inherited with conflicting arguments
511565 = Duplicate methods named {0} with the parameters ({2}) and ({3}) are defined by the type {1}
512566 = Cannot allocate the member type {0} using a parameterized compound name; use its simple name and an enclosing instance of type {1}
513567 = Duplicate bound {0}
514568 = The array type {0} cannot be used as a type parameter bound
515569 = Type safety: Unchecked invocation {0}({3}) of the generic constructor {0}({1}) of type {2}
516570 = Type safety: Unchecked invocation {0}({3}) of the generic method {0}({1}) of type {2}
517571 = The type parameter {0} is hiding the type {1}
518572 = {0} is a raw type. References to generic type {1} should be parameterized
519573 = Cannot specify any additional bound {0} when first bound is a type parameter
Stephan Herrmann44109d32011-08-02 14:34:26 +0000520574 = Type safety: A generic array of {0} is created for a varargs parameter
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000521575 = Illegal qualified access from the type parameter {0}
522576 = The nested type {0} is hiding the type parameter {1} of type {2}
523577 = The nested type {0} is hiding the type parameter {1} of the generic method {2}({3}) of type {4}
524578 = Wildcard is not allowed at this location
525579 = 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 +0000526583 = 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 +0000527584 = 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 +0000528
529### FOREACH
530580 = Type mismatch: cannot convert from element type {0} to {1}
531581 = Can only iterate over an array or an instance of java.lang.Iterable
532582 = Can only iterate over an array or an instance of java.util.Collection
533
534### SOURCE LEVEL
Stephan Herrmann44109d32011-08-02 14:34:26 +0000535590 = Syntax error, type parameters are only available if source level is 1.5 or greater
536591 = Syntax error, static imports are only available if source level is 1.5 or greater
537592 = Syntax error, 'for each' statements are only available if source level is 1.5 or greater
538593 = Syntax error, parameterized types are only available if source level is 1.5 or greater
539594 = Syntax error, enum declarations are only available if source level is 1.5 or greater
540595 = Syntax error, varargs are only available if source level is 1.5 or greater
541596 = Syntax error, annotations are only available if source level is 1.5 or greater
542597 = Syntax error, annotation declarations are only available if source level is 1.5 or greater
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000543598 = Syntax error, annotation declaration cannot have type parameters
544599 = Syntax error, enum declaration cannot have type parameters
545
546### ANNOTATIONS
547600 = Illegal modifier for the annotation attribute {0}.{1}; only public & abstract are permitted
548601 = Extended dimensions are illegal in an annotation attribute declaration
549602 = Package annotations must be in file package-info.java
550603 = Illegal modifier for the annotation type {0}; only public & abstract are permitted
551604 = Illegal modifier for the member annotation type {0}; only public, protected, private, static & abstract are permitted
552605 = Invalid type {0} for the annotation attribute {2}.{1}; only primitive type, String, Class, annotation, enumeration are permitted or 1-dimensional arrays thereof
553606 = Cycle detected: the annotation type {0} cannot contain attributes of the annotation type itself
554607 = Cycle detected: a cycle exists between annotation attributes of {0} and {1}
555608 = Duplicate annotation @{0}
556609 = The annotation @{0} must define the attribute {1}
557610 = Duplicate attribute {0} in annotation @{1}
558611 = The attribute {0} is undefined for the annotation type {1}
559612 = The value for annotation attribute {0}.{1} must be a class literal
560613 = The value for annotation attribute {0}.{1} must be a constant expression
561###[obsolete] 614 = The annotation field {0}.{1} must be initialized with a constant expression
562615 = Illegal modifier for the annotation field {0}.{1}; only public, static & final are permitted
563616 = The annotation type {0} cannot override the method {1}.{2}({3})
564617 = Annotation attributes cannot have parameters
565618 = Annotation attributes cannot be generic
566619 = Annotation type declaration cannot have an explicit superclass
567620 = Annotation type declaration cannot have explicit superinterfaces
568621 = Duplicate element {0} specified in annotation @{1}
569622 = The annotation @{0} is disallowed for this location
570623 = The method {0}({1}) of type {2} must override a superclass method
571624 = Annotation type declaration cannot have a constructor
572625 = The value for annotation attribute {0}.{1} must be some @{2} annotation
573626 = The annotation type {0} should not be used as a superinterface for {1}
574627 = The method {0}({1}) of type {2} should be tagged with @Override since it actually overrides a superclass method
575628 = The deprecated field {0}.{1} should be annotated with @Deprecated
576629 = The deprecated method {0}({1}) of type {2} should be annotated with @Deprecated
577630 = The deprecated type {0} should be annotated with @Deprecated
578631 = Unsupported @SuppressWarnings("{0}")
579632 = The value for annotation attribute {0}.{1} must be an array initializer
580633 = The value for annotation attribute {0}.{1} must be an enum constant expression
581634 = The method {0}({1}) of type {2} must override or implement a supertype method
582635 = Unnecessary @SuppressWarnings("{0}")
583636 = The method {0}({1}) of type {2} should be tagged with @Override since it actually overrides a superinterface method
584
585### MORE GENERICS
586660 = Unused type arguments for the non generic constructor {0}({1}) of type {2}; it should not be parameterized with arguments <{3}>
587
588### CORRUPTED BINARIES
589700 = The class file {0} contains a signature ''{1}'' ill-formed at position {2}
590
591### CORRUPTED SOURCES
592701 = Cannot read the source from {0}; either the file uses a different encoding than {1} or it is corrupted
593702 = Cannot read the source from {0} due to internal exception {1}
594
595### AUTOBOXING
596720 = The expression of type {0} is boxed into {1}
597721 = The expression of type {0} is unboxed into {1}
598
599### ENUMS
600750 = Illegal modifier for the enum {0}; only public is permitted
601751 = Illegal modifier for the enum constant {0}; no modifier is allowed
602###[obsolete] 752 = Illegal modifier for the local enum {0}; only abstract is permitted
603753 = Illegal modifier for the member enum {0}; only public, protected, private & static are permitted
604754 = The enum {1} already defines the method {0}({2}) implicitly
605755 = The qualified case label {0}.{1} must be replaced with the unqualified enum constant {1}
606756 = The type {1} may not subclass {0} explicitly
607757 = Cannot invoke super constructor from enum constructor {0}({1})
608758 = The enum {2} can only define the abstract method {0}({1}) if it also defines enum constants with corresponding implementations
609759 = The field {0}.{1} cannot be referenced from an enum case label; only enum constants can be used in enum switch
610760 = Illegal modifier for the enum constructor; only private is permitted.
611761 = The enum constant {1} needs a corresponding case label in this enum switch on {0}
612762 = Cannot refer to the static enum field {0}.{1} within an initializer
613763 = The enum constant {2} must implement the abstract method {0}({1})
614764 = The enum constant {0} cannot define abstract methods
615765 = The method {1} cannot be abstract in the enum constant {0}
616
617### VARARGS
618800 = Extended dimensions are illegal for a variable argument
619801 = 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
620802 = 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
621803 = 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 +0000622804 = @SafeVarargs annotation cannot be applied to fixed arity method {0}
623805 = @SafeVarargs annotation cannot be applied to non-final instance method {0}
624806 = Type safety: Potential heap pollution via varargs parameter {0}
Stephan Herrmann41a335b2011-12-08 22:55:07 +0100625807 = The method {0}({1}) of type {2} is not applicable as the formal varargs element type {3} is not accessible here
626808 = 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 +0000627
628### GENERIC JAVADOC
629850 = 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}>
630851 = The method {0}({1}) of type {2} is not generic; it cannot be parameterized with arguments <{3}>
631852 = Incorrect number of type arguments for generic method <{3}>{0}({1}) of type {2}; it cannot be parameterized with arguments <{4}>
632853 = The parameterized method <{3}>{0}({1}) of type {2} is not applicable for the arguments ({4})
633854 = The method {0}({1}) of raw type {2} is no longer generic; it cannot be parameterized with arguments <{3}>
634855 = 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}>
635856 = The constructor {0}({1}) of type {2} is not generic; it cannot be parameterized with arguments <{3}>
636857 = Incorrect number of type arguments for generic constructor <{3}>{0}({1}) of type {2}; it cannot be parameterized with arguments <{4}>
637858 = The parameterized constructor <{3}>{0}({1}) of type {2} is not applicable for the arguments ({4})
638859 = The constructor {0}({1}) of raw type {2} is no longer generic; it cannot be parameterized with arguments <{3}>
639
Stephan Herrmann44109d32011-08-02 14:34:26 +0000640### Java 7
641870 = The parameter {0} of a multi-catch block cannot be assigned
642871 = The resource type {0} does not implement java.lang.AutoCloseable
643872 = The resource {0} of a try-with-resources statement cannot be assigned
644873 = The exception {0} is already caught by the alternative {1}
645874 = Resource specification not allowed here for source level below 1.7
646875 = Multi-catch parameters are not allowed for source level below 1.7
647876 = Invocation of polymorphic methods not allowed for source level below 1.7
Stephan Herrmann3df378f2011-08-25 12:46:17 +0000648877 = 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 +0000649878 = Cannot infer type arguments for {0}
650879 = Explicit type arguments cannot be used with '<>' in an allocation expression
651880 = '<>' cannot be used with anonymous classes
Stephan Herrmann3df378f2011-08-25 12:46:17 +0000652881 = 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 +0000653882 = Unhandled exception type {0} thrown by automatic close() invocation on {1}
654883 = '<>' operator is not allowed for source level below 1.7
655884 = Redundant specification of type arguments <{0}>
Stephan Herrmann6dcbb382011-10-25 16:30:31 +0000656885 = Potential resource leak: ''{0}'' may not be closed
657886 = Potential resource leak: ''{0}'' may not be closed at this location
658887 = Resource leak: ''{0}'' is never closed
659888 = Resource leak: ''{0}'' is not closed at this location
660889 = Resource ''{0}'' should be managed by try-with-resource
661890 = 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 +0000662
Stephan Herrmannaa1e2842011-12-10 00:30:58 +0100663### NULL ANNOTATIONS
664910 = Type mismatch: required ''@{0} {1}'' but the provided value is null
665911 = Type mismatch: required ''@{0} {1}'' but the provided value can be null
666912 = Potential type mismatch: required ''@{0} {1}'' but nullness of the provided value is unknown
Stephan Herrmann6cecadb2012-02-26 01:08:39 +0100667#913 removed
Stephan Herrmannaa1e2842011-12-10 00:30:58 +0100668914 = The return type is incompatible with the @{1} return from {0}
669915 = Illegal redefinition of parameter {0}, inherited method from {1} declares this parameter as @{2}
670916 = Illegal redefinition of parameter {0}, inherited method from {1} does not constrain this parameter
671917 = Missing non-null annotation: inherited method from {1} declares this parameter as @{2}
672918 = Missing nullable annotation: inherited method from {1} declares this parameter as @{2}
673919 = Potential null pointer access: The method {0} may return null
674920 = Redundant null check: The method {0} cannot return null
675921 = The method {0} from {1} cannot implement the corresponding method from {2} due to incompatible nullness constraints
676922 = The nullness annotation is redundant with a default that applies to this location
677923 = The nullness annotation @{0} is not applicable for the primitive type {1}
Stephan Herrmann2c38ab42012-01-28 20:42:28 +0100678925 = Nullness default is redundant with the global default
679926 = Nullness default is redundant with a default specified for the enclosing package {0}
680927 = Nullness default is redundant with a default specified for the enclosing type {0}
681928 = Nullness default is redundant with a default specified for the enclosing method {0}
682929 = Contradictory null specification; only one of @{0} and @{1} can be specified at any location
Stephan Herrmannaa1e2842011-12-10 00:30:58 +0100683
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000684### ELABORATIONS
685## Access restrictions
68678592 = The type {1} is not accessible due to restriction on classpath entry {0}
68778593 = The type {1} is not accessible due to restriction on required project {0}
68878594 = The type {1} is not accessible due to restriction on required library {0}
68978596 = The field {1} from the type {2} is not accessible due to restriction on classpath entry {0}
69078597 = The field {1} from the type {2} is not accessible due to restriction on required project {0}
69178598 = The field {1} from the type {2} is not accessible due to restriction on required library {0}
69278600 = The constructor {1} is not accessible due to restriction on classpath entry {0}
69378601 = The constructor {1} is not accessible due to restriction on required project {0}
69478602 = The constructor {1} is not accessible due to restriction on required library {0}
69578604 = The method {1} from the type {2} is not accessible due to restriction on classpath entry {0}
69678606 = The method {1} from the type {2} is not accessible due to restriction on required library {0}
69778605 = The method {1} from the type {2} is not accessible due to restriction on required project {0}
698
699### ObjectTeams:
7001000001 = The type org.objectteams.Team cannot have a superclass or superinterfaces
7011000002 = Illegal modifier for team class {0}.
702
703### TEAMS AND ROLES
7041102101 = Illegal modifier for role {0}. Roles cannot be static (OTJLD 1.2.1).
7051102102 = Illegal access modifier for role {0}. Only public and protected are allowed here (OTJLD 1.2.1(a)).
7061102103 = The method {1}({2}) from the role type {0} is not visible (OTJLD 1.2.1(e)).
Stephan Herrmann8f29b012010-04-02 21:18:05 +00007071102104 = The role constructor {0}({1}) is not visible (OTJLD 1.2.1(e)).
7081102105 = 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)).
7091102106 = Cannot access non-public field {0} via externalized role {1} (OTJLD 1.2.1(e)).
7101102107 = Cannot access non-public method {1} via externalized role {0} (OTJLD 1.2.1(e)).
7111102108 = Cannot access non-public constructor {0}({1}) to instantiate externalized role (OTJLD 1.2.1(e)).
7121102109 = Indirect tsuper method inherited from {0} is not visible (OTJLD 1.2.1(e)).
7131102110 = 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 +0000714
7151102200 = Cannot externalize non-public role {0} (OTJLD 1.2.2(a)).
716#unused: 1102201 =
7171102202 = Missing anchor (team instance) for role type {0} outside its team context (OTJLD 1.2.2(b)).
7181102203 = Not a valid type anchor: type {0} is not the enclosing team of role type {1} (OTJLD 1.2.2(b)).
7191102204 = ''{0}'' cannot be used as type anchor for an externalized role: is not a team (OTJLD 1.2.2(b)).
7201102205 = Cannot resolve type anchor {0} (OTJLD 1.2.2(b)).
7211102206 = Cannot resolve type {0}: no such role in team {1} (OTJLD 1.2.2(b)).
7221102207 = Path syntax for externalized role type is deprecated (OTJLD 1.2.2(b)).
7231102208 = 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)).
7241102209 = Invalid externalized use of role type {0}, anchor is not final (OTJLD 1.2.2(c)).
7251102210 = Anchor {0} for the role type {1} is not final (OTJLD 1.2.2(c)).
7261102211 = Not a valid type anchor for externalized role {0}, need a final variable (OTJLD 1.2.2(c)).
7271102212 = 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)).
7281102213 = Illegal qualified use of type {0}: path contains no suitable team anchor (OTJLD 1.2.2(f)).
7291102214 = Externalized role {0} is not allowed in this position (OTJLD 1.2.2(g)).
7301102215 = Cannot sub-class an externalized role type (OTJLD 1.2.2(g)).
7311102216 = Detected a cycle while resolve field {0}.{1} as a team anchor (OTJLD 1.2.2).
7321102217 = Illegal import for role type {0}: roles cannot be imported (OTJLD 1.2.2(i)).
7331102300 = Illegal qualified use of non-public role {0} (OTJLD 1.2.3(b)).
7341102301 = Illegal parameterized use of non-public role {0} (OTJLD 1.2.3(b)).
735
7361102501 = Role file must contain exactly one toplevel type (OTJLD 1.2.5(b)).
7371102502 = The name of role file {0} does not match the role type {1} which it defines (OTJLD 1.2.5(b)).
7381102503 = Package name {0} does not match the name of the enclosing package {1} for role file {2} (OTJLD 1.2.5(c)).
7391102504 = Package declaration {0} refers to the enclosing team of role file {1}.\nMust use a ''team package'' declaration (OTJLD 1.2.5(c)).
7401102505 = Enclosing team {0} not found for role file {1} (OTJLD 1.2.5(c)).
7411102506 = Javadoc: Missing tag for role file {0} (OTJLD 1.2.5(d)).
7421102507 = Javadoc: Type {0} is not a role file of this team (OTJLD 1.2.5(d)).
7431102508 = Javadoc: {0} cannot be resolved to a role of this team (OTJLD 1.2.5(d)).
7441102509 = Javadoc: {0} is an inline role, whereas the @role tag should only be used for role files (OTJLD 1.2.5(d)).
7451102510 = Javadoc: Illegal @role tag, type {0} is not a team (OTJLD 1.2.5(d)).
7461102511 = The enum type {0} illegally resides in a role file of team {1} (OTJLD 1.2.5(e)).
747
7481103001 = Illegal ''extends'' for a regular class: superclass {0} is a team (OTJLD 1.3).
7491103101 = Role class {0} cannot override an interface of the same name (OTJLD 1.3.1(c)).
7501103102 = Role interface {0} cannot override class of the same name (OTJLD 1.3.1(c)).
7511103103 = Cannot override the final role {0} (OTJLD 1.3.1(c)).
7521103104 = Role {0} must override a role from a super team (OTJLD 1.3.1(c)).
7531103105 = Role {0} should be tagged with @Override since it actually overrides a superteam role (OTJLD 1.3.1(c)).
7541103106 = Type mismatch: cannot convert from {0} to {1} because static types of enclosing teams differs (OTJLD 1.3.1(d)).
7551103107 = Cannot use ''tsuper'' in method {0}, enclosing type {1} is not a role (OTJLD 1.3.1(f)).
7561103108 = Illegal tsuper call: role {0} has no implicit super class (OTJLD 1.3.1(f)).
7571103109 = Invalid qualified ''tsuper'': type {1} contains no role corresponding to {0} (OTJLD 1.3.1(f)).
7581103110 = Illegal tsuper call: can only invoke the method being overridden by the current method (OTJLD 1.3.1(f)).
7591103111 = Cannot reduce the visibility of role {0} to {1}, implicit super-role is ''{2}'' (OTJLD 1.3.1(h)).
7601103112 = Cannot reduce the visibility of the inherited method from implicit super class {0} (OTJLD 1.3.1(h)).
7611103113 = The return type of implicitly inherited method {0} is not compatible to the return type of explicitly inherited method {1} (1.3.1(k)).
7621103201 = 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 +00007631103202 = 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 +00007641103203 = Illegal tsuper call. Must use a constructor of newly introduced super-class {0} (OTJLD 1.3.2(c)).
7651103204 = Method {0} inherited from regular super class {1} is not visible outside the role {2} (OTJLD 1.3.2(e)).
766
7671104001 = Role type {0} shadows the visible type {1} (OTJLD 1.4(a)).
7681104002 = Field declaration {0} conflicts with an implicitly inherited field (OTJLD 1.4(b)).
769
7701105001 = Regular role cannot override team {0} (OTJLD 1.5(a)).
7711105002 = Member types not allowed in regular roles. Mark class {0} as a team if {1} should be its role (OTJLD 1.5(a,b)).
7721105003 = Team {0} cannot extend its enclosing team {1} (OTJLD 1.5(c)).
7731105004 = Name clash for implicit super types of role {0}: {1} and {2} are incomparable (OTJLD 1.5(d)).
774
775
776### ROLE-BASE-BINDING
7771201001 = Overlapping role hierarchies: role is subtype of these bound roles: {0} (OTJLD 2.1(c)).
7781201002 = Illegal redefinition: {0} is not a sub-type of baseclass {1} as inherited from {2} (OTJLD 2.1(c)).
7791201003 = Role inherits incompatible ''playedBy'' declaration(s): {0} is not comparable to {1} (OTJLD 2.1(c)).
7801201004 = 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 +00007811201101 = 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 +00007821201201 = Member type {0} cannot be used as the base class of {1} (OTJLD 2.1.2(b)).
7831201202 = 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 +00007841201203 = Base class {0} is an enclosing type of {1}; please read the hints in the OT/J Language Definition (OTJLD 2.1.2(b)).
7851201204 = 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 +00007861201205 = Overriding access restriction of base class {0} (OTJLD 2.1.2(c)).
7871201206 = PlayedBy binding overrides finalness of base class {0} (OTJLD 2.1.2(c)).
7881201207 = Trying to override access restriction of confined base class {0} (OTJLD 2.1.2(c)).
7891201208 = "base" import is not allowed in regular class {0} (OTJLD 2.1.2(d)).
7901201209 = "base" import is not allowed in a role file (OTJLD 2.1.2(d)).
7911201210 = It is recommended that base class {0} be imported with the modifier "base" (OTJLD 2.1.2(d)).
7921201211 = Qualified reference to base class {0} is deprecated, should use a base import instead (OTJLD 2.1.2(d)).
7931201212 = Bound base class {0} cannot have free type parameters (OTJLD 2.1.2(e)).
7941201213 = Role {0} cannot have free type parameters when binding to a base class (OTJLD 2.1.2(e)).
795
7961201299 = Base class {0} is deprecated.
797
7981201308 = Illegal base import: this package is not provided by the declared base plug-in(s) {0} (OT/Equinox).
7991201309 = Illegal base import: this package is not provided by the declared base plug-in {0} but by plug-in {1} (OT/Equinox).
8001201310 = Illegal base import: no aspect binding declared for team {0} (OT/Equinox).
8011201311 = 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).
8021201312 = This messages should never be seen ({0}).
8031201313 = 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 +00008041201314 = 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 +00008051201315 = 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).
806
8071202001 = Types {0} and {1} are compatible only by lowering, which is not allowed here (OTJLD 2.2(b)).
8081202002 = 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?
8091202003 = 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?
8101202004 = Assigning a {0} to {1} is ambiguous: will not apply lowering to {2} because direct upcasting is sufficient (OTJLD 2.2(f)).
811
8121203101 = The constructor {0} is undefined. Note that bound roles per default only have a lifting constructor (OTJLD 2.3.1(b)).
8131203102 = Need custom lifting constructor, because super class has no argumentless constructor {0} (OTJLD 2.3.1(c)).
8141203103 = Lifting constructor cannot have explicit super-call (OTJLD 2.3.1(c)).
Stephan Herrmann81f9ee42011-03-10 17:49:33 +00008151203104 = Annotation '@{0}' can only be applied to role classes (OTJLD 2.3.1(d)).
8161203105 = Fields are discouraged in roles with InstantiationPolicy '{0}' (OTJLD 2.3.1(d)).
8171203106 = Roles with InstantiationPolicy '{0}' should define equals() and hashCode() methods (OTJLD 2.3.1(d)).
818
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000819
8201203201 = Illegal type for argument {0}: declared lifting not allowed in static methods (OTJLD 2.3.2(a)).
8211203202 = Qualified type name not allowed here. Type after keyword "as" must be a role of the enclosing team {0} (OTJLD 2.3.2(a)).
8221203203 = Declared lifting is only allowed in signatures of team methods (OTJLD 2.3.2(a)).
8231203204 = The primitive type {0} is not allowed in declared lifting type (OTJLD 2.3.2(a)).
8241203205 = Illegal type {0}, need a role type for declared lifting (OTJLD 2.3.2(a)).
8251203206 = Cannot lift to role {0} because it is not played by a base class (OTJLD 2.3.2(a)).
8261203207 = Class {0} is incompatible to the base class {2} of role {1}. Lifting not possible (OTJLD 2.3.2(a)).
8271203208 = Syntax error in declared lifting. Array dimensions do not match (OTJLD 2.3.2(c)).
8281203209 = Illegal type bound: {0} is not a role type (OTJLD 2.3.2(e)).
8291203210 = 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)).
830
8311203401 = 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 +00008321203402 = 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 +00008331203403 = Unhandled exception type LiftingFailedException, caused by an unsafe lifting request (OTJLD 2.3.5).
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000834
8351204101 = Cannot invoke the lifting constructor {0} to create an externalized role (OTJLD 2.4.1(a)).
8361204102 = 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)).
8371204201 = Illegal base constructor call: method {0} is not a constructor of a bound role (OTJLD 2.4.2).
8381204202 = Illegal call to base constructor: this constructor is a lifting constructor (OTJLD 2.4.2).
8391204203 = 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 +00008401204204 = Constructor call (tsuper) must be the first statement in a role constructor (OTJLD 2.4.2).
Stephan Herrmann7464c322010-07-09 16:05:38 +00008411204205 = Cannot invoke a base constructor because enclosing role {0} is involved in baseclass circularity (OTJLD 2.4.2).
8421204206 = Call to base constructor is not first statement (after super-call) (OTJLD 2.4.2(b)).
8431204207 = Missing call to a base constructor, class {0} is a bound role (OTJLD 2.4.2(b)).
8441204208 = Illegal call to base constructor: constructor called by ''{0}'' already calls a base constructor (OTJLD 2.4.2(b)).
8451204209 = Access restriction of constructor {0} is overridden by this base constructor call (OTJLD 2.4.2(b)).
Stephan Herrmann57e57ec2010-08-27 21:36:52 +00008461204210 = Base constructor call not allowed in this position, must be first statement or argument to another constructor call (OTJLD 2.4.2(c)).
8471204211 = 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 +00008481204301 = Dangerous instantitation. To avoid a WrongRoleException at runtime role {0} should be used instead (OTJLD 2.4.3).
849
8501205001 = Team {0} may need to be declared abstract, because irrelevance for abstract role {1} could not be shown (OTJLD 2.5(b)).
8511205002 = Team {0} must be declared abstract, because abstract role {1} is relevant (OTJLD 2.5(b)).
852
8531206001 = Cannot use ''base'' as a prefix since ''{0}'' is not a team (OTJLD 2.6(a)).
8541206002 = Illegal qualified use of ''base'', type ''{0}'' is not a bound role (OTJLD 2.6(a)).
8551206003 = Cannot use ''base'' in the regular method ''{0}'' (OTJLD 2.6(c)).
8561206004 = Cannot use explicit base call in method bindings (OTJLD 2.6).
8571206005 = Illegal use of keyword ''base'' (OTJLD 2.6).
8581206006 = Access restriction of field {0} in type {1} is overridden by this reference (OTJLD 2.6(g)).
8591206007 = Access restriction of method {0} in type {1} is overridden by this call (OTJLD 2.6(g)).
860
861### CALLOUT
8621301001 = Method binding not allowed here, {0} is not a role (OTJLD 3.1(a)).
8631301002 = 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 +00008641301003 = Role {0} cannot declare callout bindings because it is playedBy enclosing type {1} (OTJLD 3.1(a)); please directly access the target method.
8651301004 = No method {0} found in type {1} to resolve method designator (OTJLD 3.1(c)).
8661301005 = Method specifier ''{0}'' is ambiguous for the type {1}. Please use the exact method signature to disambiguate (OTJLD 3.1(c)).
8671301006 = Method designator binds to a method returning {0} whereas return type {1} is specified (OTJLD 3.1(c)).
8681301007 = Method specifier finds no direct match, argument of closest match is {0} instead of {1} (OTJLD 3.1(c)).
8691301008 = A non-abstract role method exists for this callout-binding. Use callout-override (''=>'') if you want to override it (OTJLD 3.1(e)).
8701301009 = Trying to bind an abstract method as callout override (OTJLD 3.1(e)).
8711301010 = Callout binding tries to override method {0} from the same role class (OTJLD 3.1(e)).
8721301011 = Callout binding conflicts with inherited callout binding from class {0}. Use ''=>'' if you want to override it (OTJLD 3.1(f)).
8731301012 = The method is bound as callout more than once: {0} (OTJLD 3.1(g)).
8741301013 = 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 +00008751301014 = Inherited abstract method {0} is implicitly bound as an inferred callout (OTJLD 3.1(j)).
8761301015 = Unresolved self call {0} is implicitly bound by an inferred callout (OTJLD 3.1(j)).
Stephan Herrmannd70a7b72010-04-28 21:01:30 +00008771301016 = Attempting to infer callout to base field {0} in a compound assignment (OTJLD 3.1(j)).
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000878
8791302001 = Unused mapping for parameter {0} is ignored (OTJLD 3.2).
8801302002 = Syntax error: parameter mapping allowed only if methods are specified with their signatures (OTJLD 3.2(a)).
8811302003 = Parameter {0} is mapped more than once (OTJLD 3.2(b)).
8821302004 = Incomplete parameter mapping: argument {0} of base method {1} is not mapped (OTJLD 3.2(b)).
8831302005 = Wrong mapping direction for parameter {0}, should use {1} unless mapping 'result' (OTJLD 3.2(b)).
8841302006 = Wrong mapping direction for \"result\", should use {0} (OTJLD 3.2(c)).
8851302007 = Illegal mapping for 'result'. {0} returns void (OTJLD 3.2(c)).
8861302008 = Illegal use of 'result' in parameter mapping: wrong binding direction (OTJLD 3.2(c)).
8871302009 = Cannot use 'result' here: method {0} returns void (OTJLD 3.2(c)).
8881302010 = ''result'' can only be mapped to ''result'' (OTJLD 3.2(c)).
8891302011 = Method {0} does not provide enough arguments for binding to method {1} (OTJLD 3.2(e)).
8901302012 = Cannot implicitly map signatures for callout binding:\nBase method {1} returns void whereas role method {0} expects {2} (OTJLD 3.2(e)).
8911302013 = Parameter mapping not allowed here: enclosing type {0} is an interface (OTJLD 3.2(a)).
892
8931303001 = Type mismatch in callout binding: cannot convert from {0} to {1} (OTJLD 3.3(d)).
8941303002 = When mapping the {0}. argument of {1}: cannot convert from {2} to {3} (OTJLD 3.3(d)).
8951303003 = The bound method {0} does not provide required result of type {1} (OTJLD 3.3(d)).
8961303004 = 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)).
897
8981304001 = This class overrides access restrictions of its base class. Compile with -decapsulation for details (OTJLD 3.4(a)).
8991304002 = Access restriction of method {0} in type {1} is overridden by this method binding (OTJLD 3.4(a)).
9001304003 = The method {0} from type {1} is not visible for this binding (enable decapsulation? OTJLD 3.4).
9011304004 = The private base feature {0} from type {1} is not available via the base type {2} (OTJLD 3.4(d)).
902
9031305001 = Callout binding cannot resolve field {0} in type {1} (OTJLD 3.5).
9041305002 = Field specifier ''{0}'' resolves to type {1} whereas type {2} is specified (OTJLD 3.5(a)).
9051305003 = Accessing field {1} through method "{0}" has no effect (OTJLD 3.5(b)).
9061305004 = Binding method ''{0}'' via callout as field setter cannot return a value (OTJLD 3.5(b)).
9071305005 = Cannot bind role method {0} to field {1}:\nMissing parameter of type {2} (OTJLD 3.5(b)).
9081305006 = When binding field {1} via callout to role method {0}:\nIncompatible types: can't convert {3} to {2} (OTJLD 3.5(b)).
9091305007 = 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 +00009101305008 = Access restriction of {2}field {0} in type {1} is overridden by this binding (OTJLD 3.5(e)).
9111305009 = Write access to the {2}field {0} in type {1} overrides access restriction (OTJLD 3.5(e)).
9121305010 = A non-abstract role method exists for this callout-binding. Use callout-override (''=>'') if you want to override it (OTJLD 3.5(g)).
9131305011 = Callout binding conflicts with inherited callout binding from class {0}. Use ''=>'' if you want to override it (OTJLD 3.5(g)).
9141305012 = Assignment to unresolved variable {0} implicitly uses callout to base field '{1}' (OTJLD 3.5(h)).
9151305013 = Reference {1} implicitly uses callout getter to base field '{1}' (OTJLD 3.5(h)).
9161305014 = Method call {0} tries to re-use an inferred callout to field (OTJLD 3.5(h)).
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000917
918### CALLIN
9191401001 = Method binding not allowed here, {0} is not a role (OTJLD 4.1(b)).
9201401002 = 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 +00009211401003 = Unsafe callin binding, because lifting to role {0} may fail due to a reported binding ambiguity (OTJLD 2.3.5(c)).
9221401004 = 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 +00009231401005 = No method {0} found in type {1} to resolve method designator (OTJLD 4.1(c)).
9241401006 = Method specifier "{0}" is ambiguous for the type {1}. Please use the exact method signature to disambiguate (OTJLD 4.1(c)).
9251401007 = Method designator binds to a method returning {0} whereas return type {1} is specified (OTJLD 4.1(c)).
9261401008 = Method specifier finds no direct match, argument of closest match is {0} instead of {1} (OTJLD 4.1(c)).
9271401009 = Duplicate callin name "{0}" (OTJLD 4.1(e)).
9281401010 = Trying to bind final method {0} from class {1} via class {2}; must bind directly to {1} (OTJLD 4.1(f).
9291401011 = 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 +0000930
9311401099 = Bound base method {0} is deprecated.
932
9331402001 = Modifier ''callin'' not allowed here. Enclosing class {0} is not a role (OTJLD 4.2(d)).
9341402002 = Illegal modifier(s) ''{0}'' for method {1}, callin method must not declare visibility (OTJLD 4.2(d)).
9351402003 = Method {0} cannot be called explicitly; is a callin method (OTJLD 4.2(d)).
9361402004 = Cannot bind method {0} as callout; is a callin method (OTJLD 4.2(d)).
9371402005 = Cannot bind method {0} using "replace": need a callin method (OTJLD 4.2(d)).
9381402006 = Cannot bind callin method {0} using "{1}" (OTJLD 4.2(d)).
9391402007 = Modifier "callin" not allowed here; trying to override a method from {0} which is not a callin method (OTJLD 4.2(d)).
9401402008 = Missing modifier "callin"; trying to override a method from {0} which is a callin method (OTJLD 4.2(d)).
9411402009 = Class inherits incompatible methods {0} from {1} and {2}: conflict between callin and regular method (OTJLD 4.2(d)).
942
9431403001 = Illegal method in base call, can only call base version of the enclosing method {0} (OTJLD 4.3(a)).
9441403002 = Base call "{0}" does not match the signature of the enclosing callin method (OTJLD 4.3(a)).
9451403003 = Potentially missing base call in callin method (OTJLD 4.3(b)).
9461403004 = This callin method has no base call (OTJLD 4.3(b)).
9471403005 = Potentially duplicate base call (OTJLD 4.3(c)).
9481403006 = This callin method calls its base method more than once (OTJLD 4.3(c)).
9491403007 = 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)).
9501403008 = 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)).
9511403009 = 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)).
9521403010 = 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)).
9531403011 = 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)).
954
9551404000 = Syntax error: parameter mapping allowed only if methods are specified with their signatures (OTJLD 4.4(a)).
9561404001 = Illegal use of 'result' in parameter mapping: wrong binding direction (OTJLD 4.4(a)).
9571404002 = Method {1} does not provide enough arguments for binding to method {0} (OTJLD 4.4(a)).
9581404003 = Parameter {0} is mapped more than once (OTJLD 4.4(a)).
9591404004 = Cannot use 'result' here: method {0} returns void (OTJLD 4.4(a)).
9601404005 = Incomplete parameter mapping: argument {0} of role method {1} is not mapped (OTJLD 4.4(a)).
Stephan Herrmann1e3ee002010-04-27 14:10:37 +00009611404006 = 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)).
9621404007 = Illegal expression in callin replace binding: here 'result' must be mapped to 'result' (OTJLD 4.4(b)).
9631404008 = Role method "{1} {0}" bound via replace callin to method "{4} {3}" must not return a non-void result (OTJLD 4.4(b)).
9641404009 = 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)).
9651404010 = 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)).
9661404011 = ''result'' can only be mapped to ''result'' (OTJLD 4.4(b)).
9671404012 = Illegal expression in callin replace binding: cannot use base method argument in compound expression (OTJLD 4.4(b)).
9681404013 = Illegal direction ''->'' in parameter mapping for non-replace callin (OTJLD 4.4(c)).
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000969
9701405001 = Type mismatch in callin binding: cannot convert from {0} to {1} (OTJLD 4.5(d)).
9711405002 = When mapping the {0}. argument of {1}: cannot convert from {2} to {3} (OTJLD 4.5(d)).
972# unused:
9731405003 = The bound method {0} does not provide required result of type {1} (OTJLD 4.5(d)).
9741405004 = When mapping the {2}. argument: types {0} and {1} are not two-way compatible as required for replace bindings (OTJLD 4.5(d)).
975
9761406001 = Access restriction of method {0} in type {1} will be overridden if the bound callin method issues a base call (OTJLD 4.6).
9771406002 = The private base feature {0} from type {1} is not available via the base type {2} (OTJLD 4.6(a)).
978
979
9801407001 = Cannot bind static base method {1} to non-static role method {0} (OTJLD 4.7(b)).
9811407002 = Cannot bind non-static base method {1} to static callin method {0} via replace (OTJLD 4.7(d)).
982
9831408001 = ''{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 +00009841408002 = 'precedence' declaration can only refer to direct role classes, however {1} is a nested role of team {0} (OTJLD 4.8).
9851408003 = 'precedence' declaration not allowed here, enclosing type {0} is neither a team nor a role (OTJLD 4.8(a)).
9861408004 = 'precedence' declaration for 'after' binding must be specified as 'precedence after' (OTJLD 4.8(a)).
9871408005 = 'precedence after' declaration cannot refer to '{0}' bindings (OTJLD 4.8(a)).
9881408006 = Callin binding {0} not found in type {1} (OTJLD 4.8(b)).
9891408007 = Type {0} is not a legal prefix for callin {1}; Need a role or team type (OTJLD 4.8(b)).
9901408008 = Contradictory precedence lists for type {0} cannot be combined (conflicts with ''{1}'') (OTJLD 4.8(d)).
9911408009 = Contradictory precedence lists for type {0} cannot be combined (''{1}'' vs. ''{2}'') (OTJLD 4.8(d)).
9921408010 = Cannot define precedence for '{0}' and '{1}', because the former overrides the latter (OTJLD 4.8(e)).
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000993
9941409001 = 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)).
995
9961410001 = Type variable {0} cannot capture a covariant return type because it is used more than once in this signature (OTJLD 4.10(a)).
997
998### ACTIVATION/PREDICATES
9991502001 = Within statement {0} must have a team instance as argument (OTJLD 5.2(a)).
10001504001 = Guard predicate throws checked exception {0} (OTJLD 5.4(c)).
10011504101 = ''{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)).
10021504201 = Illegal base guard: {0} is not a bound role (OTJLD 5.4.2(f)).
1003
1004### API
10051601001 = Cannot use class literal for role {0} in a static context (OTJLD 6.1(c)).
10061601002 = Cannot use unqualified class literal for role {0} outside its enclosing team (OTJLD 6.1(c)).
10071602001 = The method {0} conflicts with a predefined method of same name and number of arguments (OTJLD 6.2).
1008
1009### ENCAPSULATION
10101702001 = Role class tries to override the builtin type org.objectteams.Team.{0} (OTJLD 7.2(a)).
10111702002 = An array of confined roles is not compatible with java.lang.Object (OTJLD 7.2(b)).
1012
1013### DEPENDENT TYPES
10141900210 = Parameter is not a value (OTJLD 9.2.1).
10151900211 = Parameter cannot be resolved to an object reference (OTJLD 9.2.1).
10161900212 = Parameter '{0}' cannot be resolved (OTJLD 9.2.1).
10171900213 = Parameter does not match declaration of value parameter '{0} {1}' (OTJLD 9.2.1).
10181900214 = 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 +000010191900215 = Cannot rebind the anchor {1} of type variable {0} (OTJLD 9.2.1(a)).
1020
10211900220 = 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 +00001022
1023### SYNTAX
10242000101 = Object Teams keyword not enabled in this scope (OTJLD A.0.1).
10252000201 = Illegal superclass: Name of method ''{0}'' inherited from {1} is a keyword in OT/J (OTJLD A.0.2).
10262000301 = Illegal identifier {0} (OTJLD A.0.3).
1027
10282001101 = Illegal ''playedBy'' declaration: class {0} is not a role (OTJLD A.1.1(a)).
1029
10302003101 = Method binding must be directly contained in a class (OTJLD A.3.1).
10312003201 = Modifiers not allowed in short callout bindings (OTJLD A.3.2).
10322003202 = Illegal modifier for callout binding (only public, protected or private allowed here) (OTJLD A.3.2).
10332003203 = Illegal method designator: illegal constructor reference or missing return type (OTJLD A.3.2).
10342003204 = Syntax error: missing return type for method designator (OTJLD A.3.2).
10352003301 = Modifiers not allowed in callin bindings (OTJLD A.3.3).
10362003302 = Syntax error: callin label must be a simple name (OTJLD A.3.3).
10372003303 = Callin modifier (before, after or replace) missing for callin-binding {0} (OTJLD A.3.3).
10382003304 = Syntax error: right hand side of method binding does not specify type arguments (OTJLD A.3.3).
Stephan Herrmann3cef2f02012-01-29 19:17:03 +010010392003305 = Syntax error: callin annotations must be specified after the callin name (OTJLD A.3.3).
1040
Stephan Herrmann7b7062f2010-04-01 19:56:59 +000010412003501 = Method designator must not specify a modifier (OTJLD A.3.5).
1042
10432006001 = Syntax Error: Declared lifting type not support in this position (OTJLD A.6(a)).
1044
10452007001 = Syntax Error: missing boolean expression for guard predicate (OTJLD A.7.1).
1046
10472009001 = Illegal position for value parameter {0}: must be a parameter of a single name type reference(OTJLD A.9(a)).
1048
10492010001 = Syntax error, SingleTypeReference expected (OTJLD 1.2.4(c)).
1050
1051
1052### LIMITATIONS
10532100001 = Limitation: generics not supported in this position.
10542100002 = Internal method for lifting type {0} to role {1} has not been generated.
10552100003 = 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.
10562100006 = Requesting role file {0} for team {1} which is already compiled (compiler limitation).
10572100007 = Role {0} is missing for binary team {1} (compiler limitation).
10582100008 = Role {0} has not been copied (implicit inheritance) to team {1} (probably caused by some other error).
10592100009 = Cannot generate method {0}, tsuper method has corrupt byte code. This may or may not be caused by an internal compiler error.
10602100010 = Implicit super role has incompatible byte code, offending name: ''{0}''. It was probably compiled for an incompatible JRE.
10612100011 = Limitation: compiler support for dependent types is incomplete: {0}.
10622100012 = Using an experimental feature: {0}.
10632100013 = 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.
10642100014 = Role {1} seems to require recompilation due to changes in super role {0}. Please consider a full rebuild of the enclosing project.
10652100015 = A synthetic access method for field {1} is missing in type {0}. Please consider a full rebuild of the enclosing project.
10662100016 = Compiler limitation: wrong compilation order for role {0} as a member of team {1} which is already compiled.
10672100017 = Incremental compilation problem: role {0} consists of a source and a binary part.
10682100018 = Internal representations of role {0} and {1} are inconsistent.
10692100019 = Compiler limitation: unsupported compilation order: ''{0}''.
10702100020 = Incomplete incremental build: did not generate callin binding for role {0}.\nBefore launching the application please perform a full build.
10712100021 = Cannot resolve base class for type {0}: unexpected build order (please consider a full build for this project).
10722100022 = Compiler limitation: the role field {0} can only be static if it is also declared final.
10732100023 = Illegally copied default constructor, role {0} is a bound role.
10742100024 = Modifier "readonly" is not yet supported.
10752100025 = Missing compiler implementation: {0} is not yet supported.
Stephan Herrmann0e390872010-04-02 02:27:06 +000010762100026 = 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 +000010772100027 = Dangerous callin binding: {0} is used internally during lifting, which could create infinite recursion.
10782100028 = Compiler limitation: can't copy annotation ''{0}'' for implicitly inherited field ''{1}'': unexpected structure.
10792100029 = 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 +000010802100030 = Implementation limitation: Callin binding to an interface ({0}) is not supported.
Stephan Herrmann9391b222011-02-06 20:05:22 +000010812100031 = Corrupt byte code: attempt to invoke abstract method {0}.
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001082
1083## EXPERIMENTAL
10842200001 = Type {0} does not support team migration, only applicable for roles (OT/J experimental feature).
10852200002 = Team migration not possible because enclosing team class {0} is not final (OT/J experimental feature).
10862200003 = Argument is not a valid new team anchor (OT/J experimental feature).
10872200004 = The special method {1}.migrateToTeam({2}) is not applicable for the arguments ({0}).
10882200005 = Team migration not possible in the current implementation because {0} is a bound role class (OT/J experimental feature).
1089
10902200010 = Type {0} does not support base migration; this is only applicable for roles (OT/J experimental feature).
10912200011 = Role {0} cannot support base migration because it is not bound to a base class (OT/J experimental feature).
10922200012 = The special method {1}.migrateToBase({2}) is not applicable for the arguments ({0}).
1093