enums in configs

This commit is contained in:
FalsePattern committed 2022-05-07 11:45:57 +02:00
1 parent c9a1ed7827
commit ed5557a8b8
3 files changed
+65 -10

No files matched your search

@@ -88,6 +88,12 @@ public @interface Config {
String value();
}
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
@interface DefaultEnum {
String value();
}
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
@interface Name {