langtools/src/share/classes/com/sun/tools/javac/resources/compiler.properties
changeset 15356 cf312dc54c60
parent 14952 d0022ae20516
child 15361 01f1828683e6
equal deleted inserted replaced
15355:a4757c33cae9 15356:cf312dc54c60
     1 #
     1 #
     2 # Copyright (c) 1999, 2012, Oracle and/or its affiliates. All rights reserved.
     2 # Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved.
     3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4 #
     4 #
     5 # This code is free software; you can redistribute it and/or modify it
     5 # This code is free software; you can redistribute it and/or modify it
     6 # under the terms of the GNU General Public License version 2 only, as
     6 # under the terms of the GNU General Public License version 2 only, as
     7 # published by the Free Software Foundation.  Oracle designates this
     7 # published by the Free Software Foundation.  Oracle designates this
   317 
   317 
   318 # 0: type, 1: type
   318 # 0: type, 1: type
   319 compiler.err.duplicate.annotation.missing.container=\
   319 compiler.err.duplicate.annotation.missing.container=\
   320     duplicate annotation, the declaration of {0} does not have a valid {1} annotation
   320     duplicate annotation, the declaration of {0} does not have a valid {1} annotation
   321 
   321 
   322 # 0: type, 1: type
   322 # 0: type
   323 compiler.err.invalid.container.no.containedby=\
   323 compiler.err.invalid.repeatable.annotation=\
   324     invalid contained repeatable annotation, {0} is not annotated with {1}
   324     duplicate annotation, {0} is annotated with an invalid Repeatable annotation
   325 
   325 
   326 # 0: type, 1: type
   326 # 0: type
   327 compiler.err.invalid.container.wrong.containedby=\
   327 compiler.err.invalid.repeatable.annotation.no.value=\
   328     invalid contained repeatable annotation, {0} does not match {1}
   328     duplicate annotation, {0} is not a valid Repeatable, no value element method declared
   329 
       
   330 # 0: type, 1: type
       
   331 compiler.err.invalid.container.no.containerfor=\
       
   332     invalid container for repeating annotations, {0} is not annotated with {1}
       
   333 
       
   334 # 0: type, 1: type
       
   335 compiler.err.invalid.container.wrong.containerfor=\
       
   336     invalid container for repeating annotations, {0} does not match {1}
       
   337 
       
   338 # 0: type
       
   339 compiler.err.invalid.containedby.annotation=\
       
   340     duplicate annotation, {0} is annotated with an invalid ContainedBy annotation
       
   341 
       
   342 # 0: type
       
   343 compiler.err.invalid.containedby.annotation.no.value=\
       
   344     duplicate annotation, {0} is not a valid ContainedBy, no value element method declared
       
   345 
   329 
   346 # 0: type, 1: number
   330 # 0: type, 1: number
   347 compiler.err.invalid.containedby.annotation.multiple.values=\
   331 compiler.err.invalid.repeatable.annotation.multiple.values=\
   348     duplicate annotation, {0} is not a valid ContainedBy, {1} value element methods declared
   332     duplicate annotation, {0} is not a valid Repeatable, {1} value element methods declared
   349 
   333 
   350 # 0: type
   334 # 0: type
   351 compiler.err.invalid.containedby.annotation.invalid.value=\
   335 compiler.err.invalid.repeatable.annotation.invalid.value=\
   352     duplicate annotation, {0} is not a valid ContainedBy, invalid value element, need a method
   336     duplicate annotation, {0} is not a valid Repeatable, invalid value element, need a method
   353 
   337 
   354 # 0: type, 1: type, 2: type
   338 # 0: type, 1: type, 2: type
   355 compiler.err.invalid.containedby.annotation.value.return=\
   339 compiler.err.invalid.repeatable.annotation.value.return=\
   356     duplicate annotation, value element of containing annotation {0} should have type {2}, found {1}
   340     duplicate annotation, value element of containing annotation {0} should have type {2}, found {1}
   357 
   341 
   358 # 0: type, 1: symbol
   342 # 0: type, 1: symbol
   359 compiler.err.invalid.containedby.annotation.elem.nondefault=\
   343 compiler.err.invalid.repeatable.annotation.elem.nondefault=\
   360     containing annotation {0} does not have a default value for element {1}
   344     containing annotation {0} does not have a default value for element {1}
   361 
   345 
   362 # 0: symbol, 1: type, 2: symbol, 3: type
   346 # 0: symbol, 1: type, 2: symbol, 3: type
   363 compiler.err.invalid.containedby.annotation.retention=\
   347 compiler.err.invalid.repeatable.annotation.retention=\
   364     containing annotation {0} has shorter retention ({1}) than the contained annotation {2} with retention {3}
   348     containing annotation {0} has shorter retention ({1}) than the contained annotation {2} with retention {3}
   365 
   349 
   366 # 0: symbol, 1: symbol
   350 # 0: symbol, 1: symbol
   367 compiler.err.invalid.containedby.annotation.not.documented=\
   351 compiler.err.invalid.repeatable.annotation.not.documented=\
   368     containing annotation type, {0}, is not @Documented while repeated annotation type, {1}, is
   352     containing annotation type, {0}, is not @Documented while repeated annotation type, {1}, is
   369 
   353 
   370 # 0: symbol, 1: symbol
   354 # 0: symbol, 1: symbol
   371 compiler.err.invalid.containedby.annotation.not.inherited=\
   355 compiler.err.invalid.repeatable.annotation.not.inherited=\
   372     containing annotation type, {0}, is not @Inherited while repeated annotation type, {1}, is
   356     containing annotation type, {0}, is not @Inherited while repeated annotation type, {1}, is
   373 
   357 
   374 # 0: symbol, 1: symbol
   358 # 0: symbol, 1: symbol
   375 compiler.err.invalid.containedby.annotation.incompatible.target=\
   359 compiler.err.invalid.repeatable.annotation.incompatible.target=\
   376     target of container annotation {0} is not a subset of target of repeated annotation {1}
   360     target of container annotation {0} is not a subset of target of repeated annotation {1}
   377 
   361 
   378 # 0: symbol
   362 # 0: symbol
   379 compiler.err.invalid.containedby.annotation.repeated.and.container.present=\
   363 compiler.err.invalid.repeatable.annotation.repeated.and.container.present=\
   380     container {0} must not be present at the same time as the element it contains
   364     container {0} must not be present at the same time as the element it contains
   381 
   365 
   382 # 0: name
   366 # 0: name
   383 compiler.err.duplicate.class=\
   367 compiler.err.duplicate.class=\
   384     duplicate class: {0}
   368     duplicate class: {0}