Skip to content
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

Recognizing javax jsr305 annotations #5447

Closed
jslaroch opened this issue Dec 15, 2022 · 1 comment
Closed

Recognizing javax jsr305 annotations #5447

jslaroch opened this issue Dec 15, 2022 · 1 comment

Comments

@jslaroch
Copy link

This is more a wish than a bug

It would be nice if the checker could recognize annotations from the jsr305 package since a lot of tools already support this and it would minimize the clutter in the code if we could just use the javax.annotation.Nonnull present in the code instead of adding additional annotation. The checker NotNull annotation could be used where javax Nonnull is not supported.

@mernst
Copy link
Member

mernst commented Dec 15, 2022

This is already done. See, for example, https://checkerframework.org/manual/#nullness-related-work .

@mernst mernst closed this as completed Dec 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants