-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate to module-supported Nullable annotation package #2028
Comments
Need to remove before next release; tracked in #2028
In testing this, to get warnings to show up in the current IntelliJ version for jspecify 0.3.0 (the latest release), I needed to explicitly add them to IntelliJ: Settings -> Editor -> Inspections -> Probable bugs -> Nullability Problems -> @NotNull/ @Nullable problems: Pity that jspecify isn't directly supported currently in IntelliJ. This bug says it is implemented in EAP 233. Current production build is 232. |
Also doesn't support |
To mitigate errors/warnings in IntelliJ (but not present in the real Maven build), I'm temporarily adding
requires static jsr305;
tomodule-info.java
, so that the nullable annotations are visible. But, we don't want to produce a published library with this as it's an automodule.Need to select another Nullable package (#1992 jspecify?) before next release. Something that IDEs and Kotlin and other various tools will recognize.
The text was updated successfully, but these errors were encountered: