As of 2023/JDK21, what @Nullable to use in Java?
Many online materials don't even mention which import to use. So it is now (dark) history in what order those annotation appeared.
I hope for general answer and from a reputable source (please quote documentation). For JDK21 some article could do as well.
For example javax.annotation.Nullable may be preferred. But at what version was it introduced? (We use JDK17, maybe next year some projects update to JDK21)

@Nullableannotation doesn't do anything by itself. It's up to whatever product uses it to specify how it uses it. For example, IntelliJ IDEA will treat a field or argument as nullable if it has any kind of@Nullableannotation, irrespective of what package it comes from. Other software may be more choosy about which one you need to use. Also, note that the JDK doesn't know anything about this annotation. There is no JDK version that containsjavax.annotation.Nullable- it's up to whoever is interested to actually define it.