dedup private and phase
This commit is contained in:
parent
5397b7422f
commit
b09a14b68a
9 changed files with 19 additions and 19 deletions
|
|
@ -15,7 +15,7 @@ public interface BãßBȍőnAnnotationʸᴰ<T, K extends BãßBȍőnCoffinNailʸ
|
|||
|
||||
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) {
|
||||
for (Class<?> interfaceClass:BãßBȍőnLoad殭屍.walkInterfaces(boon.getClass(), new LinkedHashSet<>())) {
|
||||
BãßBȍőnAnnotation注 anno = interfaceClass.getAnnotation(BãßBȍőnAnnotation注.class);
|
||||
|
|
|
|||
|
|
@ -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_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) {
|
||||
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);
|
||||
|
|
|
|||
|
|
@ -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 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) {
|
||||
BãßBȍőnInfo注 anno = boon.getClass().getAnnotation(BãßBȍőnInfo注.class);
|
||||
String beanName = boon.getClass().getSimpleName();
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ public interface BãßBȍőnPackageʸᴰ<T, K extends BãßBȍőnCoffinNailʸᴰ
|
|||
public static class Ꝑŕḯṿª₮ḕ implements BãßBȍőnꝐŕḯṿª₮ḕ {
|
||||
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) {
|
||||
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());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue