diff options
author | nextdaydelivery <12willettsh@gmail.com> | 2022-02-12 13:04:13 +0000 |
---|---|---|
committer | nextdaydelivery <12willettsh@gmail.com> | 2022-02-12 13:04:13 +0000 |
commit | 8ad9f2d1e21f57aa43ad2be59796ab0a26b3c099 (patch) | |
tree | 8a57867fb40441496145f5c79d6f0c24adc06d79 /src/main/java/io/polyfrost/oneconfig/annotations/TextField.java | |
parent | aba637fd14fbcbda7e036874d164ddba8236e739 (diff) | |
parent | 49c5129697b599955341221818e6a5c6df70e3fa (diff) | |
download | OneConfig-8ad9f2d1e21f57aa43ad2be59796ab0a26b3c099.tar.gz OneConfig-8ad9f2d1e21f57aa43ad2be59796ab0a26b3c099.tar.bz2 OneConfig-8ad9f2d1e21f57aa43ad2be59796ab0a26b3c099.zip |
Merge remote-tracking branch 'origin/master'
# Conflicts:
# src/main/java/io/polyfrost/oneconfig/OneConfig.java
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; +} |