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