Files
openide/java/java-tests/testData/inspection/dataFlow/fixture/AnnotationMethodNotNull.java
T

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");
}
}
}