Package net.minecraft.util.annotation
Annotation Interface ClientMethodsReturnNonnullByDefault
@NotNull
@TypeQualifierDefault(METHOD)
@Retention(RUNTIME)
@Environment(CLIENT)
public @interface ClientMethodsReturnNonnullByDefault
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 annotation is used on the client exclusively.
- See Also:
- Mappings:
Namespace Name official dxn
intermediary net/minecraft/class_6179
named net/minecraft/util/annotation/ClientMethodsReturnNonnullByDefault