@@ -131,7 +131,7 @@ compiler.err.annotation.not.valid.for.type=\
131
131
annotation not valid for an element of type {0}
132
132
133
133
compiler.err.annotation.type.not.applicable =\
134
- annotation type not applicable to this kind of declaration
134
+ annotation interface not applicable to this kind of declaration
135
135
136
136
# 0: type
137
137
compiler.err.annotation.type.not.applicable.to.type =\
@@ -362,7 +362,7 @@ compiler.err.cant.extend.intf.annotation=\
362
362
''extends'' not allowed for @interfaces
363
363
364
364
compiler.err.annotation.decl.not.allowed.here =\
365
- annotation type declaration not allowed here
365
+ annotation interface declaration not allowed here
366
366
367
367
# 0: symbol
368
368
compiler.err.cant.inherit.from.final =\
@@ -416,7 +416,7 @@ compiler.err.concrete.inheritance.conflict=\
416
416
methods {0} from {1} and {2} from {3} are inherited with the same signature
417
417
418
418
compiler.err.default.allowed.in.intf.annotation.member =\
419
- default value only allowed in an annotation type declaration
419
+ default value only allowed in an annotation interface declaration
420
420
421
421
# 0: symbol
422
422
compiler.err.doesnt.exist =\
@@ -432,7 +432,7 @@ compiler.err.duplicate.annotation.member.value=\
432
432
433
433
# 0: type
434
434
compiler.err.duplicate.annotation.missing.container =\
435
- {0} is not a repeatable annotation type
435
+ {0} is not a repeatable annotation interface
436
436
437
437
# 0: symbol
438
438
compiler.err.invalid.repeatable.annotation =\
@@ -452,27 +452,27 @@ compiler.err.invalid.repeatable.annotation.invalid.value=\
452
452
453
453
# 0: symbol or type, 1: type, 2: type
454
454
compiler.err.invalid.repeatable.annotation.value.return =\
455
- containing annotation type ({0}) must declare an element named ''value'' of type {2}
455
+ containing annotation interface ({0}) must declare an element named ''value'' of type {2}
456
456
457
457
# 0: symbol or type, 1: symbol
458
458
compiler.err.invalid.repeatable.annotation.elem.nondefault =\
459
- containing annotation type ({0}) does not have a default value for element {1}
459
+ containing annotation interface ({0}) does not have a default value for element {1}
460
460
461
461
# 0: symbol, 1: string, 2: symbol, 3: string
462
462
compiler.err.invalid.repeatable.annotation.retention =\
463
- retention of containing annotation type ({0}) is shorter than the retention of repeatable annotation type ({2})
463
+ retention of containing annotation interface ({0}) is shorter than the retention of repeatable annotation interface ({2})
464
464
465
465
# 0: symbol, 1: symbol
466
466
compiler.err.invalid.repeatable.annotation.not.documented =\
467
- repeatable annotation type ({1}) is @Documented while containing annotation type ({0}) is not
467
+ repeatable annotation interface ({1}) is @Documented while containing annotation interface ({0}) is not
468
468
469
469
# 0: symbol, 1: symbol
470
470
compiler.err.invalid.repeatable.annotation.not.inherited =\
471
- repeatable annotation type ({1}) is @Inherited while containing annotation type ({0}) is not
471
+ repeatable annotation interface ({1}) is @Inherited while containing annotation interface ({0}) is not
472
472
473
473
# 0: symbol, 1: symbol
474
474
compiler.err.invalid.repeatable.annotation.incompatible.target =\
475
- containing annotation type ({0}) is applicable to more targets than repeatable annotation type ({1})
475
+ containing annotation interface ({0}) is applicable to more targets than repeatable annotation interface ({1})
476
476
477
477
# 0: symbol
478
478
compiler.err.invalid.repeatable.annotation.repeated.and.container.present =\
@@ -533,7 +533,7 @@ compiler.err.enum.annotation.must.be.enum.constant=\
533
533
an enum annotation value must be an enum constant
534
534
535
535
compiler.err.enum.cant.be.instantiated =\
536
- enum types may not be instantiated
536
+ enum classes may not be instantiated
537
537
538
538
compiler.err.enum.label.must.be.unqualified.enum =\
539
539
an enum switch case label must be the unqualified name of an enumeration constant
@@ -542,7 +542,7 @@ compiler.err.enum.no.subclassing=\
542
542
classes cannot directly extend java.lang.Enum
543
543
544
544
compiler.err.enum.types.not.extensible =\
545
- enum types are not extensible
545
+ enum classes are not extensible
546
546
547
547
compiler.err.enum.no.finalize =\
548
548
enums cannot have finalize methods
@@ -701,18 +701,18 @@ compiler.err.int.number.too.large=\
701
701
integer number too large
702
702
703
703
compiler.err.intf.annotation.members.cant.have.params =\
704
- elements in annotation type declarations cannot declare formal parameters
704
+ elements in annotation interface declarations cannot declare formal parameters
705
705
706
706
# 0: symbol
707
707
compiler.err.intf.annotation.cant.have.type.params =\
708
- annotation type {0} cannot be generic
708
+ annotation interface {0} cannot be generic
709
709
710
710
compiler.err.intf.annotation.members.cant.have.type.params =\
711
- elements in annotation type declarations cannot be generic methods
711
+ elements in annotation interface declarations cannot be generic methods
712
712
713
713
# 0: symbol, 1: type
714
714
compiler.err.intf.annotation.member.clash =\
715
- annotation type {1} declares an element with the same name as method {0}
715
+ annotation interface {1} declares an element with the same name as method {0}
716
716
717
717
compiler.err.intf.expected.here =\
718
718
interface expected here
@@ -721,7 +721,7 @@ compiler.err.intf.meth.cant.have.body=\
721
721
interface abstract methods cannot have body
722
722
723
723
compiler.err.invalid.annotation.member.type =\
724
- invalid type for annotation type element
724
+ invalid type for annotation interface element
725
725
726
726
compiler.err.invalid.binary.number =\
727
727
binary numbers must contain at least one binary digit
@@ -759,7 +759,7 @@ compiler.err.local.var.accessed.from.icls.needs.final=\
759
759
local variable {0} is accessed from within inner class; needs to be declared final
760
760
761
761
compiler.err.local.enum =\
762
- enum types must not be local
762
+ enum classes must not be local
763
763
764
764
compiler.err.cannot.create.array.with.type.arguments =\
765
765
cannot create array with type arguments
@@ -926,7 +926,7 @@ compiler.err.no.match.entry=\
926
926
927
927
# 0: type
928
928
compiler.err.not.annotation.type =\
929
- {0} is not an annotation type
929
+ {0} is not an annotation interface
930
930
931
931
# 0: symbol, 1: symbol, 2: message segment
932
932
compiler.err.not.def.access.package.cant.access =\
@@ -1987,7 +1987,7 @@ compiler.warn.proc.file.create.last.round=\
1987
1987
1988
1988
# 0: string, 1: string
1989
1989
compiler.warn.proc.malformed.supported.string =\
1990
- Malformed string ''{0}'' for a supported annotation type returned by processor ''{1}''
1990
+ Malformed string ''{0}'' for a supported annotation interface returned by processor ''{1}''
1991
1991
1992
1992
# 0: set of string
1993
1993
compiler.warn.proc.annotations.without.processors =\
@@ -2003,11 +2003,11 @@ compiler.warn.proc.duplicate.option.name=\
2003
2003
2004
2004
# 0: string, 1: string
2005
2005
compiler.warn.proc.duplicate.supported.annotation =\
2006
- Duplicate supported annotation type ''{0}'' returned by annotation processor ''{1}''
2006
+ Duplicate supported annotation interface ''{0}'' returned by annotation processor ''{1}''
2007
2007
2008
2008
# 0: string
2009
2009
compiler.warn.proc.redundant.types.with.wildcard =\
2010
- Annotation processor ''{0}'' redundantly supports both ''*'' and other annotation types
2010
+ Annotation processor ''{0}'' redundantly supports both ''*'' and other annotation interfaces
2011
2011
2012
2012
compiler.warn.proc.proc-only.requested.no.procs =\
2013
2013
Annotation processing without compilation requested but no processors were found.
0 commit comments