-
-
Notifications
You must be signed in to change notification settings - Fork 355
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
Spoon and Nullable #5320
Comments
I am interested in this proposal. |
We start with 0.3 and can update it later. The goal is to start annotating spoon and waiting for the 1.0 release can take years. A good starting point are methods with null documented in their javadoc for return values. |
A noteworthy alternative is using https://www.jetbrains.com/help/idea/annotating-source-code.html. These annotations are at least stable and do the same. But there could be some future where everyone uses jspecify. And the qodana rule for this is: |
I will see what I can do about this. |
I looked for the word "null" in
|
Yes, this is a good starting point. 👍 |
Create a task list to add
|
As I mentioned in #5424 , Can we remove |
Currently, spoon has non
@Nullable
annotation and we only document nullablility in the Javadoc. Why don't we adopt https://jspecify.dev/docs/start-here and migrate over the time to an annotated library? An alternative is@Contract
from JB, but these are only supported in IJ and are way harder to write.The text was updated successfully, but these errors were encountered: