We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d7a9b9 commit 8f0caf4Copy full SHA for 8f0caf4
api/src/main/java/com/lunarclient/apollo/option/Option.java
@@ -78,6 +78,17 @@ public static <T> ListOption.ListOptionBuilder<T> list() {
78
return new ListOption.ListOptionBuilder<>();
79
}
80
81
+ /**
82
+ * Returns a new {@link EnumOption.EnumOptionBuilder}.
83
+ *
84
+ * @param <T> the value type
85
+ * @return a new enum option builder
86
+ * @since 1.2.1
87
+ */
88
+ public static <T extends Enum<T>> EnumOption.EnumOptionBuilder<T> enumerator() {
89
+ return new EnumOption.EnumOptionBuilder<>();
90
+ }
91
+
92
/**
93
* Returns the option path.
94
*
0 commit comments