mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-04 08:51:02 +07:00
IDEA-69645 (bad code is green: attribute value must be constant)
This commit is contained in:
@@ -1,10 +1,14 @@
|
||||
@interface Ann {
|
||||
int i ();
|
||||
|
||||
String[] j();
|
||||
}
|
||||
|
||||
class D {
|
||||
int field;
|
||||
@Ann(i=<error descr="Attribute value must be constant">field</error>) void foo () {}
|
||||
|
||||
@Ann(j={<error descr="Attribute value must be constant">null</error>}) void bar() {}
|
||||
}
|
||||
|
||||
@interface ManistaDouble
|
||||
|
||||
Reference in New Issue
Block a user