mirror of
https://github.com/FalsePattern/FalsePatternLib.git
synced 2026-11-16 15:24:51 +00:00
enums in configs
This commit is contained in:
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 {
|
||||
|
||||
Reference in new issue
Block a user