blob: ae413819d4263e9875f0571ce4b79ed3a9ad5e66 [file]
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) {
}
}