sound without generics and enum Ꝑŕḯṿª₮ḕVoid instance

This commit is contained in:
Willem Cazander 2022-10-21 01:25:17 +02:00
parent ec7c059d05
commit afca1f9326
24 changed files with 48 additions and 51 deletions

View file

@ -167,7 +167,7 @@ public interface Bãß {
@SuppressWarnings("unchecked") @SuppressWarnings("unchecked")
@Override @Override
public <T extends BãßBȍőnꝐŕḯṿªḕ響ᴼᶠ<BãßBȍőnʸᴰ<?>>> T NOISE_OF(Class<? extends T> noiseName) { public <T extends BãßBȍőnꝐŕḯṿªḕ響ᴼᶠ> T NOISE_OF(Class<T> noiseName) {
try { try {
return (T) spider.silkRoad(noiseName).senseWire(null, null, null); // rm args... return (T) spider.silkRoad(noiseName).senseWire(null, null, null); // rm args...
} catch (IllegalAccessException | IllegalArgumentException | InvocationTargetException e) { } catch (IllegalAccessException | IllegalArgumentException | InvocationTargetException e) {

View file

@ -21,7 +21,7 @@ public interface BãßBȍőnAnnotationʸᴰ<T extends BãßBȍőnʸᴰ<T>> exten
private BãßBȍőnAnnotationʸᴰ<?> boon; private BãßBȍőnAnnotationʸᴰ<?> boon;
@Override @Override
public BãßBȍőnꝐŕḯṿªḕ響ᴼᶠ.Void<BãßBȍőnAnnotationʸᴰ<?>> init() { public BãßBȍőnꝐŕḯṿªḕ響ᴼᶠ.Void init() {
for (Class<?> interfaceClass:BãßBȍőnPirateLoader.walkInterfaces(boon.getClass(), new LinkedHashSet<>())) { for (Class<?> interfaceClass:BãßBȍőnPirateLoader.walkInterfaces(boon.getClass(), new LinkedHashSet<>())) {
BãßBȍőnAnnotation注 anno = interfaceClass.getAnnotation(BãßBȍőnAnnotation注.class); BãßBȍőnAnnotation注 anno = interfaceClass.getAnnotation(BãßBȍőnAnnotation注.class);
if (anno == null) { if (anno == null) {

View file

@ -21,11 +21,11 @@ public interface BãßBȍőnAuthorʸᴰ<T extends BãßBȍőnʸᴰ<T>> extends B
private BãßBȍőnAuthorʸᴰ<?> boon; private BãßBȍőnAuthorʸᴰ<?> boon;
@Override @Override
public BãßBȍőnAuthor響ᴼᶠ<BãßBȍőnAuthorʸᴰ<?>> init() { public BãßBȍőnAuthor響ᴼᶠ init() {
BãßBȍőnAuthor注 anno = boon.getClass().getAnnotation(BãßBȍőnAuthor注.class); 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_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); boon.toBBC().UNHOLY_SPELL(Ꝑŕḯṿª.class).PUT_GHOST(GHOST_AUTHOR_COPYRIGHT, anno!=null?anno.copyright():DEFAULT_AUTHOR_COPYRIGHT);
return new BãßBȍőnAuthor響ᴼᶠ<>() { return new BãßBȍőnAuthor響ᴼᶠ() {
@Override @Override
public String BãßAuthorNaam() { public String BãßAuthorNaam() {
return boon.toBBC().UNHOLY(Ꝑŕḯṿª.class).GHOST_STR(GHOST_AUTHOR_NAME); return boon.toBBC().UNHOLY(Ꝑŕḯṿª.class).GHOST_STR(GHOST_AUTHOR_NAME);

View file

@ -3,7 +3,7 @@ package love.distributedrebirth.bassboon.clazz;
import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnꝐŕḯṿªḕ響ᴼᶠ; import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnꝐŕḯṿªḕ響ᴼᶠ;
@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
public interface BãßBȍőnAuthor響ᴼᶠ<T extends BãßBȍőnAuthorʸᴰ<?>> extends BãßBȍőnꝐŕḯṿªḕ響ᴼᶠ<T> { public interface BãßBȍőnAuthor響ᴼᶠ extends BãßBȍőnꝐŕḯṿªḕ響ᴼᶠ {
String BãßAuthorNaam(); String BãßAuthorNaam();

View file

@ -19,14 +19,14 @@ public interface BãßBȍőnClazzʸᴰ<T extends BãßBȍőnʸᴰ<T>> extends B
private BãßBȍőnClazzʸᴰ<?> boon; private BãßBȍőnClazzʸᴰ<?> boon;
@Override @Override
public BãßBȍőnClazz響ᴼᶠ<BãßBȍőnClazzʸᴰ<?>> init() { public BãßBȍőnClazz響ᴼᶠ init() {
BãßBȍőnClazz注 anno = boon.getClass().getAnnotation(BãßBȍőnClazz注.class); BãßBȍőnClazz注 anno = boon.getClass().getAnnotation(BãßBȍőnClazz注.class);
String beanPurpose = DEFAULT_CLAZZ_PURPOSE; String beanPurpose = DEFAULT_CLAZZ_PURPOSE;
if (anno != null && !anno.purpose().isBlank()) { if (anno != null && !anno.purpose().isBlank()) {
beanPurpose = anno.purpose(); beanPurpose = anno.purpose();
} }
boon.toBBC().UNHOLY_SPELL(Ꝑŕḯṿª.class).PUT_GHOST(GHOST_CLAZZ_PURPOSE, beanPurpose); boon.toBBC().UNHOLY_SPELL(Ꝑŕḯṿª.class).PUT_GHOST(GHOST_CLAZZ_PURPOSE, beanPurpose);
return new BãßBȍőnClazz響ᴼᶠ<>() { return new BãßBȍőnClazz響ᴼᶠ() {
@Override @Override
public String BãßClazzDoel() { public String BãßClazzDoel() {
return boon.toBBC().UNHOLY(Ꝑŕḯṿª.class).GHOST_STR(GHOST_CLAZZ_PURPOSE); return boon.toBBC().UNHOLY(Ꝑŕḯṿª.class).GHOST_STR(GHOST_CLAZZ_PURPOSE);

View file

@ -3,7 +3,7 @@ package love.distributedrebirth.bassboon.clazz;
import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnꝐŕḯṿªḕ響ᴼᶠ; import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnꝐŕḯṿªḕ響ᴼᶠ;
@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
public interface BãßBȍőnClazz響ᴼᶠ<T extends BãßBȍőnClazzʸᴰ<?>> extends BãßBȍőnꝐŕḯṿªḕ響ᴼᶠ<T> { public interface BãßBȍőnClazz響ᴼᶠ extends BãßBȍőnꝐŕḯṿªḕ響ᴼᶠ {
String BãßClazzDoel(); String BãßClazzDoel();
} }

View file

@ -19,7 +19,7 @@ public interface BãßBȍőnExportʸᴰ<T extends BãßBȍőnʸᴰ<T>> extends B
private BãßBȍőnExportʸᴰ<?> boon; private BãßBȍőnExportʸᴰ<?> boon;
@Override @Override
public BãßBȍőnExport響ᴼᶠ<BãßBȍőnExportʸᴰ<?>> init() { public BãßBȍőnExport響ᴼᶠ init() {
BãßBȍőnExport注 anno = boon.getClass().getAnnotation(BãßBȍőnExport注.class); BãßBȍőnExport注 anno = boon.getClass().getAnnotation(BãßBȍőnExport注.class);
String exportArtifact = boon.getClass().getSimpleName(); String exportArtifact = boon.getClass().getSimpleName();
String exportGroup = boon.getClass().getPackage().getName(); String exportGroup = boon.getClass().getPackage().getName();
@ -32,7 +32,7 @@ public interface BãßBȍőnExportʸᴰ<T extends BãßBȍőnʸᴰ<T>> extends B
boon.toBBC().UNHOLY_SPELL(Ꝑŕḯṿª.class).PUT_GHOST(GHOST_EXPORT_ARTIFACT, exportArtifact); boon.toBBC().UNHOLY_SPELL(Ꝑŕḯṿª.class).PUT_GHOST(GHOST_EXPORT_ARTIFACT, exportArtifact);
boon.toBBC().UNHOLY_SPELL(Ꝑŕḯṿª.class).PUT_GHOST(GHOST_EXPORT_GROUP, exportGroup); boon.toBBC().UNHOLY_SPELL(Ꝑŕḯṿª.class).PUT_GHOST(GHOST_EXPORT_GROUP, exportGroup);
return new BãßBȍőnExport響ᴼᶠ<>() { return new BãßBȍőnExport響ᴼᶠ() {
@Override @Override
public String BãßExportNaam() { public String BãßExportNaam() {
return boon.toBBC().UNHOLY(Ꝑŕḯṿª.class).GHOST_STR(GHOST_EXPORT_ARTIFACT); return boon.toBBC().UNHOLY(Ꝑŕḯṿª.class).GHOST_STR(GHOST_EXPORT_ARTIFACT);

View file

@ -3,7 +3,7 @@ package love.distributedrebirth.bassboon.clazz;
import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnꝐŕḯṿªḕ響ᴼᶠ; import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnꝐŕḯṿªḕ響ᴼᶠ;
@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
public interface BãßBȍőnExport響ᴼᶠ<T extends BãßBȍőnExportʸᴰ<?>> extends BãßBȍőnꝐŕḯṿªḕ響ᴼᶠ<T> { public interface BãßBȍőnExport響ᴼᶠ extends BãßBȍőnꝐŕḯṿªḕ響ᴼᶠ {
String BãßExportNaam(); String BãßExportNaam();

View file

@ -71,7 +71,7 @@ public final class BãßBȍőnPirateLoader {
} }
registrateSpiderEggs(boat.pirateClazz, spider, boat.pirate); registrateSpiderEggs(boat.pirateClazz, spider, boat.pirate);
initSpiderWires(boat.pirate, boon, spider); initSpiderWires(boat.pirate, boon, spider);
BãßBȍőnꝐŕḯṿªḕ響ᴼᶠ<?> soundOf = boat.pirate.init(); BãßBȍőnꝐŕḯṿªḕ響ᴼᶠ soundOf = boat.pirate.init();
Class<?> soundOfType = soundOf.getClass().getInterfaces()[0]; // TOOD .... Class<?> soundOfType = soundOf.getClass().getInterfaces()[0]; // TOOD ....
if (ydmods.add(soundOfType)) { if (ydmods.add(soundOfType)) {
//System.out.println("INIT.SOUND "+soundOfType); //System.out.println("INIT.SOUND "+soundOfType);

View file

@ -7,7 +7,7 @@ import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注;
public interface BãßBȍőnꝐŕḯṿª<T extends BãßBȍőnʸᴰ<?>> { public interface BãßBȍőnꝐŕḯṿª<T extends BãßBȍőnʸᴰ<?>> {
// note: eclipse ide does not want to refactor items with the name "Ꝑŕḯṿª₮ḕ" in it. // note: eclipse ide does not want to refactor items with the name "Ꝑŕḯṿª₮ḕ" in it.
default BãßBȍőnꝐŕḯṿªḕ響ᴼᶠ<T> init() { default BãßBȍőnꝐŕḯṿªḕ響ᴼᶠ init() {
return BãßBȍőnꝐŕḯṿªḕ響ᴼᶠ.initⱽᵒᶦᵈ(); return BãßBȍőnꝐŕḯṿªḕ響ᴼᶠ.initⱽᵒᶦᵈ();
} }

View file

@ -1,15 +1,20 @@
package love.distributedrebirth.bassboon.clazz.pirate; package love.distributedrebirth.bassboon.clazz.pirate;
import love.distributedrebirth.bassboon.BãßBȍőnʸᴰ;
import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注;
@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
public interface BãßBȍőnꝐŕḯṿªḕ響ᴼᶠ<T extends BãßBȍőnʸᴰ<?>> { public interface BãßBȍőnꝐŕḯṿªḕ響ᴼᶠ {
static <Y extends BãßBȍőnʸᴰ<?>> Void<Y> initⱽᵒᶦᵈ() { enum ꝐŕḯṿªḕVoid {
return new Void<>(); INSTANCE;
private final Void VALUE = new Void();
}
static Void initⱽᵒᶦᵈ() {
return ꝐŕḯṿªḕVoid.INSTANCE.VALUE;
}; };
public static final class Void<Y extends BãßBȍőnʸᴰ<?>> implements BãßBȍőnꝐŕḯṿªḕ響ᴼᶠ<Y> { static final class Void implements BãßBȍőnꝐŕḯṿªḕ響ᴼᶠ {
} }
} }

View file

@ -1,6 +1,5 @@
package love.distributedrebirth.bassboon.death; 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.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.clazz.pirate.BãßBȍőnꝐŕḯṿªḕ響ᴼᶠ; import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnꝐŕḯṿªḕ響ᴼᶠ;
@ -12,5 +11,5 @@ public interface BãßBȍőnCoffin {
BãßBȍőnCoffinGhostSpell UNHOLY_SPELL(Class<? extends BãßBȍőnꝐŕḯṿª<?>> familyName); BãßBȍőnCoffinGhostSpell UNHOLY_SPELL(Class<? extends BãßBȍőnꝐŕḯṿª<?>> familyName);
<T extends BãßBȍőnꝐŕḯṿªḕ響ᴼᶠ<BãßBȍőnʸᴰ<?>>> T NOISE_OF(Class<? extends T> noiseName); <T extends BãßBȍőnꝐŕḯṿªḕ響ᴼᶠ> T NOISE_OF(Class<T> noiseName);
} }

View file

@ -22,13 +22,13 @@ public interface BãßBȍőnAbacusInstanceMBeanʸᴰ<T extends BãßBȍőnʸᴰ<
private BãßBȍőnAbacusInstanceMBeanʸᴰ<?> boon; private BãßBȍőnAbacusInstanceMBeanʸᴰ<?> boon;
@BãßBȍőnSpiderWire注 @BãßBȍőnSpiderWire注
private BãßBȍőnExport響ᴼᶠ<BãßBȍőnAbacusInstanceMBeanʸᴰ<?>> boonExport; private BãßBȍőnExport響ᴼᶠ boonExport;
@BãßBȍőnSpiderWire注 @BãßBȍőnSpiderWire注
private BãßBȍőnMBeanServer響ᴼᶠ<BãßBȍőnAbacusInstanceMBeanʸᴰ<?>> boonJmx; private BãßBȍőnMBeanServer響ᴼᶠ boonJmx;
@Override @Override
public BãßBȍőnꝐŕḯṿªḕ響ᴼᶠ.Void<BãßBȍőnAbacusInstanceMBeanʸᴰ<?>> init() { public BãßBȍőnꝐŕḯṿªḕ響ᴼᶠ.Void init() {
MBeanDynamicᴶᴹˣ mbean = BãßBȍőnMBeanServerʸᴰ.Ꝑŕḯṿª.BeanCreateᴶᴹˣ(boon); MBeanDynamicᴶᴹˣ mbean = BãßBȍőnMBeanServerʸᴰ.Ꝑŕḯṿª.BeanCreateᴶᴹˣ(boon);
boonJmx.registerᴶᴹˣ(mbean, boonJmx.beanNameᴶᴹˣ(boonExport.BãßExportGroep(), boonExport.BãßExportNaam())); boonJmx.registerᴶᴹˣ(mbean, boonJmx.beanNameᴶᴹˣ(boonExport.BãßExportGroep(), boonExport.BãßExportNaam()));
return BãßBȍőnꝐŕḯṿªḕ響ᴼᶠ.initⱽᵒᶦᵈ(); return BãßBȍőnꝐŕḯṿªḕ響ᴼᶠ.initⱽᵒᶦᵈ();

View file

@ -22,13 +22,13 @@ public interface BãßBȍőnAbacusSetMBeanʸᴰ<T extends BãßBȍőnʸᴰ<T>> e
private BãßBȍőnAbacusSetMBeanʸᴰ<?> boon; private BãßBȍőnAbacusSetMBeanʸᴰ<?> boon;
@BãßBȍőnSpiderWire注 @BãßBȍőnSpiderWire注
private BãßBȍőnExport響ᴼᶠ<BãßBȍőnAbacusSetMBeanʸᴰ<?>> boonExport; private BãßBȍőnExport響ᴼᶠ boonExport;
@BãßBȍőnSpiderWire注 @BãßBȍőnSpiderWire注
private BãßBȍőnMBeanServer響ᴼᶠ<BãßBȍőnAbacusSetMBeanʸᴰ<?>> boonJmx; private BãßBȍőnMBeanServer響ᴼᶠ boonJmx;
@Override @Override
public BãßBȍőnꝐŕḯṿªḕ響ᴼᶠ.Void<BãßBȍőnAbacusSetMBeanʸᴰ<?>> init() { public BãßBȍőnꝐŕḯṿªḕ響ᴼᶠ.Void init() {
MBeanDynamicᴶᴹˣ mbean = BãßBȍőnMBeanServerʸᴰ.Ꝑŕḯṿª.BeanCreateᴶᴹˣ(boon); MBeanDynamicᴶᴹˣ mbean = BãßBȍőnMBeanServerʸᴰ.Ꝑŕḯṿª.BeanCreateᴶᴹˣ(boon);
boonJmx.registerᴶᴹˣ(mbean, boonJmx.beanNameᴶᴹˣ(boonExport.BãßExportGroep(), boonExport.BãßExportNaam(), boon.BȍőnNaam())); boonJmx.registerᴶᴹˣ(mbean, boonJmx.beanNameᴶᴹˣ(boonExport.BãßExportGroep(), boonExport.BãßExportNaam(), boon.BȍőnNaam()));
return BãßBȍőnꝐŕḯṿªḕ響ᴼᶠ.initⱽᵒᶦᵈ(); return BãßBȍőnꝐŕḯṿªḕ響ᴼᶠ.initⱽᵒᶦᵈ();

View file

@ -27,7 +27,7 @@ public interface BãßBȍőnAbacusSetʸᴰ<T extends BãßBȍőnʸᴰ<T>> extend
private BãßBȍőnAbacusSetʸᴰ<?> boon; private BãßBȍőnAbacusSetʸᴰ<?> boon;
@Override @Override
public BãßBȍőnꝐŕḯṿªḕ響ᴼᶠ.Void<BãßBȍőnAbacusSetʸᴰ<?>> init() { public BãßBȍőnꝐŕḯṿªḕ響ᴼᶠ.Void init() {
boon.toBBC().UNHOLY_SPELL(Ꝑŕḯṿª.class).PUT_GHOST(GHOST_RANG_TEL_EEN, boon.BȍőnRangTelNul() + Bãß.ℭỗᶇṧⱦᶏꬼȶʂ.INT_ONE); boon.toBBC().UNHOLY_SPELL(Ꝑŕḯṿª.class).PUT_GHOST(GHOST_RANG_TEL_EEN, boon.BȍőnRangTelNul() + Bãß.ℭỗᶇṧⱦᶏꬼȶʂ.INT_ONE);
return BãßBȍőnꝐŕḯṿªḕ響ᴼᶠ.initⱽᵒᶦᵈ(); return BãßBȍőnꝐŕḯṿªḕ響ᴼᶠ.initⱽᵒᶦᵈ();
} }

View file

@ -19,9 +19,9 @@ public interface BãßBȍőnAbacusZombieʸᴰ<T extends BãßBȍőnʸᴰ<T>, K e
private BãßBȍőnAbacusZombieʸᴰ<?,?> boon; private BãßBȍőnAbacusZombieʸᴰ<?,?> boon;
@Override @Override
public BãßBȍőnAbacusZombie響ᴼᶠ<BãßBȍőnAbacusZombieʸᴰ<?,?>> init() { public BãßBȍőnAbacusZombie響ᴼᶠ init() {
boon.toBBC().UNHOLY_SPELL(Ꝑŕḯṿª.class).PUT_GHOST(GHOST_ENUM_ZOMBIE, BãßBȍőnAbacusZombieCorpseLock.instanceᴺᵉʷ()); boon.toBBC().UNHOLY_SPELL(Ꝑŕḯṿª.class).PUT_GHOST(GHOST_ENUM_ZOMBIE, BãßBȍőnAbacusZombieCorpseLock.instanceᴺᵉʷ());
return new BãßBȍőnAbacusZombie響ᴼᶠ<>() { return new BãßBȍőnAbacusZombie響ᴼᶠ() {
@SuppressWarnings("unchecked") @SuppressWarnings("unchecked")
@Override @Override
public <K extends BãßBȍőnAbacusZombieBullet> BãßBȍőnAbacusZombie<K> toEnumZombie() { public <K extends BãßBȍőnAbacusZombieBullet> BãßBȍőnAbacusZombie<K> toEnumZombie() {

View file

@ -4,7 +4,7 @@ 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 = "©Δ∞ 仙上主天") @BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
public interface BãßBȍőnAbacusZombie響ᴼᶠ<T extends BãßBȍőnAbacusZombieʸᴰ<?, ?>> extends BãßBȍőnꝐŕḯṿªḕ響ᴼᶠ<T> { public interface BãßBȍőnAbacusZombie響ᴼᶠ extends BãßBȍőnꝐŕḯṿªḕ響ᴼᶠ {
<K extends BãßBȍőnAbacusZombieBullet> BãßBȍőnAbacusZombie<K> toEnumZombie(); <K extends BãßBȍőnAbacusZombieBullet> BãßBȍőnAbacusZombie<K> toEnumZombie();
} }

View file

@ -40,9 +40,9 @@ public interface BãßBȍőnMBeanServerʸᴰ<T extends BãßBȍőnʸᴰ<T>> exte
private BãßBȍőnMBeanServerʸᴰ<?> boon; private BãßBȍőnMBeanServerʸᴰ<?> boon;
@Override @Override
public BãßBȍőnMBeanServer響ᴼᶠ<BãßBȍőnMBeanServerʸᴰ<?>> init() { public BãßBȍőnMBeanServer響ᴼᶠ init() {
boon.toBBC().UNHOLY_SPELL(Ꝑŕḯṿª.class).PUT_GHOST(GHOST_JMX, new HashMap<>()); boon.toBBC().UNHOLY_SPELL(Ꝑŕḯṿª.class).PUT_GHOST(GHOST_JMX, new HashMap<>());
return new BãßBȍőnMBeanServer響ᴼᶠ<>() { return new BãßBȍőnMBeanServer響ᴼᶠ() {
private final MBeanServer server = ManagementFactory.getPlatformMBeanServer(); private final MBeanServer server = ManagementFactory.getPlatformMBeanServer();
@Override @Override
@ -76,32 +76,31 @@ public interface BãßBȍőnMBeanServerʸᴰ<T extends BãßBȍőnʸᴰ<T>> exte
return result; return result;
} }
@BãßBȍőnSpiderEgg注() @BãßBȍőnSpiderEgg注
public CounterGuageᴶᴹˣ buildGuageCounter(BãßBȍőnMBeanServerʸᴰ<?> boon, String name, String description) { public CounterGuageᴶᴹˣ buildGuageCounter(BãßBȍőnMBeanServerʸᴰ<?> boon, String name, String description) {
return buildJmxGhost(boon, name, new CounterGuageᴶᴹˣ(name, description)); return buildJmxGhost(boon, name, new CounterGuageᴶᴹˣ(name, description));
} }
@BãßBȍőnSpiderEgg注() @BãßBȍőnSpiderEgg注
public AttributeStringᴶᴹˣ buildStringAttribute(BãßBȍőnMBeanServerʸᴰ<?> boon, String name, String description) { public AttributeStringᴶᴹˣ buildStringAttribute(BãßBȍőnMBeanServerʸᴰ<?> boon, String name, String description) {
return buildJmxGhost(boon, name, new AttributeStringᴶᴹˣ(name, description)); return buildJmxGhost(boon, name, new AttributeStringᴶᴹˣ(name, description));
} }
@BãßBȍőnSpiderEgg注() @BãßBȍőnSpiderEgg注
public AttributeBooleanᴶᴹˣ buildBooleanAttribute(BãßBȍőnMBeanServerʸᴰ<?> boon, String name, String description) { public AttributeBooleanᴶᴹˣ buildBooleanAttribute(BãßBȍőnMBeanServerʸᴰ<?> boon, String name, String description) {
return buildJmxGhost(boon, name, new AttributeBooleanᴶᴹˣ(name, description)); return buildJmxGhost(boon, name, new AttributeBooleanᴶᴹˣ(name, description));
} }
@BãßBȍőnSpiderEgg注() @BãßBȍőnSpiderEgg注
public AttributeIntegerᴶᴹˣ buildIntegerAttribute(BãßBȍőnMBeanServerʸᴰ<?> boon, String name, String description) { public AttributeIntegerᴶᴹˣ buildIntegerAttribute(BãßBȍőnMBeanServerʸᴰ<?> boon, String name, String description) {
return buildJmxGhost(boon, name, new AttributeIntegerᴶᴹˣ(name, description)); return buildJmxGhost(boon, name, new AttributeIntegerᴶᴹˣ(name, description));
} }
@BãßBȍőnSpiderEgg注() @BãßBȍőnSpiderEgg注
public AttributeLongᴶᴹˣ buildLongAttribute(BãßBȍőnMBeanServerʸᴰ<?> boon, String name, String description) { public AttributeLongᴶᴹˣ buildLongAttribute(BãßBȍőnMBeanServerʸᴰ<?> boon, String name, String description) {
return buildJmxGhost(boon, name, new AttributeLongᴶᴹˣ(name, description)); return buildJmxGhost(boon, name, new AttributeLongᴶᴹˣ(name, description));
} }
@SuppressWarnings("unchecked")
public static MBeanDynamicᴶᴹˣ BeanCreateᴶᴹˣ(BãßBȍőnMBeanServerʸᴰ<?> boon) { public static MBeanDynamicᴶᴹˣ BeanCreateᴶᴹˣ(BãßBȍőnMBeanServerʸᴰ<?> boon) {
String purpuse = boon.toBBC().NOISE_OF(BãßBȍőnClazz響ᴼᶠ.class).BãßClazzDoel(); String purpuse = boon.toBBC().NOISE_OF(BãßBȍőnClazz響ᴼᶠ.class).BãßClazzDoel();
return new MBeanDynamicᴶᴹˣ(purpuse, BeanGhostsᴶᴹˣ(boon)); return new MBeanDynamicᴶᴹˣ(purpuse, BeanGhostsᴶᴹˣ(boon));

View file

@ -7,7 +7,7 @@ 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 = "©Δ∞ 仙上主天") @BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
public interface BãßBȍőnMBeanServer響ᴼᶠ<T extends BãßBȍőnMBeanServerʸᴰ<?>> extends BãßBȍőnꝐŕḯṿªḕ響ᴼᶠ<T> { public interface BãßBȍőnMBeanServer響ᴼᶠ extends BãßBȍőnꝐŕḯṿªḕ響ᴼᶠ {
MBeanServer getServerᴶᴹˣ(); MBeanServer getServerᴶᴹˣ();

View file

@ -18,7 +18,7 @@ public interface BãßBȍőnPartAlt1ʸᴰ<T extends BãßBȍőnPartʸᴰ<T>> ext
private BãßBȍőnPartAlt1ʸᴰ<?> boon; private BãßBȍőnPartAlt1ʸᴰ<?> boon;
@Override @Override
public BãßBȍőnꝐŕḯṿªḕ響ᴼᶠ.Void<BãßBȍőnPartAlt1ʸᴰ<?>> init() { public BãßBȍőnꝐŕḯṿªḕ響ᴼᶠ.Void init() {
BãßBȍőnPartAlt1注 anno = boon.getClass().getAnnotation(BãßBȍőnPartAlt1注.class); 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_NAME, anno.name());
boon.toBBC().UNHOLY_SPELL(Ꝑŕḯṿª.class).PUT_GHOST(GHOST_ALT1_WEBSITE, anno.website()); boon.toBBC().UNHOLY_SPELL(Ꝑŕḯṿª.class).PUT_GHOST(GHOST_ALT1_WEBSITE, anno.website());

View file

@ -18,7 +18,7 @@ public interface BãßBȍőnPartAlt2ʸᴰ<T extends BãßBȍőnPartʸᴰ<T>> ext
private BãßBȍőnPartAlt2ʸᴰ<?> boon; private BãßBȍőnPartAlt2ʸᴰ<?> boon;
@Override @Override
public BãßBȍőnꝐŕḯṿªḕ響ᴼᶠ.Void<BãßBȍőnPartAlt2ʸᴰ<?>> init() { public BãßBȍőnꝐŕḯṿªḕ響ᴼᶠ.Void init() {
BãßBȍőnPartAlt2注 anno = boon.getClass().getAnnotation(BãßBȍőnPartAlt2注.class); 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_NAME, anno.name());
boon.toBBC().UNHOLY_SPELL(Ꝑŕḯṿª.class).PUT_GHOST(GHOST_ALT2_WEBSITE, anno.website()); boon.toBBC().UNHOLY_SPELL(Ꝑŕḯṿª.class).PUT_GHOST(GHOST_ALT2_WEBSITE, anno.website());

View file

@ -18,7 +18,7 @@ public interface BãßBȍőnPartAlt3ʸᴰ<T extends BãßBȍőnPartʸᴰ<T>> ext
private BãßBȍőnPartAlt3ʸᴰ<?> boon; private BãßBȍőnPartAlt3ʸᴰ<?> boon;
@Override @Override
public BãßBȍőnꝐŕḯṿªḕ響ᴼᶠ.Void<BãßBȍőnPartAlt3ʸᴰ<?>> init() { public BãßBȍőnꝐŕḯṿªḕ響ᴼᶠ.Void init() {
BãßBȍőnPartAlt3注 anno = boon.getClass().getAnnotation(BãßBȍőnPartAlt3注.class); 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_NAME, anno.name());
boon.toBBC().UNHOLY_SPELL(Ꝑŕḯṿª.class).PUT_GHOST(GHOST_KEY_ALT3_WEBSITE, anno.website()); boon.toBBC().UNHOLY_SPELL(Ꝑŕḯṿª.class).PUT_GHOST(GHOST_KEY_ALT3_WEBSITE, anno.website());

View file

@ -18,7 +18,7 @@ public interface BãßBȍőnPartAlt4ʸᴰ<T extends BãßBȍőnPartʸᴰ<T>> ext
private BãßBȍőnPartAlt4ʸᴰ<?> boon; private BãßBȍőnPartAlt4ʸᴰ<?> boon;
@Override @Override
public BãßBȍőnꝐŕḯṿªḕ響ᴼᶠ.Void<BãßBȍőnPartAlt4ʸᴰ<?>> init() { public BãßBȍőnꝐŕḯṿªḕ響ᴼᶠ.Void init() {
BãßBȍőnPartAlt4注 anno = boon.getClass().getAnnotation(BãßBȍőnPartAlt4注.class); 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_NAME, anno.name());
boon.toBBC().UNHOLY_SPELL(Ꝑŕḯṿª.class).PUT_GHOST(GHOST_KEY_ALT4_WEBSITE, anno.website()); boon.toBBC().UNHOLY_SPELL(Ꝑŕḯṿª.class).PUT_GHOST(GHOST_KEY_ALT4_WEBSITE, anno.website());

View file

@ -27,10 +27,10 @@ public interface BãßBȍőnPartʸᴰ<T extends BãßBȍőnPartʸᴰ<T>> extends
private BãßBȍőnPartʸᴰ<?> boon; private BãßBȍőnPartʸᴰ<?> boon;
@BãßBȍőnSpiderWire注 @BãßBȍőnSpiderWire注
private BãßBȍőnAbacusZombie響ᴼᶠ<BãßBȍőnPartʸᴰ<?>> boonEnumZombie; private BãßBȍőnAbacusZombie響ᴼᶠ boonEnumZombie;
@Override @Override
public BãßBȍőnꝐŕḯṿªḕ響ᴼᶠ.Void<BãßBȍőnPartʸᴰ<?>> init() { public BãßBȍőnꝐŕḯṿªḕ響ᴼᶠ.Void init() {
BãßBȍőnAbacusZombieCorpse<BãßBȍőnPartBullet> corpse = BãßBȍőnAbacusZombieCorpse.castᴼᶠ(boon.toEnumZombie()); BãßBȍőnAbacusZombieCorpse<BãßBȍőnPartBullet> corpse = BãßBȍőnAbacusZombieCorpse.castᴼᶠ(boon.toEnumZombie());
corpse.PUT_MAP(BãßBȍőnPartBullet.MAP_TONE); corpse.PUT_MAP(BãßBȍőnPartBullet.MAP_TONE);
corpse.PUT_MAP(BãßBȍőnPartBullet.MAP_CHINA); corpse.PUT_MAP(BãßBȍőnPartBullet.MAP_CHINA);
@ -54,32 +54,26 @@ public interface BãßBȍőnPartʸᴰ<T extends BãßBȍőnPartʸᴰ<T>> extends
} }
} }
@SuppressWarnings("unchecked")
default BãßBȍőnAbacusZombie<BãßBȍőnPartBullet> toEnumZombie() { default BãßBȍőnAbacusZombie<BãßBȍőnPartBullet> toEnumZombie() {
return toBBC().NOISE_OF(BãßBȍőnAbacusZombie響ᴼᶠ.class).toEnumZombie(); return toBBC().NOISE_OF(BãßBȍőnAbacusZombie響ᴼᶠ.class).toEnumZombie();
} }
@SuppressWarnings("unchecked")
default String BãßClazzDoel() { default String BãßClazzDoel() {
return toBBC().NOISE_OF(BãßBȍőnClazz響ᴼᶠ.class).BãßClazzDoel(); return toBBC().NOISE_OF(BãßBȍőnClazz響ᴼᶠ.class).BãßClazzDoel();
} }
@SuppressWarnings("unchecked")
default String BãßAuthorNaam() { default String BãßAuthorNaam() {
return toBBC().NOISE_OF(BãßBȍőnAuthor響ᴼᶠ.class).BãßAuthorNaam(); return toBBC().NOISE_OF(BãßBȍőnAuthor響ᴼᶠ.class).BãßAuthorNaam();
} }
@SuppressWarnings("unchecked")
default String BãßAuthorKopieërRecht() { default String BãßAuthorKopieërRecht() {
return toBBC().NOISE_OF(BãßBȍőnAuthor響ᴼᶠ.class).BãßAuthorKopieërRecht(); return toBBC().NOISE_OF(BãßBȍőnAuthor響ᴼᶠ.class).BãßAuthorKopieërRecht();
} }
@SuppressWarnings("unchecked")
default String BãßExportNaam() { default String BãßExportNaam() {
return toBBC().NOISE_OF(BãßBȍőnExport響ᴼᶠ.class).BãßExportNaam(); return toBBC().NOISE_OF(BãßBȍőnExport響ᴼᶠ.class).BãßExportNaam();
} }
@SuppressWarnings("unchecked")
default String BãßExportGroep() { default String BãßExportGroep() {
return toBBC().NOISE_OF(BãßBȍőnExport響ᴼᶠ.class).BãßExportGroep(); return toBBC().NOISE_OF(BãßBȍőnExport響ᴼᶠ.class).BãßExportGroep();
} }