File tree 1 file changed +5
-2
lines changed
spring-core/src/main/java/org/springframework/core
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 42
42
* <p>The nullness applies to a type usage, a field, a method return type or a parameter.
43
43
* <a href="https://jspecify.dev/docs/user-guide/">JSpecify annotations</a> are fully supported, as well as
44
44
* <a href="https://kotlinlang.org/docs/null-safety.html">Kotlin null safety</a>, {@code @Nullable} annotations
45
- * regardless of their package (from Spring, JSR-305 or Jakarta set of annotations for example) and Java primitive
46
- * types.
45
+ * regardless of their package and Java primitive types.
46
+ *
47
+ * <p>JSR-305 annotations as well as Spring ones in the {@code org.springframework.lang} packages such as
48
+ * {@code @NonNullApi}, {@code @NonNullFields} and {@code @NonNull} are not supported by this API, except
49
+ * {@code @Nullable} which is supported via the package-less check. Migrating to JSpecify is recommended.
47
50
*
48
51
* @author Sebastien Deleuze
49
52
* @since 7.0
You can’t perform that action at this time.
0 commit comments