Bassboonyd update
This commit is contained in:
parent
7886fc567f
commit
02cb20f16f
291 changed files with 1439 additions and 1112 deletions
|
|
@ -0,0 +1,33 @@
|
|||
package love.distributedrebirth.bassboonyd.info;
|
||||
|
||||
import love.distributedrebirth.bassboonyd.BãßBȍőn;
|
||||
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinStoreKeyʸᴰ;
|
||||
import love.distributedrebirth.bassboonyd.BãßBȍőnꝐŕḯṿª₮ḕ;
|
||||
import love.distributedrebirth.bassboonyd.BãßBȍőnꝐŕḯṿª₮ḕInitPhaseʸᴰ;
|
||||
import love.distributedrebirth.bassboonyd.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ȍőnCoffinStoreKeyʸᴰ> 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注(phase = BãßBȍőnꝐŕḯṿª₮ḕInitPhaseʸᴰ.BOON_PRE_BOOT)
|
||||
private static void init(BãßBȍőn<?,?> boon) {
|
||||
BãßBȍőnName注 anno = boon.getClass().getAnnotation(BãßBȍőnName注.class);
|
||||
boon.GET_BBC().UNHOLY(Ꝑŕḯṿª₮ḕ.class).PUT_GHOST(GHOST_KEY_BEAN_NAME, anno!=null?anno.name():boon.getClass().getSimpleName());
|
||||
boon.GET_BBC().UNHOLY(Ꝑŕḯṿª₮ḕ.class).PUT_GHOST(GHOST_KEY_BEAN_PURPOSE, anno!=null?anno.purpose():DEFAULT_BEAN_PURPOSE);
|
||||
}
|
||||
}
|
||||
|
||||
default String BãßClassNaam() {
|
||||
return GET_BBC().UNHOLY(Ꝑŕḯṿª₮ḕ.class).GHOST_STR(Ꝑŕḯṿª₮ḕ.GHOST_KEY_BEAN_NAME);
|
||||
}
|
||||
|
||||
default String BãßClassPurpose() {
|
||||
return GET_BBC().UNHOLY(Ꝑŕḯṿª₮ḕ.class).GHOST_STR(Ꝑŕḯṿª₮ḕ.GHOST_KEY_BEAN_PURPOSE);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue