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:
- Mappings:
Namespace Name named net/minecraft/util/annotation/MathMethodsReturnNonnullByDefault
intermediary net/minecraft/class_6216
official g