Annotation Interface MethodsReturnNonnullByDefault


@NotNull @TypeQualifierDefault(METHOD) @Retention(RUNTIME) public @interface MethodsReturnNonnullByDefault
Specifies that all methods in the annotated package/class return nonnull values unless nullability is specified with a separate annotation.

While this annotation is meant to be a package/class annotation, it can be applied to anything as it does not restrict its targets.

See Also:
Mappings:
Namespace Name
official w
intermediary net/minecraft/class_6328
named net/minecraft/util/annotation/MethodsReturnNonnullByDefault