We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3a2ba0 commit b883810Copy full SHA for b883810
src/main/java/dev/wolfieboy09/qstorage/api/annotation/NothingNullByDefault.java
@@ -2,10 +2,17 @@
2
3
import javax.annotation.Nonnull;
4
import javax.annotation.meta.TypeQualifierDefault;
5
+import java.lang.annotation.Documented;
6
import java.lang.annotation.ElementType;
7
import java.lang.annotation.Retention;
8
import java.lang.annotation.RetentionPolicy;
9
10
+/**
11
+ * Marks all fields, methods and parameters as non-null
12
+ * <br>
13
+ * <i>Perfect for making IntelliJ be quiet with adding {@link org.jetbrains.annotations.NotNull} everywhere</i>
14
+ */
15
+@Documented
16
@Nonnull
17
@TypeQualifierDefault({ElementType.FIELD, ElementType.METHOD, ElementType.PARAMETER})
18
@Retention(RetentionPolicy.CLASS)
0 commit comments