mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-03 18:48:28 +07:00
GitOrigin-RevId: 08b9253ea9f105523645abdead3b8d0922297699
14 lines
224 B
Java
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();
|
|
}
|
|
}
|