mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-17 20:11:25 +07:00
[java] skips reference check for array annotations (IDEA-195612)
This commit is contained in:
@@ -49,6 +49,7 @@ class Outer {
|
||||
static class StaticInner {
|
||||
void test() {
|
||||
@TA StaticInner v1;
|
||||
StaticMiddle.@TA StaticInner @TA [] @TA [] va;
|
||||
<error descr="Static member qualifying type may not be annotated">@TA</error> StaticMiddle.@TA StaticInner v2;
|
||||
<error descr="Static member qualifying type may not be annotated">@TA</error> Outer.<error descr="Static member qualifying type may not be annotated">@TA</error> StaticMiddle.@TA StaticInner v3;
|
||||
List<Outer.<error descr="Static member qualifying type may not be annotated">@TA</error> StaticMiddle.@TA StaticInner> l1;
|
||||
@@ -132,4 +133,4 @@ class Outer {
|
||||
IntFunction<Super> f = Outer.<error descr="Annotations are not allowed here">@TA</error> This.super::getField;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user