-
Notifications
You must be signed in to change notification settings - Fork 300
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
Support @CheckForNull annotation #99
Comments
Which library provides the |
|
Cool, this should be easy to support |
Just for your information, Guava is migrating off from jsr305. |
Are you ok with a pull request that adds support for a
Or is there something conceptional wrong with this issue? Supporting |
I would be open to a PR that just adds |
I am fine with it. The idea is just to make We can open a separate task to optimize |
Yes, just an alias for |
The `@ChecksForNull` annotation is used by [SpotBugs](https://spotbugs.github.io) (and FindBugs) and has the same semantic as `@Nullable` for NullAway. The `@Nullable` annotation is ignored by Spotbugs so projects can't use SpotBugs *and* NullAway together. For details refer to the [SpotBugs documentation](https://spotbugs.readthedocs.io/en/stable/annotations.html). This PR fixes #99.
However, this method is annotated with
@CheckForNull
which should implicitly mean@Nullable
.The text was updated successfully, but these errors were encountered: