Skip to content

Commit b883810

Browse files
committed
Add javadoc
1 parent e3a2ba0 commit b883810

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/main/java/dev/wolfieboy09/qstorage/api/annotation/NothingNullByDefault.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,17 @@
22

33
import javax.annotation.Nonnull;
44
import javax.annotation.meta.TypeQualifierDefault;
5+
import java.lang.annotation.Documented;
56
import java.lang.annotation.ElementType;
67
import java.lang.annotation.Retention;
78
import java.lang.annotation.RetentionPolicy;
89

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
916
@Nonnull
1017
@TypeQualifierDefault({ElementType.FIELD, ElementType.METHOD, ElementType.PARAMETER})
1118
@Retention(RetentionPolicy.CLASS)

0 commit comments

Comments
 (0)