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