Files
2023-07-10 13:50:14 +00:00

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);
}
}