Package com.aspectran.core.lang
Annotation Type NonNullFields
-
@Documented @Retention(RUNTIME) @Target(PACKAGE) @Nonnull @TypeQualifierDefault(FIELD) public @interface NonNullFields
This class is a clone of org.springframework.lang.NonNullFields
A common Aspectran annotation to declare that fields are to be considered as non-nullable by default for a given package.Leverages JSR-305 meta-annotations to indicate nullability in Java to common tools with JSR-305 support and used by Kotlin to infer nullability of Aspectran API.
Should be used at package level in association with
Nullable
annotations at field level.- Since:
- 6.2.0
- Author:
- Sebastien Deleuze
- See Also:
NonNullApi
,Nullable
,NonNull