mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-20 11:36:16 +07:00
12 lines
255 B
Java
12 lines
255 B
Java
class Test {
|
|
@interface FooBar {
|
|
String x();
|
|
}
|
|
|
|
static void baz(FooBar annotation) {
|
|
if (<warning descr="Condition 'annotation.x() == null' is always 'false'">annotation.x() == null</warning>) {
|
|
System.out.println("null");
|
|
}
|
|
}
|
|
}
|