Refine Nullness Javadoc

See gh-34261
This commit is contained in:
Sébastien Deleuze 2025-01-22 13:10:00 +01:00
parent 7f21443a1b
commit 8a89248b16
1 changed files with 5 additions and 2 deletions

View File

@ -42,8 +42,11 @@ import org.jspecify.annotations.Nullable;
* <p>The nullness applies to a type usage, a field, a method return type or a parameter.
* <a href="https://jspecify.dev/docs/user-guide/">JSpecify annotations</a> are fully supported, as well as
* <a href="https://kotlinlang.org/docs/null-safety.html">Kotlin null safety</a>, {@code @Nullable} annotations
* regardless of their package (from Spring, JSR-305 or Jakarta set of annotations for example) and Java primitive
* types.
* regardless of their package and Java primitive types.
*
* <p>JSR-305 annotations as well as Spring ones in the {@code org.springframework.lang} packages such as
* {@code @NonNullApi}, {@code @NonNullFields} and {@code @NonNull} are not supported by this API, except
* {@code @Nullable} which is supported via the package-less check. Migrating to JSpecify is recommended.
*
* @author Sebastien Deleuze
* @since 7.0