@TargetSE(valueSE=PACKAGESE) @RetentionSE(valueSE=RUNTIMESE) @DocumentedSE @NonnullSE @TypeQualifierDefaultSE(value=FIELDSE) public @interface NonNullFields
JSR-305 メタアノテーションを利用して、JSR-305 をサポートする一般的なツールに対して Java の null 可能性を示し、Kotlin が Spring API の null 可能性を推測するために使用します。
フィールドレベルで Nullable
アノテーションと関連付けてパッケージレベルで使用する必要があります。
NonNullApi
, Nullable
, NonNull