Added default bean name.

This commit is contained in:
Willem Cazander 2022-10-15 15:08:09 +02:00
parent 5514f2c7b0
commit 3275602da0
21 changed files with 30 additions and 24 deletions

View file

@ -18,8 +18,16 @@ public interface BãßBȍőnNameʸᴰ<T, K extends BãßBȍőnCoffinStoreKeyʸ
@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.toBBC().UNHOLY(Ꝑŕḯṿª.class).PUT_GHOST(GHOST_KEY_BEAN_NAME, anno!=null?anno.name():boon.getClass().getSimpleName());
boon.toBBC().UNHOLY(Ꝑŕḯṿª.class).PUT_GHOST(GHOST_KEY_BEAN_PURPOSE, anno!=null?anno.purpose():DEFAULT_BEAN_PURPOSE);
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);
}
}

View file

@ -10,7 +10,7 @@ import java.lang.annotation.Target;
@Target({ElementType.TYPE})
public @interface BãßBȍőnName注 {
String name();
String name() default "";
String purpose();
}

View file

@ -25,7 +25,7 @@ import love.distributedrebirth.bassboonyd.info.BãßBȍőnName注;
import love.distributedrebirth.bassboonyd.info.BãßBȍőnPackage注;
@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
@BãßBȍőnName注(name = "Base2PartsFactory", purpose = "Factory to access the bases.")
@BãßBȍőnName注(purpose = "Factory to access the bases.")
@BãßBȍőnPackage注(name = "love.distributedrebirth.numberxd")
public enum Base2PartsFactory implements DefaultEnumInstanceᴶᴹˣ<Base2PartsFactory, BãßBȍőnCoffinStoreKeyʸᴰ.None> {

View file

@ -20,7 +20,7 @@ import love.distributedrebirth.numberxd.base2t.type.V072Tong;
import love.distributedrebirth.numberxd.base2t.type.V144Tocta;
@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
@BãßBȍőnName注(name = "Base2Terminator", purpose = "Terminate from and to classical bytes.")
@BãßBȍőnName注(purpose = "Terminate from and to classical bytes.")
@BãßBȍőnPackage注(name = "love.distributedrebirth.numberxd")
public enum Base2Terminator implements DefaultEnumInstanceᴶᴹˣ<Base2Terminator,BãßBȍőnCoffinStoreKeyʸᴰ.None> {

View file

@ -23,7 +23,7 @@ import love.distributedrebirth.warpme.core.WaterCipherHeart;
import love.distributedrebirth.warpme.core.WaterCipherHeartTone;
@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
@BãßBȍőnName注(name = "Base2WarpCore", purpose = "The warpcore writer and armor manager.")
@BãßBȍőnName注(purpose = "The warpcore writer and armor manager.")
@BãßBȍőnPackage注(name = "love.distributedrebirth.numberxd")
public enum Base2WarpCore implements DefaultEnumInstanceᴶᴹˣ<Base2WarpCore,BãßBȍőnCoffinStoreKeyʸᴰ.None> {

View file

@ -5,7 +5,7 @@ import love.distributedrebirth.bassboonyd.info.BãßBȍőnAuthor注;
import love.distributedrebirth.bassboonyd.info.BãßBȍőnName注;
@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
@BãßBȍőnName注(name = "T02PartBinary", purpose = "The distribution by 2 (low/high).")
@BãßBȍőnName注(purpose = "The distribution by 2 (low/high).")
public enum T02PartBinary implements BãßBȍőnPartʸᴰ<T02PartBinary> {
PART_1("˧", "", "low"),

View file

@ -5,7 +5,7 @@ import love.distributedrebirth.bassboonyd.info.BãßBȍőnAuthor注;
import love.distributedrebirth.bassboonyd.info.BãßBȍőnName注;
@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
@BãßBȍőnName注(name = "T03PartTrit", purpose = "The distribution by 3 (number123).")
@BãßBȍőnName注(purpose = "The distribution by 3 (number123).")
public enum T03PartTrit implements BãßBȍőnPartʸᴰ<T03PartTrit> {
PART_1("˦","","1"),

View file

@ -5,7 +5,7 @@ import love.distributedrebirth.bassboonyd.info.BãßBȍőnAuthor注;
import love.distributedrebirth.bassboonyd.info.BãßBȍőnName注;
@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
@BãßBȍőnName注(name = "T04PartQuad", purpose = "The distribution by 4 (xiān shàng zhǔ tiān).")
@BãßBȍőnName注(purpose = "The distribution by 4 (xiān shàng zhǔ tiān).")
@BãßBȍőnPartAlt1注(name = "Cardinal direction china", website = "https://zh.wikipedia.org/wiki/罗盘方位")
@BãßBȍőnPartAlt2注(name = "Cardinal direction key", website = "https://simple.wikipedia.org/wiki/Cardinal_direction")
@BãßBȍőnPartAlt3注(name = "Cardinal direction value", website = "https://simple.wikipedia.org/wiki/Cardinal_direction")

View file

@ -5,7 +5,7 @@ import love.distributedrebirth.bassboonyd.info.BãßBȍőnAuthor注;
import love.distributedrebirth.bassboonyd.info.BãßBȍőnName注;
@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
@BãßBȍőnName注(name = "T05PartPental", purpose = "The distribution by 5 (wuxing).")
@BãßBȍőnName注(purpose = "The distribution by 5 (wuxing).")
@BãßBȍőnPartAlt1注(name = "Pentagram", website = "https://en.wikipedia.org/wiki/Pentagram")
@BãßBȍőnPartAlt2注(name = "Pythagorean Interpretations", website = "http://wisdomofhypatia.com/OM/BA/PP.html")
public enum T05PartPental implements BãßBȍőnPartAlt2ʸᴰ<T05PartPental> {

View file

@ -5,7 +5,7 @@ import love.distributedrebirth.bassboonyd.info.BãßBȍőnAuthor注;
import love.distributedrebirth.bassboonyd.info.BãßBȍőnName注;
@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
@BãßBȍőnName注(name = "T06PartSeximal", purpose = "The distribution by 6 (numbers4/9).")
@BãßBȍőnName注(purpose = "The distribution by 6 (numbers4/9).")
@BãßBȍőnPartAlt1注(name = "ADFGVX cipher", website = "https://en.wikipedia.org/wiki/ADFGVX_cipher")
public enum T06PartSeximal implements BãßBȍőnPartAlt1ʸᴰ<T06PartSeximal> {

View file

@ -5,7 +5,7 @@ import love.distributedrebirth.bassboonyd.info.BãßBȍőnAuthor注;
import love.distributedrebirth.bassboonyd.info.BãßBȍőnName注;
@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
@BãßBȍőnName注(name = "T07PartPlanIt", purpose = "The distribution by 7 (planets).")
@BãßBȍőnName注(purpose = "The distribution by 7 (planets).")
@BãßBȍőnPartAlt1注(name = "Fallen sign", website = "https://en.wikipedia.org/wiki/Classical_planet#Western_astrology")
public enum T07PartPlanIt implements BãßBȍőnPartAlt1ʸᴰ<T07PartPlanIt> {

View file

@ -5,7 +5,7 @@ import love.distributedrebirth.bassboonyd.info.BãßBȍőnAuthor注;
import love.distributedrebirth.bassboonyd.info.BãßBȍőnName注;
@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
@BãßBȍőnName注(name = "T08PartOctal", purpose = "The distribution by 8 (human part).")
@BãßBȍőnName注(purpose = "The distribution by 8 (human part).")
public enum T08PartOctal implements BãßBȍőnPartShiftBitsʸᴰ<T08PartOctal> {
PART_1("˥","","heart",0),

View file

@ -5,7 +5,7 @@ import love.distributedrebirth.bassboonyd.info.BãßBȍőnAuthor注;
import love.distributedrebirth.bassboonyd.info.BãßBȍőnName注;
@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
@BãßBȍőnName注(name = "T09PartNonary", purpose = "The distribution by 9 (colors).")
@BãßBȍőnName注(purpose = "The distribution by 9 (colors).")
public enum T09PartNonary implements BãßBȍőnPartʸᴰ<T09PartNonary> {
PART_1 ("˦","","blue"),

View file

@ -5,7 +5,7 @@ import love.distributedrebirth.bassboonyd.info.BãßBȍőnAuthor注;
import love.distributedrebirth.bassboonyd.info.BãßBȍőnName注;
@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
@BãßBȍőnName注(name = "T10PartDecimal", purpose = "The distribution by 10 (finance numbers).")
@BãßBȍőnName注(purpose = "The distribution by 10 (finance numbers).")
@BãßBȍőnPartAlt1注(name = "Tone Letter LR", website = "https://en.wikipedia.org/wiki/Tone_letter")
@BãßBȍőnPartAlt2注(name = "Tone Letter RL", website = "https://en.wikipedia.org/wiki/Tone_letter")
public enum T10PartDecimal implements BãßBȍőnPartAlt2ʸᴰ<T10PartDecimal> {

View file

@ -5,7 +5,7 @@ import love.distributedrebirth.bassboonyd.info.BãßBȍőnAuthor注;
import love.distributedrebirth.bassboonyd.info.BãßBȍőnName注;
@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
@BãßBȍőnName注(name = "T11PartUndecimal", purpose = "The distribution by 11 (human activity).")
@BãßBȍőnName注(purpose = "The distribution by 11 (human activity).")
@BãßBȍőnPartAlt1注(name = "Tamil numerals", website = "https://en.wikipedia.org/wiki/Tamil_numerals")
public enum T11PartUndecimal implements BãßBȍőnPartAlt1ʸᴰ<T11PartUndecimal> {

View file

@ -5,7 +5,7 @@ import love.distributedrebirth.bassboonyd.info.BãßBȍőnAuthor注;
import love.distributedrebirth.bassboonyd.info.BãßBȍőnName注;
@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
@BãßBȍőnName注(name = "T12PartUncial", purpose = "The distribution by 12 (emperor).")
@BãßBȍőnName注(purpose = "The distribution by 12 (emperor).")
@BãßBȍőnPartAlt1注(name = "Transdecimal symbols", website = "https://en.wikipedia.org/wiki/Duodecimal#Transdecimal_symbols")
public enum T12PartUncial implements BãßBȍőnPartAlt1ʸᴰ<T12PartUncial> {

View file

@ -5,7 +5,7 @@ import love.distributedrebirth.bassboonyd.info.BãßBȍőnAuthor注;
import love.distributedrebirth.bassboonyd.info.BãßBȍőnName注;
@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
@BãßBȍőnName注(name = "T16PartHex", purpose = "The distribution by 16 (elements).")
@BãßBȍőnName注(purpose = "The distribution by 16 (elements).")
@BãßBȍőnPartAlt1注(name = "Hexadecimal", website = "https://en.wikipedia.org/wiki/Hexadecimal")
public enum T16PartHex implements BãßBȍőnPartAlt1ʸᴰ<T16PartHex> {

View file

@ -10,7 +10,7 @@ import love.distributedrebirth.bassboonyd.info.BãßBȍőnAuthor注;
import love.distributedrebirth.bassboonyd.info.BãßBȍőnName注;
@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
@BãßBȍőnName注(name = "T20PartScore", purpose = "The distribution by 20 (SI prefixes).")
@BãßBȍőnName注(purpose = "The distribution by 20 (SI prefixes).")
@BãßBȍőnPartAlt1注(name = "SI-Unit Types", website = "https://en.wikipedia.org/wiki/Metric_prefix")
@BãßBȍőnPartAlt2注(name = "Vigesimal", website = "https://en.wikipedia.org/wiki/Vigesimal#Places")
@BãßBȍőnPartAlt3注(name = "Vigesimal Alternative", website = "https://en.wikipedia.org/wiki/Vigesimal#Places")

View file

@ -5,7 +5,7 @@ import love.distributedrebirth.bassboonyd.info.BãßBȍőnAuthor注;
import love.distributedrebirth.bassboonyd.info.BãßBȍőnName注;
@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
@BãßBȍőnName注(name = "T60Sexagesimal", purpose = "The distribution by 60 (human food).")
@BãßBȍőnName注(purpose = "The distribution by 60 (human food).")
public enum T60PartSexagesimal implements BãßBȍőnPartʸᴰ<T60PartSexagesimal> {
PART_1 ("˥˥","","cow"),

View file

@ -4,8 +4,6 @@ import java.math.BigInteger;
import java.text.DecimalFormat;
import love.distributedrebirth.bassboonyd.BãßBȍőn;
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpenʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnConstantsʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnSpiderWire注;
import love.distributedrebirth.bassboonyd.info.BãßBȍőnAuthor注;
@ -17,7 +15,7 @@ import love.distributedrebirth.numberxd.base2t.part.T10PartDecimal;
import love.distributedrebirth.numberxd.base2t.part.T16PartHex;
@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
@BãßBȍőnName注(name = "BaseGlyphSet", purpose = "The encoded base scripts.")
@BãßBȍőnName注(purpose = "The number base glyph scripts.")
@BãßBȍőnPackage注(name = "love.distributedrebirth.numberxd")
public enum BaseGlyphSet implements DefaultEnumSetᴶᴹˣ<BaseGlyphSet,BaseGlyphSetKeyʸᴰ> {
// TODO: Move this into unicode4D and TyyPartXxx

View file

@ -24,7 +24,7 @@ import love.distributedrebirth.gdxapp4d.tos4.service.SystemGdxTerminal;
import net.spookygames.gdx.nativefilechooser.NativeFileChooser;
@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
@BãßBȍőnName注(name = "GDXAppTos4", purpose = "Main loop render dispatcher and bootup.")
@BãßBȍőnName注(purpose = "Main loop render dispatcher and bootup.")
@BãßBȍőnPackage注(name = "love.distributedrebirth.gdxapp4d.tos4")
public enum GDXAppTos4 implements DefaultEnumInstanceᴶᴹˣ<GDXAppTos4,BãßBȍőnCoffinStoreKeyʸᴰ.None>, ApplicationListener, SystemGdxTerminal {