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

14 lines
224 B
Java

import org.jspecify.annotations.NullMarked;
import org.jspecify.annotations.Nullable;
@NullMarked
class NullnessDemo {
@Nullable Object something() {
return null;
}
void foo() {
Object o = something();
}
}