You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add JSpecify annotations to all existing classes #3878
One thing I'll add, we have a great many classes. It's better to start with the classes annotated with @PublicApi first. It's also great if the pull request only does a number of classes at a time, don't need to do all of them in one go
Note for IntelliJ, you have to first change the nullability annotation package to JSpecify via options Settings → Editor → Code Style → Java → Code Generation → Annotations
Activity
mk868 commentedon Apr 2, 2025
Hello,
Do you need help with this activity?
If so, I can contribute
dondonz commentedon Apr 2, 2025
Sure happy to receive contributions for this!
dondonz commentedon Apr 3, 2025
One thing I'll add, we have a great many classes. It's better to start with the classes annotated with
@PublicApifirst. It's also great if the pull request only does a number of classes at a time, don't need to do all of them in one godondonz commentedon Aug 16, 2025
TIL: there's an Infer Nullity option in IntelliJ and there are other automated tools, which aren't perfect but can help
dondonz commentedon Aug 16, 2025
Example of another automated tool: https://github.com/ucr-riple/NullAwayAnnotator
Note for IntelliJ, you have to first change the nullability annotation package to JSpecify via options
Settings → Editor → Code Style → Java → Code Generation → Annotations