[java] Message fixed

GitOrigin-RevId: 0d4835cfe430c37dafca828ba825a9afc95a103d
This commit is contained in:
Tagir Valeev
2025-01-03 19:17:43 +00:00
committed by intellij-monorepo-bot
parent d57f3c8122
commit d57fac1920
2 changed files with 5 additions and 5 deletions
@@ -16,7 +16,7 @@ annotation.cyclic.element.type=Cyclic annotation element type
annotation.annotation.type.expected=Annotation type expected
annotation.members.may.not.have.throws.list='throws' not allowed on @interface method
annotation.may.not.have.extends.list='extends' not allowed on @interface
annotation.not.allowed.ref=Annotation not applicable to this kind of reference
annotation.not.allowed.ref=Annotation is not applicable to this kind of reference
annotation.not.allowed.static=Static member qualifying type may not be annotated
annotation.not.allowed.void='void' type may not be annotated
annotation.not.allowed.var='var' type may not be annotated
@@ -68,10 +68,10 @@ class Outer {
@A Map.@TA Entry e1;
@A <error descr="Static member qualifying type may not be annotated">@TA</error> Map.@TA Entry e2;
@A java.<error descr="Annotation not applicable to this kind of reference">@TA</error> util.Map.@TA Entry e3;
@A <error descr="Annotation not applicable to this kind of reference">@TA</error> java.util.Map.@TA Entry e4;
@A List<java.<error descr="Annotation not applicable to this kind of reference">@TA</error> lang.@TA String> l1;
@A List<<error descr="Annotation not applicable to this kind of reference">@TA</error> java.lang.String> l2;
@A java.<error descr="Annotation is not applicable to this kind of reference">@TA</error> util.Map.@TA Entry e3;
@A <error descr="Annotation is not applicable to this kind of reference">@TA</error> java.util.Map.@TA Entry e4;
@A List<java.<error descr="Annotation is not applicable to this kind of reference">@TA</error> lang.@TA String> l1;
@A List<<error descr="Annotation is not applicable to this kind of reference">@TA</error> java.lang.String> l2;
Object obj = "str";
@TA String str = (@TA String)obj;