aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/polyfrost/oneconfig/annotations/Selector.java
blob: 39d238cc7e8f443084daac59f49f39fe4d9cd143 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package io.polyfrost.oneconfig.annotations;

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

@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface Selector {
    String name();
    String description() default "";
    String[] options();
    int defaultSelection() default 0;
}