-
Notifications
You must be signed in to change notification settings - Fork 578
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 @org.checkerframework.checker.nullness.compatqual.NullableDecl etc. #523
Comments
@PhilippWendler : it would be great if you could provide here a map which checker annotation corresponds to which "old" annotation. The fix itself will be probably trivial (see for example #182). |
Thanks. It seems that There are more annotations in For reference: I have this from JetBrains/kotlin#1421, which is the PR that the Guava guys have submitted for the Kotlin nullness analyzer. It mentions these four annotations here. |
This was fixed by #539, right? |
Yep. |
See spotbugs/spotbugs#523 for details. git-svn-id: https://svn.sosy-lab.org/software/cpachecker/trunk@27225 4712c6d2-40bb-43ae-aa4b-fec3f1bdfe4c
Hi. I'm trying to use guava 25.1-jre, namely I'm passing in a value (name is just a string literal), which is marked with old
Is that supposed to work? |
Actually, just tried to replace |
Guava 23.6 has switched from using
javax.annotation.Nonnull
toorg.checkerframework.checker.nullness.compatqual.NullableDecl
for non-null parameters etc. Please support this annotation (and possibly the other annotations from the same package), because otherwise SpotBugs creates a lot of false alarms when calling Guava methods. I tested this with SpotBugs 3.1.1.The text was updated successfully, but these errors were encountered: