Last few top level classes (annotations) (#2321)

Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
This commit is contained in:
liach 2021-04-12 19:23:18 +07:00 committed by GitHub
parent d5b7231967
commit 177f38b9aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 59 additions and 0 deletions

View File

@ -0,0 +1,11 @@
CLASS net/minecraft/class_6178 net/minecraft/util/annotation/ClientFieldsAreNonnullByDefault
COMMENT Specifies that all fields in the annotated package/class are nonnull
COMMENT unless nullability is specified with a separate annotation.
COMMENT
COMMENT <p>While this annotation is meant to be a package/class annotation, it can
COMMENT be applied to anything as it does not restrict its targets.
COMMENT
COMMENT <p>This annotation is used on the client exclusively.
COMMENT
COMMENT @see FieldsAreNonnullByDefault
COMMENT @see FieldsAreNonnullByDefault2

View File

@ -0,0 +1,11 @@
CLASS net/minecraft/class_6179 net/minecraft/util/annotation/ClientMethodsReturnNonnullByDefault
COMMENT Specifies that all methods in the annotated package/class return nonnull
COMMENT values unless nullability is specified with a separate annotation.
COMMENT
COMMENT <p>While this annotation is meant to be a package/class annotation, it can
COMMENT be applied to anything as it does not restrict its targets.
COMMENT
COMMENT <p>This annotation is used on the client exclusively.
COMMENT
COMMENT @see MethodsReturnNonnullByDefault
COMMENT @see MathMethodsReturnNonnullByDefault

View File

@ -0,0 +1,5 @@
CLASS net/minecraft/class_6177 net/minecraft/util/annotation/DeobfuscateClass
COMMENT An annotation on classes. When a class is annotated, the class itself and its
COMMENT fields and methods are not obfuscated. Mainly used by blaze3d.
COMMENT
COMMENT @see net.minecraft.obfuscate.DontObfuscate

View File

@ -4,3 +4,9 @@ CLASS net/minecraft/class_6319 net/minecraft/util/annotation/FieldsAreNonnullByD
COMMENT
COMMENT <p>While this annotation is meant to be a package/class annotation, it can
COMMENT be applied to anything as it does not restrict its targets.
COMMENT
COMMENT <p>A similar {@link FieldsAreNonnullByDefault2} exists; they don't coexist
COMMENT on any package info class.
COMMENT
COMMENT @see ClientFieldsAreNonnullByDefault
COMMENT @see FieldsAreNonnullByDefault2

View File

@ -0,0 +1,12 @@
CLASS net/minecraft/class_6037 net/minecraft/util/annotation/FieldsAreNonnullByDefault2
COMMENT Specifies that all fields in the annotated package/class are nonnull
COMMENT unless nullability is specified with a separate annotation.
COMMENT
COMMENT <p>While this annotation is meant to be a package/class annotation, it can
COMMENT be applied to anything as it does not restrict its targets.
COMMENT
COMMENT <p>This is pretty much identical to {@link FieldsAreNonnullByDefault} that they
COMMENT are used on different package info files and never coexist.
COMMENT
COMMENT @see ClientFieldsAreNonnullByDefault
COMMENT @see FieldsAreNonnullByDefault

View File

@ -0,0 +1,11 @@
CLASS net/minecraft/class_6216 net/minecraft/util/annotation/MathMethodsReturnNonnullByDefault
COMMENT Specifies that all methods in the annotated package/class return nonnull
COMMENT values unless nullability is specified with a separate annotation.
COMMENT
COMMENT <p>While this annotation is meant to be a package/class annotation, it can
COMMENT be applied to anything as it does not restrict its targets.
COMMENT
COMMENT <p>This is pretty much identical to {@link MethodsReturnNonnullByDefault}, but
COMMENT this is only used by the package info for a few math classes.
COMMENT
COMMENT @see MethodsReturnNonnullByDefault

View File

@ -4,3 +4,6 @@ CLASS net/minecraft/class_6328 net/minecraft/util/annotation/MethodsReturnNonnul
COMMENT
COMMENT <p>While this annotation is meant to be a package/class annotation, it can
COMMENT be applied to anything as it does not restrict its targets.
COMMENT
COMMENT @see ClientMethodsReturnNonnullByDefault
COMMENT @see MathMethodsReturnNonnullByDefault