mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 07:20:53 +07:00
12 lines
275 B
Java
12 lines
275 B
Java
import org.jetbrains.annotations.NotNull;
|
|
import org.jetbrains.annotations.Nullable;
|
|
|
|
class C {
|
|
void foo(@Nullable Object o) {
|
|
while (o != null)
|
|
<selection>((Runnable) (() -> bar(o)))</selection>.run();
|
|
}
|
|
|
|
void bar(@NotNull Object o) {
|
|
}
|
|
} |