Code: Select all
import org.jspecify.annotations.NonNull;
import org.jspecify.annotations.NullUnmarked;
@NullUnmarked
public class Foo {
@NonNull
private Bar bar;
public void method() {
bar = null;
}
}
Code: Select all
import org.jspecify.annotations.NonNull;
import org.jspecify.annotations.NullUnmarked;
@NullUnmarked
public class Foo {
@NonNull
private Bar bar;
public void method() {
bar = null;
}
}