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