diff options
Diffstat (limited to 'src/main/java/io/polyfrost/oneconfig/annotations/TextField.java')
-rw-r--r-- | src/main/java/io/polyfrost/oneconfig/annotations/TextField.java | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/main/java/io/polyfrost/oneconfig/annotations/TextField.java b/src/main/java/io/polyfrost/oneconfig/annotations/TextField.java new file mode 100644 index 0000000..5761dd6 --- /dev/null +++ b/src/main/java/io/polyfrost/oneconfig/annotations/TextField.java @@ -0,0 +1,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 TextField { + String name(); + String description() default ""; + String placeholder() default ""; + boolean hideText() default false; +} |