Skip to content

Commit

Permalink
Last few top level classes (annotations) (FabricMC#2321)
Browse files Browse the repository at this point in the history
Signed-off-by: liach <[email protected]>

Co-authored-by: liach <[email protected]>
  • Loading branch information
liach and liach authored Apr 12, 2021
1 parent d5b7231 commit 177f38b
Show file tree
Hide file tree
Showing 7 changed files with 59 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 177f38b

Please sign in to comment.