NullMarked
instead. To be removed
in 3.9.0 the earliest.@Target(value=PACKAGE)
@Retention(value=RUNTIME)
@Documented
@Nonnull
@TypeQualifierDefault(value={METHOD,PARAMETER})
@Deprecated
public @interface NonNullApi
Should be used at package level in association with Nullable
annotations at parameter and return value level.