Renamed into to clazz
This commit is contained in:
parent
940a400818
commit
5397b7422f
285 changed files with 348 additions and 345 deletions
|
|
@ -1,41 +0,0 @@
|
|||
package love.distributedrebirth.bassboonyd.info;
|
||||
|
||||
import love.distributedrebirth.bassboonyd.BãßBȍőn;
|
||||
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinNailʸᴰ;
|
||||
import love.distributedrebirth.bassboonyd.BãßBȍőnPhaseBarrierʸᴰ;
|
||||
import love.distributedrebirth.bassboonyd.sinit.BãßBȍőnꝐŕḯṿª₮ḕ;
|
||||
import love.distributedrebirth.bassboonyd.sinit.BãßBȍőnꝐŕḯṿª₮ḕInit注;
|
||||
|
||||
@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
|
||||
@BãßBȍőnAnnotation注(optional = {BãßBȍőnName注.class})
|
||||
public interface BãßBȍőnNameʸᴰ<T, K extends BãßBȍőnCoffinNailʸᴰ> extends BãßBȍőn<T, K> {
|
||||
|
||||
public static class Ꝑŕḯṿª₮ḕ implements BãßBȍőnꝐŕḯṿª₮ḕ {
|
||||
private static final String GHOST_KEY_BEAN_NAME = "beanName";
|
||||
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})
|
||||
private static void init(BãßBȍőn<?,?> boon) {
|
||||
BãßBȍőnName注 anno = boon.getClass().getAnnotation(BãßBȍőnName注.class);
|
||||
String beanName = boon.getClass().getSimpleName();
|
||||
String beanPurpose = DEFAULT_BEAN_PURPOSE;
|
||||
if (anno != null && !anno.name().isBlank()) {
|
||||
beanName = anno.name();
|
||||
}
|
||||
if (anno != null && !anno.purpose().isBlank()) {
|
||||
beanPurpose = anno.purpose();
|
||||
}
|
||||
boon.toBBC().UNHOLY(Ꝑŕḯṿª₮ḕ.class).PUT_GHOST(GHOST_KEY_BEAN_NAME, beanName);
|
||||
boon.toBBC().UNHOLY(Ꝑŕḯṿª₮ḕ.class).PUT_GHOST(GHOST_KEY_BEAN_PURPOSE, beanPurpose);
|
||||
}
|
||||
}
|
||||
|
||||
default String BãßClassNaam() {
|
||||
return toBBC().UNHOLY(Ꝑŕḯṿª₮ḕ.class).GHOST_STR(Ꝑŕḯṿª₮ḕ.GHOST_KEY_BEAN_NAME);
|
||||
}
|
||||
|
||||
default String BãßClassPurpose() {
|
||||
return toBBC().UNHOLY(Ꝑŕḯṿª₮ḕ.class).GHOST_STR(Ꝑŕḯṿª₮ḕ.GHOST_KEY_BEAN_PURPOSE);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue