blob: a319bce41ca04cb5ebb83ee6a7abf6619592a273 [file] [log] [blame]
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001###############################################################################
Stephan Herrmann4f3f3d12012-04-28 23:46:59 +02002# Copyright (c) 2000, 2012 IBM Corporation and others.
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00003# All rights reserved. This program and the accompanying materials
4# are made available under the terms of the Eclipse Public License v1.0
5# which accompanies this distribution, and is available at
6# http://www.eclipse.org/legal/epl-v10.html
Stephan Herrmann5fa7f312012-07-13 01:52:51 +02007#
8# This is an implementation of an early-draft specification developed under the Java
9# Community Process (JCP) and is made available for testing and evaluation purposes
10# only. The code is not compatible with any specification of the JCP.
11#
12#
Stephan Herrmann7b7062f2010-04-01 19:56:59 +000013# Contributors:
14# IBM Corporation - initial API and implementation
15# Benjamin Muskalla - Contribution for bug 239066
Stephan Herrmannaa1e2842011-12-10 00:30:58 +010016# Fraunhofer FIRST - extended API and implementation
17# Technical University Berlin - extended API and implementation
Stephan Herrmann6dcbb382011-10-25 16:30:31 +000018# Stephan Herrmann <stephan@cs.tu-berlin.de> - Contributions for
19# bug 185682 - Increment/decrement operators mark local variables as read
20# bug 349326 - [1.7] new warning for missing try-with-resources
Stephan Herrmannaa1e2842011-12-10 00:30:58 +010021# bug 186342 - [compiler][null] Using annotations for null checking
Stephan Herrmann2c38ab42012-01-28 20:42:28 +010022# bug 365662 - [compiler][null] warn on contradictory and redundant null annotations
Stephan Herrmann6cecadb2012-02-26 01:08:39 +010023# bug 365531 - [compiler][null] investigate alternative strategy for internally encoding nullness defaults
Stephan Herrmannb9e10522012-03-15 21:24:23 +010024# bug 365859 - [compiler][null] distinguish warnings based on flow analysis vs. null annotations
Stephan Herrmann4f3f3d12012-04-28 23:46:59 +020025# bug 374605 - Unreasonable warning for enum-based switch statements
Stephan Herrmann5fa7f312012-07-13 01:52:51 +020026# bug 382353 - [1.8][compiler] Implementation property modifiers should be accepted on default methods.
Stephan Herrmann7b7062f2010-04-01 19:56:59 +000027###############################################################################
280 = {0}
291 = super cannot be used in java.lang.Object
302 = {0} cannot be resolved to a type
313 = The type {0} is not visible
324 = The type {0} is ambiguous
335 = The type {0} is deprecated
346 = The nested type {0} cannot be referenced using its binary name
357 = The type {0} is never used locally
36
3715 = Incompatible operand types {0} and {1}
3816 = Incompatible conditional operand types {0} and {1}
3917 = Type mismatch: cannot convert from {0} to {1}
4018 = The static member type {0}.{1} should be accessed directly
41
4220 = 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}).
4321 = 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}).
4422 = No enclosing instance of the type {0} is accessible in scope
4523 = Illegal enclosing instance specification for type {0}
4624 = Cannot define static initializer in inner type {0}
4725 = Cannot refer to a non-final variable {0} inside an inner class defined in a different method
4826 = The member interface {0} can only be defined inside a top-level class or interface
4927 = Cannot use an expression of the type {0} as a valid enclosing instance
5028 = No enclosing instance of type {0} is available due to some intermediate constructor invocation
5129 = An anonymous class cannot subclass the final class {0}
Stephan Herrmann29b019c2011-04-26 10:30:44 +00005230 = The member annotation {0} can only be defined inside a top-level class or interface
5331 = The member enum {0} can only be defined inside a top-level class or interface
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00005432 = The member enum {0} must be defined inside a static member type
5533 = The type {0} is hiding the type {1}
56
5750 = {0} cannot be resolved
5851 = The local variable {0} may not have been initialized
5952 = void is an invalid type for the variable {0}
60###[obsolete] 53 = An array of void is an invalid type for the variable {0}
6154 = void[] is an invalid type
6255 = Duplicate local variable {0}
6356 = Duplicate parameter {0}
6457 = The final local variable {0} may already have been assigned
6558 = The final local variable {0} cannot be assigned. It must be blank and not using a compound assignment
6659 = The parameter {0} should not be assigned
6760 = The final local variable {0} cannot be assigned, since it is defined in an enclosing type
Stephan Herrmanne880bb62010-11-06 15:10:25 +00006861 = The value of the local variable {0} is not used
6962 = The value of the parameter {0} is not used
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00007063 = The code of method {0}({1}) is exceeding the 65535 bytes limit
7164 = The code for the static initializer is exceeding the 65535 bytes limit
7265 = Too many parameters, parameter {0} is exceeding the limit of 255 words eligible for method parameters
7366 = Too many local variables, local variable {0} is exceeding the limit of 65535 words eligible for method local variables
7467 = Too many synthetic parameters, emulated parameter {0} is exceeding the limit of 255 words eligible for method parameters
7568 = Too many array dimensions. Maximum is 255
7669 = The code of constructor {0}({1}) is exceeding the 65535 bytes limit
7770 = {0} cannot be resolved or is not a field
7871 = The field {1}.{0} is not visible
7972 = The field {0} is ambiguous
8073 = The field {0}.{1} is deprecated
8174 = Cannot make a static reference to the non-static field {0}
8275 = Cannot reference a field before it is defined
8376 = The static field {0}.{1} should be accessed in a static way
Stephan Herrmanne880bb62010-11-06 15:10:25 +00008477 = The value of the field {0}.{1} is not used
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00008578 = The static field {0}.{1} should be accessed directly
8679 = Unqualified access to the field {0}.{1}
8780 = The final field {0}.{1} cannot be assigned
8881 = The blank final field {0} may not have been initialized
8982 = The final field {0} may already have been assigned
9083 = {0} cannot be resolved to a variable
91
9290 = The local variable {0} is hiding another local variable defined in an enclosing type scope
9391 = The local variable {0} is hiding a field from type {1}
9492 = The field {0}.{1} is hiding another local variable defined in an enclosing type scope
9593 = The field {0}.{1} is hiding a field from type {2}
9694 = The parameter {0} is hiding another local variable defined in an enclosing type scope
9795 = The parameter {0} is hiding a field from type {1}
9896 = The serializable class {0} does not declare a static final serialVersionUID field of type long
99
100100 = The method {1}({2}) is undefined for the type {0}
101101 = The method {1}({2}) from the type {0} is not visible
102102 = The method {1}({2}) is ambiguous for the type {0}
103103 = The method {1}({2}) from the type {0} is deprecated
104104 = Cannot directly invoke the abstract method {1}({2}) for the type {0}
105105 = Void methods cannot return a value
106106 = Cannot return a void result
107107 = This method requires a body instead of a semicolon
108108 = This method must return a result of type {0}
109
110110 = This method has a constructor name
111111 = Return type for the method is missing
112112 = Native methods do not specify a body
113113 = Abstract methods do not specify a body
114114 = Cannot invoke {1}({2}) on the primitive type {0}
115115 = The method {1}({2}) in the type {0} is not applicable for the arguments ({3})
116116 = Cannot invoke {1}({2}) on the array type {0}
117117 = The static method {1}({2}) from the type {0} should be accessed in a static way
118118 = The method {1}({2}) from the type {0} is never used locally
119119 = The static method {1}({2}) from the type {0} should be accessed directly
120120 = The method {1}({2}) from the type {0} refers to the missing type {3}
Stephan Herrmannbb25a052011-01-27 11:59:20 +0000121121 = The method {1}({2}) from the type {0} can be declared as static
122122 = The method {1}({2}) from the type {0} can potentially be declared as static
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000123
124129 = The constructor {0}({1}) refers to the missing type {2}
125130 = The constructor {0}({1}) is undefined
126131 = The constructor {0}({1}) is not visible
127132 = The constructor {0}({1}) is ambiguous
128133 = The constructor {0}({1}) is deprecated
129134 = The constructor {0}({1}) is never used locally
130135 = Cannot refer to an instance field {0} while explicitly invoking a constructor
131136 = Cannot refer to an instance method while explicitly invoking a constructor
132137 = Recursive constructor invocation {0}({1})
133138 = Cannot refer to 'this' nor 'super' while explicitly invoking a constructor
134139 = Constructor call must be the first statement in a constructor
135140 = Implicit super constructor {0}({1}) is undefined for default constructor. Must define an explicit constructor
136141 = Implicit super constructor {0}({1}) is not visible for default constructor. Must define an explicit constructor
137142 = Implicit super constructor {0}({1}) is ambiguous for default constructor. Must define an explicit constructor
138143 = Implicit super constructor {0}({1}) is undefined. Must explicitly invoke another constructor
139144 = Implicit super constructor {0}({1}) is not visible. Must explicitly invoke another constructor
140145 = Implicit super constructor {0}({1}) is ambiguous. Must explicitly invoke another constructor
141146 = Default constructor cannot handle exception type {0} thrown by implicit super constructor. Must define an explicit constructor
142147 = Unhandled exception type {0} thrown by implicit super constructor
143
144
145148 = The allocated object is never used
146149 = Dead code
147150 = The type of the expression must be an array type but it resolved to {0}
148151 = Must explicitly convert the char[] to a String
149152 = String constant is exceeding the limit of 65535 bytes of UTF8 encoding
150153 = case expressions must be constant expressions
151154 = The literal {1} of type {0} is out of range
152156 = Cannot cast from {0} to {1}
153157 = Cannot instantiate the type {0}
154158 = Cannot define dimension expressions when an array initializer is provided
155159 = Variable must provide either dimension expressions or an array initializer
156160 = The operator {0} is undefined for the argument type(s) {1}
157161 = Unreachable code
158162 = Cannot return from within an initializer
159163 = Initializer does not complete normally
160164 = Expression must return a value
Stephan Herrmann6dcbb382011-10-25 16:30:31 +0000161165 = 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 +0000162166 = The default case is already defined
163167 = Unreachable catch block for {0}. This exception is never thrown from the try statement body
164168 = Unhandled exception type {0}
Stephan Herrmann3df378f2011-08-25 12:46:17 +0000165169 = Cannot switch on a value of type {0}. Only convertible int values or enum variables are permitted
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000166170 = Duplicate case
167171 = Duplicate label {0}
168172 = break cannot be used outside of a loop or a switch
169173 = continue cannot be used outside of a loop
170174 = The label {0} is missing
171175 = {0} is not a valid type''s argument for the synchronized statement
172176 = null is not a valid argument for the synchronized statement
173177 = Cannot throw null as an exception
174178 = The assignment to variable {0} has no effect
175179 = Possible accidental assignment in place of a comparison. A condition expression should not be reduced to an assignment
176180 = Unnecessary semicolon
177181 = Unnecessary cast from {0} to {1}
178182 = Unnecessary cast from {0} to {1}. It is already compatible with the argument type {2}
179183 = The expression of type {0} is already an instance of type {1}
180184 = finally block does not complete normally
181185 = The declared exception {3} is not actually thrown by the method {1}({2}) from type {0}
182186 = The declared exception {2} is not actually thrown by the constructor {0}({1})
183187 = Unreachable catch block for {0}. It is already handled by the catch block for {1}
184188 = Empty control-flow statement
185189 = Statement unnecessarily nested within else clause. The corresponding then clause does not complete normally
186190 = Read access to enclosing field {0}.{1} is emulated by a synthetic accessor method
187191 = Write access to enclosing field {0}.{1} is emulated by a synthetic accessor method
188192 = Access to enclosing method {1}({2}) from the type {0} is emulated by a synthetic accessor method
189193 = Access to enclosing constructor {0}({1}) is emulated by a synthetic accessor method
190194 = Switch case may be entered by falling through previous case. If intended, add a new comment //$FALL-THROUGH$ on the line above
191195 = The method {1} is defined in an inherited type and an enclosing scope
192196 = The field {0} is defined in an inherited type and an enclosing scope
193197 = The type {0} is defined in an inherited type and an enclosing scope
194198 = 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
195199 = The label {0} is never explicitly referenced
196200 = Cannot use {0} in a static context
197201 = Cannot make a static reference to the non-static method {1}({2}) from the type {0}
198202 = Cannot specify an array dimension after an empty dimension
Stephan Herrmann3db42762011-03-03 19:17:16 +0000199#203 = Invalid cast expression
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000200204 = Syntax error on token "{0}", {1} expected
201205 = Syntax error on token "{0}", no accurate correction available
202206 = Invalid argument to operation ++/--
203207 = Interfaces cannot have constructors
204208 = Array constants can only be used in initializers
205209 = Syntax error on keyword "{0}"; {1} expected
206210 = Syntax error on keyword "{0}", no accurate correction available
207211 = Comparing identical expressions
208
209220 = Unmatched bracket
210221 = The primitive type {0} of {1} does not have a field {2}
211222 = Invalid expression as statement
212223 = The left-hand side of an assignment must be a variable
213224 = Missing semicolon
214225 = Invalid parenthesized expression
215
216230 = Syntax error on token "{0}", {1} expected before this token
217231 = Syntax error on token "{0}", {1} expected after this token
218232 = Syntax error on token "{0}", delete this token
219233 = Syntax error on tokens, delete these tokens
220234 = Syntax error on tokens, they can be merged to form {0}
221235 = Syntax error on token "{0}", invalid {1}
222236 = Syntax error on token(s), misplaced construct(s)
223237 = Syntax error on tokens, {0} expected instead
224238 = Syntax error on tokens, no accurate correction available
225239 = Syntax error, unexpected {0}
226240 = Syntax error, insert "{0}" to complete {1}
227241 = Syntax error, insert "{0}" to complete scope
228242 = Syntax error, insert "{0}" to complete phrase
229
230250 = Unexpected end of file
231251 = Invalid hex literal number
232252 = Invalid octal literal number
233253 = Invalid character constant
234254 = Invalid escape sequence (valid ones are \\b \\t \\n \\f \\r \\" \\' \\\\ )
235255 = Invalid input
236256 = Invalid unicode
237257 = Invalid float literal number
238258 = Null source string
239259 = String literal is not properly closed by a double-quote
240260 = Unexpected end of comment
241261 = Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
242262 = Invalid digit (valid ones are 0..9)
243263 = Invalid low surrogate: must be within 0xDC00 and 0xDFFF
244264 = Invalid high surrogate: must be within 0xD800 and 0xDBFF
245265 = Unnecessary $NON-NLS$ tag
Stephan Herrmann44109d32011-08-02 14:34:26 +0000246266 = Invalid binary literal number (only '0' and '1' are expected)
247267 = Binary literals can only be used with source level 1.7 or greater
248268 = Underscores have to be located within digits
249269 = Underscores can only be used with source level 1.7 or greater
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000250
251280 = Discouraged access: {0}
252
253300 = The interface {0} cannot define an initializer
254301 = Duplicate modifier for the type {0}
255302 = Illegal modifier for the class {0}; only public, abstract & final are permitted
256303 = Illegal modifier for the interface {0}; only public & abstract are permitted
257304 = Illegal modifier for the member class {0}; only public, protected, private, static, abstract & final are permitted
258305 = Illegal modifier for the member interface {0}; only public, protected, private, static & abstract are permitted
259306 = Illegal modifier for the local class {0}; only abstract or final is permitted
260307 = Access restriction: {0}
261308 = The class {0} can be either abstract or final, not both
262309 = The interface member type {0} can only be public
263310 = The member type {0} can only set one of public / protected / private
264311 = The member type {0} cannot be declared static; static types can only be declared in static or top level types
265312 = The type {0} cannot be the superclass of {1}; a superclass must be a class
266313 = The type {1} cannot subclass the final class {0}
267314 = Duplicate interface {0} for the type {1}
268315 = The type {0} cannot be a superinterface of {1}; a superinterface must be an interface
269316 = Cycle detected: the type {0} cannot extend/implement itself or one of its own member types
270317 = Cycle detected: a cycle exists in the type hierarchy between {0} and {1}
271318 = The nested type {0} cannot hide an enclosing type
272319 = Duplicate nested type {0}
273320 = No exception of type {0} can be thrown; an exception type must be a subclass of Throwable
274321 = The package {0} collides with a type
275322 = The type {1} collides with a package
276323 = The type {1} is already defined
277324 = The type {0} cannot be resolved. It is indirectly referenced from required .class files
278325 = The public type {1} must be defined in its own file
Stephan Herrmanna1bf6562011-03-01 21:59:07 +0000279###[obsolete] 326 = A package must be specified in {0} or a default package created
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000280327 = The hierarchy of the type {0} is inconsistent
281328 = The declared package "{1}" does not match the expected package "{0}"
282329 = The type java.lang.Object cannot have a superclass or superinterfaces
283330 = The type java.lang.Object must be a class
284331 = Redundant superinterface {0} for the type {1}, already defined by {2}
285332 = The type {0} should also implement hashCode() since it overrides Object.equals()
286333 = The type {0} must be an abstract class to define abstract methods
287
288###[obsolete] 330 = {0} cannot be resolved or is not a valid superclass
289###[obsolete] 331 = Superclass {0} is not visible
290###[obsolete] 332 = Superclass {0} is ambiguous
291###[obsolete] 333 = Superclass {0} cannot be referenced using its binary name
292###[obsolete] 334 = Superclass {0} is defined in an inherited type and an enclosing scope
293###[obsolete] 335 = {0} cannot be resolved or is not a valid superinterface
294###[obsolete] 336 = Superinterface {0} is not visible
295###[obsolete] 337 = Superinterface {0} is ambiguous
296###[obsolete] 338 = Superinterface {0} cannot be referenced using its binary name
297###[obsolete] 339 = Superinterface {0} is defined in an inherited type and an enclosing scope
298
299340 = Duplicate field {0}.{1}
300341 = Duplicate modifier for the field {0}
301342 = Illegal modifier for the field {0}; only public, protected, private, static, final, transient & volatile are permitted
302343 = Illegal modifier for the interface field {0}.{1}; only public, static & final are permitted
303344 = The field {0} can only set one of public / protected / private
304345 = The field {0} can be either final or volatile, not both
Stephan Herrmann6dcbb382011-10-25 16:30:31 +0000305346 = 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 +0000306
307###[obsolete] 350 = {2} cannot be resolved (or is not a valid type) for the field {1}.{0}
308###[obsolete] 351 = The type {2} is not visible for the field {1}.{0}
309###[obsolete] 352 = The type {2} is ambiguous for the field {1}.{0}
310###[obsolete] 353 = The field type {2} cannot be referenced using its binary name
311###[obsolete] 354 = The field type {2} is defined in an inherited type and an enclosing scope
312
313355 = Duplicate method {0}({2}) in type {1}
314356 = Illegal modifier for parameter {0}; only final is permitted
315357 = Duplicate modifier for the method {1} in type {0}
316358 = Illegal modifier for the method {0}; only public, protected, private, static, final, abstract, synchronized & native are permitted
317359 = Illegal modifier for the interface method {0}; only public & abstract are permitted
318360 = The method {1} in type {0} can only set one of public / protected / private
319361 = The method {1} cannot be declared static; static methods can only be declared in a static or top level type
320362 = The abstract method {1} in type {0} can only set a visibility modifier, one of public or protected
321363 = The abstract method {1} in type {0} can only be defined by an abstract class
322364 = void is an invalid type for the parameter {1} of the method {0}
323###[obsolete] 365 = An array of void is an invalid type for the parameter {1} of the method {0}
324###[obsolete] 366 = An array of void is an invalid return type for the method {0}
325367 = The native method {1} cannot also be declared strictfp
326368 = Duplicate modifier for parameter {0}
327369 = Illegal modifier for the constructor in type {0}; only public, protected & private are permitted
328
329###[obsolete] 370 = {2} cannot be resolved (or is not a valid type) for the parameter {1} of the method {0}
330###[obsolete] 371 = The type {2} is not visible for the parameter {1} of the method {0}
331###[obsolete] 372 = The type {2} is ambiguous for the parameter {1} of the method {0}
332###[obsolete] 373 = The parameter type {2} cannot be referenced using its binary name
333###[obsolete] 374 = The parameter type {2} is defined in an inherited type and an enclosing scope
334###[obsolete] 375 = {1} cannot be resolved (or is not an exception type) for the method {0}
335###[obsolete] 376 = The exception type {1} is not visible for the method {0}
336###[obsolete] 377 = The exception type {1} is ambiguous for the method {0}
337###[obsolete] 378 = The exception type {1} cannot be referenced using its binary name
338###[obsolete] 379 = The exception type {1} is defined in an inherited type and an enclosing scope
339###[obsolete] 380 = {1} cannot be resolved (or is not a valid return type) for the method {0}
340###[obsolete] 381 = The return type {1} is not visible for the method {0}
341###[obsolete] 382 = The return type {1} is ambiguous for the method {0}
342###[obsolete] 383 = The return type {1} cannot be referenced using its binary name
343###[obsolete] 384 = The return type {1} is defined in an inherited type and an enclosing scope
344
345385 = The import {0} conflicts with a type defined in the same file
346386 = The import {0} collides with another import statement
347387 = Only a type can be imported. {0} resolves to a package
348388 = The import {0} is never used
349390 = The import {0} cannot be resolved
350
351###[obsolete] 391 = The imported type {0} is not visible
352###[obsolete] 392 = The imported type {0} is ambiguous
353###[obsolete] 393 = The imported type {0} cannot be referenced using its binary name
354###[obsolete] 394 = The imported type {0} is defined in an inherited type and an enclosing scope
355
356391 = The static import {0} must be a field or member type
357
358395 = Duplicate modifier for the variable {0}
359396 = Illegal modifier for the variable {0}; only final is permitted
360###[obsolete] 397 = Redundant null check: The variable {0} cannot be null at this location
361###[obsolete] 398 = Null pointer access: The variable {0} can only be null at this location
362###[obsolete] 399 = Potential null pointer access: The variable {0} may be null at this location
363
364400 = The type {3} must implement the inherited abstract method {2}.{0}({1})
365401 = Cannot override the final method from {0}
366402 = Exception {0} is not compatible with throws clause in {1}
367403 = Exception {0} in throws clause of {1} is not compatible with {2}
368404 = The return type is incompatible with {0}
369405 = The inherited method {0} cannot hide the public abstract method in {1}
370406 = This instance method cannot override the static method from {0}
371407 = This static method cannot hide the instance method from {0}
372408 = The static method {0} conflicts with the abstract method in {1}
373409 = Cannot reduce the visibility of the inherited method from {0}
374410 = The method {0} does not override the inherited method from {1} since it is private to a different package
375411 = 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
376412 = The method {0} overrides a deprecated method from {1}
377413 = The return type is incompatible with {0}, thus this interface cannot be implemented
378414 = Exception {0} is not compatible with throws clause in {1}, thus this interface cannot be implemented
379415 = The variable argument type {0} of the method {1} must be the last parameter
380416 = The method {0} is overriding a method without making a super invocation
381417 = The method {0}.{1}({2}) is overriding a synchronized method without being synchronized
382418 = The type {3} must implement the inherited abstract method {2}.{0}({1}) to override {6}.{4}({5})
383419 = The return types are incompatible for the inherited methods {0}
384
385420 = Code snippet support cannot find the class {0}
386421 = Code snippet support cannot find the method {0}.{1}({2})
387422 = super cannot be used in the code snippet code
388
389430 = Too many constants, the constant pool for {0} would exceed 65536 entries
390431 = The type generates a string that requires more than 65535 bytes to encode in Utf8 format in the constant pool
391
392432 = Too many fields for type {0}. Maximum is 65535
393433 = Too many methods for type {0}. Maximum is 65535
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000394434 = The synthetic method created to access {0}({1}) of type {2} has too many parameters
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000395
396440 = 'assert' should not be used as an identifier, since it is a reserved keyword from source level 1.4 on
397441 = 'enum' should not be used as an identifier, since it is a reserved keyword from source level 1.5 on
398442 = Enum constants cannot be surrounded by parenthesis
399
Stephan Herrmanne5d6be82010-04-02 03:29:32 +0000400450 = {0}{1}
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000401
402451 = Null pointer access: The variable {0} can only be null at this location
403452 = Potential null pointer access: The variable {0} may be null at this location
404453 = Redundant null check: The variable {0} can only be null at this location
405454 = Null comparison always yields false: The variable {0} can only be null at this location
406455 = Redundant assignment: The variable {0} can only be null at this location
407456 = instanceof always yields false: The variable {0} can only be null at this location
408457 = Redundant null check: The variable {0} cannot be null at this location
409458 = Null comparison always yields false: The variable {0} cannot be null at this location
410
411460 = Empty block should be documented
412
413### DOC
414462 = Invalid URL reference. Double quote the reference or use the href syntax
415463 = Description expected after this reference
416464 = Unexpected duplicated tag @{0}
417465 = ''{0}'' visibility for malformed doc comments hides this ''{1}'' reference
418466 = Invalid member type qualification
419467 = Missing identifier
420468 = Cannot make a static reference to the non-static type variable {0}
421469 = Invalid param tag type parameter name
422470 = Unexpected tag
423471 = Missing tag for parameter {0}
424472 = Missing parameter name
425473 = Duplicate tag for parameter
426474 = Parameter {0} is not declared
427475 = Missing tag for return type
428476 = Duplicate tag for return type
429477 = Missing tag for declared exception {0}
430478 = Missing class name
431479 = Invalid class name
432480 = Duplicate tag for thrown exception
433481 = Exception {0} is not declared
434482 = Missing reference
435483 = Invalid reference
436484 = Malformed link reference
437485 = Invalid parameters declaration
438486 = Missing comment for {0} declaration
439487 = Invalid tag
440488 = {0} cannot be resolved or is not a field
441489 = The field {0} is not visible
442490 = The field {0} is ambiguous
443491 = The field {0}.{1} is deprecated
444492 = The constructor {0}({1}) is undefined
445493 = The constructor {0}({1}) is not visible
446494 = The constructor {0}({1}) is ambiguous
447495 = The constructor {0}({1}) is deprecated
448496 = The method {1}({2}) is undefined for the type {0}
449497 = The method {1}({2}) from the type {0} is not visible
450498 = The method {1}({2}) is ambiguous for the type {0}
451499 = The method {1}({2}) from the type {0} is deprecated
452500 = Cannot invoke {1}({2}) on the primitive type {0}
453501 = The method {1}({2}) in the type {0} is not applicable for the arguments ({3})
454502 = Cannot invoke {1}({2}) on the array type {0}
455503 = {0} cannot be resolved to a type
456504 = The type {0} is not visible
457505 = The type {0} is ambiguous
458506 = The type {0} is deprecated
459507 = The nested type {0} cannot be referenced using its binary name
460508 = The method {1} is defined in an inherited type and an enclosing scope
461509 = The field {0} is defined in an inherited type and an enclosing scope
462510 = The type {0} is defined in an inherited type and an enclosing scope
463511 = {0} is an ambiguous method reference or is not a field
464512 = Missing closing brace for inline tag
465513 = Malformed reference (missing end space separator)
466514 = Javadoc:
467515 = Missing #: "{0}"
468516 = Description expected after @{0}
469517 = Only static field reference is allowed for @value tag
470518 = Unexpected text
471519 = Invalid param tag name
472
473### GENERICS
474520 = Duplicate type parameter {0}
475521 = Cannot refer to the type parameter {0} as a supertype
476522 = Cannot make a static reference to the non-static type {0}
477523 = The type java.lang.Object cannot be declared as a generic
478524 = The type {0} is not generic; it cannot be parameterized with arguments <{1}>
479525 = Incorrect number of arguments for type {0}; it cannot be parameterized with arguments <{1}>
480526 = Bound mismatch: The type {0} is not a valid substitute for the bounded parameter <{2} extends {3}> of the type {1}
481527 = Method {0}({2}) has the same erasure {0}({3}) as another method in type {1}
482528 = Illegal forward reference to type parameter {0}
483529 = The type {0} is not an interface; it cannot be specified as a bounded parameter
484530 = Type safety: The constructor {0}({1}) belongs to the raw type {0}. References to generic type {2} should be parameterized
485531 = Type safety: The method {0}({1}) belongs to the raw type {2}. References to generic type {3} should be parameterized
486532 = Type safety: The expression of type {0} needs unchecked conversion to conform to {1}
487533 = Cannot use the type parameter {0} in a catch block
488534 = Cannot use the parameterized type {0} either in catch block or throws clause
489535 = Cannot create a generic array of {0}
490536 = 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
491537 = The type parameter {0} should not be bounded by the final type {1}. Final types cannot be further extended
492538 = Inconsistent classfile encountered: The undefined type parameter {0} is referenced from within {1}
493539 = The interface {2} cannot be implemented more than once with different arguments: {0} and {1}
494540 = 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}
495541 = 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}
496542 = 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
497543 = 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}>
498544 = 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}>
499545 = Type safety: Unchecked cast from {0} to {1}
500546 = Cannot perform instanceof check against parameterized type {0}. Use the form {1} instead since further generic type information will be erased at runtime
Stephan Herrmannb9e10522012-03-15 21:24:23 +0100501547 = Cannot perform instanceof check against type parameter {0}. Use its erasure {1} instead since further generic type information will be erased at runtime
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000502548 = The method {0}({1}) of type {2} is not generic; it cannot be parameterized with arguments <{3}>
503549 = Incorrect number of type arguments for generic method <{3}>{0}({1}) of type {2}; it cannot be parameterized with arguments <{4}>
504550 = The parameterized method <{3}>{0}({1}) of type {2} is not applicable for the arguments ({4})
505551 = The constructor {0}({1}) of type {2} is not generic; it cannot be parameterized with arguments <{3}>
506552 = Incorrect number of type arguments for generic constructor <{3}>{0}({1}) of type {2}; it cannot be parameterized with arguments <{4}>
507553 = The parameterized constructor <{3}>{0}({1}) of type {2} is not applicable for the arguments ({4})
508554 = The method {0}({1}) of raw type {2} is no longer generic; it cannot be parameterized with arguments <{3}>
509555 = The constructor {0}({1}) of raw type {2} is no longer generic; it cannot be parameterized with arguments <{3}>
510556 = The type {1} cannot extend or implement {0}. A supertype may not specify any wildcard
511557 = The generic class {0} may not subclass java.lang.Throwable
512558 = Illegal class literal for the type parameter {0}
513559 = Type safety: The return type {0} for {1}({2}) from the type {3} needs unchecked conversion to conform to {4} from the type {5}
514560 = Name clash: The method {0}({1}) of type {2} has the same erasure as {0}({3}) of type {4} but does not override it
515561 = The member type {0}<{1}> must be qualified with a parameterized type, since it is not static
516562 = The member type {0} must be parameterized, since it is qualified with a parameterized type
517563 = The member type {0} cannot be qualified with a parameterized type, since it is static. Remove arguments from qualifying type {1}
518###[obsolete] 564 = Bound conflict: {0} is inherited with conflicting arguments
519565 = Duplicate methods named {0} with the parameters ({2}) and ({3}) are defined by the type {1}
520566 = Cannot allocate the member type {0} using a parameterized compound name; use its simple name and an enclosing instance of type {1}
521567 = Duplicate bound {0}
522568 = The array type {0} cannot be used as a type parameter bound
523569 = Type safety: Unchecked invocation {0}({3}) of the generic constructor {0}({1}) of type {2}
524570 = Type safety: Unchecked invocation {0}({3}) of the generic method {0}({1}) of type {2}
525571 = The type parameter {0} is hiding the type {1}
526572 = {0} is a raw type. References to generic type {1} should be parameterized
527573 = Cannot specify any additional bound {0} when first bound is a type parameter
Stephan Herrmann44109d32011-08-02 14:34:26 +0000528574 = Type safety: A generic array of {0} is created for a varargs parameter
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000529575 = Illegal qualified access from the type parameter {0}
530576 = The nested type {0} is hiding the type parameter {1} of type {2}
531577 = The nested type {0} is hiding the type parameter {1} of the generic method {2}({3}) of type {4}
532578 = Wildcard is not allowed at this location
533579 = 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 +0000534583 = 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 +0000535584 = 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 +0000536
537### FOREACH
538580 = Type mismatch: cannot convert from element type {0} to {1}
539581 = Can only iterate over an array or an instance of java.lang.Iterable
540582 = Can only iterate over an array or an instance of java.util.Collection
541
542### SOURCE LEVEL
Stephan Herrmann44109d32011-08-02 14:34:26 +0000543590 = Syntax error, type parameters are only available if source level is 1.5 or greater
544591 = Syntax error, static imports are only available if source level is 1.5 or greater
545592 = Syntax error, 'for each' statements are only available if source level is 1.5 or greater
546593 = Syntax error, parameterized types are only available if source level is 1.5 or greater
547594 = Syntax error, enum declarations are only available if source level is 1.5 or greater
548595 = Syntax error, varargs are only available if source level is 1.5 or greater
549596 = Syntax error, annotations are only available if source level is 1.5 or greater
550597 = Syntax error, annotation declarations are only available if source level is 1.5 or greater
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000551598 = Syntax error, annotation declaration cannot have type parameters
552599 = Syntax error, enum declaration cannot have type parameters
553
554### ANNOTATIONS
555600 = Illegal modifier for the annotation attribute {0}.{1}; only public & abstract are permitted
556601 = Extended dimensions are illegal in an annotation attribute declaration
557602 = Package annotations must be in file package-info.java
558603 = Illegal modifier for the annotation type {0}; only public & abstract are permitted
559604 = Illegal modifier for the member annotation type {0}; only public, protected, private, static & abstract are permitted
560605 = Invalid type {0} for the annotation attribute {2}.{1}; only primitive type, String, Class, annotation, enumeration are permitted or 1-dimensional arrays thereof
561606 = Cycle detected: the annotation type {0} cannot contain attributes of the annotation type itself
562607 = Cycle detected: a cycle exists between annotation attributes of {0} and {1}
563608 = Duplicate annotation @{0}
564609 = The annotation @{0} must define the attribute {1}
565610 = Duplicate attribute {0} in annotation @{1}
566611 = The attribute {0} is undefined for the annotation type {1}
567612 = The value for annotation attribute {0}.{1} must be a class literal
568613 = The value for annotation attribute {0}.{1} must be a constant expression
569###[obsolete] 614 = The annotation field {0}.{1} must be initialized with a constant expression
570615 = Illegal modifier for the annotation field {0}.{1}; only public, static & final are permitted
571616 = The annotation type {0} cannot override the method {1}.{2}({3})
572617 = Annotation attributes cannot have parameters
573618 = Annotation attributes cannot be generic
574619 = Annotation type declaration cannot have an explicit superclass
575620 = Annotation type declaration cannot have explicit superinterfaces
576621 = Duplicate element {0} specified in annotation @{1}
577622 = The annotation @{0} is disallowed for this location
578623 = The method {0}({1}) of type {2} must override a superclass method
579624 = Annotation type declaration cannot have a constructor
580625 = The value for annotation attribute {0}.{1} must be some @{2} annotation
581626 = The annotation type {0} should not be used as a superinterface for {1}
582627 = The method {0}({1}) of type {2} should be tagged with @Override since it actually overrides a superclass method
583628 = The deprecated field {0}.{1} should be annotated with @Deprecated
584629 = The deprecated method {0}({1}) of type {2} should be annotated with @Deprecated
585630 = The deprecated type {0} should be annotated with @Deprecated
586631 = Unsupported @SuppressWarnings("{0}")
587632 = The value for annotation attribute {0}.{1} must be an array initializer
588633 = The value for annotation attribute {0}.{1} must be an enum constant expression
589634 = The method {0}({1}) of type {2} must override or implement a supertype method
590635 = Unnecessary @SuppressWarnings("{0}")
591636 = The method {0}({1}) of type {2} should be tagged with @Override since it actually overrides a superinterface method
Stephan Herrmann5fa7f312012-07-13 01:52:51 +0200592637 = Syntax error, type annotations are available only when source level is at least 1.8
593638 = Receiver annotations are illegal in a static method context
594639 = Syntax error, type annotations are illegal here
595640 = Syntax error, modifiers are illegal here
596641 = Type annotation is illegal for a method that returns void
597642 = Only the first formal parameter of an instance method may be declared explicitly as "this"
598643 = Explicit declaration of "this" parameter is allowed only at source level 1.8 or above
599644 = Default methods are allowed only at source level 1.8 or above
600645 = Lambda expressions are allowed only at source level 1.8 or above
601646 = Method references are allowed only at source level 1.8 or above
602647 = Constructor references are allowed only at source level 1.8 or above
603648 = Lambda expressions cannot declare a this parameter
604649 = Only annotation types that explicitly specify {0} as a possible target element type can be applied here
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000605### MORE GENERICS
606660 = Unused type arguments for the non generic constructor {0}({1}) of type {2}; it should not be parameterized with arguments <{3}>
607
608### CORRUPTED BINARIES
609700 = The class file {0} contains a signature ''{1}'' ill-formed at position {2}
610
611### CORRUPTED SOURCES
612701 = Cannot read the source from {0}; either the file uses a different encoding than {1} or it is corrupted
613702 = Cannot read the source from {0} due to internal exception {1}
614
615### AUTOBOXING
616720 = The expression of type {0} is boxed into {1}
617721 = The expression of type {0} is unboxed into {1}
618
619### ENUMS
620750 = Illegal modifier for the enum {0}; only public is permitted
621751 = Illegal modifier for the enum constant {0}; no modifier is allowed
622###[obsolete] 752 = Illegal modifier for the local enum {0}; only abstract is permitted
623753 = Illegal modifier for the member enum {0}; only public, protected, private & static are permitted
624754 = The enum {1} already defines the method {0}({2}) implicitly
625755 = The qualified case label {0}.{1} must be replaced with the unqualified enum constant {1}
626756 = The type {1} may not subclass {0} explicitly
627757 = Cannot invoke super constructor from enum constructor {0}({1})
628758 = The enum {2} can only define the abstract method {0}({1}) if it also defines enum constants with corresponding implementations
629759 = The field {0}.{1} cannot be referenced from an enum case label; only enum constants can be used in enum switch
630760 = Illegal modifier for the enum constructor; only private is permitted.
631761 = The enum constant {1} needs a corresponding case label in this enum switch on {0}
632762 = Cannot refer to the static enum field {0}.{1} within an initializer
633763 = The enum constant {2} must implement the abstract method {0}({1})
634764 = The enum constant {0} cannot define abstract methods
635765 = The method {1} cannot be abstract in the enum constant {0}
Stephan Herrmann4f3f3d12012-04-28 23:46:59 +0200636766 = The switch over the enum type {0} should have a default case
637767 = The switch over the type {0} should have a default case
638768 = The enum constant {1} should have a corresponding case label in this enum switch on {0}. To suppress this problem, add a comment //$CASES-OMITTED$ on the line above the ''default:''
639769 = The local variable {0} may not have been initialized. Note that a problem regarding missing ''default:'' on ''switch'' has been suppressed, which is perhaps related to this problem
640770 = The blank final field {0} may not have been initialized. Note that a problem regarding missing ''default:'' on ''switch'' has been suppressed, which is perhaps related to this problem
641771 = This method must return a result of type {0}. Note that a problem regarding missing ''default:'' on ''switch'' has been suppressed, which is perhaps related to this problem
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000642
643### VARARGS
644800 = Extended dimensions are illegal for a variable argument
645801 = 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
646802 = 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
647803 = 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 +0000648804 = @SafeVarargs annotation cannot be applied to fixed arity method {0}
649805 = @SafeVarargs annotation cannot be applied to non-final instance method {0}
650806 = Type safety: Potential heap pollution via varargs parameter {0}
Stephan Herrmann41a335b2011-12-08 22:55:07 +0100651807 = The method {0}({1}) of type {2} is not applicable as the formal varargs element type {3} is not accessible here
652808 = 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 +0000653
654### GENERIC JAVADOC
655850 = 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}>
656851 = The method {0}({1}) of type {2} is not generic; it cannot be parameterized with arguments <{3}>
657852 = Incorrect number of type arguments for generic method <{3}>{0}({1}) of type {2}; it cannot be parameterized with arguments <{4}>
658853 = The parameterized method <{3}>{0}({1}) of type {2} is not applicable for the arguments ({4})
659854 = The method {0}({1}) of raw type {2} is no longer generic; it cannot be parameterized with arguments <{3}>
660855 = 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}>
661856 = The constructor {0}({1}) of type {2} is not generic; it cannot be parameterized with arguments <{3}>
662857 = Incorrect number of type arguments for generic constructor <{3}>{0}({1}) of type {2}; it cannot be parameterized with arguments <{4}>
663858 = The parameterized constructor <{3}>{0}({1}) of type {2} is not applicable for the arguments ({4})
664859 = The constructor {0}({1}) of raw type {2} is no longer generic; it cannot be parameterized with arguments <{3}>
665
Stephan Herrmann44109d32011-08-02 14:34:26 +0000666### Java 7
667870 = The parameter {0} of a multi-catch block cannot be assigned
668871 = The resource type {0} does not implement java.lang.AutoCloseable
669872 = The resource {0} of a try-with-resources statement cannot be assigned
670873 = The exception {0} is already caught by the alternative {1}
671874 = Resource specification not allowed here for source level below 1.7
672875 = Multi-catch parameters are not allowed for source level below 1.7
673876 = Invocation of polymorphic methods not allowed for source level below 1.7
Stephan Herrmann3df378f2011-08-25 12:46:17 +0000674877 = 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 +0000675878 = Cannot infer type arguments for {0}
676879 = Explicit type arguments cannot be used with '<>' in an allocation expression
677880 = '<>' cannot be used with anonymous classes
Stephan Herrmann3df378f2011-08-25 12:46:17 +0000678881 = 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 +0000679882 = Unhandled exception type {0} thrown by automatic close() invocation on {1}
680883 = '<>' operator is not allowed for source level below 1.7
681884 = Redundant specification of type arguments <{0}>
Stephan Herrmann6dcbb382011-10-25 16:30:31 +0000682885 = Potential resource leak: ''{0}'' may not be closed
683886 = Potential resource leak: ''{0}'' may not be closed at this location
684887 = Resource leak: ''{0}'' is never closed
685888 = Resource leak: ''{0}'' is not closed at this location
686889 = Resource ''{0}'' should be managed by try-with-resource
687890 = 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 +0000688
Stephan Herrmannaa1e2842011-12-10 00:30:58 +0100689### NULL ANNOTATIONS
Stephan Herrmannb9e10522012-03-15 21:24:23 +0100690910 = Null type mismatch: required ''@{0} {1}'' but the provided value is null
691911 = Null type mismatch: required ''@{0} {1}'' but the provided value is inferred as @{2}
692912 = Null type safety: The expression of type {0} needs unchecked conversion to conform to ''@{1} {2}''
693913 = A default nullness annotation has not been specified for the package {0}
Stephan Herrmannaa1e2842011-12-10 00:30:58 +0100694914 = The return type is incompatible with the @{1} return from {0}
695915 = Illegal redefinition of parameter {0}, inherited method from {1} declares this parameter as @{2}
696916 = Illegal redefinition of parameter {0}, inherited method from {1} does not constrain this parameter
697917 = Missing non-null annotation: inherited method from {1} declares this parameter as @{2}
698918 = Missing nullable annotation: inherited method from {1} declares this parameter as @{2}
699919 = Potential null pointer access: The method {0} may return null
700920 = Redundant null check: The method {0} cannot return null
701921 = The method {0} from {1} cannot implement the corresponding method from {2} due to incompatible nullness constraints
702922 = The nullness annotation is redundant with a default that applies to this location
703923 = The nullness annotation @{0} is not applicable for the primitive type {1}
Stephan Herrmann2c38ab42012-01-28 20:42:28 +0100704925 = Nullness default is redundant with the global default
705926 = Nullness default is redundant with a default specified for the enclosing package {0}
706927 = Nullness default is redundant with a default specified for the enclosing type {0}
707928 = Nullness default is redundant with a default specified for the enclosing method {0}
708929 = Contradictory null specification; only one of @{0} and @{1} can be specified at any location
Stephan Herrmannb9e10522012-03-15 21:24:23 +0100709930 = A default nullness annotation has not been specified for the type {0}
710931 = Redundant null check: The variable {0} is specified as @{1}
711932 = Null comparison always yields false: The variable {0} is specified as @{1}
712933 = Null type mismatch: required ''@{0} {1}'' but the provided value is specified as @{2}
Stephan Herrmannaa1e2842011-12-10 00:30:58 +0100713
Stephan Herrmann5fa7f312012-07-13 01:52:51 +0200714
715// Java 8
7161001 = Syntax error, modifiers and annotations are not allowed for the lambda parameter {0} as its type is elided
717
718# Default methods:
719# variant of 359:
7201050 = Illegal modifier for the interface method {0}; only public, abstract, strictfp & synchronized are permitted
721
722
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000723### ELABORATIONS
724## Access restrictions
72578592 = The type {1} is not accessible due to restriction on classpath entry {0}
72678593 = The type {1} is not accessible due to restriction on required project {0}
72778594 = The type {1} is not accessible due to restriction on required library {0}
72878596 = The field {1} from the type {2} is not accessible due to restriction on classpath entry {0}
72978597 = The field {1} from the type {2} is not accessible due to restriction on required project {0}
73078598 = The field {1} from the type {2} is not accessible due to restriction on required library {0}
73178600 = The constructor {1} is not accessible due to restriction on classpath entry {0}
73278601 = The constructor {1} is not accessible due to restriction on required project {0}
73378602 = The constructor {1} is not accessible due to restriction on required library {0}
73478604 = The method {1} from the type {2} is not accessible due to restriction on classpath entry {0}
73578606 = The method {1} from the type {2} is not accessible due to restriction on required library {0}
73678605 = The method {1} from the type {2} is not accessible due to restriction on required project {0}
737
738### ObjectTeams:
7391000001 = The type org.objectteams.Team cannot have a superclass or superinterfaces
7401000002 = Illegal modifier for team class {0}.
741
742### TEAMS AND ROLES
7431102101 = Illegal modifier for role {0}. Roles cannot be static (OTJLD 1.2.1).
7441102102 = Illegal access modifier for role {0}. Only public and protected are allowed here (OTJLD 1.2.1(a)).
7451102103 = The method {1}({2}) from the role type {0} is not visible (OTJLD 1.2.1(e)).
Stephan Herrmann8f29b012010-04-02 21:18:05 +00007461102104 = The role constructor {0}({1}) is not visible (OTJLD 1.2.1(e)).
7471102105 = 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)).
7481102106 = Cannot access non-public field {0} via externalized role {1} (OTJLD 1.2.1(e)).
7491102107 = Cannot access non-public method {1} via externalized role {0} (OTJLD 1.2.1(e)).
7501102108 = Cannot access non-public constructor {0}({1}) to instantiate externalized role (OTJLD 1.2.1(e)).
7511102109 = Indirect tsuper method inherited from {0} is not visible (OTJLD 1.2.1(e)).
7521102110 = 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 +0000753
7541102200 = Cannot externalize non-public role {0} (OTJLD 1.2.2(a)).
755#unused: 1102201 =
7561102202 = Missing anchor (team instance) for role type {0} outside its team context (OTJLD 1.2.2(b)).
7571102203 = Not a valid type anchor: type {0} is not the enclosing team of role type {1} (OTJLD 1.2.2(b)).
7581102204 = ''{0}'' cannot be used as type anchor for an externalized role: is not a team (OTJLD 1.2.2(b)).
7591102205 = Cannot resolve type anchor {0} (OTJLD 1.2.2(b)).
7601102206 = Cannot resolve type {0}: no such role in team {1} (OTJLD 1.2.2(b)).
7611102207 = Path syntax for externalized role type is deprecated (OTJLD 1.2.2(b)).
7621102208 = 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)).
7631102209 = Invalid externalized use of role type {0}, anchor is not final (OTJLD 1.2.2(c)).
7641102210 = Anchor {0} for the role type {1} is not final (OTJLD 1.2.2(c)).
7651102211 = Not a valid type anchor for externalized role {0}, need a final variable (OTJLD 1.2.2(c)).
7661102212 = 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)).
7671102213 = Illegal qualified use of type {0}: path contains no suitable team anchor (OTJLD 1.2.2(f)).
7681102214 = Externalized role {0} is not allowed in this position (OTJLD 1.2.2(g)).
7691102215 = Cannot sub-class an externalized role type (OTJLD 1.2.2(g)).
7701102216 = Detected a cycle while resolve field {0}.{1} as a team anchor (OTJLD 1.2.2).
7711102217 = Illegal import for role type {0}: roles cannot be imported (OTJLD 1.2.2(i)).
7721102300 = Illegal qualified use of non-public role {0} (OTJLD 1.2.3(b)).
7731102301 = Illegal parameterized use of non-public role {0} (OTJLD 1.2.3(b)).
774
7751102501 = Role file must contain exactly one toplevel type (OTJLD 1.2.5(b)).
7761102502 = The name of role file {0} does not match the role type {1} which it defines (OTJLD 1.2.5(b)).
7771102503 = Package name {0} does not match the name of the enclosing package {1} for role file {2} (OTJLD 1.2.5(c)).
7781102504 = Package declaration {0} refers to the enclosing team of role file {1}.\nMust use a ''team package'' declaration (OTJLD 1.2.5(c)).
7791102505 = Enclosing team {0} not found for role file {1} (OTJLD 1.2.5(c)).
7801102506 = Javadoc: Missing tag for role file {0} (OTJLD 1.2.5(d)).
7811102507 = Javadoc: Type {0} is not a role file of this team (OTJLD 1.2.5(d)).
7821102508 = Javadoc: {0} cannot be resolved to a role of this team (OTJLD 1.2.5(d)).
7831102509 = Javadoc: {0} is an inline role, whereas the @role tag should only be used for role files (OTJLD 1.2.5(d)).
7841102510 = Javadoc: Illegal @role tag, type {0} is not a team (OTJLD 1.2.5(d)).
7851102511 = The enum type {0} illegally resides in a role file of team {1} (OTJLD 1.2.5(e)).
786
7871103001 = Illegal ''extends'' for a regular class: superclass {0} is a team (OTJLD 1.3).
7881103101 = Role class {0} cannot override an interface of the same name (OTJLD 1.3.1(c)).
7891103102 = Role interface {0} cannot override class of the same name (OTJLD 1.3.1(c)).
7901103103 = Cannot override the final role {0} (OTJLD 1.3.1(c)).
7911103104 = Role {0} must override a role from a super team (OTJLD 1.3.1(c)).
7921103105 = Role {0} should be tagged with @Override since it actually overrides a superteam role (OTJLD 1.3.1(c)).
7931103106 = Type mismatch: cannot convert from {0} to {1} because static types of enclosing teams differs (OTJLD 1.3.1(d)).
7941103107 = Cannot use ''tsuper'' in method {0}, enclosing type {1} is not a role (OTJLD 1.3.1(f)).
7951103108 = Illegal tsuper call: role {0} has no implicit super class (OTJLD 1.3.1(f)).
7961103109 = Invalid qualified ''tsuper'': type {1} contains no role corresponding to {0} (OTJLD 1.3.1(f)).
7971103110 = Illegal tsuper call: can only invoke the method being overridden by the current method (OTJLD 1.3.1(f)).
7981103111 = Cannot reduce the visibility of role {0} to {1}, implicit super-role is ''{2}'' (OTJLD 1.3.1(h)).
7991103112 = Cannot reduce the visibility of the inherited method from implicit super class {0} (OTJLD 1.3.1(h)).
8001103113 = The return type of implicitly inherited method {0} is not compatible to the return type of explicitly inherited method {1} (1.3.1(k)).
8011103201 = 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 +00008021103202 = 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 +00008031103203 = Illegal tsuper call. Must use a constructor of newly introduced super-class {0} (OTJLD 1.3.2(c)).
8041103204 = Method {0} inherited from regular super class {1} is not visible outside the role {2} (OTJLD 1.3.2(e)).
805
8061104001 = Role type {0} shadows the visible type {1} (OTJLD 1.4(a)).
8071104002 = Field declaration {0} conflicts with an implicitly inherited field (OTJLD 1.4(b)).
808
8091105001 = Regular role cannot override team {0} (OTJLD 1.5(a)).
8101105002 = Member types not allowed in regular roles. Mark class {0} as a team if {1} should be its role (OTJLD 1.5(a,b)).
8111105003 = Team {0} cannot extend its enclosing team {1} (OTJLD 1.5(c)).
8121105004 = Name clash for implicit super types of role {0}: {1} and {2} are incomparable (OTJLD 1.5(d)).
813
814
815### ROLE-BASE-BINDING
8161201001 = Overlapping role hierarchies: role is subtype of these bound roles: {0} (OTJLD 2.1(c)).
8171201002 = Illegal redefinition: {0} is not a sub-type of baseclass {1} as inherited from {2} (OTJLD 2.1(c)).
8181201003 = Role inherits incompatible ''playedBy'' declaration(s): {0} is not comparable to {1} (OTJLD 2.1(c)).
8191201004 = 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 +00008201201101 = 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 +00008211201201 = Member type {0} cannot be used as the base class of {1} (OTJLD 2.1.2(b)).
8221201202 = 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 +00008231201203 = Base class {0} is an enclosing type of {1}; please read the hints in the OT/J Language Definition (OTJLD 2.1.2(b)).
8241201204 = 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 +00008251201205 = Overriding access restriction of base class {0} (OTJLD 2.1.2(c)).
8261201206 = PlayedBy binding overrides finalness of base class {0} (OTJLD 2.1.2(c)).
8271201207 = Trying to override access restriction of confined base class {0} (OTJLD 2.1.2(c)).
8281201208 = "base" import is not allowed in regular class {0} (OTJLD 2.1.2(d)).
8291201209 = "base" import is not allowed in a role file (OTJLD 2.1.2(d)).
8301201210 = It is recommended that base class {0} be imported with the modifier "base" (OTJLD 2.1.2(d)).
8311201211 = Qualified reference to base class {0} is deprecated, should use a base import instead (OTJLD 2.1.2(d)).
8321201212 = Bound base class {0} cannot have free type parameters (OTJLD 2.1.2(e)).
8331201213 = Role {0} cannot have free type parameters when binding to a base class (OTJLD 2.1.2(e)).
834
8351201299 = Base class {0} is deprecated.
836
8371201308 = Illegal base import: this package is not provided by the declared base plug-in(s) {0} (OT/Equinox).
8381201309 = Illegal base import: this package is not provided by the declared base plug-in {0} but by plug-in {1} (OT/Equinox).
8391201310 = Illegal base import: no aspect binding declared for team {0} (OT/Equinox).
8401201311 = 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).
8411201312 = This messages should never be seen ({0}).
8421201313 = 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 +00008431201314 = 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 +00008441201315 = 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).
845
8461202001 = Types {0} and {1} are compatible only by lowering, which is not allowed here (OTJLD 2.2(b)).
8471202002 = 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?
8481202003 = 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?
8491202004 = Assigning a {0} to {1} is ambiguous: will not apply lowering to {2} because direct upcasting is sufficient (OTJLD 2.2(f)).
850
8511203101 = The constructor {0} is undefined. Note that bound roles per default only have a lifting constructor (OTJLD 2.3.1(b)).
8521203102 = Need custom lifting constructor, because super class has no argumentless constructor {0} (OTJLD 2.3.1(c)).
8531203103 = Lifting constructor cannot have explicit super-call (OTJLD 2.3.1(c)).
Stephan Herrmann81f9ee42011-03-10 17:49:33 +00008541203104 = Annotation '@{0}' can only be applied to role classes (OTJLD 2.3.1(d)).
8551203105 = Fields are discouraged in roles with InstantiationPolicy '{0}' (OTJLD 2.3.1(d)).
8561203106 = Roles with InstantiationPolicy '{0}' should define equals() and hashCode() methods (OTJLD 2.3.1(d)).
857
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000858
8591203201 = Illegal type for argument {0}: declared lifting not allowed in static methods (OTJLD 2.3.2(a)).
8601203202 = Qualified type name not allowed here. Type after keyword "as" must be a role of the enclosing team {0} (OTJLD 2.3.2(a)).
8611203203 = Declared lifting is only allowed in signatures of team methods (OTJLD 2.3.2(a)).
8621203204 = The primitive type {0} is not allowed in declared lifting type (OTJLD 2.3.2(a)).
8631203205 = Illegal type {0}, need a role type for declared lifting (OTJLD 2.3.2(a)).
8641203206 = Cannot lift to role {0} because it is not played by a base class (OTJLD 2.3.2(a)).
8651203207 = Class {0} is incompatible to the base class {2} of role {1}. Lifting not possible (OTJLD 2.3.2(a)).
8661203208 = Syntax error in declared lifting. Array dimensions do not match (OTJLD 2.3.2(c)).
8671203209 = Illegal type bound: {0} is not a role type (OTJLD 2.3.2(e)).
8681203210 = 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)).
869
8701203401 = 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 +00008711203402 = 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 +00008721203403 = Unhandled exception type LiftingFailedException, caused by an unsafe lifting request (OTJLD 2.3.5).
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000873
8741204101 = Cannot invoke the lifting constructor {0} to create an externalized role (OTJLD 2.4.1(a)).
8751204102 = 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)).
8761204201 = Illegal base constructor call: method {0} is not a constructor of a bound role (OTJLD 2.4.2).
8771204202 = Illegal call to base constructor: this constructor is a lifting constructor (OTJLD 2.4.2).
8781204203 = 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 +00008791204204 = Constructor call (tsuper) must be the first statement in a role constructor (OTJLD 2.4.2).
Stephan Herrmann7464c322010-07-09 16:05:38 +00008801204205 = Cannot invoke a base constructor because enclosing role {0} is involved in baseclass circularity (OTJLD 2.4.2).
8811204206 = Call to base constructor is not first statement (after super-call) (OTJLD 2.4.2(b)).
8821204207 = Missing call to a base constructor, class {0} is a bound role (OTJLD 2.4.2(b)).
8831204208 = Illegal call to base constructor: constructor called by ''{0}'' already calls a base constructor (OTJLD 2.4.2(b)).
8841204209 = Access restriction of constructor {0} is overridden by this base constructor call (OTJLD 2.4.2(b)).
Stephan Herrmann57e57ec2010-08-27 21:36:52 +00008851204210 = Base constructor call not allowed in this position, must be first statement or argument to another constructor call (OTJLD 2.4.2(c)).
8861204211 = 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 +00008871204301 = Dangerous instantitation. To avoid a WrongRoleException at runtime role {0} should be used instead (OTJLD 2.4.3).
888
8891205001 = Team {0} may need to be declared abstract, because irrelevance for abstract role {1} could not be shown (OTJLD 2.5(b)).
8901205002 = Team {0} must be declared abstract, because abstract role {1} is relevant (OTJLD 2.5(b)).
891
8921206001 = Cannot use ''base'' as a prefix since ''{0}'' is not a team (OTJLD 2.6(a)).
8931206002 = Illegal qualified use of ''base'', type ''{0}'' is not a bound role (OTJLD 2.6(a)).
8941206003 = Cannot use ''base'' in the regular method ''{0}'' (OTJLD 2.6(c)).
8951206004 = Cannot use explicit base call in method bindings (OTJLD 2.6).
8961206005 = Illegal use of keyword ''base'' (OTJLD 2.6).
8971206006 = Access restriction of field {0} in type {1} is overridden by this reference (OTJLD 2.6(g)).
8981206007 = Access restriction of method {0} in type {1} is overridden by this call (OTJLD 2.6(g)).
899
900### CALLOUT
9011301001 = Method binding not allowed here, {0} is not a role (OTJLD 3.1(a)).
9021301002 = 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 +00009031301003 = Role {0} cannot declare callout bindings because it is playedBy enclosing type {1} (OTJLD 3.1(a)); please directly access the target method.
9041301004 = No method {0} found in type {1} to resolve method designator (OTJLD 3.1(c)).
9051301005 = Method specifier ''{0}'' is ambiguous for the type {1}. Please use the exact method signature to disambiguate (OTJLD 3.1(c)).
9061301006 = Method designator binds to a method returning {0} whereas return type {1} is specified (OTJLD 3.1(c)).
9071301007 = Method specifier finds no direct match, argument of closest match is {0} instead of {1} (OTJLD 3.1(c)).
9081301008 = A non-abstract role method exists for this callout-binding. Use callout-override (''=>'') if you want to override it (OTJLD 3.1(e)).
9091301009 = Trying to bind an abstract method as callout override (OTJLD 3.1(e)).
9101301010 = Callout binding tries to override method {0} from the same role class (OTJLD 3.1(e)).
9111301011 = Callout binding conflicts with inherited callout binding from class {0}. Use ''=>'' if you want to override it (OTJLD 3.1(f)).
9121301012 = The method is bound as callout more than once: {0} (OTJLD 3.1(g)).
9131301013 = 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 +00009141301014 = Inherited abstract method {0} is implicitly bound as an inferred callout (OTJLD 3.1(j)).
9151301015 = Unresolved self call {0} is implicitly bound by an inferred callout (OTJLD 3.1(j)).
Stephan Herrmannd70a7b72010-04-28 21:01:30 +00009161301016 = Attempting to infer callout to base field {0} in a compound assignment (OTJLD 3.1(j)).
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000917
9181302001 = Unused mapping for parameter {0} is ignored (OTJLD 3.2).
9191302002 = Syntax error: parameter mapping allowed only if methods are specified with their signatures (OTJLD 3.2(a)).
9201302003 = Parameter {0} is mapped more than once (OTJLD 3.2(b)).
9211302004 = Incomplete parameter mapping: argument {0} of base method {1} is not mapped (OTJLD 3.2(b)).
9221302005 = Wrong mapping direction for parameter {0}, should use {1} unless mapping 'result' (OTJLD 3.2(b)).
9231302006 = Wrong mapping direction for \"result\", should use {0} (OTJLD 3.2(c)).
9241302007 = Illegal mapping for 'result'. {0} returns void (OTJLD 3.2(c)).
9251302008 = Illegal use of 'result' in parameter mapping: wrong binding direction (OTJLD 3.2(c)).
9261302009 = Cannot use 'result' here: method {0} returns void (OTJLD 3.2(c)).
9271302010 = ''result'' can only be mapped to ''result'' (OTJLD 3.2(c)).
9281302011 = Method {0} does not provide enough arguments for binding to method {1} (OTJLD 3.2(e)).
9291302012 = Cannot implicitly map signatures for callout binding:\nBase method {1} returns void whereas role method {0} expects {2} (OTJLD 3.2(e)).
9301302013 = Parameter mapping not allowed here: enclosing type {0} is an interface (OTJLD 3.2(a)).
931
9321303001 = Type mismatch in callout binding: cannot convert from {0} to {1} (OTJLD 3.3(d)).
9331303002 = When mapping the {0}. argument of {1}: cannot convert from {2} to {3} (OTJLD 3.3(d)).
9341303003 = The bound method {0} does not provide required result of type {1} (OTJLD 3.3(d)).
9351303004 = 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)).
936
9371304001 = This class overrides access restrictions of its base class. Compile with -decapsulation for details (OTJLD 3.4(a)).
9381304002 = Access restriction of method {0} in type {1} is overridden by this method binding (OTJLD 3.4(a)).
9391304003 = The method {0} from type {1} is not visible for this binding (enable decapsulation? OTJLD 3.4).
9401304004 = The private base feature {0} from type {1} is not available via the base type {2} (OTJLD 3.4(d)).
941
9421305001 = Callout binding cannot resolve field {0} in type {1} (OTJLD 3.5).
9431305002 = Field specifier ''{0}'' resolves to type {1} whereas type {2} is specified (OTJLD 3.5(a)).
9441305003 = Accessing field {1} through method "{0}" has no effect (OTJLD 3.5(b)).
9451305004 = Binding method ''{0}'' via callout as field setter cannot return a value (OTJLD 3.5(b)).
9461305005 = Cannot bind role method {0} to field {1}:\nMissing parameter of type {2} (OTJLD 3.5(b)).
9471305006 = When binding field {1} via callout to role method {0}:\nIncompatible types: can't convert {3} to {2} (OTJLD 3.5(b)).
9481305007 = 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 +00009491305008 = Access restriction of {2}field {0} in type {1} is overridden by this binding (OTJLD 3.5(e)).
9501305009 = Write access to the {2}field {0} in type {1} overrides access restriction (OTJLD 3.5(e)).
9511305010 = A non-abstract role method exists for this callout-binding. Use callout-override (''=>'') if you want to override it (OTJLD 3.5(g)).
9521305011 = Callout binding conflicts with inherited callout binding from class {0}. Use ''=>'' if you want to override it (OTJLD 3.5(g)).
9531305012 = Assignment to unresolved variable {0} implicitly uses callout to base field '{1}' (OTJLD 3.5(h)).
9541305013 = Reference {1} implicitly uses callout getter to base field '{1}' (OTJLD 3.5(h)).
9551305014 = Method call {0} tries to re-use an inferred callout to field (OTJLD 3.5(h)).
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000956
957### CALLIN
9581401001 = Method binding not allowed here, {0} is not a role (OTJLD 4.1(b)).
9591401002 = 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 +00009601401003 = Unsafe callin binding, because lifting to role {0} may fail due to a reported binding ambiguity (OTJLD 2.3.5(c)).
9611401004 = 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 +00009621401005 = No method {0} found in type {1} to resolve method designator (OTJLD 4.1(c)).
9631401006 = Method specifier "{0}" is ambiguous for the type {1}. Please use the exact method signature to disambiguate (OTJLD 4.1(c)).
9641401007 = Method designator binds to a method returning {0} whereas return type {1} is specified (OTJLD 4.1(c)).
9651401008 = Method specifier finds no direct match, argument of closest match is {0} instead of {1} (OTJLD 4.1(c)).
9661401009 = Duplicate callin name "{0}" (OTJLD 4.1(e)).
9671401010 = Trying to bind final method {0} from class {1} via class {2}; must bind directly to {1} (OTJLD 4.1(f).
9681401011 = 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 +0000969
9701401099 = Bound base method {0} is deprecated.
971
9721402001 = Modifier ''callin'' not allowed here. Enclosing class {0} is not a role (OTJLD 4.2(d)).
9731402002 = Illegal modifier(s) ''{0}'' for method {1}, callin method must not declare visibility (OTJLD 4.2(d)).
9741402003 = Method {0} cannot be called explicitly; is a callin method (OTJLD 4.2(d)).
9751402004 = Cannot bind method {0} as callout; is a callin method (OTJLD 4.2(d)).
9761402005 = Cannot bind method {0} using "replace": need a callin method (OTJLD 4.2(d)).
9771402006 = Cannot bind callin method {0} using "{1}" (OTJLD 4.2(d)).
9781402007 = Modifier "callin" not allowed here; trying to override a method from {0} which is not a callin method (OTJLD 4.2(d)).
9791402008 = Missing modifier "callin"; trying to override a method from {0} which is a callin method (OTJLD 4.2(d)).
9801402009 = Class inherits incompatible methods {0} from {1} and {2}: conflict between callin and regular method (OTJLD 4.2(d)).
981
9821403001 = Illegal method in base call, can only call base version of the enclosing method {0} (OTJLD 4.3(a)).
9831403002 = Base call "{0}" does not match the signature of the enclosing callin method (OTJLD 4.3(a)).
9841403003 = Potentially missing base call in callin method (OTJLD 4.3(b)).
9851403004 = This callin method has no base call (OTJLD 4.3(b)).
9861403005 = Potentially duplicate base call (OTJLD 4.3(c)).
9871403006 = This callin method calls its base method more than once (OTJLD 4.3(c)).
9881403007 = 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)).
9891403008 = 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)).
9901403009 = 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)).
9911403010 = 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)).
9921403011 = 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)).
993
9941404000 = Syntax error: parameter mapping allowed only if methods are specified with their signatures (OTJLD 4.4(a)).
9951404001 = Illegal use of 'result' in parameter mapping: wrong binding direction (OTJLD 4.4(a)).
9961404002 = Method {1} does not provide enough arguments for binding to method {0} (OTJLD 4.4(a)).
9971404003 = Parameter {0} is mapped more than once (OTJLD 4.4(a)).
9981404004 = Cannot use 'result' here: method {0} returns void (OTJLD 4.4(a)).
9991404005 = Incomplete parameter mapping: argument {0} of role method {1} is not mapped (OTJLD 4.4(a)).
Stephan Herrmann1e3ee002010-04-27 14:10:37 +000010001404006 = 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)).
10011404007 = Illegal expression in callin replace binding: here 'result' must be mapped to 'result' (OTJLD 4.4(b)).
10021404008 = Role method "{1} {0}" bound via replace callin to method "{4} {3}" must not return a non-void result (OTJLD 4.4(b)).
10031404009 = 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)).
10041404010 = 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)).
10051404011 = ''result'' can only be mapped to ''result'' (OTJLD 4.4(b)).
10061404012 = Illegal expression in callin replace binding: cannot use base method argument in compound expression (OTJLD 4.4(b)).
10071404013 = Illegal direction ''->'' in parameter mapping for non-replace callin (OTJLD 4.4(c)).
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001008
10091405001 = Type mismatch in callin binding: cannot convert from {0} to {1} (OTJLD 4.5(d)).
10101405002 = When mapping the {0}. argument of {1}: cannot convert from {2} to {3} (OTJLD 4.5(d)).
1011# unused:
10121405003 = The bound method {0} does not provide required result of type {1} (OTJLD 4.5(d)).
10131405004 = When mapping the {2}. argument: types {0} and {1} are not two-way compatible as required for replace bindings (OTJLD 4.5(d)).
1014
10151406001 = Access restriction of method {0} in type {1} will be overridden if the bound callin method issues a base call (OTJLD 4.6).
10161406002 = The private base feature {0} from type {1} is not available via the base type {2} (OTJLD 4.6(a)).
1017
1018
10191407001 = Cannot bind static base method {1} to non-static role method {0} (OTJLD 4.7(b)).
10201407002 = Cannot bind non-static base method {1} to static callin method {0} via replace (OTJLD 4.7(d)).
1021
10221408001 = ''{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 +000010231408002 = 'precedence' declaration can only refer to direct role classes, however {1} is a nested role of team {0} (OTJLD 4.8).
10241408003 = 'precedence' declaration not allowed here, enclosing type {0} is neither a team nor a role (OTJLD 4.8(a)).
10251408004 = 'precedence' declaration for 'after' binding must be specified as 'precedence after' (OTJLD 4.8(a)).
10261408005 = 'precedence after' declaration cannot refer to '{0}' bindings (OTJLD 4.8(a)).
10271408006 = Callin binding {0} not found in type {1} (OTJLD 4.8(b)).
10281408007 = Type {0} is not a legal prefix for callin {1}; Need a role or team type (OTJLD 4.8(b)).
10291408008 = Contradictory precedence lists for type {0} cannot be combined (conflicts with ''{1}'') (OTJLD 4.8(d)).
10301408009 = Contradictory precedence lists for type {0} cannot be combined (''{1}'' vs. ''{2}'') (OTJLD 4.8(d)).
10311408010 = Cannot define precedence for '{0}' and '{1}', because the former overrides the latter (OTJLD 4.8(e)).
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001032
10331409001 = 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)).
1034
10351410001 = Type variable {0} cannot capture a covariant return type because it is used more than once in this signature (OTJLD 4.10(a)).
1036
1037### ACTIVATION/PREDICATES
10381502001 = Within statement {0} must have a team instance as argument (OTJLD 5.2(a)).
10391504001 = Guard predicate throws checked exception {0} (OTJLD 5.4(c)).
10401504101 = ''{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)).
10411504201 = Illegal base guard: {0} is not a bound role (OTJLD 5.4.2(f)).
1042
1043### API
10441601001 = Cannot use class literal for role {0} in a static context (OTJLD 6.1(c)).
10451601002 = Cannot use unqualified class literal for role {0} outside its enclosing team (OTJLD 6.1(c)).
10461602001 = The method {0} conflicts with a predefined method of same name and number of arguments (OTJLD 6.2).
1047
1048### ENCAPSULATION
10491702001 = Role class tries to override the builtin type org.objectteams.Team.{0} (OTJLD 7.2(a)).
10501702002 = An array of confined roles is not compatible with java.lang.Object (OTJLD 7.2(b)).
1051
1052### DEPENDENT TYPES
10531900210 = Parameter is not a value (OTJLD 9.2.1).
10541900211 = Parameter cannot be resolved to an object reference (OTJLD 9.2.1).
10551900212 = Parameter '{0}' cannot be resolved (OTJLD 9.2.1).
10561900213 = Parameter does not match declaration of value parameter '{0} {1}' (OTJLD 9.2.1).
10571900214 = 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 +000010581900215 = Cannot rebind the anchor {1} of type variable {0} (OTJLD 9.2.1(a)).
1059
10601900220 = 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 +00001061
1062### SYNTAX
10632000101 = Object Teams keyword not enabled in this scope (OTJLD A.0.1).
10642000201 = Illegal superclass: Name of method ''{0}'' inherited from {1} is a keyword in OT/J (OTJLD A.0.2).
10652000301 = Illegal identifier {0} (OTJLD A.0.3).
1066
10672001101 = Illegal ''playedBy'' declaration: class {0} is not a role (OTJLD A.1.1(a)).
1068
10692003101 = Method binding must be directly contained in a class (OTJLD A.3.1).
10702003201 = Modifiers not allowed in short callout bindings (OTJLD A.3.2).
10712003202 = Illegal modifier for callout binding (only public, protected or private allowed here) (OTJLD A.3.2).
10722003203 = Illegal method designator: illegal constructor reference or missing return type (OTJLD A.3.2).
10732003204 = Syntax error: missing return type for method designator (OTJLD A.3.2).
10742003301 = Modifiers not allowed in callin bindings (OTJLD A.3.3).
10752003302 = Syntax error: callin label must be a simple name (OTJLD A.3.3).
10762003303 = Callin modifier (before, after or replace) missing for callin-binding {0} (OTJLD A.3.3).
10772003304 = Syntax error: right hand side of method binding does not specify type arguments (OTJLD A.3.3).
Stephan Herrmann3cef2f02012-01-29 19:17:03 +010010782003305 = Syntax error: callin annotations must be specified after the callin name (OTJLD A.3.3).
1079
Stephan Herrmann7b7062f2010-04-01 19:56:59 +000010802003501 = Method designator must not specify a modifier (OTJLD A.3.5).
1081
10822006001 = Syntax Error: Declared lifting type not support in this position (OTJLD A.6(a)).
1083
10842007001 = Syntax Error: missing boolean expression for guard predicate (OTJLD A.7.1).
1085
10862009001 = Illegal position for value parameter {0}: must be a parameter of a single name type reference(OTJLD A.9(a)).
1087
10882010001 = Syntax error, SingleTypeReference expected (OTJLD 1.2.4(c)).
1089
1090
1091### LIMITATIONS
10922100001 = Limitation: generics not supported in this position.
10932100002 = Internal method for lifting type {0} to role {1} has not been generated.
10942100003 = 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.
10952100006 = Requesting role file {0} for team {1} which is already compiled (compiler limitation).
10962100007 = Role {0} is missing for binary team {1} (compiler limitation).
10972100008 = Role {0} has not been copied (implicit inheritance) to team {1} (probably caused by some other error).
10982100009 = Cannot generate method {0}, tsuper method has corrupt byte code. This may or may not be caused by an internal compiler error.
10992100010 = Implicit super role has incompatible byte code, offending name: ''{0}''. It was probably compiled for an incompatible JRE.
11002100011 = Limitation: compiler support for dependent types is incomplete: {0}.
11012100012 = Using an experimental feature: {0}.
11022100013 = 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.
11032100014 = Role {1} seems to require recompilation due to changes in super role {0}. Please consider a full rebuild of the enclosing project.
11042100015 = A synthetic access method for field {1} is missing in type {0}. Please consider a full rebuild of the enclosing project.
11052100016 = Compiler limitation: wrong compilation order for role {0} as a member of team {1} which is already compiled.
11062100017 = Incremental compilation problem: role {0} consists of a source and a binary part.
11072100018 = Internal representations of role {0} and {1} are inconsistent.
11082100019 = Compiler limitation: unsupported compilation order: ''{0}''.
11092100020 = Incomplete incremental build: did not generate callin binding for role {0}.\nBefore launching the application please perform a full build.
11102100021 = Cannot resolve base class for type {0}: unexpected build order (please consider a full build for this project).
11112100022 = Compiler limitation: the role field {0} can only be static if it is also declared final.
11122100023 = Illegally copied default constructor, role {0} is a bound role.
11132100024 = Modifier "readonly" is not yet supported.
11142100025 = Missing compiler implementation: {0} is not yet supported.
Stephan Herrmann0e390872010-04-02 02:27:06 +000011152100026 = 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 +000011162100027 = Dangerous callin binding: {0} is used internally during lifting, which could create infinite recursion.
11172100028 = Compiler limitation: can't copy annotation ''{0}'' for implicitly inherited field ''{1}'': unexpected structure.
11182100029 = 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 +000011192100030 = Implementation limitation: Callin binding to an interface ({0}) is not supported.
Stephan Herrmann9391b222011-02-06 20:05:22 +000011202100031 = Corrupt byte code: attempt to invoke abstract method {0}.
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001121
1122## EXPERIMENTAL
11232200001 = Type {0} does not support team migration, only applicable for roles (OT/J experimental feature).
11242200002 = Team migration not possible because enclosing team class {0} is not final (OT/J experimental feature).
11252200003 = Argument is not a valid new team anchor (OT/J experimental feature).
11262200004 = The special method {1}.migrateToTeam({2}) is not applicable for the arguments ({0}).
11272200005 = Team migration not possible in the current implementation because {0} is a bound role class (OT/J experimental feature).
1128
11292200010 = Type {0} does not support base migration; this is only applicable for roles (OT/J experimental feature).
11302200011 = Role {0} cannot support base migration because it is not bound to a base class (OT/J experimental feature).
11312200012 = The special method {1}.migrateToBase({2}) is not applicable for the arguments ({0}).
1132