diff --git a/gdxapp4d-app-notepad/src/main/java/love/distributedrebirth/gdxapp4d/app/notepad/NotepadDeskApp.java b/gdxapp4d-app-notepad/src/main/java/love/distributedrebirth/gdxapp4d/app/notepad/NotepadDeskApp.java index 30bc019f..b0a1421c 100644 --- a/gdxapp4d-app-notepad/src/main/java/love/distributedrebirth/gdxapp4d/app/notepad/NotepadDeskApp.java +++ b/gdxapp4d-app-notepad/src/main/java/love/distributedrebirth/gdxapp4d/app/notepad/NotepadDeskApp.java @@ -46,11 +46,6 @@ public class NotepadDeskApp extends AbstractDeskApp implements DeskAppRenderer, public static final class Ꝑŕḯṿª₮ḕ implements BãßBȍőnꝐŕḯṿª₮ḕ> { private static final String GHOST_BUNDLE = "bundle"; - @Override - public void init(DefaultBãßBȍőnʸᴰ boon) { - - } - @BãßBȍőnSpiderEgg注() public VrGem4Unicode4DService locateVrGem4Unicode4DService(DefaultBãßBȍőnʸᴰ boon) { Class eggType = VrGem4Unicode4DService.class; diff --git a/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/Bãß.java b/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/Bãß.java index 5765dc06..e5e4a45c 100644 --- a/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/Bãß.java +++ b/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/Bãß.java @@ -1,5 +1,6 @@ package love.distributedrebirth.bassboon; +import java.lang.reflect.InvocationTargetException; import java.util.ArrayList; import java.util.HashMap; import java.util.Map; @@ -11,6 +12,7 @@ import java.util.concurrent.locks.ReentrantReadWriteLock; import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnPirateLoader; import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnꝐŕḯṿª₮ḕ; +import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnꝐŕḯṿª₮ḕ響ᴼᶠ; import love.distributedrebirth.bassboon.death.BãßBȍőnCoffin; import love.distributedrebirth.bassboon.death.BãßBȍőnCoffinGhost; import love.distributedrebirth.bassboon.death.BãßBȍőnCoffinGhostSpell; @@ -29,6 +31,8 @@ public interface Bãß { public static final class 石棺ʸᴰ { private static final Map GRAVE_YARD = new WeakHashMap<>(); private static final ReadWriteLock FUNERAL = new ReentrantReadWriteLock(); + private static final Lock FUNERAL_BIBLE = FUNERAL.readLock(); + private static final Lock FUNERAL_SHEMIRA = FUNERAL.writeLock(); /** * Sarcophagus is closed for humans. @@ -62,21 +66,19 @@ public interface Bãß { */ private static final > BȍőnGrave 挖ᵀᵒ(BãßBȍőnʸᴰ boon) { BȍőnGrave boonGrave = null; - Lock bibleReader = FUNERAL.readLock(); - bibleReader.lock(); + FUNERAL_BIBLE.lock(); try { boonGrave = GRAVE_YARD.get(boon); } finally { - bibleReader.unlock(); + FUNERAL_BIBLE.unlock(); } if (boonGrave == null) { - Lock shemiraWriter = FUNERAL.writeLock(); - shemiraWriter.lock(); + FUNERAL_SHEMIRA.lock(); try { boonGrave = new BȍőnGrave(); GRAVE_YARD.put(boon, boonGrave); } finally { - shemiraWriter.unlock(); + FUNERAL_SHEMIRA.unlock(); } } return boonGrave; @@ -93,22 +95,22 @@ public interface Bãß { } return new BeanWrapper<>(bean); } - BeanWrapper wrap = new BeanWrapper<>(bean); - 魎ᴵᴺᴵᵀ(wrap); - return wrap; + return new BeanWrapper<>(bean); } catch (InstantiationException | IllegalAccessException | IllegalArgumentException | InvocationTargetException | NoSuchMethodException | SecurityException e) { throw new RuntimeException(e); } } - public static final class BeanWrapper implements DefaultBãßBȍőnʸᴰ { + public static final class BeanWrapper implements DefaultBãßBȍőnʸᴰ, BãßBȍőnSpiderCloak { private final T bean; private BeanWrapper(T bean) { + 魎ᴵᴺᴵᵀ(this); this.bean = bean; } + @Override public T getBean() { return bean; } @@ -162,6 +164,16 @@ public interface Bãß { public BãßBȍőnCoffinGhostSpell UNHOLY_SPELL(Class> familyName) { return BãßBȍőnCoffinGhostSpell.castᴼᶠ(UNHOLY(familyName)); } + + @SuppressWarnings("unchecked") + @Override + public >> T NOISE_OF(Class noiseName) { + try { + return (T) spider.silkRoad(noiseName).senseWire(null, null, null); // rm args... + } catch (IllegalAccessException | IllegalArgumentException | InvocationTargetException e) { + throw new RuntimeException(e); + } + } } } @@ -169,7 +181,7 @@ public interface Bãß { public static final class ℭỗᶇṧⱦᶏꬼȶʂ { // 4 is magnetic consent and 3 is forced stable outcome - public static final char CHAR_ZERO = '0'; // nothing + public static final char CHAR_ZERO = '0'; // nothing public static final char CHAR_ONE = '1'; // all public static final char CHAR_SPACE = ' '; // eatherspace public static final char CHAR_A = 'a'; // corner stone of creation @@ -192,8 +204,11 @@ public interface Bãß { public static final float FLOAT_TEN = 10f; //Float.valueOf(STR_ONE+STR_ZERO); // orange on top public static final double DOUBLE_ZERO = 0d; //Double.valueOf(STR_ZERO); - public static final double DOUBLE_ONE = 1f; //Double.valueOf(STR_ONE);; + public static final double DOUBLE_ONE = 1f; //Double.valueOf(STR_ONE); public static final double DOUBLE_TEN = 10f; //Double.valueOf(STR_ONE+STR_ZERO); + // and a bipolar flag pole + public static final Object PTR_VOID = null; + public static final Object PTR_OBJECT = new ℭỗᶇṧⱦᶏꬼȶʂ(); private ℭỗᶇṧⱦᶏꬼȶʂ() { } diff --git a/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/BãßBȍőnʸᴰ.java b/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/BãßBȍőnʸᴰ.java index 72a70732..dc97ff94 100644 --- a/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/BãßBȍőnʸᴰ.java +++ b/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/BãßBȍőnʸᴰ.java @@ -11,7 +11,7 @@ public interface BãßBȍőnʸᴰ> { default T toBȍőn() { return (T)this; // allow builders... } - + default BãßBȍőnCoffin toBBC() { return Bãß.石棺ʸᴰ.棺ᴼᶠ(this); // ...to seek 6 bit BASIC death, so the blind can see } diff --git a/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/DefaultEnumInstanceʸᴰ.java b/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/DefaultEnumInstanceʸᴰ.java deleted file mode 100644 index 4e22f4b8..00000000 --- a/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/DefaultEnumInstanceʸᴰ.java +++ /dev/null @@ -1,11 +0,0 @@ -package love.distributedrebirth.bassboon; - -import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; - -@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") -public interface DefaultEnumInstanceʸᴰ> extends DefaultEnumBaseʸᴰ { - - default T BãßInstance() { - return BãßInstances()[Bãß.ℭỗᶇṧⱦᶏꬼȶʂ.INT_ZERO]; - } -} diff --git a/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/clazz/BãßBȍőnAnnotationʸᴰ.java b/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/clazz/BãßBȍőnAnnotationʸᴰ.java index a27c9a23..7ac48cd0 100644 --- a/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/clazz/BãßBȍőnAnnotationʸᴰ.java +++ b/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/clazz/BãßBȍőnAnnotationʸᴰ.java @@ -8,6 +8,8 @@ import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnPirateLoader; import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnPiratePhase注; import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnPirateʸᴰ; import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnꝐŕḯṿª₮ḕ; +import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnꝐŕḯṿª₮ḕ響ᴼᶠ; +import love.distributedrebirth.bassboon.death.spider.BãßBȍőnSpiderWire注; @BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") public interface BãßBȍőnAnnotationʸᴰ> extends BãßBȍőnʸᴰ { @@ -15,8 +17,11 @@ public interface BãßBȍőnAnnotationʸᴰ> exten @BãßBȍőnPiratePhase注(dependencies = {BãßBȍőnPirateʸᴰ.βrahmanBoonLaw.class}) public static final class Ꝑŕḯṿª₮ḕ implements BãßBȍőnꝐŕḯṿª₮ḕ> { + @BãßBȍőnSpiderWire注 + private BãßBȍőnAnnotationʸᴰ boon; + @Override - public void init(BãßBȍőnAnnotationʸᴰ boon) { + public BãßBȍőnꝐŕḯṿª₮ḕ響ᴼᶠ.Void> init() { for (Class interfaceClass:BãßBȍőnPirateLoader.walkInterfaces(boon.getClass(), new LinkedHashSet<>())) { BãßBȍőnAnnotation注 anno = interfaceClass.getAnnotation(BãßBȍőnAnnotation注.class); if (anno == null) { @@ -28,6 +33,7 @@ public interface BãßBȍőnAnnotationʸᴰ> exten } } } + return BãßBȍőnꝐŕḯṿª₮ḕ響ᴼᶠ.initⱽᵒᶦᵈ(); } } } diff --git a/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/clazz/BãßBȍőnAuthorʸᴰ.java b/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/clazz/BãßBȍőnAuthorʸᴰ.java index 00412fd0..88cf4d23 100644 --- a/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/clazz/BãßBȍőnAuthorʸᴰ.java +++ b/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/clazz/BãßBȍőnAuthorʸᴰ.java @@ -4,6 +4,7 @@ import love.distributedrebirth.bassboon.BãßBȍőnʸᴰ; import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnPiratePhase注; import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnPirateʸᴰ; import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnꝐŕḯṿª₮ḕ; +import love.distributedrebirth.bassboon.death.spider.BãßBȍőnSpiderWire注; @BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAnnotation注(optional = {BãßBȍőnAuthor注.class}) @@ -16,19 +17,25 @@ public interface BãßBȍőnAuthorʸᴰ> extends B private static final String DEFAULT_AUTHOR_NAME = "奴隸來自 仙上主天"; private static final String DEFAULT_AUTHOR_COPYRIGHT = "©Δ∞ 仙上主天"; + @BãßBȍőnSpiderWire注 + private BãßBȍőnAuthorʸᴰ boon; + @Override - public void init(BãßBȍőnAuthorʸᴰ boon) { + public BãßBȍőnAuthor響ᴼᶠ> init() { BãßBȍőnAuthor注 anno = boon.getClass().getAnnotation(BãßBȍőnAuthor注.class); boon.toBBC().UNHOLY_SPELL(Ꝑŕḯṿª₮ḕ.class).PUT_GHOST(GHOST_AUTHOR_NAME, anno!=null?anno.name():DEFAULT_AUTHOR_NAME); boon.toBBC().UNHOLY_SPELL(Ꝑŕḯṿª₮ḕ.class).PUT_GHOST(GHOST_AUTHOR_COPYRIGHT, anno!=null?anno.copyright():DEFAULT_AUTHOR_COPYRIGHT); + return new BãßBȍőnAuthor響ᴼᶠ<>() { + @Override + public String BãßAuthorNaam() { + return boon.toBBC().UNHOLY(Ꝑŕḯṿª₮ḕ.class).GHOST_STR(GHOST_AUTHOR_NAME); + } + + @Override + public String BãßAuthorKopieërRecht() { + return boon.toBBC().UNHOLY(Ꝑŕḯṿª₮ḕ.class).GHOST_STR(GHOST_AUTHOR_COPYRIGHT); + } + }; } } - - default String BãßAuthorNaam() { - return toBBC().UNHOLY(Ꝑŕḯṿª₮ḕ.class).GHOST_STR(Ꝑŕḯṿª₮ḕ.GHOST_AUTHOR_NAME); - } - - default String BãßAuthorKopieërRecht() { - return toBBC().UNHOLY(Ꝑŕḯṿª₮ḕ.class).GHOST_STR(Ꝑŕḯṿª₮ḕ.GHOST_AUTHOR_COPYRIGHT); - } } diff --git a/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/clazz/BãßBȍőnAuthor響ᴼᶠ.java b/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/clazz/BãßBȍőnAuthor響ᴼᶠ.java new file mode 100644 index 00000000..f145ab56 --- /dev/null +++ b/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/clazz/BãßBȍőnAuthor響ᴼᶠ.java @@ -0,0 +1,11 @@ +package love.distributedrebirth.bassboon.clazz; + +import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnꝐŕḯṿª₮ḕ響ᴼᶠ; + +@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") +public interface BãßBȍőnAuthor響ᴼᶠ> extends BãßBȍőnꝐŕḯṿª₮ḕ響ᴼᶠ { + + String BãßAuthorNaam(); + + String BãßAuthorKopieërRecht(); +} diff --git a/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/clazz/BãßBȍőnClazzʸᴰ.java b/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/clazz/BãßBȍőnClazzʸᴰ.java index cc81706b..a6452f2c 100644 --- a/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/clazz/BãßBȍőnClazzʸᴰ.java +++ b/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/clazz/BãßBȍőnClazzʸᴰ.java @@ -4,6 +4,7 @@ import love.distributedrebirth.bassboon.BãßBȍőnʸᴰ; import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnPiratePhase注; import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnPirateʸᴰ; import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnꝐŕḯṿª₮ḕ; +import love.distributedrebirth.bassboon.death.spider.BãßBȍőnSpiderWire注; @BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAnnotation注(optional = {BãßBȍőnClazz注.class}) @@ -14,18 +15,23 @@ public interface BãßBȍőnClazzʸᴰ> extends B private static final String GHOST_CLAZZ_PURPOSE = "般目的"; private static final String DEFAULT_CLAZZ_PURPOSE = "Undefined"; + @BãßBȍőnSpiderWire注 + private BãßBȍőnClazzʸᴰ boon; + @Override - public void init(BãßBȍőnClazzʸᴰ boon) { + public BãßBȍőnClazz響ᴼᶠ> init() { BãßBȍőnClazz注 anno = boon.getClass().getAnnotation(BãßBȍőnClazz注.class); String beanPurpose = DEFAULT_CLAZZ_PURPOSE; if (anno != null && !anno.purpose().isBlank()) { beanPurpose = anno.purpose(); } boon.toBBC().UNHOLY_SPELL(Ꝑŕḯṿª₮ḕ.class).PUT_GHOST(GHOST_CLAZZ_PURPOSE, beanPurpose); + return new BãßBȍőnClazz響ᴼᶠ<>() { + @Override + public String BãßClazzDoel() { + return boon.toBBC().UNHOLY(Ꝑŕḯṿª₮ḕ.class).GHOST_STR(GHOST_CLAZZ_PURPOSE); + } + }; } } - - default String BãßClazzDoel() { - return toBBC().UNHOLY(Ꝑŕḯṿª₮ḕ.class).GHOST_STR(Ꝑŕḯṿª₮ḕ.GHOST_CLAZZ_PURPOSE); - } } diff --git a/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/clazz/BãßBȍőnClazz響ᴼᶠ.java b/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/clazz/BãßBȍőnClazz響ᴼᶠ.java new file mode 100644 index 00000000..3c64c796 --- /dev/null +++ b/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/clazz/BãßBȍőnClazz響ᴼᶠ.java @@ -0,0 +1,9 @@ +package love.distributedrebirth.bassboon.clazz; + +import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnꝐŕḯṿª₮ḕ響ᴼᶠ; + +@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") +public interface BãßBȍőnClazz響ᴼᶠ> extends BãßBȍőnꝐŕḯṿª₮ḕ響ᴼᶠ { + + String BãßClazzDoel(); +} diff --git a/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/clazz/BãßBȍőnExportʸᴰ.java b/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/clazz/BãßBȍőnExportʸᴰ.java index 6ff9dbc4..f1e7d418 100644 --- a/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/clazz/BãßBȍőnExportʸᴰ.java +++ b/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/clazz/BãßBȍőnExportʸᴰ.java @@ -4,6 +4,7 @@ import love.distributedrebirth.bassboon.BãßBȍőnʸᴰ; import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnPiratePhase注; import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnPirateʸᴰ; import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnꝐŕḯṿª₮ḕ; +import love.distributedrebirth.bassboon.death.spider.BãßBȍőnSpiderWire注; @BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAnnotation注(optional = {BãßBȍőnExport注.class}) @@ -14,8 +15,11 @@ public interface BãßBȍőnExportʸᴰ> extends B private static final String GHOST_EXPORT_ARTIFACT = "出口人工製品"; private static final String GHOST_EXPORT_GROUP = "出口團體"; + @BãßBȍőnSpiderWire注 + private BãßBȍőnExportʸᴰ boon; + @Override - public void init(BãßBȍőnExportʸᴰ boon) { + public BãßBȍőnExport響ᴼᶠ> init() { BãßBȍőnExport注 anno = boon.getClass().getAnnotation(BãßBȍőnExport注.class); String exportArtifact = boon.getClass().getSimpleName(); String exportGroup = boon.getClass().getPackage().getName(); @@ -27,14 +31,18 @@ public interface BãßBȍőnExportʸᴰ> extends B } boon.toBBC().UNHOLY_SPELL(Ꝑŕḯṿª₮ḕ.class).PUT_GHOST(GHOST_EXPORT_ARTIFACT, exportArtifact); boon.toBBC().UNHOLY_SPELL(Ꝑŕḯṿª₮ḕ.class).PUT_GHOST(GHOST_EXPORT_GROUP, exportGroup); + + return new BãßBȍőnExport響ᴼᶠ<>() { + @Override + public String BãßExportNaam() { + return boon.toBBC().UNHOLY(Ꝑŕḯṿª₮ḕ.class).GHOST_STR(Ꝑŕḯṿª₮ḕ.GHOST_EXPORT_ARTIFACT); + } + + @Override + public String BãßExportGroep() { + return boon.toBBC().UNHOLY(Ꝑŕḯṿª₮ḕ.class).GHOST_STR(Ꝑŕḯṿª₮ḕ.GHOST_EXPORT_GROUP); + } + }; } } - - default String BãßExportNaam() { - return toBBC().UNHOLY(Ꝑŕḯṿª₮ḕ.class).GHOST_STR(Ꝑŕḯṿª₮ḕ.GHOST_EXPORT_ARTIFACT); - } - - default String BãßExportGroep() { - return toBBC().UNHOLY(Ꝑŕḯṿª₮ḕ.class).GHOST_STR(Ꝑŕḯṿª₮ḕ.GHOST_EXPORT_GROUP); - } } diff --git a/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/clazz/BãßBȍőnExport響ᴼᶠ.java b/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/clazz/BãßBȍőnExport響ᴼᶠ.java new file mode 100644 index 00000000..95031e0b --- /dev/null +++ b/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/clazz/BãßBȍőnExport響ᴼᶠ.java @@ -0,0 +1,11 @@ +package love.distributedrebirth.bassboon.clazz; + +import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnꝐŕḯṿª₮ḕ響ᴼᶠ; + +@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") +public interface BãßBȍőnExport響ᴼᶠ> extends BãßBȍőnꝐŕḯṿª₮ḕ響ᴼᶠ { + + String BãßExportNaam(); + + String BãßExportGroep(); +} diff --git a/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/clazz/pirate/BãßBȍőnPirateLoader.java b/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/clazz/pirate/BãßBȍőnPirateLoader.java index ce65e2f4..9c7a7bc1 100644 --- a/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/clazz/pirate/BãßBȍőnPirateLoader.java +++ b/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/clazz/pirate/BãßBȍőnPirateLoader.java @@ -8,6 +8,7 @@ import java.util.Arrays; import java.util.Collection; import java.util.Collections; import java.util.Comparator; +import java.util.HashSet; import java.util.LinkedHashSet; import java.util.List; import java.util.Set; @@ -27,28 +28,61 @@ public final class BãßBȍőnPirateLoader { private BãßBȍőnPirateLoader() { } - @SuppressWarnings("unchecked") public static > void LOCK_BONE_MAGIC(BãßBȍőnʸᴰ boon, BãßBȍőnSpider spider) { try { - List> filoBoats = loadPirateBoats(boon); + List> filoBoats = loadPirateBoats(boon);// TODO: run from spider objects... Collections.reverse(filoBoats); + +// Set> ydmods = new HashSet<>(); for (PiratePhaseBoat boat : filoBoats) { - boat.pirate.lock((T)boon); +// if (ydmods.add(boat.pirateClazz.getDeclaringClass())) { +// spider.registrateEgg(boat.pirateClazz.getDeclaringClass(), new BãßBȍőnSpiderSilk() { +// @Override +// public Object senseWire(BãßBȍőnʸᴰ boonTmp, String name, String description) +// throws IllegalAccessException, IllegalArgumentException, InvocationTargetException { +// return boonTmp; +// } +// }); +// } + //registrateSpiderEggs(boat.pirateClazz, spider, boat.pirate); + initSpiderWires(boat.pirate, boon, spider); + boat.pirate.lock(); } } catch (Exception e) { throw new RuntimeException(e); } } - @SuppressWarnings("unchecked") public static > void INIT_BONE_MAGIC(BãßBȍőnʸᴰ boon, BãßBȍőnSpider spider) { try { //System.out.println("INIT "+boon.getClass().getName()); + Set> ydmods = new HashSet<>(); for (PiratePhaseBoat boat : loadPirateBoats(boon)) { - //System.out.println("INIT.RUN "+v.privateClass.getName()+"."+m.getName()); + //System.out.println("INIT.RUN "+boat.pirateClazz.getName()); + + if (ydmods.add(boat.pirateClazz.getDeclaringClass())) { + spider.registrateEgg(boat.pirateClazz.getDeclaringClass(), new BãßBȍőnSpiderSilk() { + @Override + public Object senseWire(BãßBȍőnʸᴰ boonTmp, String name, String description) + throws IllegalAccessException, IllegalArgumentException, InvocationTargetException { + return boonTmp; + } + }); + } registrateSpiderEggs(boat.pirateClazz, spider, boat.pirate); initSpiderWires(boat.pirate, boon, spider); - boat.pirate.init((T)boon); + BãßBȍőnꝐŕḯṿª₮ḕ響ᴼᶠ soundOf = boat.pirate.init(); + Class soundOfType = soundOf.getClass().getInterfaces()[0]; // TOOD .... + if (ydmods.add(soundOfType)) { + //System.out.println("INIT.SOUND "+soundOfType); + spider.registrateEgg(soundOfType, new BãßBȍőnSpiderSilk() { + @Override + public Object senseWire(BãßBȍőnʸᴰ boonTmp, String name, String description) + throws IllegalAccessException, IllegalArgumentException, InvocationTargetException { + return soundOf; + } + }); + } } initSpiderWires(boon, boon, spider); } catch (Exception e) { diff --git a/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/clazz/pirate/BãßBȍőnꝐŕḯṿª₮ḕ.java b/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/clazz/pirate/BãßBȍőnꝐŕḯṿª₮ḕ.java index 8bc744e7..4d8d04ca 100644 --- a/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/clazz/pirate/BãßBȍőnꝐŕḯṿª₮ḕ.java +++ b/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/clazz/pirate/BãßBȍőnꝐŕḯṿª₮ḕ.java @@ -7,9 +7,10 @@ import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; public interface BãßBȍőnꝐŕḯṿª₮ḕ> { // note: eclipse ide does not want to refactor items with the name "Ꝑŕḯṿª₮ḕ" in it. - default void init(T boon) { + default BãßBȍőnꝐŕḯṿª₮ḕ響ᴼᶠ init() { + return BãßBȍőnꝐŕḯṿª₮ḕ響ᴼᶠ.initⱽᵒᶦᵈ(); } - default void lock(T boon) { + default void lock() { } } diff --git a/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/clazz/pirate/BãßBȍőnꝐŕḯṿª₮ḕ響ᴼᶠ.java b/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/clazz/pirate/BãßBȍőnꝐŕḯṿª₮ḕ響ᴼᶠ.java new file mode 100644 index 00000000..afa663b8 --- /dev/null +++ b/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/clazz/pirate/BãßBȍőnꝐŕḯṿª₮ḕ響ᴼᶠ.java @@ -0,0 +1,15 @@ +package love.distributedrebirth.bassboon.clazz.pirate; + +import love.distributedrebirth.bassboon.BãßBȍőnʸᴰ; +import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; + +@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") +public interface BãßBȍőnꝐŕḯṿª₮ḕ響ᴼᶠ> { + + static > Void initⱽᵒᶦᵈ() { + return new Void<>(); + }; + + public static final class Void> implements BãßBȍőnꝐŕḯṿª₮ḕ響ᴼᶠ { + } +} diff --git a/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/death/BãßBȍőnCoffin.java b/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/death/BãßBȍőnCoffin.java index 3f21c73d..504bcade 100644 --- a/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/death/BãßBȍőnCoffin.java +++ b/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/death/BãßBȍőnCoffin.java @@ -1,7 +1,9 @@ package love.distributedrebirth.bassboon.death; +import love.distributedrebirth.bassboon.BãßBȍőnʸᴰ; import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnꝐŕḯṿª₮ḕ; +import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnꝐŕḯṿª₮ḕ響ᴼᶠ; @BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") public interface BãßBȍőnCoffin { @@ -9,4 +11,6 @@ public interface BãßBȍőnCoffin { BãßBȍőnCoffinGhost UNHOLY(Class> familyName); BãßBȍőnCoffinGhostSpell UNHOLY_SPELL(Class> familyName); + + >> T NOISE_OF(Class noiseName); } diff --git a/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/ydmod/BãßBȍőnModuleFactory.java b/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/yd/BãßBȍőnModuleFactory.java similarity index 82% rename from gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/ydmod/BãßBȍőnModuleFactory.java rename to gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/yd/BãßBȍőnModuleFactory.java index 387a586e..9005d7b8 100644 --- a/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/ydmod/BãßBȍőnModuleFactory.java +++ b/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/yd/BãßBȍőnModuleFactory.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.bassboon.ydmod; +package love.distributedrebirth.bassboon.yd; import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; diff --git a/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/yd/abacus/AbacusEnum.java b/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/yd/abacus/AbacusEnum.java new file mode 100644 index 00000000..d98e3354 --- /dev/null +++ b/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/yd/abacus/AbacusEnum.java @@ -0,0 +1,12 @@ +package love.distributedrebirth.bassboon.yd.abacus; + +import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; + +@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") +public interface AbacusEnum { + // move to jvm + + int ordinal(); + + String name(); +} diff --git a/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/DefaultEnumBaseʸᴰ.java b/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/yd/abacus/BãßBȍőnAbacusBaseʸᴰ.java similarity index 56% rename from gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/DefaultEnumBaseʸᴰ.java rename to gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/yd/abacus/BãßBȍőnAbacusBaseʸᴰ.java index 95d754cf..4ae5da8c 100644 --- a/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/DefaultEnumBaseʸᴰ.java +++ b/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/yd/abacus/BãßBȍőnAbacusBaseʸᴰ.java @@ -1,35 +1,31 @@ -package love.distributedrebirth.bassboon; +package love.distributedrebirth.bassboon.yd.abacus; import java.lang.reflect.InvocationTargetException; +import love.distributedrebirth.bassboon.Bãß; +import love.distributedrebirth.bassboon.BãßBȍőnʸᴰ; +import love.distributedrebirth.bassboon.DefaultBãßBȍőnʸᴰ; import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnꝐŕḯṿª₮ḕ; -// Bȍőn prefix is for set instance enum methods (called DefaultEnumSetʸᴰ) -// Bãß prefix is for single instance enum methods (called DefaultEnumInstanceʸᴰ) +// Bȍőn prefix is for set instance enum methods +// Bãß prefix is for single instance enum methods @BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") -public interface DefaultEnumBaseʸᴰ> extends DefaultBãßBȍőnʸᴰ { +public interface BãßBȍőnAbacusBaseʸᴰ> extends AbacusEnum, DefaultBãßBȍőnʸᴰ { - public static final class Ꝑŕḯṿª₮ḕ implements BãßBȍőnꝐŕḯṿª₮ḕ> { + public static final class Ꝑŕḯṿª₮ḕ implements BãßBȍőnꝐŕḯṿª₮ḕ> { private static final String STR_VALUES = "values"; - - @Override - public void init(DefaultEnumBaseʸᴰ boon) { - } } - int ordinal(); - - String name(); - default String BȍőnNaam() { return name(); } + // note: highly unholy, but without it is not an abacus @SuppressWarnings("unchecked") default T[] BãßInstances() { try { - return (T[]) getClass().getMethod(Ꝑŕḯṿª₮ḕ.STR_VALUES).invoke(null); + return (T[]) getClass().getMethod(Ꝑŕḯṿª₮ḕ.STR_VALUES).invoke(Bãß.ℭỗᶇṧⱦᶏꬼȶʂ.PTR_VOID); } catch (NoSuchMethodException | IllegalAccessException | IllegalArgumentException | InvocationTargetException | SecurityException e) { throw new RuntimeException(e); } diff --git a/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/yd/abacus/BãßBȍőnAbacusInstanceMBeanʸᴰ.java b/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/yd/abacus/BãßBȍőnAbacusInstanceMBeanʸᴰ.java new file mode 100644 index 00000000..1b0f33cb --- /dev/null +++ b/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/yd/abacus/BãßBȍőnAbacusInstanceMBeanʸᴰ.java @@ -0,0 +1,37 @@ +package love.distributedrebirth.bassboon.yd.abacus; + +import love.distributedrebirth.bassboon.BãßBȍőnʸᴰ; +import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; +import love.distributedrebirth.bassboon.clazz.BãßBȍőnExport響ᴼᶠ; +import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnPiratePhase注; +import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnPirateʸᴰ; +import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnꝐŕḯṿª₮ḕ; +import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnꝐŕḯṿª₮ḕ響ᴼᶠ; +import love.distributedrebirth.bassboon.death.spider.BãßBȍőnSpiderWire注; +import love.distributedrebirth.bassboon.yd.jmx.BãßBȍőnMBeanServerʸᴰ; +import love.distributedrebirth.bassboon.yd.jmx.BãßBȍőnMBeanServer響ᴼᶠ; +import love.distributedrebirth.bassboon.yd.jmx.MBeanDynamicᴶᴹˣ; + +@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") +public interface BãßBȍőnAbacusInstanceMBeanʸᴰ> extends BãßBȍőnMBeanServerʸᴰ,BãßBȍőnAbacusInstanceʸᴰ { + + @BãßBȍőnPiratePhase注(dependencies = {BãßBȍőnPirateʸᴰ.βrahmanBoonMarriage.class}) + public static final class Ꝑŕḯṿª₮ḕ implements BãßBȍőnꝐŕḯṿª₮ḕ> { + + @BãßBȍőnSpiderWire注 + private BãßBȍőnAbacusInstanceMBeanʸᴰ boon; + + @BãßBȍőnSpiderWire注 + private BãßBȍőnExport響ᴼᶠ> boonExport; + + @BãßBȍőnSpiderWire注 + private BãßBȍőnMBeanServer響ᴼᶠ> boonJmx; + + @Override + public BãßBȍőnꝐŕḯṿª₮ḕ響ᴼᶠ.Void> init() { + MBeanDynamicᴶᴹˣ mbean = BãßBȍőnMBeanServerʸᴰ.Ꝑŕḯṿª₮ḕ.BeanCreateᴶᴹˣ(boon); + boonJmx.registerᴶᴹˣ(mbean, boonJmx.beanNameᴶᴹˣ(boonExport.BãßExportGroep(), boonExport.BãßExportNaam())); + return BãßBȍőnꝐŕḯṿª₮ḕ響ᴼᶠ.initⱽᵒᶦᵈ(); + } + } +} diff --git a/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/yd/abacus/BãßBȍőnAbacusInstanceʸᴰ.java b/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/yd/abacus/BãßBȍőnAbacusInstanceʸᴰ.java new file mode 100644 index 00000000..c60a8503 --- /dev/null +++ b/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/yd/abacus/BãßBȍőnAbacusInstanceʸᴰ.java @@ -0,0 +1,13 @@ +package love.distributedrebirth.bassboon.yd.abacus; + +import love.distributedrebirth.bassboon.Bãß; +import love.distributedrebirth.bassboon.BãßBȍőnʸᴰ; +import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; + +@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") +public interface BãßBȍőnAbacusInstanceʸᴰ> extends BãßBȍőnAbacusBaseʸᴰ { + + default T BãßInstance() { + return BãßInstances()[Bãß.ℭỗᶇṧⱦᶏꬼȶʂ.INT_ZERO]; + } +} diff --git a/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/yd/abacus/BãßBȍőnAbacusSetMBeanʸᴰ.java b/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/yd/abacus/BãßBȍőnAbacusSetMBeanʸᴰ.java new file mode 100644 index 00000000..4f3c67ae --- /dev/null +++ b/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/yd/abacus/BãßBȍőnAbacusSetMBeanʸᴰ.java @@ -0,0 +1,37 @@ +package love.distributedrebirth.bassboon.yd.abacus; + +import love.distributedrebirth.bassboon.BãßBȍőnʸᴰ; +import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; +import love.distributedrebirth.bassboon.clazz.BãßBȍőnExport響ᴼᶠ; +import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnPiratePhase注; +import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnPirateʸᴰ; +import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnꝐŕḯṿª₮ḕ; +import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnꝐŕḯṿª₮ḕ響ᴼᶠ; +import love.distributedrebirth.bassboon.death.spider.BãßBȍőnSpiderWire注; +import love.distributedrebirth.bassboon.yd.jmx.BãßBȍőnMBeanServerʸᴰ; +import love.distributedrebirth.bassboon.yd.jmx.BãßBȍőnMBeanServer響ᴼᶠ; +import love.distributedrebirth.bassboon.yd.jmx.MBeanDynamicᴶᴹˣ; + +@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") +public interface BãßBȍőnAbacusSetMBeanʸᴰ> extends BãßBȍőnMBeanServerʸᴰ,BãßBȍőnAbacusSetʸᴰ { + + @BãßBȍőnPiratePhase注(dependencies = {BãßBȍőnPirateʸᴰ.βrahmanBoonMarriage.class}) + public static final class Ꝑŕḯṿª₮ḕ implements BãßBȍőnꝐŕḯṿª₮ḕ> { + + @BãßBȍőnSpiderWire注 + private BãßBȍőnAbacusSetMBeanʸᴰ boon; + + @BãßBȍőnSpiderWire注 + private BãßBȍőnExport響ᴼᶠ> boonExport; + + @BãßBȍőnSpiderWire注 + private BãßBȍőnMBeanServer響ᴼᶠ> boonJmx; + + @Override + public BãßBȍőnꝐŕḯṿª₮ḕ響ᴼᶠ.Void> init() { + MBeanDynamicᴶᴹˣ mbean = BãßBȍőnMBeanServerʸᴰ.Ꝑŕḯṿª₮ḕ.BeanCreateᴶᴹˣ(boon); + boonJmx.registerᴶᴹˣ(mbean, boonJmx.beanNameᴶᴹˣ(boonExport.BãßExportGroep(), boonExport.BãßExportNaam(), boon.BȍőnNaam())); + return BãßBȍőnꝐŕḯṿª₮ḕ響ᴼᶠ.initⱽᵒᶦᵈ(); + } + } +} diff --git a/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/DefaultEnumSetʸᴰ.java b/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/yd/abacus/BãßBȍőnAbacusSetʸᴰ.java similarity index 77% rename from gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/DefaultEnumSetʸᴰ.java rename to gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/yd/abacus/BãßBȍőnAbacusSetʸᴰ.java index b80e523f..17060c59 100644 --- a/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/DefaultEnumSetʸᴰ.java +++ b/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/yd/abacus/BãßBȍőnAbacusSetʸᴰ.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.bassboon; +package love.distributedrebirth.bassboon.yd.abacus; import java.util.Arrays; import java.util.List; @@ -7,21 +7,29 @@ import java.util.function.Consumer; import java.util.function.Function; import java.util.stream.Collectors; +import love.distributedrebirth.bassboon.Bãß; +import love.distributedrebirth.bassboon.BãßBȍőnʸᴰ; import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnPiratePhase注; import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnPirateʸᴰ; import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnꝐŕḯṿª₮ḕ; +import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnꝐŕḯṿª₮ḕ響ᴼᶠ; +import love.distributedrebirth.bassboon.death.spider.BãßBȍőnSpiderWire注; @BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") -public interface DefaultEnumSetʸᴰ> extends DefaultEnumBaseʸᴰ { +public interface BãßBȍőnAbacusSetʸᴰ> extends BãßBȍőnAbacusBaseʸᴰ { @BãßBȍőnPiratePhase注(dependencies = {BãßBȍőnPirateʸᴰ.βrahmanBoonBereshit.class}) - public static final class Ꝑŕḯṿª₮ḕ implements BãßBȍőnꝐŕḯṿª₮ḕ> { + public static final class Ꝑŕḯṿª₮ḕ implements BãßBȍőnꝐŕḯṿª₮ḕ> { private static final String GHOST_RANG_TEL_EEN = "秩數數一"; + @BãßBȍőnSpiderWire注 + private BãßBȍőnAbacusSetʸᴰ boon; + @Override - public void init(DefaultEnumSetʸᴰ boon) { + public BãßBȍőnꝐŕḯṿª₮ḕ響ᴼᶠ.Void> init() { boon.toBBC().UNHOLY_SPELL(Ꝑŕḯṿª₮ḕ.class).PUT_GHOST(GHOST_RANG_TEL_EEN, boon.BȍőnRangTelNul() + Bãß.ℭỗᶇṧⱦᶏꬼȶʂ.INT_ONE); + return BãßBȍőnꝐŕḯṿª₮ḕ響ᴼᶠ.initⱽᵒᶦᵈ(); } } diff --git a/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/ydmod/zombie/BãßBȍőnEnumZombie.java b/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/yd/abacus/zombie/BãßBȍőnAbacusZombie.java similarity index 93% rename from gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/ydmod/zombie/BãßBȍőnEnumZombie.java rename to gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/yd/abacus/zombie/BãßBȍőnAbacusZombie.java index 0f9df959..8a288e06 100644 --- a/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/ydmod/zombie/BãßBȍőnEnumZombie.java +++ b/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/yd/abacus/zombie/BãßBȍőnAbacusZombie.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.bassboon.ydmod.zombie; +package love.distributedrebirth.bassboon.yd.abacus.zombie; import java.util.List; import java.util.Map; @@ -6,7 +6,7 @@ import java.util.Map; import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; @BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") -public interface BãßBȍőnEnumZombie { +public interface BãßBȍőnAbacusZombie { Object GET_OBJ(T key); diff --git a/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/ydmod/zombie/BãßBȍőnEnumZombieBullet.java b/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/yd/abacus/zombie/BãßBȍőnAbacusZombieBullet.java similarity index 59% rename from gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/ydmod/zombie/BãßBȍőnEnumZombieBullet.java rename to gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/yd/abacus/zombie/BãßBȍőnAbacusZombieBullet.java index 6b9ce263..cdef11e7 100644 --- a/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/ydmod/zombie/BãßBȍőnEnumZombieBullet.java +++ b/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/yd/abacus/zombie/BãßBȍőnAbacusZombieBullet.java @@ -1,13 +1,13 @@ -package love.distributedrebirth.bassboon.ydmod.zombie; +package love.distributedrebirth.bassboon.yd.abacus.zombie; import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; @BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") -public interface BãßBȍőnEnumZombieBullet { +public interface BãßBȍőnAbacusZombieBullet { String name(); - public static final class AutoFire implements BãßBȍőnEnumZombieBullet { + public static final class AutoFire implements BãßBȍőnAbacusZombieBullet { @Override public String name() { diff --git a/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/ydmod/zombie/BãßBȍőnEnumZombieCorpse.java b/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/yd/abacus/zombie/BãßBȍőnAbacusZombieCorpse.java similarity index 52% rename from gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/ydmod/zombie/BãßBȍőnEnumZombieCorpse.java rename to gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/yd/abacus/zombie/BãßBȍőnAbacusZombieCorpse.java index bc3de806..0d725d19 100644 --- a/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/ydmod/zombie/BãßBȍőnEnumZombieCorpse.java +++ b/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/yd/abacus/zombie/BãßBȍőnAbacusZombieCorpse.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.bassboon.ydmod.zombie; +package love.distributedrebirth.bassboon.yd.abacus.zombie; import java.util.ArrayList; import java.util.HashMap; @@ -6,7 +6,7 @@ import java.util.HashMap; import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; @BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") -public interface BãßBȍőnEnumZombieCorpse extends BãßBȍőnEnumZombie { +public interface BãßBȍőnAbacusZombieCorpse extends BãßBȍőnAbacusZombie { Object PUT_OBJ(K key, Object value); @@ -18,7 +18,7 @@ public interface BãßBȍőnEnumZombieCorpse()); } - static BãßBȍőnEnumZombieCorpse castᴼᶠ(BãßBȍőnEnumZombie zombie) { - return (BãßBȍőnEnumZombieCorpse) zombie; + static BãßBȍőnAbacusZombieCorpse castᴼᶠ(BãßBȍőnAbacusZombie zombie) { + return (BãßBȍőnAbacusZombieCorpse) zombie; } } diff --git a/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/ydmod/zombie/BãßBȍőnEnumZombieCorpseLock.java b/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/yd/abacus/zombie/BãßBȍőnAbacusZombieCorpseLock.java similarity index 60% rename from gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/ydmod/zombie/BãßBȍőnEnumZombieCorpseLock.java rename to gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/yd/abacus/zombie/BãßBȍőnAbacusZombieCorpseLock.java index b062baa4..2ef80c75 100644 --- a/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/ydmod/zombie/BãßBȍőnEnumZombieCorpseLock.java +++ b/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/yd/abacus/zombie/BãßBȍőnAbacusZombieCorpseLock.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.bassboon.ydmod.zombie; +package love.distributedrebirth.bassboon.yd.abacus.zombie; import java.util.Collections; import java.util.HashMap; @@ -9,16 +9,16 @@ import java.util.function.Function; import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; @BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") -public interface BãßBȍőnEnumZombieCorpseLock extends BãßBȍőnEnumZombieCorpse { +public interface BãßBȍőnAbacusZombieCorpseLock extends BãßBȍőnAbacusZombieCorpse { - BãßBȍőnEnumZombie LOCK(); + BãßBȍőnAbacusZombie LOCK(); - static BãßBȍőnEnumZombieCorpseLock castᴼᶠ(BãßBȍőnEnumZombie zombie) { - return (BãßBȍőnEnumZombieCorpseLock) zombie; + static BãßBȍőnAbacusZombieCorpseLock castᴼᶠ(BãßBȍőnAbacusZombie zombie) { + return (BãßBȍőnAbacusZombieCorpseLock) zombie; } - static BãßBȍőnEnumZombieCorpseLock instanceᴺᵉʷ() { - Function,BãßBȍőnEnumZombie> keyMaker = v -> { + static BãßBȍőnAbacusZombieCorpseLock instanceᴺᵉʷ() { + Function,BãßBȍőnAbacusZombie> keyMaker = v -> { Map frozenFlesh = new HashMap<>(v); for (Y bullet:v.keySet()) { Object deadbeef = frozenFlesh.get(bullet); @@ -29,18 +29,18 @@ public interface BãßBȍőnEnumZombieCorpseLock) deadbeef)); } } - return new BãßBȍőnEnumZombie<>() { + return new BãßBȍőnAbacusZombie<>() { @Override public Object GET_OBJ(Y key) { return frozenFlesh.get(key); } }; }; - return new BãßBȍőnEnumZombieCorpseLock() { + return new BãßBȍőnAbacusZombieCorpseLock() { private final Map rottenFlesh = new HashMap<>(); @Override - public BãßBȍőnEnumZombie LOCK() { + public BãßBȍőnAbacusZombie LOCK() { return keyMaker.apply(rottenFlesh); } diff --git a/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/yd/abacus/zombie/BãßBȍőnAbacusZombieʸᴰ.java b/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/yd/abacus/zombie/BãßBȍőnAbacusZombieʸᴰ.java new file mode 100644 index 00000000..5b17ccaf --- /dev/null +++ b/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/yd/abacus/zombie/BãßBȍőnAbacusZombieʸᴰ.java @@ -0,0 +1,39 @@ +package love.distributedrebirth.bassboon.yd.abacus.zombie; + +import love.distributedrebirth.bassboon.BãßBȍőnʸᴰ; +import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; +import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnPiratePhase注; +import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnPirateʸᴰ; +import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnꝐŕḯṿª₮ḕ; +import love.distributedrebirth.bassboon.death.spider.BãßBȍőnSpiderWire注; + +@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") +public interface BãßBȍőnAbacusZombieʸᴰ, K extends BãßBȍőnAbacusZombieBullet> extends BãßBȍőnʸᴰ { + + @BãßBȍőnPiratePhase注(dependencies = {BãßBȍőnPirateʸᴰ.βrahmanBoonBereshit.class}) + public static final class Ꝑŕḯṿª₮ḕ implements BãßBȍőnꝐŕḯṿª₮ḕ> { + private static final String GHOST_ENUM_ZOMBIE = "枚舉殭屍"; + + @BãßBȍőnSpiderWire注 + private BãßBȍőnAbacusZombieʸᴰ boon; + + @Override + public BãßBȍőnAbacusZombie響ᴼᶠ> init() { + boon.toBBC().UNHOLY_SPELL(Ꝑŕḯṿª₮ḕ.class).PUT_GHOST(GHOST_ENUM_ZOMBIE, BãßBȍőnAbacusZombieCorpseLock.instanceᴺᵉʷ()); + return new BãßBȍőnAbacusZombie響ᴼᶠ<>() { + @SuppressWarnings("unchecked") + @Override + public BãßBȍőnAbacusZombie toEnumZombie() { + return boon.toBBC().UNHOLY(Ꝑŕḯṿª₮ḕ.class).GHOST_OBJ(GHOST_ENUM_ZOMBIE, BãßBȍőnAbacusZombie.class); + } + }; + } + + @Override + public void lock() { + BãßBȍőnAbacusZombie zombie = boon.toBBC().UNHOLY(Ꝑŕḯṿª₮ḕ.class).GHOST_OBJ(GHOST_ENUM_ZOMBIE, BãßBȍőnAbacusZombie.class); + zombie = BãßBȍőnAbacusZombieCorpseLock.castᴼᶠ(zombie).LOCK(); + boon.toBBC().UNHOLY_SPELL(Ꝑŕḯṿª₮ḕ.class).PUT_GHOST(GHOST_ENUM_ZOMBIE, zombie); + } + } +} diff --git a/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/yd/abacus/zombie/BãßBȍőnAbacusZombie響ᴼᶠ.java b/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/yd/abacus/zombie/BãßBȍőnAbacusZombie響ᴼᶠ.java new file mode 100644 index 00000000..aa8ce62a --- /dev/null +++ b/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/yd/abacus/zombie/BãßBȍőnAbacusZombie響ᴼᶠ.java @@ -0,0 +1,10 @@ +package love.distributedrebirth.bassboon.yd.abacus.zombie; + +import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; +import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnꝐŕḯṿª₮ḕ響ᴼᶠ; + +@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") +public interface BãßBȍőnAbacusZombie響ᴼᶠ> extends BãßBȍőnꝐŕḯṿª₮ḕ響ᴼᶠ { + + BãßBȍőnAbacusZombie toEnumZombie(); +} diff --git a/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/ydmod/jmx/AbstractMBeanAttributeᴶᴹˣ.java b/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/yd/jmx/AbstractMBeanAttributeᴶᴹˣ.java similarity index 91% rename from gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/ydmod/jmx/AbstractMBeanAttributeᴶᴹˣ.java rename to gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/yd/jmx/AbstractMBeanAttributeᴶᴹˣ.java index 27640a26..fe90c981 100644 --- a/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/ydmod/jmx/AbstractMBeanAttributeᴶᴹˣ.java +++ b/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/yd/jmx/AbstractMBeanAttributeᴶᴹˣ.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.bassboon.ydmod.jmx; +package love.distributedrebirth.bassboon.yd.jmx; import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; diff --git a/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/ydmod/jmx/AttributeBooleanᴶᴹˣ.java b/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/yd/jmx/AttributeBooleanᴶᴹˣ.java similarity index 91% rename from gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/ydmod/jmx/AttributeBooleanᴶᴹˣ.java rename to gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/yd/jmx/AttributeBooleanᴶᴹˣ.java index a0468b77..59d614f7 100644 --- a/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/ydmod/jmx/AttributeBooleanᴶᴹˣ.java +++ b/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/yd/jmx/AttributeBooleanᴶᴹˣ.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.bassboon.ydmod.jmx; +package love.distributedrebirth.bassboon.yd.jmx; import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; diff --git a/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/ydmod/jmx/AttributeIntegerᴶᴹˣ.java b/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/yd/jmx/AttributeIntegerᴶᴹˣ.java similarity index 91% rename from gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/ydmod/jmx/AttributeIntegerᴶᴹˣ.java rename to gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/yd/jmx/AttributeIntegerᴶᴹˣ.java index f8ef11a6..5522fddb 100644 --- a/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/ydmod/jmx/AttributeIntegerᴶᴹˣ.java +++ b/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/yd/jmx/AttributeIntegerᴶᴹˣ.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.bassboon.ydmod.jmx; +package love.distributedrebirth.bassboon.yd.jmx; import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; diff --git a/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/ydmod/jmx/AttributeLongᴶᴹˣ.java b/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/yd/jmx/AttributeLongᴶᴹˣ.java similarity index 91% rename from gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/ydmod/jmx/AttributeLongᴶᴹˣ.java rename to gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/yd/jmx/AttributeLongᴶᴹˣ.java index 6142bbeb..32665325 100644 --- a/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/ydmod/jmx/AttributeLongᴶᴹˣ.java +++ b/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/yd/jmx/AttributeLongᴶᴹˣ.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.bassboon.ydmod.jmx; +package love.distributedrebirth.bassboon.yd.jmx; import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; diff --git a/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/ydmod/jmx/AttributeStringᴶᴹˣ.java b/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/yd/jmx/AttributeStringᴶᴹˣ.java similarity index 91% rename from gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/ydmod/jmx/AttributeStringᴶᴹˣ.java rename to gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/yd/jmx/AttributeStringᴶᴹˣ.java index a80c11c1..435e90ab 100644 --- a/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/ydmod/jmx/AttributeStringᴶᴹˣ.java +++ b/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/yd/jmx/AttributeStringᴶᴹˣ.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.bassboon.ydmod.jmx; +package love.distributedrebirth.bassboon.yd.jmx; import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; diff --git a/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/ydmod/jmx/DefaultEnumBaseᴶᴹˣ.java b/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/yd/jmx/BãßBȍőnMBeanServerʸᴰ.java similarity index 62% rename from gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/ydmod/jmx/DefaultEnumBaseᴶᴹˣ.java rename to gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/yd/jmx/BãßBȍőnMBeanServerʸᴰ.java index fcea13b3..82218543 100644 --- a/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/ydmod/jmx/DefaultEnumBaseᴶᴹˣ.java +++ b/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/yd/jmx/BãßBȍőnMBeanServerʸᴰ.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.bassboon.ydmod.jmx; +package love.distributedrebirth.bassboon.yd.jmx; import java.lang.management.ManagementFactory; import java.util.HashMap; @@ -11,21 +11,23 @@ import javax.management.NotCompliantMBeanException; import javax.management.ObjectName; import love.distributedrebirth.bassboon.BãßBȍőnʸᴰ; -import love.distributedrebirth.bassboon.DefaultEnumBaseʸᴰ; +import love.distributedrebirth.bassboon.DefaultBãßBȍőnʸᴰ; import love.distributedrebirth.bassboon.clazz.BãßBȍőnAnnotation注; import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; import love.distributedrebirth.bassboon.clazz.BãßBȍőnClazz注; +import love.distributedrebirth.bassboon.clazz.BãßBȍőnClazz響ᴼᶠ; import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnPiratePhase注; import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnPirateʸᴰ; import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnꝐŕḯṿª₮ḕ; import love.distributedrebirth.bassboon.death.spider.BãßBȍőnSpiderEgg注; +import love.distributedrebirth.bassboon.death.spider.BãßBȍőnSpiderWire注; @BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAnnotation注(required = {BãßBȍőnClazz注.class}) -public interface DefaultEnumBaseᴶᴹˣ> extends DefaultEnumBaseʸᴰ { +public interface BãßBȍőnMBeanServerʸᴰ> extends DefaultBãßBȍőnʸᴰ { @BãßBȍőnPiratePhase注(dependencies = {BãßBȍőnPirateʸᴰ.βrahmanBoonBereshit.class}) - public static final class Ꝑŕḯṿª₮ḕ implements BãßBȍőnꝐŕḯṿª₮ḕ> { + public static final class Ꝑŕḯṿª₮ḕ implements BãßBȍőnꝐŕḯṿª₮ḕ> { protected static final String STR_NAME = "name"; protected static final String STR_TYPE = "type"; protected static final String STR_DOT = "."; @@ -34,44 +36,13 @@ public interface DefaultEnumBaseᴶᴹˣ> extends protected static final String STR_COMMA = ","; private static final String GHOST_JMX = "爪哇管理擴展"; + @BãßBȍőnSpiderWire注 + private BãßBȍőnMBeanServerʸᴰ boon; + @Override - public void init(DefaultEnumBaseᴶᴹˣ boon) { - boon.toBBC().UNHOLY_SPELL(Ꝑŕḯṿª₮ḕ.class).PUT_GHOST(Ꝑŕḯṿª₮ḕ.GHOST_JMX, new HashMap<>()); - } - - public X buildJmxGhost(DefaultEnumBaseᴶᴹˣ boon, String name, X result) { - boon.toBBC().UNHOLY(Ꝑŕḯṿª₮ḕ.class).GHOST_MAP_OBJ(Ꝑŕḯṿª₮ḕ.GHOST_JMX).put(name, result); - return result; - } - - @BãßBȍőnSpiderEgg注() - public CounterGuageᴶᴹˣ buildGuageCounter(DefaultEnumBaseᴶᴹˣ boon, String name, String description) { - return buildJmxGhost(boon, name, new CounterGuageᴶᴹˣ(name, description)); - } - - @BãßBȍőnSpiderEgg注() - public AttributeStringᴶᴹˣ buildStringAttribute(DefaultEnumBaseᴶᴹˣ boon, String name, String description) { - return buildJmxGhost(boon, name, new AttributeStringᴶᴹˣ(name, description)); - } - - @BãßBȍőnSpiderEgg注() - public AttributeBooleanᴶᴹˣ buildBooleanAttribute(DefaultEnumBaseᴶᴹˣ boon, String name, String description) { - return buildJmxGhost(boon, name, new AttributeBooleanᴶᴹˣ(name, description)); - } - - @BãßBȍőnSpiderEgg注() - public AttributeIntegerᴶᴹˣ buildIntegerAttribute(DefaultEnumBaseᴶᴹˣ boon, String name, String description) { - return buildJmxGhost(boon, name, new AttributeIntegerᴶᴹˣ(name, description)); - } - - @BãßBȍőnSpiderEgg注() - public AttributeLongᴶᴹˣ buildLongAttribute(DefaultEnumBaseᴶᴹˣ boon, String name, String description) { - return buildJmxGhost(boon, name, new AttributeLongᴶᴹˣ(name, description)); - } - - @BãßBȍőnSpiderEgg注() - public MBeanServerᴶᴹˣ buildMBeanServer(DefaultEnumBaseᴶᴹˣ boon) { - return new MBeanServerᴶᴹˣ() { + public BãßBȍőnMBeanServer響ᴼᶠ> init() { + boon.toBBC().UNHOLY_SPELL(Ꝑŕḯṿª₮ḕ.class).PUT_GHOST(GHOST_JMX, new HashMap<>()); + return new BãßBȍőnMBeanServer響ᴼᶠ<>() { private final MBeanServer server = ManagementFactory.getPlatformMBeanServer(); @Override @@ -80,9 +51,9 @@ public interface DefaultEnumBaseᴶᴹˣ> extends } @Override - public ObjectName toNameᴶᴹˣ(String name) { + public ObjectName toNameᴶᴹˣ(String objectName) { try { - return new ObjectName(name); + return new ObjectName(objectName); } catch (Exception e) { throw new RuntimeException(e); } @@ -100,11 +71,43 @@ public interface DefaultEnumBaseᴶᴹˣ> extends }; } - public static MBeanDynamicᴶᴹˣ BeanCreateᴶᴹˣ(DefaultEnumBaseᴶᴹˣ boon) { - return new MBeanDynamicᴶᴹˣ(boon.BãßClazzDoel(), BeanGhostsᴶᴹˣ(boon)); + public X buildJmxGhost(BãßBȍőnMBeanServerʸᴰ boon, String name, X result) { + boon.toBBC().UNHOLY(Ꝑŕḯṿª₮ḕ.class).GHOST_MAP_OBJ(Ꝑŕḯṿª₮ḕ.GHOST_JMX).put(name, result); + return result; } - protected static Map BeanGhostsᴶᴹˣ(DefaultEnumBaseᴶᴹˣ boon) { + @BãßBȍőnSpiderEgg注() + public CounterGuageᴶᴹˣ buildGuageCounter(BãßBȍőnMBeanServerʸᴰ boon, String name, String description) { + return buildJmxGhost(boon, name, new CounterGuageᴶᴹˣ(name, description)); + } + + @BãßBȍőnSpiderEgg注() + public AttributeStringᴶᴹˣ buildStringAttribute(BãßBȍőnMBeanServerʸᴰ boon, String name, String description) { + return buildJmxGhost(boon, name, new AttributeStringᴶᴹˣ(name, description)); + } + + @BãßBȍőnSpiderEgg注() + public AttributeBooleanᴶᴹˣ buildBooleanAttribute(BãßBȍőnMBeanServerʸᴰ boon, String name, String description) { + return buildJmxGhost(boon, name, new AttributeBooleanᴶᴹˣ(name, description)); + } + + @BãßBȍőnSpiderEgg注() + public AttributeIntegerᴶᴹˣ buildIntegerAttribute(BãßBȍőnMBeanServerʸᴰ boon, String name, String description) { + return buildJmxGhost(boon, name, new AttributeIntegerᴶᴹˣ(name, description)); + } + + @BãßBȍőnSpiderEgg注() + public AttributeLongᴶᴹˣ buildLongAttribute(BãßBȍőnMBeanServerʸᴰ boon, String name, String description) { + return buildJmxGhost(boon, name, new AttributeLongᴶᴹˣ(name, description)); + } + + @SuppressWarnings("unchecked") + public static MBeanDynamicᴶᴹˣ BeanCreateᴶᴹˣ(BãßBȍőnMBeanServerʸᴰ boon) { + String purpuse = boon.toBBC().NOISE_OF(BãßBȍőnClazz響ᴼᶠ.class).BãßClazzDoel(); + return new MBeanDynamicᴶᴹˣ(purpuse, BeanGhostsᴶᴹˣ(boon)); + } + + protected static Map BeanGhostsᴶᴹˣ(BãßBȍőnMBeanServerʸᴰ boon) { return boon.toBBC().UNHOLY(Ꝑŕḯṿª₮ḕ.class).GHOST_MAP_OBJ(Ꝑŕḯṿª₮ḕ.GHOST_JMX); } } diff --git a/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/yd/jmx/BãßBȍőnMBeanServer響ᴼᶠ.java b/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/yd/jmx/BãßBȍőnMBeanServer響ᴼᶠ.java new file mode 100644 index 00000000..730e5a21 --- /dev/null +++ b/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/yd/jmx/BãßBȍőnMBeanServer響ᴼᶠ.java @@ -0,0 +1,41 @@ +package love.distributedrebirth.bassboon.yd.jmx; + +import javax.management.MBeanServer; +import javax.management.ObjectName; + +import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; +import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnꝐŕḯṿª₮ḕ響ᴼᶠ; + +@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") +public interface BãßBȍőnMBeanServer響ᴼᶠ> extends BãßBȍőnꝐŕḯṿª₮ḕ響ᴼᶠ { + + MBeanServer getServerᴶᴹˣ(); + + ObjectName toNameᴶᴹˣ(String objectName); + + void registerᴶᴹˣ(Object mbean, ObjectName objectName); + + default ObjectName beanNameᴶᴹˣ(String group, String artifact) { + StringBuilder name = new StringBuilder(); + name.append(group); + name.append(BãßBȍőnMBeanServerʸᴰ.Ꝑŕḯṿª₮ḕ.STR_COLON); + name.append(BãßBȍőnMBeanServerʸᴰ.Ꝑŕḯṿª₮ḕ.STR_TYPE); + name.append(BãßBȍőnMBeanServerʸᴰ.Ꝑŕḯṿª₮ḕ.STR_IS); + name.append(artifact); + return toNameᴶᴹˣ(name.toString()); + } + + default ObjectName beanNameᴶᴹˣ(String group, String artifact, String node) { + StringBuilder name = new StringBuilder(); + name.append(group); + name.append(BãßBȍőnMBeanServerʸᴰ.Ꝑŕḯṿª₮ḕ.STR_COLON); + name.append(BãßBȍőnMBeanServerʸᴰ.Ꝑŕḯṿª₮ḕ.STR_TYPE); + name.append(BãßBȍőnMBeanServerʸᴰ.Ꝑŕḯṿª₮ḕ.STR_IS); + name.append(artifact); + name.append(BãßBȍőnMBeanServerʸᴰ.Ꝑŕḯṿª₮ḕ.STR_COMMA); + name.append(BãßBȍőnMBeanServerʸᴰ.Ꝑŕḯṿª₮ḕ.STR_NAME); + name.append(BãßBȍőnMBeanServerʸᴰ.Ꝑŕḯṿª₮ḕ.STR_IS); + name.append(node); + return toNameᴶᴹˣ(name.toString()); + } +} diff --git a/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/ydmod/jmx/CounterGuageᴶᴹˣ.java b/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/yd/jmx/CounterGuageᴶᴹˣ.java similarity index 91% rename from gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/ydmod/jmx/CounterGuageᴶᴹˣ.java rename to gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/yd/jmx/CounterGuageᴶᴹˣ.java index 93f92411..51492a70 100644 --- a/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/ydmod/jmx/CounterGuageᴶᴹˣ.java +++ b/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/yd/jmx/CounterGuageᴶᴹˣ.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.bassboon.ydmod.jmx; +package love.distributedrebirth.bassboon.yd.jmx; import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; diff --git a/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/ydmod/jmx/MBeanAttributeType注.java b/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/yd/jmx/MBeanAttributeType注.java similarity index 89% rename from gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/ydmod/jmx/MBeanAttributeType注.java rename to gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/yd/jmx/MBeanAttributeType注.java index 7b877fb3..a6b3d620 100644 --- a/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/ydmod/jmx/MBeanAttributeType注.java +++ b/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/yd/jmx/MBeanAttributeType注.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.bassboon.ydmod.jmx; +package love.distributedrebirth.bassboon.yd.jmx; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; diff --git a/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/ydmod/jmx/MBeanAttributeᴶᴹˣ.java b/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/yd/jmx/MBeanAttributeᴶᴹˣ.java similarity index 88% rename from gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/ydmod/jmx/MBeanAttributeᴶᴹˣ.java rename to gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/yd/jmx/MBeanAttributeᴶᴹˣ.java index 30adb76a..f25e0d59 100644 --- a/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/ydmod/jmx/MBeanAttributeᴶᴹˣ.java +++ b/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/yd/jmx/MBeanAttributeᴶᴹˣ.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.bassboon.ydmod.jmx; +package love.distributedrebirth.bassboon.yd.jmx; import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; diff --git a/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/ydmod/jmx/MBeanDynamicᴶᴹˣ.java b/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/yd/jmx/MBeanDynamicᴶᴹˣ.java similarity index 97% rename from gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/ydmod/jmx/MBeanDynamicᴶᴹˣ.java rename to gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/yd/jmx/MBeanDynamicᴶᴹˣ.java index 91de4381..bbcfb52e 100644 --- a/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/ydmod/jmx/MBeanDynamicᴶᴹˣ.java +++ b/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/yd/jmx/MBeanDynamicᴶᴹˣ.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.bassboon.ydmod.jmx; +package love.distributedrebirth.bassboon.yd.jmx; import java.util.List; import java.util.Map; diff --git a/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/ydmod/jmx/DefaultEnumInstanceᴶᴹˣ.java b/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/ydmod/jmx/DefaultEnumInstanceᴶᴹˣ.java deleted file mode 100644 index 6d79903e..00000000 --- a/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/ydmod/jmx/DefaultEnumInstanceᴶᴹˣ.java +++ /dev/null @@ -1,32 +0,0 @@ -package love.distributedrebirth.bassboon.ydmod.jmx; - -import love.distributedrebirth.bassboon.BãßBȍőnʸᴰ; -import love.distributedrebirth.bassboon.DefaultEnumInstanceʸᴰ; -import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; -import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnPiratePhase注; -import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnPirateʸᴰ; -import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnꝐŕḯṿª₮ḕ; -import love.distributedrebirth.bassboon.death.spider.BãßBȍőnSpiderWire注; - -@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") -public interface DefaultEnumInstanceᴶᴹˣ> extends DefaultEnumBaseᴶᴹˣ,DefaultEnumInstanceʸᴰ { - - @BãßBȍőnPiratePhase注(dependencies = {BãßBȍőnPirateʸᴰ.βrahmanBoonMarriage.class}) - public static final class Ꝑŕḯṿª₮ḕ implements BãßBȍőnꝐŕḯṿª₮ḕ> { - - @BãßBȍőnSpiderWire注 - private MBeanServerᴶᴹˣ factory; - - @Override - public void init(DefaultEnumInstanceᴶᴹˣ boon) { - StringBuilder name = new StringBuilder(); - name.append(boon.BãßExportGroep()); - name.append(DefaultEnumBaseᴶᴹˣ.Ꝑŕḯṿª₮ḕ.STR_COLON); - name.append(DefaultEnumBaseᴶᴹˣ.Ꝑŕḯṿª₮ḕ.STR_TYPE); - name.append(DefaultEnumBaseᴶᴹˣ.Ꝑŕḯṿª₮ḕ.STR_IS); - name.append(boon.BãßExportNaam()); - MBeanDynamicᴶᴹˣ mbean = DefaultEnumBaseᴶᴹˣ.Ꝑŕḯṿª₮ḕ.BeanCreateᴶᴹˣ(boon); - factory.registerᴶᴹˣ(mbean, factory.toNameᴶᴹˣ(name.toString())); - } - } -} diff --git a/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/ydmod/jmx/DefaultEnumSetᴶᴹˣ.java b/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/ydmod/jmx/DefaultEnumSetᴶᴹˣ.java deleted file mode 100644 index 41d9072b..00000000 --- a/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/ydmod/jmx/DefaultEnumSetᴶᴹˣ.java +++ /dev/null @@ -1,36 +0,0 @@ -package love.distributedrebirth.bassboon.ydmod.jmx; - -import love.distributedrebirth.bassboon.BãßBȍőnʸᴰ; -import love.distributedrebirth.bassboon.DefaultEnumSetʸᴰ; -import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; -import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnPiratePhase注; -import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnPirateʸᴰ; -import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnꝐŕḯṿª₮ḕ; -import love.distributedrebirth.bassboon.death.spider.BãßBȍőnSpiderWire注; - -@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") -public interface DefaultEnumSetᴶᴹˣ> extends DefaultEnumBaseᴶᴹˣ,DefaultEnumSetʸᴰ { - - @BãßBȍőnPiratePhase注(dependencies = {BãßBȍőnPirateʸᴰ.βrahmanBoonMarriage.class}) - public static final class Ꝑŕḯṿª₮ḕ implements BãßBȍőnꝐŕḯṿª₮ḕ> { - - @BãßBȍőnSpiderWire注 - private MBeanServerᴶᴹˣ factory; - - @Override - public void init(DefaultEnumSetᴶᴹˣ boon) { - StringBuilder name = new StringBuilder(); - name.append(boon.BãßExportGroep()); - name.append(DefaultEnumBaseᴶᴹˣ.Ꝑŕḯṿª₮ḕ.STR_COLON); - name.append(DefaultEnumBaseᴶᴹˣ.Ꝑŕḯṿª₮ḕ.STR_TYPE); - name.append(DefaultEnumBaseᴶᴹˣ.Ꝑŕḯṿª₮ḕ.STR_IS); - name.append(boon.BãßExportNaam()); - name.append(DefaultEnumBaseᴶᴹˣ.Ꝑŕḯṿª₮ḕ.STR_COMMA); - name.append(DefaultEnumBaseᴶᴹˣ.Ꝑŕḯṿª₮ḕ.STR_NAME); - name.append(DefaultEnumBaseᴶᴹˣ.Ꝑŕḯṿª₮ḕ.STR_IS); - name.append(boon.BȍőnNaam()); - MBeanDynamicᴶᴹˣ mbean = DefaultEnumBaseᴶᴹˣ.Ꝑŕḯṿª₮ḕ.BeanCreateᴶᴹˣ(boon); - factory.registerᴶᴹˣ(mbean, factory.toNameᴶᴹˣ(name.toString())); - } - } -} diff --git a/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/ydmod/jmx/MBeanServerᴶᴹˣ.java b/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/ydmod/jmx/MBeanServerᴶᴹˣ.java deleted file mode 100644 index 4ffaf432..00000000 --- a/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/ydmod/jmx/MBeanServerᴶᴹˣ.java +++ /dev/null @@ -1,16 +0,0 @@ -package love.distributedrebirth.bassboon.ydmod.jmx; - -import javax.management.MBeanServer; -import javax.management.ObjectName; - -import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; - -@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") -public interface MBeanServerᴶᴹˣ { - - MBeanServer getServerᴶᴹˣ(); - - ObjectName toNameᴶᴹˣ(String name); - - void registerᴶᴹˣ(Object mbean, ObjectName objectName); -} diff --git a/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/ydmod/zombie/BãßBȍőnEnumZombieʸᴰ.java b/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/ydmod/zombie/BãßBȍőnEnumZombieʸᴰ.java deleted file mode 100644 index 35097f3d..00000000 --- a/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboon/ydmod/zombie/BãßBȍőnEnumZombieʸᴰ.java +++ /dev/null @@ -1,33 +0,0 @@ -package love.distributedrebirth.bassboon.ydmod.zombie; - -import love.distributedrebirth.bassboon.BãßBȍőnʸᴰ; -import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; -import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnPiratePhase注; -import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnPirateʸᴰ; -import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnꝐŕḯṿª₮ḕ; - -@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") -public interface BãßBȍőnEnumZombieʸᴰ, K extends BãßBȍőnEnumZombieBullet> extends BãßBȍőnʸᴰ { - - @BãßBȍőnPiratePhase注(dependencies = {BãßBȍőnPirateʸᴰ.βrahmanBoonBereshit.class}) - public static final class Ꝑŕḯṿª₮ḕ implements BãßBȍőnꝐŕḯṿª₮ḕ> { - private static final String GHOST_ENUM_ZOMBIE = "枚舉殭屍"; - - @Override - public void init(BãßBȍőnEnumZombieʸᴰ boon) { - boon.toBBC().UNHOLY_SPELL(Ꝑŕḯṿª₮ḕ.class).PUT_GHOST(GHOST_ENUM_ZOMBIE, BãßBȍőnEnumZombieCorpseLock.instanceᴺᵉʷ()); - } - - @Override - public void lock(BãßBȍőnEnumZombieʸᴰ boon) { - BãßBȍőnEnumZombie zombie = boon.toBBC().UNHOLY(Ꝑŕḯṿª₮ḕ.class).GHOST_OBJ(GHOST_ENUM_ZOMBIE, BãßBȍőnEnumZombie.class); - zombie = BãßBȍőnEnumZombieCorpseLock.castᴼᶠ(zombie).LOCK(); - boon.toBBC().UNHOLY_SPELL(Ꝑŕḯṿª₮ḕ.class).PUT_GHOST(GHOST_ENUM_ZOMBIE, zombie); - } - } - - @SuppressWarnings("unchecked") - default BãßBȍőnEnumZombie toEnumZombie() { - return toBBC().UNHOLY(Ꝑŕḯṿª₮ḕ.class).GHOST_OBJ(Ꝑŕḯṿª₮ḕ.GHOST_ENUM_ZOMBIE, BãßBȍőnEnumZombie.class); - } -} diff --git a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/Base2PartsFactory.java b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/Base2PartsFactory.java index 73b91ba8..b9c34bf8 100644 --- a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/Base2PartsFactory.java +++ b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/Base2PartsFactory.java @@ -5,8 +5,8 @@ import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; import love.distributedrebirth.bassboon.clazz.BãßBȍőnClazz注; import love.distributedrebirth.bassboon.clazz.BãßBȍőnExport注; import love.distributedrebirth.bassboon.death.spider.BãßBȍőnSpiderWire注; -import love.distributedrebirth.bassboon.ydmod.jmx.CounterGuageᴶᴹˣ; -import love.distributedrebirth.bassboon.ydmod.jmx.DefaultEnumInstanceᴶᴹˣ; +import love.distributedrebirth.bassboon.yd.abacus.BãßBȍőnAbacusInstanceMBeanʸᴰ; +import love.distributedrebirth.bassboon.yd.jmx.CounterGuageᴶᴹˣ; import love.distributedrebirth.numberxd.base2t.part.BãßBȍőnPartʸᴰ; import love.distributedrebirth.numberxd.base2t.part.T02PartBinary; import love.distributedrebirth.numberxd.base2t.part.T03PartTrit; @@ -26,7 +26,7 @@ import love.distributedrebirth.numberxd.base2t.part.T60PartSexagesimal; @BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @BãßBȍőnClazz注(purpose = "Factory to access the bases.") @BãßBȍőnExport注(group = "love.distributedrebirth.numberxd") -public enum Base2PartsFactory implements DefaultEnumInstanceᴶᴹˣ { +public enum Base2PartsFactory implements BãßBȍőnAbacusInstanceMBeanʸᴰ { INSTANCE; diff --git a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/Base2Terminator.java b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/Base2Terminator.java index bec40406..fb11d92f 100644 --- a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/Base2Terminator.java +++ b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/Base2Terminator.java @@ -12,8 +12,8 @@ import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; import love.distributedrebirth.bassboon.clazz.BãßBȍőnClazz注; import love.distributedrebirth.bassboon.clazz.BãßBȍőnExport注; import love.distributedrebirth.bassboon.death.spider.BãßBȍőnSpiderWire注; -import love.distributedrebirth.bassboon.ydmod.jmx.CounterGuageᴶᴹˣ; -import love.distributedrebirth.bassboon.ydmod.jmx.DefaultEnumInstanceᴶᴹˣ; +import love.distributedrebirth.bassboon.yd.abacus.BãßBȍőnAbacusInstanceMBeanʸᴰ; +import love.distributedrebirth.bassboon.yd.jmx.CounterGuageᴶᴹˣ; import love.distributedrebirth.numberxd.base2t.part.T08PartOctal; import love.distributedrebirth.numberxd.base2t.type.V072Tong; import love.distributedrebirth.numberxd.base2t.type.V144Tocta; @@ -21,7 +21,7 @@ import love.distributedrebirth.numberxd.base2t.type.V144Tocta; @BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @BãßBȍőnClazz注(purpose = "Terminate from and to classical bytes.") @BãßBȍőnExport注(group = "love.distributedrebirth.numberxd") -public enum Base2Terminator implements DefaultEnumInstanceᴶᴹˣ { +public enum Base2Terminator implements BãßBȍőnAbacusInstanceMBeanʸᴰ { INSTANCE; diff --git a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/Base2WarpCore.java b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/Base2WarpCore.java index f925808a..c14aec67 100644 --- a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/Base2WarpCore.java +++ b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/Base2WarpCore.java @@ -9,11 +9,11 @@ import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; import love.distributedrebirth.bassboon.clazz.BãßBȍőnClazz注; import love.distributedrebirth.bassboon.clazz.BãßBȍőnExport注; import love.distributedrebirth.bassboon.death.spider.BãßBȍőnSpiderWire注; -import love.distributedrebirth.bassboon.ydmod.jmx.AttributeBooleanᴶᴹˣ; -import love.distributedrebirth.bassboon.ydmod.jmx.AttributeStringᴶᴹˣ; -import love.distributedrebirth.bassboon.ydmod.jmx.CounterGuageᴶᴹˣ; -import love.distributedrebirth.bassboon.ydmod.jmx.DefaultEnumInstanceᴶᴹˣ; -import love.distributedrebirth.bassboon.ydmod.zombie.BãßBȍőnEnumZombieCorpse; +import love.distributedrebirth.bassboon.yd.abacus.BãßBȍőnAbacusInstanceMBeanʸᴰ; +import love.distributedrebirth.bassboon.yd.abacus.zombie.BãßBȍőnAbacusZombieCorpse; +import love.distributedrebirth.bassboon.yd.jmx.AttributeBooleanᴶᴹˣ; +import love.distributedrebirth.bassboon.yd.jmx.AttributeStringᴶᴹˣ; +import love.distributedrebirth.bassboon.yd.jmx.CounterGuageᴶᴹˣ; import love.distributedrebirth.numberxd.base2t.part.BãßBȍőnPartBullet; import love.distributedrebirth.numberxd.base2t.part.BãßBȍőnPartʸᴰ; import love.distributedrebirth.warpme.core.WaterBucket; @@ -24,7 +24,7 @@ import love.distributedrebirth.warpme.core.WaterCipherHeartTone; @BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @BãßBȍőnClazz注(purpose = "The warpcore writer and armor manager.") @BãßBȍőnExport注(group = "love.distributedrebirth.numberxd") -public enum Base2WarpCore implements DefaultEnumInstanceᴶᴹˣ { +public enum Base2WarpCore implements BãßBȍőnAbacusInstanceMBeanʸᴰ { INSTANCE; @@ -124,7 +124,7 @@ public enum Base2WarpCore implements DefaultEnumInstanceᴶᴹˣ } for (WaterCipherHeartTone tone:heart.getHeartTones()) { BãßBȍőnPartʸᴰ bassTone = baseParts.get(tone.getPart()); - BãßBȍőnEnumZombieCorpse corpse = BãßBȍőnEnumZombieCorpse.castᴼᶠ(bassTone.toEnumZombie()); + BãßBȍőnAbacusZombieCorpse corpse = BãßBȍőnAbacusZombieCorpse.castᴼᶠ(bassTone.toEnumZombie()); corpse.PUT_OBJ(BãßBȍőnPartBullet.DIAL_TONE, tone.getDialTone()); corpse.PUT_OBJ(BãßBȍőnPartBullet.CHINA_KEY, tone.getChinaKey()); corpse.PUT_OBJ(BãßBȍőnPartBullet.CHINA_VALUE, tone.getChinaValue()); diff --git a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/BãßBȍőnPartAlt1ʸᴰ.java b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/BãßBȍőnPartAlt1ʸᴰ.java index f842e24d..118d1733 100644 --- a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/BãßBȍőnPartAlt1ʸᴰ.java +++ b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/BãßBȍőnPartAlt1ʸᴰ.java @@ -3,6 +3,8 @@ package love.distributedrebirth.numberxd.base2t.part; import love.distributedrebirth.bassboon.clazz.BãßBȍőnAnnotation注; import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnꝐŕḯṿª₮ḕ; +import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnꝐŕḯṿª₮ḕ響ᴼᶠ; +import love.distributedrebirth.bassboon.death.spider.BãßBȍőnSpiderWire注; @BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAnnotation注(required = {BãßBȍőnPartAlt1注.class}) @@ -12,11 +14,15 @@ public interface BãßBȍőnPartAlt1ʸᴰ> ext private static final String GHOST_ALT1_NAME = "alt1Name"; private static final String GHOST_ALT1_WEBSITE = "alt1Website"; + @BãßBȍőnSpiderWire注 + private BãßBȍőnPartAlt1ʸᴰ boon; + @Override - public void init(BãßBȍőnPartAlt1ʸᴰ boon) { + public BãßBȍőnꝐŕḯṿª₮ḕ響ᴼᶠ.Void> init() { BãßBȍőnPartAlt1注 anno = boon.getClass().getAnnotation(BãßBȍőnPartAlt1注.class); boon.toBBC().UNHOLY_SPELL(Ꝑŕḯṿª₮ḕ.class).PUT_GHOST(GHOST_ALT1_NAME, anno.name()); boon.toBBC().UNHOLY_SPELL(Ꝑŕḯṿª₮ḕ.class).PUT_GHOST(GHOST_ALT1_WEBSITE, anno.website()); + return BãßBȍőnꝐŕḯṿª₮ḕ響ᴼᶠ.initⱽᵒᶦᵈ(); } } diff --git a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/BãßBȍőnPartAlt2ʸᴰ.java b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/BãßBȍőnPartAlt2ʸᴰ.java index 28cea53b..07c493ef 100644 --- a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/BãßBȍőnPartAlt2ʸᴰ.java +++ b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/BãßBȍőnPartAlt2ʸᴰ.java @@ -3,6 +3,8 @@ package love.distributedrebirth.numberxd.base2t.part; import love.distributedrebirth.bassboon.clazz.BãßBȍőnAnnotation注; import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnꝐŕḯṿª₮ḕ; +import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnꝐŕḯṿª₮ḕ響ᴼᶠ; +import love.distributedrebirth.bassboon.death.spider.BãßBȍőnSpiderWire注; @BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAnnotation注(required = {BãßBȍőnPartAlt2注.class}) @@ -12,11 +14,15 @@ public interface BãßBȍőnPartAlt2ʸᴰ> ext private static final String GHOST_ALT2_NAME = "alt2Name"; private static final String GHOST_ALT2_WEBSITE = "alt2Website"; + @BãßBȍőnSpiderWire注 + private BãßBȍőnPartAlt2ʸᴰ boon; + @Override - public void init(BãßBȍőnPartAlt2ʸᴰ boon) { + public BãßBȍőnꝐŕḯṿª₮ḕ響ᴼᶠ.Void> init() { BãßBȍőnPartAlt2注 anno = boon.getClass().getAnnotation(BãßBȍőnPartAlt2注.class); boon.toBBC().UNHOLY_SPELL(Ꝑŕḯṿª₮ḕ.class).PUT_GHOST(GHOST_ALT2_NAME, anno.name()); boon.toBBC().UNHOLY_SPELL(Ꝑŕḯṿª₮ḕ.class).PUT_GHOST(GHOST_ALT2_WEBSITE, anno.website()); + return BãßBȍőnꝐŕḯṿª₮ḕ響ᴼᶠ.initⱽᵒᶦᵈ(); } } diff --git a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/BãßBȍőnPartAlt3ʸᴰ.java b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/BãßBȍőnPartAlt3ʸᴰ.java index 96321453..dac739a1 100644 --- a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/BãßBȍőnPartAlt3ʸᴰ.java +++ b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/BãßBȍőnPartAlt3ʸᴰ.java @@ -3,6 +3,8 @@ package love.distributedrebirth.numberxd.base2t.part; import love.distributedrebirth.bassboon.clazz.BãßBȍőnAnnotation注; import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnꝐŕḯṿª₮ḕ; +import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnꝐŕḯṿª₮ḕ響ᴼᶠ; +import love.distributedrebirth.bassboon.death.spider.BãßBȍőnSpiderWire注; @BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAnnotation注(required = {BãßBȍőnPartAlt3注.class}) @@ -12,11 +14,15 @@ public interface BãßBȍőnPartAlt3ʸᴰ> ext private static final String GHOST_KEY_ALT3_NAME = "alt3Name"; private static final String GHOST_KEY_ALT3_WEBSITE = "alt3Website"; + @BãßBȍőnSpiderWire注 + private BãßBȍőnPartAlt3ʸᴰ boon; + @Override - public void init(BãßBȍőnPartAlt3ʸᴰ boon) { + public BãßBȍőnꝐŕḯṿª₮ḕ響ᴼᶠ.Void> init() { BãßBȍőnPartAlt3注 anno = boon.getClass().getAnnotation(BãßBȍőnPartAlt3注.class); boon.toBBC().UNHOLY_SPELL(Ꝑŕḯṿª₮ḕ.class).PUT_GHOST(GHOST_KEY_ALT3_NAME, anno.name()); boon.toBBC().UNHOLY_SPELL(Ꝑŕḯṿª₮ḕ.class).PUT_GHOST(GHOST_KEY_ALT3_WEBSITE, anno.website()); + return BãßBȍőnꝐŕḯṿª₮ḕ響ᴼᶠ.initⱽᵒᶦᵈ(); } } diff --git a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/BãßBȍőnPartAlt4ʸᴰ.java b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/BãßBȍőnPartAlt4ʸᴰ.java index 400b8c95..e015f231 100644 --- a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/BãßBȍőnPartAlt4ʸᴰ.java +++ b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/BãßBȍőnPartAlt4ʸᴰ.java @@ -3,6 +3,8 @@ package love.distributedrebirth.numberxd.base2t.part; import love.distributedrebirth.bassboon.clazz.BãßBȍőnAnnotation注; import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnꝐŕḯṿª₮ḕ; +import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnꝐŕḯṿª₮ḕ響ᴼᶠ; +import love.distributedrebirth.bassboon.death.spider.BãßBȍőnSpiderWire注; @BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAnnotation注(required = {BãßBȍőnPartAlt4注.class}) @@ -12,11 +14,15 @@ public interface BãßBȍőnPartAlt4ʸᴰ> ext private static final String GHOST_KEY_ALT4_NAME = "alt4Name"; private static final String GHOST_KEY_ALT4_WEBSITE = "alt4Website"; + @BãßBȍőnSpiderWire注 + private BãßBȍőnPartAlt4ʸᴰ boon; + @Override - public void init(BãßBȍőnPartAlt4ʸᴰ boon) { + public BãßBȍőnꝐŕḯṿª₮ḕ響ᴼᶠ.Void> init() { BãßBȍőnPartAlt4注 anno = boon.getClass().getAnnotation(BãßBȍőnPartAlt4注.class); boon.toBBC().UNHOLY_SPELL(Ꝑŕḯṿª₮ḕ.class).PUT_GHOST(GHOST_KEY_ALT4_NAME, anno.name()); boon.toBBC().UNHOLY_SPELL(Ꝑŕḯṿª₮ḕ.class).PUT_GHOST(GHOST_KEY_ALT4_WEBSITE, anno.website()); + return BãßBȍőnꝐŕḯṿª₮ḕ響ᴼᶠ.initⱽᵒᶦᵈ(); } } diff --git a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/BãßBȍőnPartBullet.java b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/BãßBȍőnPartBullet.java index 15fd6e38..8e7992dd 100644 --- a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/BãßBȍőnPartBullet.java +++ b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/BãßBȍőnPartBullet.java @@ -1,10 +1,10 @@ package love.distributedrebirth.numberxd.base2t.part; import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; -import love.distributedrebirth.bassboon.ydmod.zombie.BãßBȍőnEnumZombieBullet; +import love.distributedrebirth.bassboon.yd.abacus.zombie.BãßBȍőnAbacusZombieBullet; @BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") -public enum BãßBȍőnPartBullet implements BãßBȍőnEnumZombieBullet { +public enum BãßBȍőnPartBullet implements BãßBȍőnAbacusZombieBullet { DIAL_TONE, CHINA_KEY, diff --git a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/BãßBȍőnPartʸᴰ.java b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/BãßBȍőnPartʸᴰ.java index 77dec632..3e4a3251 100644 --- a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/BãßBȍőnPartʸᴰ.java +++ b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/BãßBȍőnPartʸᴰ.java @@ -4,42 +4,86 @@ import java.util.Map; import java.util.function.Consumer; import love.distributedrebirth.bassboon.Bãß; -import love.distributedrebirth.bassboon.DefaultEnumSetʸᴰ; import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; +import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor響ᴼᶠ; +import love.distributedrebirth.bassboon.clazz.BãßBȍőnClazz響ᴼᶠ; +import love.distributedrebirth.bassboon.clazz.BãßBȍőnExport響ᴼᶠ; import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnꝐŕḯṿª₮ḕ; -import love.distributedrebirth.bassboon.ydmod.zombie.BãßBȍőnEnumZombieCorpse; -import love.distributedrebirth.bassboon.ydmod.zombie.BãßBȍőnEnumZombieʸᴰ; +import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnꝐŕḯṿª₮ḕ響ᴼᶠ; +import love.distributedrebirth.bassboon.death.spider.BãßBȍőnSpiderWire注; +import love.distributedrebirth.bassboon.yd.abacus.BãßBȍőnAbacusSetʸᴰ; +import love.distributedrebirth.bassboon.yd.abacus.zombie.BãßBȍőnAbacusZombie; +import love.distributedrebirth.bassboon.yd.abacus.zombie.BãßBȍőnAbacusZombieCorpse; +import love.distributedrebirth.bassboon.yd.abacus.zombie.BãßBȍőnAbacusZombieʸᴰ; +import love.distributedrebirth.bassboon.yd.abacus.zombie.BãßBȍőnAbacusZombie響ᴼᶠ; @BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")// -public interface BãßBȍőnPartʸᴰ> extends DefaultEnumSetʸᴰ, BãßBȍőnEnumZombieʸᴰ { +public interface BãßBȍőnPartʸᴰ> extends BãßBȍőnAbacusSetʸᴰ, BãßBȍőnAbacusZombieʸᴰ { public static final class Ꝑŕḯṿª₮ḕ implements BãßBȍőnꝐŕḯṿª₮ḕ> { private static final String GHOST_LENGTH = "length"; + @BãßBȍőnSpiderWire注 + private BãßBȍőnPartʸᴰ boon; + + @BãßBȍőnSpiderWire注 + private BãßBȍőnAbacusZombie響ᴼᶠ> boonEnumZombie; + @Override - public void init(BãßBȍőnPartʸᴰ boon) { - BãßBȍőnEnumZombieCorpse corpse = BãßBȍőnEnumZombieCorpse.castᴼᶠ(boon.toEnumZombie()); + public BãßBȍőnꝐŕḯṿª₮ḕ響ᴼᶠ.Void> init() { + BãßBȍőnAbacusZombieCorpse corpse = BãßBȍőnAbacusZombieCorpse.castᴼᶠ(boon.toEnumZombie()); corpse.PUT_MAP(BãßBȍőnPartBullet.MAP_TONE); corpse.PUT_MAP(BãßBȍőnPartBullet.MAP_CHINA); + return BãßBȍőnꝐŕḯṿª₮ḕ響ᴼᶠ.initⱽᵒᶦᵈ(); } @Override - public void lock(BãßBȍőnPartʸᴰ boon) { + public void lock() { boon.BãßĦǿɇṽḝę̃ɬḪễïđ(); boon.BãßValueOfDialTone(boon.BȍőnDialTone()); boon.BãßValueOfChinaKey(boon.BȍőnChinaKey()); } @SafeVarargs - public static > void 魎ᴵⁿᶦᵗ(Y boon, Consumer>...fleshFeeders) { + public static > void 魎ᴵⁿᶦᵗ(Y boon, Consumer>...fleshFeeders) { Bãß.石棺ʸᴰ.魎ᴵⁿᶦᵗ(boon); - BãßBȍőnEnumZombieCorpse corpse = BãßBȍőnEnumZombieCorpse.castᴼᶠ(boon.toEnumZombie()); - for (Consumer> flesh:fleshFeeders) { + BãßBȍőnAbacusZombieCorpse corpse = BãßBȍőnAbacusZombieCorpse.castᴼᶠ(boon.toEnumZombie()); + for (Consumer> flesh:fleshFeeders) { flesh.accept(corpse); } } } + @SuppressWarnings("unchecked") + default BãßBȍőnAbacusZombie toEnumZombie() { + return toBBC().NOISE_OF(BãßBȍőnAbacusZombie響ᴼᶠ.class).toEnumZombie(); + } + + @SuppressWarnings("unchecked") + default String BãßClazzDoel() { + return toBBC().NOISE_OF(BãßBȍőnClazz響ᴼᶠ.class).BãßClazzDoel(); + } + + @SuppressWarnings("unchecked") + default String BãßAuthorNaam() { + return toBBC().NOISE_OF(BãßBȍőnAuthor響ᴼᶠ.class).BãßAuthorNaam(); + } + + @SuppressWarnings("unchecked") + default String BãßAuthorKopieërRecht() { + return toBBC().NOISE_OF(BãßBȍőnAuthor響ᴼᶠ.class).BãßAuthorKopieërRecht(); + } + + @SuppressWarnings("unchecked") + default String BãßExportNaam() { + return toBBC().NOISE_OF(BãßBȍőnExport響ᴼᶠ.class).BãßExportNaam(); + } + + @SuppressWarnings("unchecked") + default String BãßExportGroep() { + return toBBC().NOISE_OF(BãßBȍőnExport響ᴼᶠ.class).BãßExportGroep(); + } + default String BȍőnDialTone() { return toEnumZombie().GET_STR(BãßBȍőnPartBullet.DIAL_TONE); } diff --git a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/unicode/BaseGlyphSet.java b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/unicode/BaseGlyphSet.java index 26f04726..bc1b7d36 100644 --- a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/unicode/BaseGlyphSet.java +++ b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/unicode/BaseGlyphSet.java @@ -8,17 +8,19 @@ import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; import love.distributedrebirth.bassboon.clazz.BãßBȍőnClazz注; import love.distributedrebirth.bassboon.clazz.BãßBȍőnExport注; import love.distributedrebirth.bassboon.death.spider.BãßBȍőnSpiderWire注; -import love.distributedrebirth.bassboon.ydmod.jmx.CounterGuageᴶᴹˣ; -import love.distributedrebirth.bassboon.ydmod.jmx.DefaultEnumSetᴶᴹˣ; -import love.distributedrebirth.bassboon.ydmod.zombie.BãßBȍőnEnumZombieCorpse; -import love.distributedrebirth.bassboon.ydmod.zombie.BãßBȍőnEnumZombieʸᴰ; +import love.distributedrebirth.bassboon.yd.abacus.BãßBȍőnAbacusSetMBeanʸᴰ; +import love.distributedrebirth.bassboon.yd.abacus.zombie.BãßBȍőnAbacusZombie; +import love.distributedrebirth.bassboon.yd.abacus.zombie.BãßBȍőnAbacusZombieCorpse; +import love.distributedrebirth.bassboon.yd.abacus.zombie.BãßBȍőnAbacusZombieʸᴰ; +import love.distributedrebirth.bassboon.yd.abacus.zombie.BãßBȍőnAbacusZombie響ᴼᶠ; +import love.distributedrebirth.bassboon.yd.jmx.CounterGuageᴶᴹˣ; import love.distributedrebirth.numberxd.base2t.part.T10PartDecimal; import love.distributedrebirth.numberxd.base2t.part.T16PartHex; @BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @BãßBȍőnClazz注(purpose = "The number base glyph scripts.") @BãßBȍőnExport注(group = "love.distributedrebirth.numberxd") -public enum BaseGlyphSet implements DefaultEnumSetᴶᴹˣ, BãßBȍőnEnumZombieʸᴰ { +public enum BaseGlyphSet implements BãßBȍőnAbacusSetMBeanʸᴰ, BãßBȍőnAbacusZombieʸᴰ { // TODO: Move this into unicode4D and TyyPartXxx LATIN_BASIC( @@ -182,13 +184,18 @@ public enum BaseGlyphSet implements DefaultEnumSetᴶᴹˣ, BãßB private BaseGlyphSet(BaseGlyphSetNumber numbers, BaseGlyphSetNumber hex, BaseGlyphSetNumber gematria, Boolean reverseScript) { Bãß.石棺ʸᴰ.魎ᴵⁿᶦᵗ(this); - BãßBȍőnEnumZombieCorpse corpse = BãßBȍőnEnumZombieCorpse.castᴼᶠ(toEnumZombie()); + BãßBȍőnAbacusZombieCorpse corpse = BãßBȍőnAbacusZombieCorpse.castᴼᶠ(toEnumZombie()); corpse.PUT_OBJ(BaseGlyphSetBullet.NUMBERS, numbers); corpse.PUT_OBJ(BaseGlyphSetBullet.HEXIMALS, hex); corpse.PUT_OBJ(BaseGlyphSetBullet.GEMATRIA, gematria); corpse.PUT_OBJ(BaseGlyphSetBullet.REVERSE_SCRIPT, reverseScript); // TODO: ImGui workaround } + @SuppressWarnings("unchecked") + public BãßBȍőnAbacusZombie toEnumZombie() { + return toBBC().NOISE_OF(BãßBȍőnAbacusZombie響ᴼᶠ.class).toEnumZombie(); + } + public BaseGlyphSetNumber BȍőnNumber10() { return toEnumZombie().GET_OBJ(BaseGlyphSetBullet.NUMBERS, BaseGlyphSetNumber.class); } diff --git a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/unicode/BaseGlyphSetBullet.java b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/unicode/BaseGlyphSetBullet.java index e3232356..5e00e9b8 100644 --- a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/unicode/BaseGlyphSetBullet.java +++ b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/unicode/BaseGlyphSetBullet.java @@ -1,10 +1,10 @@ package love.distributedrebirth.numberxd.unicode; import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; -import love.distributedrebirth.bassboon.ydmod.zombie.BãßBȍőnEnumZombieBullet; +import love.distributedrebirth.bassboon.yd.abacus.zombie.BãßBȍőnAbacusZombieBullet; @BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") -public enum BaseGlyphSetBullet implements BãßBȍőnEnumZombieBullet { +public enum BaseGlyphSetBullet implements BãßBȍőnAbacusZombieBullet { NUMBERS, GEMATRIA, diff --git a/gdxapp4d-tos4/src/main/java/love/distributedrebirth/gdxapp4d/tos4/GDXAppTos4.java b/gdxapp4d-tos4/src/main/java/love/distributedrebirth/gdxapp4d/tos4/GDXAppTos4.java index ca5caa38..4504f8a4 100644 --- a/gdxapp4d-tos4/src/main/java/love/distributedrebirth/gdxapp4d/tos4/GDXAppTos4.java +++ b/gdxapp4d-tos4/src/main/java/love/distributedrebirth/gdxapp4d/tos4/GDXAppTos4.java @@ -18,16 +18,16 @@ import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; import love.distributedrebirth.bassboon.clazz.BãßBȍőnClazz注; import love.distributedrebirth.bassboon.clazz.BãßBȍőnExport注; import love.distributedrebirth.bassboon.death.spider.BãßBȍőnSpiderWire注; -import love.distributedrebirth.bassboon.ydmod.jmx.AttributeStringᴶᴹˣ; -import love.distributedrebirth.bassboon.ydmod.jmx.CounterGuageᴶᴹˣ; -import love.distributedrebirth.bassboon.ydmod.jmx.DefaultEnumInstanceᴶᴹˣ; +import love.distributedrebirth.bassboon.yd.abacus.BãßBȍőnAbacusInstanceMBeanʸᴰ; +import love.distributedrebirth.bassboon.yd.jmx.AttributeStringᴶᴹˣ; +import love.distributedrebirth.bassboon.yd.jmx.CounterGuageᴶᴹˣ; import love.distributedrebirth.gdxapp4d.tos4.service.SystemGdxTerminal; import net.spookygames.gdx.nativefilechooser.NativeFileChooser; @BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @BãßBȍőnClazz注(purpose = "Main loop render dispatcher and bootup.") @BãßBȍőnExport注(group = "love.distributedrebirth.gdxapp4d.tos4") -public enum GDXAppTos4 implements DefaultEnumInstanceᴶᴹˣ, ApplicationListener, SystemGdxTerminal { +public enum GDXAppTos4 implements BãßBȍőnAbacusInstanceMBeanʸᴰ, ApplicationListener, SystemGdxTerminal { INSTANCE; diff --git a/gdxapp4d-tos4/src/main/java/love/distributedrebirth/gdxapp4d/tos4/GDXAppTos4BootFactory.java b/gdxapp4d-tos4/src/main/java/love/distributedrebirth/gdxapp4d/tos4/GDXAppTos4BootFactory.java index 480f5882..bca3ff74 100644 --- a/gdxapp4d-tos4/src/main/java/love/distributedrebirth/gdxapp4d/tos4/GDXAppTos4BootFactory.java +++ b/gdxapp4d-tos4/src/main/java/love/distributedrebirth/gdxapp4d/tos4/GDXAppTos4BootFactory.java @@ -123,9 +123,10 @@ public class GDXAppTos4BootFactory { "love.distributedrebirth.bassboon.clazz.pirate,"+ "love.distributedrebirth.bassboon.death,"+ "love.distributedrebirth.bassboon.death.spider,"+ - "love.distributedrebirth.bassboon.ydmod,"+ - "love.distributedrebirth.bassboon.ydmod.jmx,"+ - "love.distributedrebirth.bassboon.ydmod.zombie,"+ + "love.distributedrebirth.bassboon.yd,"+ + "love.distributedrebirth.bassboon.yd.abacus,"+ + "love.distributedrebirth.bassboon.yd.abacus.zombie,"+ + "love.distributedrebirth.bassboon.yd.jmx,"+ "love.distributedrebirth.numberxd,"+ "love.distributedrebirth.numberxd.base2t,"+ "love.distributedrebirth.numberxd.base2t.part,"+ diff --git a/gdxapp4d-vrgem4/src/main/java/love/distributedrebirth/gdxapp4d/vrgem4/GDXAppVrGem4Activator.java b/gdxapp4d-vrgem4/src/main/java/love/distributedrebirth/gdxapp4d/vrgem4/GDXAppVrGem4Activator.java index c0b2ff81..2a0eedfa 100644 --- a/gdxapp4d-vrgem4/src/main/java/love/distributedrebirth/gdxapp4d/vrgem4/GDXAppVrGem4Activator.java +++ b/gdxapp4d-vrgem4/src/main/java/love/distributedrebirth/gdxapp4d/vrgem4/GDXAppVrGem4Activator.java @@ -16,6 +16,8 @@ import imgui.type.ImBoolean; import love.distributedrebirth.bassboon.Bãß; import love.distributedrebirth.bassboon.DefaultBãßBȍőnʸᴰ; import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; +import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor響ᴼᶠ; +import love.distributedrebirth.bassboon.clazz.BãßBȍőnExport響ᴼᶠ; import love.distributedrebirth.gdxapp4d.tos4.service.SystemGdxBootArgs; import love.distributedrebirth.gdxapp4d.tos4.service.SystemGdxBootReadyListener; import love.distributedrebirth.gdxapp4d.tos4.service.SystemGdxFont; @@ -81,7 +83,7 @@ public class GDXAppVrGem4Activator implements BundleActivator { GDXAppVrGem4BootScreen bootScreen = createBootScreen(terminal, gdxFont); printBootLogo(bootScreen); - lockCoffins(bootScreen); + lockGraves(bootScreen); startImGui(bootScreen, context, systemWarpShip); startWarpCore(bootScreen, bootArgs); @@ -160,13 +162,16 @@ public class GDXAppVrGem4Activator implements BundleActivator { bootScreen.bootLine("Boot: MSX⁴ - TOS⁴ - vrGEM⁴"); } - private void lockCoffins(GDXAppVrGem4BootScreen bootScreen) { + @SuppressWarnings("unchecked") + private void lockGraves(GDXAppVrGem4BootScreen bootScreen) { // ref to init - for (DefaultBãßBȍőnʸᴰ coffin:coffinInstances()) { - bootScreen.bootLine("Lock: "+coffin.BãßExportNaam()+" since: "+coffin.BãßAuthorKopieërRecht()); - Bãß.石棺ʸᴰ.墳ᴸᵒᶜᵏ(coffin); + for (DefaultBãßBȍőnʸᴰ bassbone:bassboneInstances()) { + String exportName = bassbone.toBBC().NOISE_OF(BãßBȍőnExport響ᴼᶠ.class).BãßExportNaam(); + String copyright = bassbone.toBBC().NOISE_OF(BãßBȍőnAuthor響ᴼᶠ.class).BãßAuthorKopieërRecht(); + bootScreen.bootLine("Lock: "+exportName+" since: "+copyright); + Bãß.石棺ʸᴰ.墳ᴸᵒᶜᵏ(bassbone); } - bootScreen.bootLine("BãßBȍőnCoffinʸᴰ init done."); + bootScreen.bootLine("BãßBȍőnʸᴰ init done."); } private void startImGui(GDXAppVrGem4BootScreen bootScreen, BundleContext context, SystemWarpShip systemWarpShip) { @@ -227,7 +232,7 @@ public class GDXAppVrGem4Activator implements BundleActivator { } @SuppressWarnings("unchecked") - private > T[] coffinInstances() { + private > T[] bassboneInstances() { return (T[]) new DefaultBãßBȍőnʸᴰ[] { BaseGlyphSet.values()[0], Base2Terminator.INSTANCE, diff --git a/pom.xml b/pom.xml index 92f266f0..2a83ef8d 100644 --- a/pom.xml +++ b/pom.xml @@ -133,9 +133,10 @@ love.distributedrebirth.bassboon.clazz.pirate, love.distributedrebirth.bassboon.death, love.distributedrebirth.bassboon.death.spider, - love.distributedrebirth.bassboon.ydmod, - love.distributedrebirth.bassboon.ydmod.jmx, - love.distributedrebirth.bassboon.ydmod.zombie, + love.distributedrebirth.bassboon.yd, + love.distributedrebirth.bassboon.yd.abacus, + love.distributedrebirth.bassboon.yd.abacus.zombie, + love.distributedrebirth.bassboon.yd.jmx, love.distributedrebirth.numberxd, love.distributedrebirth.numberxd.base2t, love.distributedrebirth.numberxd.base2t.part,