38 lines
1.7 KiB
Java
38 lines
1.7 KiB
Java
package love.distributedrebirth.bassboon.clazz;
|
||
|
||
import love.distributedrebirth.bassboon.BãßBȍőnʸᴰ;
|
||
import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnPiratePhase注;
|
||
import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnPirateʸᴰ;
|
||
import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnꝐŕḯṿª₮ḕ;
|
||
import love.distributedrebirth.bassboon.death.spider.BãßBȍőnSpiderWire注;
|
||
|
||
@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
|
||
@BãßBȍőnAnnotation注(optional = {BãßBȍőnClazz注.class})
|
||
public interface BãßBȍőnClazzʸᴰ<T extends BãßBȍőnʸᴰ<T>> extends BãßBȍőnʸᴰ<T> {
|
||
|
||
@BãßBȍőnPiratePhase注(dependencies = {BãßBȍőnPirateʸᴰ.βrahmanBoonLaw.class})
|
||
public static final class Ꝑŕḯṿª₮ḕ implements BãßBȍőnꝐŕḯṿª₮ḕ<BãßBȍőnClazzʸᴰ<?>> {
|
||
private static final String GHOST_CLAZZ_PURPOSE = "般目的";
|
||
private static final String DEFAULT_CLAZZ_PURPOSE = "Undefined";
|
||
|
||
@BãßBȍőnSpiderWire注
|
||
private BãßBȍőnClazzʸᴰ<?> boon;
|
||
|
||
@Override
|
||
public BãßBȍőnClazz響ᴼᶠ<BãßBȍőnClazzʸᴰ<?>> init() {
|
||
BãßBȍőnClazz注 anno = boon.getClass().getAnnotation(BãßBȍőnClazz注.class);
|
||
String beanPurpose = DEFAULT_CLAZZ_PURPOSE;
|
||
if (anno != null && !anno.purpose().isBlank()) {
|
||
beanPurpose = anno.purpose();
|
||
}
|
||
boon.toBBC().UNHOLY_SPELL(Ꝑŕḯṿª₮ḕ.class).PUT_GHOST(GHOST_CLAZZ_PURPOSE, beanPurpose);
|
||
return new BãßBȍőnClazz響ᴼᶠ<>() {
|
||
@Override
|
||
public String BãßClazzDoel() {
|
||
return boon.toBBC().UNHOLY(Ꝑŕḯṿª₮ḕ.class).GHOST_STR(GHOST_CLAZZ_PURPOSE);
|
||
}
|
||
};
|
||
}
|
||
}
|
||
}
|