[java] validates container annotation "concreteness" (IDEA-201354)

This commit is contained in:
Roman Shevchenko
2018-11-09 22:08:41 +01:00
parent 0c3c597fb8
commit 35ca6e9efd
3 changed files with 10 additions and 0 deletions

View File

@@ -53,3 +53,6 @@ class C8 {
<error descr="Container annotation '@AA8' is not applicable to field">@A8</error> <error descr="Container annotation '@AA8' is not applicable to field">@A8</error> int f2;
@A8 @A8 void m() { }
}
@interface AA9 { A9[] value(); int i(); }
@Repeatable(<error descr="Container annotation 'AA9' does not have a default value for 'i'">AA9.class</error>) @interface A9 { }