mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-02 14:38:30 +07:00
GitOrigin-RevId: 08b9253ea9f105523645abdead3b8d0922297699
13 lines
218 B
Java
13 lines
218 B
Java
import org.jspecify.annotations.NullMarked;
|
|
import org.jspecify.annotations.Nullable;
|
|
|
|
@NullMarked
|
|
class NullnessDemo {
|
|
static <E extends @Nullable Object> void foo(E e) {
|
|
}
|
|
|
|
void call() {
|
|
foo(null);
|
|
}
|
|
}
|