blob: 8a60195a2d633e8845bc9cdb495399cc4fabb5a4 [file]
import org.jetbrains.annotations.NotNull;
class Npe {
@NotNull Object foo() {
return new Object();
}
void bar() {
Object o = foo();
if (<warning descr="Condition 'o == null' is always 'false'">o == null</warning>) System.out.println("Can't be");
}
}