mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-17 11:40:50 +07:00
14 lines
225 B
Java
14 lines
225 B
Java
import org.jetbrains.annotations.Nullable;
|
|
|
|
class Baz {
|
|
Integer bar() { return 2; }
|
|
|
|
void g() {
|
|
@Nullable Integer foo = bar();
|
|
if (foo == null) {
|
|
foo = 0;
|
|
}
|
|
System.out.println(foo.intValue());
|
|
}
|
|
|
|
} |