Package net.minecraft.util.annotation
Annotation Interface FieldsAreNonnullByDefault2
@NotNull
@TypeQualifierDefault(FIELD)
@Retention(RUNTIME)
public @interface FieldsAreNonnullByDefault2
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 is pretty much identical to FieldsAreNonnullByDefault
that they
are used on different package info files and never coexist.
- See Also:
- Mappings:
Namespace Name named net/minecraft/util/annotation/FieldsAreNonnullByDefault2
intermediary net/minecraft/class_6037
official d