Annotation Interface NonNullByDefault
@Nonnull
@Documented
@Target(PACKAGE)
@Retention(RUNTIME)
@TypeQualifierDefault({METHOD,PARAMETER,FIELD,TYPE_USE})
public @interface NonNullByDefault
An annotation that signifies the return values, parameters and fields are non-nullable by default
leveraging the JSR-305
Nonnull
annotation. Annotate a package with this annotation and
annotate nullable return values, parameters and fields with Nullable
.