mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-19 17:29:34 +07:00
12 lines
218 B
Java
12 lines
218 B
Java
import org.jetbrains.annotations.NotNull;
|
|
|
|
public class Npe {
|
|
@NotNull Object foo() {
|
|
return new Object();
|
|
}
|
|
|
|
void bar() {
|
|
Object o = foo();
|
|
if (o == null) System.out.println("Can't be");
|
|
}
|
|
} |