mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-24 14:26:37 +07:00
11 lines
202 B
Java
11 lines
202 B
Java
import org.jetbrains.annotations.NotNull;
|
|
|
|
public class Npe {
|
|
Object foo(@NotNull Object o) {
|
|
return o;
|
|
}
|
|
|
|
void bar() {
|
|
Object o = foo(null); // null should not be passed here.
|
|
}
|
|
} |