Package net.minecraft.util.annotation
Annotation Interface MathMethodsReturnNonnullByDefault
@NotNull
@TypeQualifierDefault(METHOD)
@Retention(RUNTIME)
public @interface MathMethodsReturnNonnullByDefault
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.
This is pretty much identical to MethodsReturnNonnullByDefault
, but
this is only used by the package info for a few math classes.
- See Also:
MethodsReturnNonnullByDefault
- Mappings:
Namespace Name official e
intermediary net/minecraft/class_6216
named net/minecraft/util/annotation/MathMethodsReturnNonnullByDefault