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
named net/minecraft/util/annotation/MethodsReturnNonnullByDefault
intermediary net/minecraft/class_6328
official w