diff --git a/demo4d-bassboonyd/src/main/love/distributedrebirth/bassboonyd/BãßBȍőnAnnotationInfoʸᴰ.java b/demo4d-bassboonyd/src/main/love/distributedrebirth/bassboonyd/BãßBȍőnAnnotationInfoʸᴰ.java new file mode 100644 index 00000000..256a5164 --- /dev/null +++ b/demo4d-bassboonyd/src/main/love/distributedrebirth/bassboonyd/BãßBȍőnAnnotationInfoʸᴰ.java @@ -0,0 +1,17 @@ +package love.distributedrebirth.bassboonyd; + +import java.lang.annotation.Annotation; +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天") +@Retention(RetentionPolicy.RUNTIME) +@Target({ElementType.TYPE}) +public @interface BãßBȍőnAnnotationInfoʸᴰ { + + Class[] required(); + + Class[] optional() default {}; +} diff --git a/demo4d-bassboonyd/src/main/love/distributedrebirth/bassboonyd/BãßBȍőnCoffinOpenʸᴰ.java b/demo4d-bassboonyd/src/main/love/distributedrebirth/bassboonyd/BãßBȍőnCoffinOpenʸᴰ.java index f8c485c6..5ff13641 100644 --- a/demo4d-bassboonyd/src/main/love/distributedrebirth/bassboonyd/BãßBȍőnCoffinOpenʸᴰ.java +++ b/demo4d-bassboonyd/src/main/love/distributedrebirth/bassboonyd/BãßBȍőnCoffinOpenʸᴰ.java @@ -6,6 +6,8 @@ import java.util.Map; @BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天") public interface BãßBȍőnCoffinOpenʸᴰ extends BãßBȍőnCoffinʸᴰ { + void LOCK_COFFIN(); + Object PUT_OBJ(T key, Object value); default void PUT_MAP(T key) { @@ -19,7 +21,13 @@ public interface BãßBȍőnCoffinOpenʸᴰ BãßBȍőnCoffinOpenʸᴰ newInstance() { return new BãßBȍőnCoffinOpenʸᴰ() { final Map initMap = new HashMap<>(); + volatile boolean deathLock = false; + @Override + public void LOCK_COFFIN() { + deathLock = true; + } + @Override public Object GET_OBJ(Y key) { return initMap.get(key); @@ -27,6 +35,9 @@ public interface BãßBȍőnCoffinOpenʸᴰ { String name(); diff --git a/numberxd/src/main/love/distributedrebirth/numberxd/base2t/glyph/BaseGlyphSetNumber.java b/numberxd/src/main/love/distributedrebirth/numberxd/base2t/glyph/BaseGlyphSetNumber.java index b1b887a7..ee975be0 100644 --- a/numberxd/src/main/love/distributedrebirth/numberxd/base2t/glyph/BaseGlyphSetNumber.java +++ b/numberxd/src/main/love/distributedrebirth/numberxd/base2t/glyph/BaseGlyphSetNumber.java @@ -1,8 +1,10 @@ package love.distributedrebirth.numberxd.base2t.glyph; +import love.distributedrebirth.bassboonyd.BãßBȍőnAnnotationInfoʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ; @BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天") +@BãßBȍőnAnnotationInfoʸᴰ(required = {BãßBȍőnGlyphSetNumberInfoʸᴰ.class}) public interface BaseGlyphSetNumber { default BaseGlyphSetNumberType BãßNumberType() { diff --git a/numberxd/src/main/love/distributedrebirth/numberxd/base2t/part/BãßBȍőnPartAlt1ʸᴰ.java b/numberxd/src/main/love/distributedrebirth/numberxd/base2t/part/BãßBȍőnPartAlt1ʸᴰ.java index 77147d2a..c88afc36 100644 --- a/numberxd/src/main/love/distributedrebirth/numberxd/base2t/part/BãßBȍőnPartAlt1ʸᴰ.java +++ b/numberxd/src/main/love/distributedrebirth/numberxd/base2t/part/BãßBȍőnPartAlt1ʸᴰ.java @@ -1,8 +1,10 @@ package love.distributedrebirth.numberxd.base2t.part; +import love.distributedrebirth.bassboonyd.BãßBȍőnAnnotationInfoʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ; @BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天") +@BãßBȍőnAnnotationInfoʸᴰ(required = {BãßBȍőnPartAlt1Infoʸᴰ.class}) public interface BãßBȍőnPartAlt1ʸᴰ> extends BãßBȍőnPartʸᴰ { default String BȍőnAlt1Value() { diff --git a/numberxd/src/main/love/distributedrebirth/numberxd/base2t/part/BãßBȍőnPartAlt2ʸᴰ.java b/numberxd/src/main/love/distributedrebirth/numberxd/base2t/part/BãßBȍőnPartAlt2ʸᴰ.java index 27274064..a8dcb855 100644 --- a/numberxd/src/main/love/distributedrebirth/numberxd/base2t/part/BãßBȍőnPartAlt2ʸᴰ.java +++ b/numberxd/src/main/love/distributedrebirth/numberxd/base2t/part/BãßBȍőnPartAlt2ʸᴰ.java @@ -1,8 +1,10 @@ package love.distributedrebirth.numberxd.base2t.part; +import love.distributedrebirth.bassboonyd.BãßBȍőnAnnotationInfoʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ; @BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天") +@BãßBȍőnAnnotationInfoʸᴰ(required = {BãßBȍőnPartAlt2Infoʸᴰ.class}) public interface BãßBȍőnPartAlt2ʸᴰ> extends BãßBȍőnPartAlt1ʸᴰ { default String BȍőnAlt2Value() { diff --git a/numberxd/src/main/love/distributedrebirth/numberxd/base2t/part/BãßBȍőnPartAlt3ʸᴰ.java b/numberxd/src/main/love/distributedrebirth/numberxd/base2t/part/BãßBȍőnPartAlt3ʸᴰ.java index ec77dc66..13c0fdca 100644 --- a/numberxd/src/main/love/distributedrebirth/numberxd/base2t/part/BãßBȍőnPartAlt3ʸᴰ.java +++ b/numberxd/src/main/love/distributedrebirth/numberxd/base2t/part/BãßBȍőnPartAlt3ʸᴰ.java @@ -1,8 +1,10 @@ package love.distributedrebirth.numberxd.base2t.part; +import love.distributedrebirth.bassboonyd.BãßBȍőnAnnotationInfoʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ; @BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天") +@BãßBȍőnAnnotationInfoʸᴰ(required = {BãßBȍőnPartAlt3Infoʸᴰ.class}) public interface BãßBȍőnPartAlt3ʸᴰ> extends BãßBȍőnPartAlt2ʸᴰ { default String BȍőnAlt3Value() { diff --git a/numberxd/src/main/love/distributedrebirth/numberxd/base2t/part/BãßBȍőnPartAlt4ʸᴰ.java b/numberxd/src/main/love/distributedrebirth/numberxd/base2t/part/BãßBȍőnPartAlt4ʸᴰ.java index 8f456dc1..a0e130ff 100644 --- a/numberxd/src/main/love/distributedrebirth/numberxd/base2t/part/BãßBȍőnPartAlt4ʸᴰ.java +++ b/numberxd/src/main/love/distributedrebirth/numberxd/base2t/part/BãßBȍőnPartAlt4ʸᴰ.java @@ -1,8 +1,10 @@ package love.distributedrebirth.numberxd.base2t.part; +import love.distributedrebirth.bassboonyd.BãßBȍőnAnnotationInfoʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ; @BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天") +@BãßBȍőnAnnotationInfoʸᴰ(required = {BãßBȍőnPartAlt4Infoʸᴰ.class}) public interface BãßBȍőnPartAlt4ʸᴰ> extends BãßBȍőnPartAlt3ʸᴰ { default String BȍőnAlt4Value() {