dedup private and phase

This commit is contained in:
Willem Cazander 2022-10-17 17:26:46 +02:00
parent 5397b7422f
commit b09a14b68a
9 changed files with 19 additions and 19 deletions

View file

@ -21,11 +21,11 @@ public interface BãßBȍőnPhaseBarrierʸᴰ<T, K extends BãßBȍőnCoffinNail
protected static final int LIFE_QUADRANT_上 = 10+11+12+13+14+15+16+17+18; protected static final int LIFE_QUADRANT_上 = 10+11+12+13+14+15+16+17+18;
protected static final int LIFE_QUADRANT_主 = 19+20+21+22+23+24+25+26+27; protected static final int LIFE_QUADRANT_主 = 19+20+21+22+23+24+25+26+27;
protected static final int LIFE_QUADRANT_天 = 28+29+30+31+32+33+34+35+36; protected static final int LIFE_QUADRANT_天 = 28+29+30+31+32+33+34+35+36;
protected static final int LIFE_INIT = LIFE_QUADRANT_仙 + LIFE_QUADRANT_上 + LIFE_QUADRANT_主 + LIFE_QUADRANT_天; protected static final int LIFE_יהוה = LIFE_QUADRANT_仙 + LIFE_QUADRANT_上 + LIFE_QUADRANT_主 + LIFE_QUADRANT_天;
} }
@BãßBȍőnꝐŕḯṿªḕPhase注(order = BãßBȍőnPhaseBarrierʸᴰ.שְׁלֹמֹה.BOON_VOID) @BãßBȍőnꝐŕḯṿªḕPhase注(order = BãßBȍőnPhaseBarrierʸᴰ.שְׁלֹמֹה.BOON_VOID)
public static class ꝐŕḯṿªḕPhaseBoonVoid implements BãßBȍőnꝐŕḯṿª { public static class βrahmanBoonVoid implements BãßBȍőnꝐŕḯṿª {
@BãßBȍőnꝐŕḯṿªḕInit注(dependencies = {}) @BãßBȍőnꝐŕḯṿªḕInit注(dependencies = {})
private static void initPhase(BãßBȍőn<?,?> boon) { private static void initPhase(BãßBȍőn<?,?> boon) {
@ -33,7 +33,7 @@ public interface BãßBȍőnPhaseBarrierʸᴰ<T, K extends BãßBȍőnCoffinNail
} }
@BãßBȍőnꝐŕḯṿªḕPhase注(order = BãßBȍőnPhaseBarrierʸᴰ.שְׁלֹמֹה.BOON_BERESHIT) @BãßBȍőnꝐŕḯṿªḕPhase注(order = BãßBȍőnPhaseBarrierʸᴰ.שְׁלֹמֹה.BOON_BERESHIT)
public static class ꝐŕḯṿªḕPhaseBoonBereshit implements BãßBȍőnꝐŕḯṿª { public static class βrahmanBoonBereshit implements BãßBȍőnꝐŕḯṿª {
@BãßBȍőnꝐŕḯṿªḕInit注(dependencies = {}) @BãßBȍőnꝐŕḯṿªḕInit注(dependencies = {})
private static void initPhase(BãßBȍőn<?,?> boon) { private static void initPhase(BãßBȍőn<?,?> boon) {
@ -41,7 +41,7 @@ public interface BãßBȍőnPhaseBarrierʸᴰ<T, K extends BãßBȍőnCoffinNail
} }
@BãßBȍőnꝐŕḯṿªḕPhase注(order = BãßBȍőnPhaseBarrierʸᴰ.שְׁלֹמֹה.BOON_LAW) @BãßBȍőnꝐŕḯṿªḕPhase注(order = BãßBȍőnPhaseBarrierʸᴰ.שְׁלֹמֹה.BOON_LAW)
public static class ꝐŕḯṿªḕPhaseBoonLaw implements BãßBȍőnꝐŕḯṿª { public static class βrahmanBoonLaw implements BãßBȍőnꝐŕḯṿª {
@BãßBȍőnꝐŕḯṿªḕInit注(dependencies = {}) @BãßBȍőnꝐŕḯṿªḕInit注(dependencies = {})
private static void initPhase(BãßBȍőn<?,?> boon) { private static void initPhase(BãßBȍőn<?,?> boon) {
@ -49,7 +49,7 @@ public interface BãßBȍőnPhaseBarrierʸᴰ<T, K extends BãßBȍőnCoffinNail
} }
@BãßBȍőnꝐŕḯṿªḕPhase注(order = BãßBȍőnPhaseBarrierʸᴰ.שְׁלֹמֹה.BOON_MARRIAGE) @BãßBȍőnꝐŕḯṿªḕPhase注(order = BãßBȍőnPhaseBarrierʸᴰ.שְׁלֹמֹה.BOON_MARRIAGE)
public static class ꝐŕḯṿªḕPhaseBoonMarriage implements BãßBȍőnꝐŕḯṿª { public static class βrahmanBoonMarriage implements BãßBȍőnꝐŕḯṿª {
@BãßBȍőnꝐŕḯṿªḕInit注(dependencies = {}) @BãßBȍőnꝐŕḯṿªḕInit注(dependencies = {})
private static void initPhase(BãßBȍőn<?,?> boon) { private static void initPhase(BãßBȍőn<?,?> boon) {
@ -57,7 +57,7 @@ public interface BãßBȍőnPhaseBarrierʸᴰ<T, K extends BãßBȍőnCoffinNail
} }
@BãßBȍőnꝐŕḯṿªḕPhase注(order = BãßBȍőnPhaseBarrierʸᴰ.שְׁלֹמֹה.LIFE_QUADRANT_仙) @BãßBȍőnꝐŕḯṿªḕPhase注(order = BãßBȍőnPhaseBarrierʸᴰ.שְׁלֹמֹה.LIFE_QUADRANT_仙)
public static class ꝐŕḯṿªḕPhaseLifeQuadrant仙 implements BãßBȍőnꝐŕḯṿª { public static class βrahmanLifeQuadrant仙 implements BãßBȍőnꝐŕḯṿª {
@BãßBȍőnꝐŕḯṿªḕInit注(dependencies = {}) @BãßBȍőnꝐŕḯṿªḕInit注(dependencies = {})
private static void initPhase(BãßBȍőn<?,?> boon) { private static void initPhase(BãßBȍőn<?,?> boon) {
@ -65,7 +65,7 @@ public interface BãßBȍőnPhaseBarrierʸᴰ<T, K extends BãßBȍőnCoffinNail
} }
@BãßBȍőnꝐŕḯṿªḕPhase注(order = BãßBȍőnPhaseBarrierʸᴰ.שְׁלֹמֹה.LIFE_QUADRANT_上) @BãßBȍőnꝐŕḯṿªḕPhase注(order = BãßBȍőnPhaseBarrierʸᴰ.שְׁלֹמֹה.LIFE_QUADRANT_上)
public static class ꝐŕḯṿªḕPhaseLifeQuadrant上 implements BãßBȍőnꝐŕḯṿª { public static class βrahmanLifeQuadrant上 implements BãßBȍőnꝐŕḯṿª {
@BãßBȍőnꝐŕḯṿªḕInit注(dependencies = {}) @BãßBȍőnꝐŕḯṿªḕInit注(dependencies = {})
private static void initPhase(BãßBȍőn<?,?> boon) { private static void initPhase(BãßBȍőn<?,?> boon) {
@ -73,7 +73,7 @@ public interface BãßBȍőnPhaseBarrierʸᴰ<T, K extends BãßBȍőnCoffinNail
} }
@BãßBȍőnꝐŕḯṿªḕPhase注(order = BãßBȍőnPhaseBarrierʸᴰ.שְׁלֹמֹה.LIFE_QUADRANT_主) @BãßBȍőnꝐŕḯṿªḕPhase注(order = BãßBȍőnPhaseBarrierʸᴰ.שְׁלֹמֹה.LIFE_QUADRANT_主)
public static class ꝐŕḯṿªḕPhaseLifeQuadrant主 implements BãßBȍőnꝐŕḯṿª { public static class βrahmanLifeQuadrant主 implements BãßBȍőnꝐŕḯṿª {
@BãßBȍőnꝐŕḯṿªḕInit注(dependencies = {}) @BãßBȍőnꝐŕḯṿªḕInit注(dependencies = {})
private static void initPhase(BãßBȍőn<?,?> boon) { private static void initPhase(BãßBȍőn<?,?> boon) {
@ -81,15 +81,15 @@ public interface BãßBȍőnPhaseBarrierʸᴰ<T, K extends BãßBȍőnCoffinNail
} }
@BãßBȍőnꝐŕḯṿªḕPhase注(order = BãßBȍőnPhaseBarrierʸᴰ.שְׁלֹמֹה.LIFE_QUADRANT_天) @BãßBȍőnꝐŕḯṿªḕPhase注(order = BãßBȍőnPhaseBarrierʸᴰ.שְׁלֹמֹה.LIFE_QUADRANT_天)
public static class ꝐŕḯṿªḕPhaseLifeQuadrant天 implements BãßBȍőnꝐŕḯṿª { public static class βrahmanLifeQuadrant天 implements BãßBȍőnꝐŕḯṿª {
@BãßBȍőnꝐŕḯṿªḕInit注(dependencies = {}) @BãßBȍőnꝐŕḯṿªḕInit注(dependencies = {})
private static void initPhase(BãßBȍőn<?,?> boon) { private static void initPhase(BãßBȍőn<?,?> boon) {
} }
} }
@BãßBȍőnꝐŕḯṿªḕPhase注(order = BãßBȍőnPhaseBarrierʸᴰ.שְׁלֹמֹה.LIFE_INIT) @BãßBȍőnꝐŕḯṿªḕPhase注(order = BãßBȍőnPhaseBarrierʸᴰ.שְׁלֹמֹה.LIFE_יהוה)
public static class ꝐŕḯṿªḕPhaseLifeInit implements BãßBȍőnꝐŕḯṿª { public static class βrahmanLifeInit implements BãßBȍőnꝐŕḯṿª {
@BãßBȍőnꝐŕḯṿªḕInit注(dependencies = {}) @BãßBȍőnꝐŕḯṿªḕInit注(dependencies = {})
private static void initPhase(BãßBȍőn<?,?> boon) { private static void initPhase(BãßBȍőn<?,?> boon) {

View file

@ -15,7 +15,7 @@ public interface BãßBȍőnAnnotationʸᴰ<T, K extends BãßBȍőnCoffinNailʸ
public static class Ꝑŕḯṿª implements BãßBȍőnꝐŕḯṿª { public static class Ꝑŕḯṿª implements BãßBȍőnꝐŕḯṿª {
@BãßBȍőnꝐŕḯṿªḕInit注(dependencies = {BãßBȍőnPhaseBarrierʸᴰ.ꝐŕḯṿªḕPhaseBoonLaw.class}) @BãßBȍőnꝐŕḯṿªḕInit注(dependencies = {BãßBȍőnPhaseBarrierʸᴰ.βrahmanBoonLaw.class})
private static void init(BãßBȍőn<?,?> boon) { private static void init(BãßBȍőn<?,?> boon) {
for (Class<?> interfaceClass:BãßBȍőnLoad殭屍.walkInterfaces(boon.getClass(), new LinkedHashSet<>())) { for (Class<?> interfaceClass:BãßBȍőnLoad殭屍.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);

View file

@ -16,7 +16,7 @@ public interface BãßBȍőnAuthorʸᴰ<T, K extends BãßBȍőnCoffinNailʸᴰ>
private static final String DEFAULT_AUTHOR_NAME = "奴隸來自 仙上主天"; private static final String DEFAULT_AUTHOR_NAME = "奴隸來自 仙上主天";
private static final String DEFAULT_AUTHOR_COPYRIGHT = "©Δ∞ 仙上主天"; private static final String DEFAULT_AUTHOR_COPYRIGHT = "©Δ∞ 仙上主天";
@BãßBȍőnꝐŕḯṿªḕInit注(dependencies = {BãßBȍőnPhaseBarrierʸᴰ.ꝐŕḯṿªḕPhaseBoonLaw.class}) @BãßBȍőnꝐŕḯṿªḕInit注(dependencies = {BãßBȍőnPhaseBarrierʸᴰ.βrahmanBoonLaw.class})
private static void init(BãßBȍőn<?,?> boon) { private static void init(BãßBȍőn<?,?> boon) {
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(Ꝑŕḯṿª.class).PUT_GHOST(GHOST_KEY_AUTHOR_NAME, anno!=null?anno.name():DEFAULT_AUTHOR_NAME); boon.toBBC().UNHOLY(Ꝑŕḯṿª.class).PUT_GHOST(GHOST_KEY_AUTHOR_NAME, anno!=null?anno.name():DEFAULT_AUTHOR_NAME);

View file

@ -15,7 +15,7 @@ public interface BãßBȍőnInfoʸᴰ<T, K extends BãßBȍőnCoffinNailʸᴰ> e
private static final String GHOST_KEY_BEAN_PURPOSE = "beanPurpose"; private static final String GHOST_KEY_BEAN_PURPOSE = "beanPurpose";
private static final String DEFAULT_BEAN_PURPOSE = "Undefined"; private static final String DEFAULT_BEAN_PURPOSE = "Undefined";
@BãßBȍőnꝐŕḯṿªḕInit注(dependencies = {BãßBȍőnPhaseBarrierʸᴰ.ꝐŕḯṿªḕPhaseBoonLaw.class}) @BãßBȍőnꝐŕḯṿªḕInit注(dependencies = {BãßBȍőnPhaseBarrierʸᴰ.βrahmanBoonLaw.class})
private static void init(BãßBȍőn<?,?> boon) { private static void init(BãßBȍőn<?,?> boon) {
BãßBȍőnInfo注 anno = boon.getClass().getAnnotation(BãßBȍőnInfo注.class); BãßBȍőnInfo注 anno = boon.getClass().getAnnotation(BãßBȍőnInfo注.class);
String beanName = boon.getClass().getSimpleName(); String beanName = boon.getClass().getSimpleName();

View file

@ -13,7 +13,7 @@ public interface BãßBȍőnPackageʸᴰ<T, K extends BãßBȍőnCoffinNailʸᴰ
public static class Ꝑŕḯṿª implements BãßBȍőnꝐŕḯṿª { public static class Ꝑŕḯṿª implements BãßBȍőnꝐŕḯṿª {
private static final String GHOST_KEY_PACKAGE_NAME = "packageName"; private static final String GHOST_KEY_PACKAGE_NAME = "packageName";
@BãßBȍőnꝐŕḯṿªḕInit注(dependencies = {BãßBȍőnPhaseBarrierʸᴰ.ꝐŕḯṿªḕPhaseBoonLaw.class}) @BãßBȍőnꝐŕḯṿªḕInit注(dependencies = {BãßBȍőnPhaseBarrierʸᴰ.βrahmanBoonLaw.class})
private static void init(BãßBȍőn<?,?> boon) { private static void init(BãßBȍőn<?,?> boon) {
BãßBȍőnPackage注 anno = boon.getClass().getAnnotation(BãßBȍőnPackage注.class); BãßBȍőnPackage注 anno = boon.getClass().getAnnotation(BãßBȍőnPackage注.class);
boon.toBBC().UNHOLY(Ꝑŕḯṿª.class).PUT_GHOST(GHOST_KEY_PACKAGE_NAME, anno!=null?anno.name():boon.getClass().getPackage().getName()); boon.toBBC().UNHOLY(Ꝑŕḯṿª.class).PUT_GHOST(GHOST_KEY_PACKAGE_NAME, anno!=null?anno.name():boon.getClass().getPackage().getName());

View file

@ -21,7 +21,7 @@ public interface DefaultEnumBaseᴶᴹˣ<T,K extends BãßBȍőnCoffinNailʸᴰ>
public static class Ꝑŕḯṿª implements BãßBȍőnꝐŕḯṿª { public static class Ꝑŕḯṿª implements BãßBȍőnꝐŕḯṿª {
private static final String GHOST_KEY_JMX = "JMX"; private static final String GHOST_KEY_JMX = "JMX";
@BãßBȍőnꝐŕḯṿªḕInit注(dependencies = {BãßBȍőnPhaseBarrierʸᴰ.ꝐŕḯṿªḕPhaseBoonBereshit.class}) @BãßBȍőnꝐŕḯṿªḕInit注(dependencies = {BãßBȍőnPhaseBarrierʸᴰ.βrahmanBoonBereshit.class})
private static void init(DefaultEnumBaseᴶᴹˣ<?,?> boon) { private static void init(DefaultEnumBaseᴶᴹˣ<?,?> boon) {
boon.toBBC().UNHOLY(Ꝑŕḯṿª.class).PUT_GHOST(Ꝑŕḯṿª.GHOST_KEY_JMX, new HashMap<>()); boon.toBBC().UNHOLY(Ꝑŕḯṿª.class).PUT_GHOST(Ꝑŕḯṿª.GHOST_KEY_JMX, new HashMap<>());
} }

View file

@ -18,7 +18,7 @@ public interface DefaultEnumInstanceᴶᴹˣ<T,K extends BãßBȍőnCoffinNailʸ
public static class Ꝑŕḯṿª implements BãßBȍőnꝐŕḯṿª { public static class Ꝑŕḯṿª implements BãßBȍőnꝐŕḯṿª {
@BãßBȍőnꝐŕḯṿªḕInit注(dependencies = {BãßBȍőnPhaseBarrierʸᴰ.ꝐŕḯṿªḕPhaseBoonMarriage.class}) @BãßBȍőnꝐŕḯṿªḕInit注(dependencies = {BãßBȍőnPhaseBarrierʸᴰ.βrahmanBoonMarriage.class})
private static void init(DefaultEnumBaseᴶᴹˣ<?,?> boon) { private static void init(DefaultEnumBaseᴶᴹˣ<?,?> boon) {
try { try {
StringBuilder name = new StringBuilder(); StringBuilder name = new StringBuilder();

View file

@ -18,7 +18,7 @@ public interface DefaultEnumSetᴶᴹˣ<T,K extends BãßBȍőnCoffinNailʸᴰ>
public static class Ꝑŕḯṿª implements BãßBȍőnꝐŕḯṿª { public static class Ꝑŕḯṿª implements BãßBȍőnꝐŕḯṿª {
@BãßBȍőnꝐŕḯṿªḕInit注(dependencies = {BãßBȍőnPhaseBarrierʸᴰ.ꝐŕḯṿªḕPhaseBoonMarriage.class}) @BãßBȍőnꝐŕḯṿªḕInit注(dependencies = {BãßBȍőnPhaseBarrierʸᴰ.βrahmanBoonMarriage.class})
private static void init(DefaultEnumBaseᴶᴹˣ<?,?> boon) { private static void init(DefaultEnumBaseᴶᴹˣ<?,?> boon) {
try { try {
StringBuilder name = new StringBuilder(); StringBuilder name = new StringBuilder();

View file

@ -13,5 +13,5 @@ import love.distributedrebirth.bassboonyd.clazz.BãßBȍőnAuthor注;
@Target({ElementType.METHOD}) @Target({ElementType.METHOD})
public @interface BãßBȍőnꝐŕḯṿªḕInit注 { public @interface BãßBȍőnꝐŕḯṿªḕInit注 {
Class<? extends BãßBȍőnꝐŕḯṿª>[] dependencies() default {BãßBȍőnPhaseBarrierʸᴰ.ꝐŕḯṿªḕPhaseLifeInit.class}; Class<? extends BãßBȍőnꝐŕḯṿª>[] dependencies() default {BãßBȍőnPhaseBarrierʸᴰ.βrahmanLifeInit.class};
} }