2022-02-02 17:34:46 +01:00
|
|
|
package love.distributedrebirth.bassboonyd;
|
|
|
|
|
|
2022-10-17 16:42:12 +02:00
|
|
|
import love.distributedrebirth.bassboonyd.clazz.BãßBȍőnAuthor注;
|
2022-10-17 20:19:47 +02:00
|
|
|
import love.distributedrebirth.bassboonyd.coffin.BãßBȍőnCoffinNail;
|
2022-10-15 02:34:58 +02:00
|
|
|
|
|
|
|
|
@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
|
2022-10-17 19:05:12 +02:00
|
|
|
public interface DefaultEnumBaseʸᴰ<T, K extends BãßBȍőnCoffinNail> extends DefaultBãßBȍőnʸᴰ<T, K> {
|
2022-10-14 01:35:53 +02:00
|
|
|
|
|
|
|
|
// Bȍőn prefix is for set instance enum methods (called DefaultEnumSetʸᴰ)
|
|
|
|
|
// Bãß prefix is for single instance enum methods (called DefaultEnumInstanceʸᴰ)
|
2022-02-06 17:19:05 +01:00
|
|
|
|
|
|
|
|
int ordinal();
|
2022-02-02 17:34:46 +01:00
|
|
|
|
|
|
|
|
String name();
|
|
|
|
|
|
|
|
|
|
default String BȍőnNaam() {
|
|
|
|
|
return name();
|
|
|
|
|
}
|
|
|
|
|
|
2022-02-02 18:01:10 +01:00
|
|
|
@SuppressWarnings("unchecked")
|
|
|
|
|
default T[] BãßInstances() {
|
|
|
|
|
try {
|
2022-10-17 18:59:42 +02:00
|
|
|
Object result = getClass().getMethod(Bãß.Cỗᶇṧⱦᶏꬼȶʂ.STR_VALUES).invoke(null);
|
2022-02-02 18:01:10 +01:00
|
|
|
return (T[]) result;
|
|
|
|
|
} catch (Exception e) {
|
|
|
|
|
throw new RuntimeException(e);
|
|
|
|
|
}
|
2022-02-02 17:34:46 +01:00
|
|
|
}
|
|
|
|
|
}
|