aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/api/util/FieldsAreNonnullByDefault.java
blob: 1f51aa39a77380c21b97825c123f55eababffd46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package gregtech.api.util;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

import javax.annotation.Nonnull;
import javax.annotation.meta.TypeQualifierDefault;

/**
 * This annotation can be applied to a package or class to indicate that
 * the fields in that element are nonnull by default unless there is an explicit nullness annotation.
 * </ul>
 */
@Nonnull
@TypeQualifierDefault({ ElementType.FIELD })
@Retention(RetentionPolicy.RUNTIME)
public @interface FieldsAreNonnullByDefault {}