Skip to content

jsr305 and jakarta #1746

Answered by sameb
wrestang asked this question in Q&A
May 24, 2023 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

Per https://github.com/google/guice/wiki/UseNullable#supported-nullable-annotations, Guice recognizes any annotation whose simple name is "Nullable". Guice has no preference for the javax nor the jakarta namespace for Nullable annotations. The wiki was just written when the javax one was the main/only option. I'll update the wiki to lead with the jakarta namespace instead.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@wrestang
Comment options

@sameb
Comment options

Answer selected by wrestang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants