blob: 3edba906e5d496a58aacc4a272f2b7f59438b646 [file]
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
class C {
void foo(@Nullable Object o) {
if (o != null) {
<selection>Runnable r = new Runnable() {
@Override
public void run() {
bar(o);
}
};</selection>
}
}
void bar(@NotNull Object o) {
}
}