Add primitive type support to Nullness

See gh-34261
This commit is contained in:
Sébastien Deleuze
2025-01-21 16:32:52 +01:00
parent d83be7c33a
commit 1115be581a
5 changed files with 31 additions and 6 deletions

View File

@@ -13,8 +13,9 @@ annotations such as IntelliJ IDEA or Eclipse) and Kotlin where JSpecify annotati
{kotlin-docs}/null-safety.html[Kotlin's null safety].
The {spring-framework-api}/core/Nullness.html[`Nullness` Spring API] can be used at runtime to detect the nullness of a
type usage, a field, a method return type or a parameter. It provides full support for JSpecify annotations and
Kotlin null safety, as well as a pragmatic check on any `@Nullable` annotation (regardless of the package).
type usage, a field, a method return type or a parameter. It provides full support for JSpecify annotations,
Kotlin null safety, Java primitive types, as well as a pragmatic check on any `@Nullable` annotation (regardless of the
package).
[[null-safety-libraries]]
== Annotating libraries with JSpecify annotations