aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/cc/polyfrost/oneconfig/config/annotations/Exclude.java
blob: 8736e56f4a7916ba59bcbac93a6ada4c3ec88965 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package cc.polyfrost.oneconfig.config.annotations;

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

/**
 * Excludes fields from being serialized or deserialized by OneConfig's Config and HUD
 * system.
 *
 * This can be used interchangeably with the transient modifier built into Java.
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.FIELD, ElementType.TYPE})
public @interface Exclude {
}