mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-09 16:39:37 +07:00
20 lines
368 B
Java
20 lines
368 B
Java
import org.jetbrains.annotations.NotNull;
|
|
import org.jetbrains.annotations.Nullable;
|
|
|
|
class C {
|
|
void f(@Nullable Object o, boolean b) {
|
|
while (o != null) {
|
|
if (b) {
|
|
o = 7;
|
|
}
|
|
newMethod(o);
|
|
}
|
|
}
|
|
|
|
private void newMethod(@NotNull Object o) {
|
|
g(o);
|
|
}
|
|
|
|
void g(Object o) {
|
|
}
|
|
} |