Make codegen default to jspecify NonNull annotations (#1607)

With JSpecify now a dependency of pkl-config-java, this moves the
non-null annotation to jspecify's.
This makes it simpler for users to do nullness checks, as tooling
already understands JSpecify nullness annotations.
This commit is contained in:
Daniel Chao
2026-05-21 21:12:15 -07:00
committed by GitHub
parent 8e2e5e4ba8
commit da4dd4c4f8
9 changed files with 22 additions and 10 deletions
@@ -37,6 +37,10 @@ The following APIs have been removed without replacement.
* `org.pkl.config.java.Config#makeConfig` (pr:https://github.com/apple/pkl/pull/1531[])
The following APIs have been deprecated for removal.
* `org.pkl.config.java.mapper.NonNull` (https://github.com/apple/pkl/pull/1607[#1607]).
.XXX
[%collapsible]
====