[jspecify] Change annotations' package from org.jspecify.annotations to org.jspecify.nullness, and DefaultNonNull to NullMarked
^KT-45409 Fixed
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import org.jspecify.annotations.*;
|
||||
import org.jspecify.nullness.*;
|
||||
|
||||
@DefaultNonNull
|
||||
@NullMarked
|
||||
public class Simple {
|
||||
@Nullable public Derived field = null;
|
||||
|
||||
@@ -19,7 +19,7 @@ class Derived extends Base {
|
||||
void foo() {}
|
||||
}
|
||||
|
||||
@DefaultNonNull
|
||||
@NullMarked
|
||||
class Use {
|
||||
static public void main(Simple a, Derived x) {
|
||||
a.foo(x, null).foo();
|
||||
|
||||
Reference in New Issue
Block a user