Package net.minecraft.util.annotation
Annotation Interface ClientFieldsAreNonnullByDefault
@NotNull
@TypeQualifierDefault(FIELD)
@Retention(RUNTIME)
@Environment(CLIENT)
public @interface ClientFieldsAreNonnullByDefault
Specifies that all fields in the annotated package/class are nonnull
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 dxm
intermediary net/minecraft/class_6178
named net/minecraft/util/annotation/ClientFieldsAreNonnullByDefault