mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
18 lines
402 B
Java
18 lines
402 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 = new Runnable() {
|
|
@Override
|
|
public void run() {
|
|
bar(o);
|
|
}
|
|
};</selection>
|
|
}
|
|
}
|
|
|
|
void bar(@NotNull Object o) {
|
|
}
|
|
} |