注释类型 MethodsReturnNonnullByDefault
-
@NotNull @TypeQualifierDefault(METHOD) @Retention(RUNTIME) public @interface MethodsReturnNonnullByDefault
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.
- Mappings:
Namespace Name official yintermediary net/minecraft/class_6328named net/minecraft/util/annotation/MethodsReturnNonnullByDefault