mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-06 01:06:54 +07:00
21 lines
271 B
Java
21 lines
271 B
Java
import org.jetbrains.annotations.Nullable;
|
|
|
|
class Fun {
|
|
@Nullable
|
|
private Object foo;
|
|
|
|
public Fun() {
|
|
foo = new Object();
|
|
makeMagic();
|
|
|
|
if (null == foo) {
|
|
System.out.println("hello");
|
|
}
|
|
|
|
}
|
|
|
|
private void makeMagic() {
|
|
foo = null;
|
|
}
|
|
|
|
} |