mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-12 10:06:52 +07:00
13 lines
212 B
Java
13 lines
212 B
Java
import org.jspecify.nullness.NullMarked;
|
|
import org.jspecify.nullness.Nullable;
|
|
|
|
@NullMarked
|
|
class NullnessDemo {
|
|
static <E extends @Nullable Object> void foo(E e) {
|
|
}
|
|
|
|
void call() {
|
|
foo(null);
|
|
}
|
|
}
|