Annotation Interface NeverNull
@Documented
@Target({FIELD,METHOD,PARAMETER})
@Retention(RUNTIME)
@Nonnull
@TypeQualifierNickname
public @interface NeverNull
Indicates that a field, method or parameter can never be
null
. Typically, this does not need to
be declared explicitly but is guaranteed by NeverNull.ByDefault
.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic @interface
Indicates that any field, method return or method and constructor parameter of a package is nevernull
.