Moved loader to interface
This commit is contained in:
parent
e3a4fbf3bd
commit
15dae610ba
|
@ -2,7 +2,9 @@ package love.distributedrebirth.bassboon;
|
||||||
|
|
||||||
import java.lang.reflect.InvocationTargetException;
|
import java.lang.reflect.InvocationTargetException;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
import java.util.Collections;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.WeakHashMap;
|
import java.util.WeakHashMap;
|
||||||
import java.util.concurrent.locks.Lock;
|
import java.util.concurrent.locks.Lock;
|
||||||
|
@ -10,7 +12,6 @@ import java.util.concurrent.locks.ReadWriteLock;
|
||||||
import java.util.concurrent.locks.ReentrantReadWriteLock;
|
import java.util.concurrent.locks.ReentrantReadWriteLock;
|
||||||
|
|
||||||
import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注;
|
import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注;
|
||||||
import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnPirateLoader;
|
|
||||||
import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnꝐŕḯṿª₮ḕ;
|
import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnꝐŕḯṿª₮ḕ;
|
||||||
import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnꝐŕḯṿª₮ḕ響ᴼᶠ;
|
import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnꝐŕḯṿª₮ḕ響ᴼᶠ;
|
||||||
import love.distributedrebirth.bassboon.death.BãßBȍőnCoffin;
|
import love.distributedrebirth.bassboon.death.BãßBȍőnCoffin;
|
||||||
|
@ -19,6 +20,7 @@ import love.distributedrebirth.bassboon.death.BãßBȍőnCoffinGhost;
|
||||||
import love.distributedrebirth.bassboon.death.BãßBȍőnCoffinGhostSpell;
|
import love.distributedrebirth.bassboon.death.BãßBȍőnCoffinGhostSpell;
|
||||||
import love.distributedrebirth.bassboon.death.BãßBȍőnCoffinGhostSpellLock;
|
import love.distributedrebirth.bassboon.death.BãßBȍőnCoffinGhostSpellLock;
|
||||||
import love.distributedrebirth.bassboon.death.spider.BãßBȍőnSpider;
|
import love.distributedrebirth.bassboon.death.spider.BãßBȍőnSpider;
|
||||||
|
import love.distributedrebirth.bassboon.death.spider.BãßBȍőnSpiderSperm;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Runtime for static bass noise.
|
* Runtime for static bass noise.
|
||||||
|
@ -32,6 +34,8 @@ public interface Bãß {
|
||||||
static enum 石棺ʸᴰ {
|
static enum 石棺ʸᴰ {
|
||||||
ײاللهזأَكْبَرײ;
|
ײاللهזأَكْبَرײ;
|
||||||
private final Map<Object, BȍőnGrave> יְרוּשָׁלַיִם = new WeakHashMap<>();
|
private final Map<Object, BȍőnGrave> יְרוּשָׁלַיִם = new WeakHashMap<>();
|
||||||
|
private final List<BãßBȍőnSpiderSperm> സ്പൈഡർബീജം = Collections.synchronizedList(new ArrayList<>());
|
||||||
|
private final 𝔅𝔬𝔫𝔢𝔏𝔬𝔞𝔡𝔢𝔯ʸᴰ 𝔪𝔬𝔬𝔫𝔖𝔭𝔢𝔩𝔩𝔚𝔬𝔯𝔨 = Bãß.характеристики.熱蘭遮城.ןיװיזױױדודזיןןןזךױזזז();
|
||||||
private final ReadWriteLock 魎 = new ReentrantReadWriteLock(); // Mononoke Lock
|
private final ReadWriteLock 魎 = new ReentrantReadWriteLock(); // Mononoke Lock
|
||||||
private final Lock 魎_BIBLE = 魎.readLock();
|
private final Lock 魎_BIBLE = 魎.readLock();
|
||||||
private final Lock 魎_SHEMIRA = 魎.writeLock();
|
private final Lock 魎_SHEMIRA = 魎.writeLock();
|
||||||
|
@ -45,31 +49,38 @@ public interface Bãß {
|
||||||
/**
|
/**
|
||||||
* RÅ...........Init
|
* RÅ...........Init
|
||||||
*/
|
*/
|
||||||
public final <T extends BãßBȍőnʸᴰ<T>> void 𓂀ױןייזדזיודזיןןזזזןױ𓉢(BãßBȍőnʸᴰ<T> derKnochen) {
|
public <T extends BãßBȍőnʸᴰ<T>> void 𓂀ױןייזדזיודזיןןזזזןױ𓉢(BãßBȍőnʸᴰ<T> derKnochen) {
|
||||||
挖ᵀᵒ(derKnochen).init(derKnochen);
|
挖ᵀᵒ(derKnochen).init(derKnochen);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Grave Lock
|
* Grave Lock
|
||||||
*/
|
*/
|
||||||
public final <T extends BãßBȍőnʸᴰ<T>> void 墳ᴸᵒᶜᵏ(BãßBȍőnʸᴰ<T> derKnochen) {
|
public <T extends BãßBȍőnʸᴰ<T>> void 墳ᴸᵒᶜᵏ(BãßBȍőnʸᴰ<T> derKnochen) {
|
||||||
挖ᵀᵒ(derKnochen).lock(derKnochen);
|
挖ᵀᵒ(derKnochen).lock(derKnochen);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Spider Embryo Add
|
||||||
|
*/
|
||||||
|
public void 蜘蛛胚ᴬᵈᵈ(BãßBȍőnSpiderSperm spinneSperma) {
|
||||||
|
സ്പൈഡർബീജം.add(spinneSperma);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Coffin Of
|
* Coffin Of
|
||||||
*/
|
*/
|
||||||
protected final <T extends BãßBȍőnʸᴰ<T>> BãßBȍőnCoffin 棺ᴼᶠ(BãßBȍőnʸᴰ<T> derKnochen) {
|
protected <T extends BãßBȍőnʸᴰ<T>> BãßBȍőnCoffin 棺ᴼᶠ(BãßBȍőnʸᴰ<T> derKnochen) {
|
||||||
return 挖ᵀᵒ(derKnochen);
|
return 挖ᵀᵒ(derKnochen);
|
||||||
}
|
}
|
||||||
protected final <T extends BãßBȍőnʸᴰ<T>, G extends BãßBȍőnCoffinDuytschenᵗˣᵗ> G 棺ᴼᶠ(BãßBȍőnʸᴰ<T> derKnochen, Class<G> duytschen) {
|
protected <T extends BãßBȍőnʸᴰ<T>, G extends BãßBȍőnCoffinDuytschenᵗˣᵗ> G 棺ᴼᶠ(BãßBȍőnʸᴰ<T> derKnochen, Class<G> duytschen) {
|
||||||
return 挖ᵀᵒ(derKnochen).ₜₒI18Nᵗˣᵗ(duytschen);
|
return 挖ᵀᵒ(derKnochen).ₜₒI18Nᵗˣᵗ(duytschen);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Dig To
|
* Dig To
|
||||||
*/
|
*/
|
||||||
private final <T extends BãßBȍőnʸᴰ<T>> BȍőnGrave 挖ᵀᵒ(BãßBȍőnʸᴰ<T> derKnochen) {
|
private <T extends BãßBȍőnʸᴰ<T>> BȍőnGrave 挖ᵀᵒ(BãßBȍőnʸᴰ<T> derKnochen) {
|
||||||
BȍőnGrave 𓁀 = null;
|
BȍőnGrave 𓁀 = null;
|
||||||
魎_BIBLE.lock();
|
魎_BIBLE.lock();
|
||||||
try {
|
try {
|
||||||
|
@ -80,7 +91,7 @@ public interface Bãß {
|
||||||
if (𓁀 == null) {
|
if (𓁀 == null) {
|
||||||
魎_SHEMIRA.lock();
|
魎_SHEMIRA.lock();
|
||||||
try {
|
try {
|
||||||
𓁀 = new BȍőnGrave();
|
𓁀 = new BȍőnGrave(𝔪𝔬𝔬𝔫𝔖𝔭𝔢𝔩𝔩𝔚𝔬𝔯𝔨, സ്പൈഡർബീജം);
|
||||||
יְרוּשָׁלַיִם.put(derKnochen, 𓁀);
|
יְרוּשָׁלַיִם.put(derKnochen, 𓁀);
|
||||||
} finally {
|
} finally {
|
||||||
魎_SHEMIRA.unlock();
|
魎_SHEMIRA.unlock();
|
||||||
|
@ -124,11 +135,14 @@ public interface Bãß {
|
||||||
private static final class BȍőnGrave implements BãßBȍőnCoffin {
|
private static final class BȍőnGrave implements BãßBȍőnCoffin {
|
||||||
private final Map<Class<? extends BãßBȍőnCoffinDuytschenᵗˣᵗ>,BãßBȍőnCoffinDuytschenᵗˣᵗ> duytschenCoffins = new HashMap<>();
|
private final Map<Class<? extends BãßBȍőnCoffinDuytschenᵗˣᵗ>,BãßBȍőnCoffinDuytschenᵗˣᵗ> duytschenCoffins = new HashMap<>();
|
||||||
private final Map<Class<?>,BãßBȍőnCoffinGhost> ghosts = new HashMap<>();
|
private final Map<Class<?>,BãßBȍőnCoffinGhost> ghosts = new HashMap<>();
|
||||||
private final BãßBȍőnSpider spider = new BãßBȍőnSpider();
|
private final 𝔅𝔬𝔫𝔢𝔏𝔬𝔞𝔡𝔢𝔯ʸᴰ 𝔪𝔬𝔬𝔫𝔖𝔭𝔢𝔩𝔩𝔚𝔬𝔯𝔨;
|
||||||
|
private final BãßBȍőnSpider spider;
|
||||||
private boolean inited = false;
|
private boolean inited = false;
|
||||||
private boolean locked = false;
|
private boolean locked = false;
|
||||||
|
|
||||||
private BȍőnGrave() {
|
private BȍőnGrave(𝔅𝔬𝔫𝔢𝔏𝔬𝔞𝔡𝔢𝔯ʸᴰ 𝔪𝔬𝔬𝔫𝔖𝔭𝔢𝔩𝔩𝔚𝔬𝔯𝔨, List<BãßBȍőnSpiderSperm> spiderSperm) {
|
||||||
|
this.𝔪𝔬𝔬𝔫𝔖𝔭𝔢𝔩𝔩𝔚𝔬𝔯𝔨 = 𝔪𝔬𝔬𝔫𝔖𝔭𝔢𝔩𝔩𝔚𝔬𝔯𝔨;
|
||||||
|
spider = new BãßBȍőnSpider(spiderSperm);
|
||||||
BãßBȍőnCoffinDuytschenᵗˣᵗ.ײₚᵤₜI18Nᵗˣᵗײ(duytschenCoffins, this);
|
BãßBȍőnCoffinDuytschenᵗˣᵗ.ײₚᵤₜI18Nᵗˣᵗײ(duytschenCoffins, this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -136,7 +150,7 @@ public interface Bãß {
|
||||||
if (inited) {
|
if (inited) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
BãßBȍőnPirateLoader.INIT_BONE_MAGIC(derKnochen, spider, duytschenCoffins);
|
𝔪𝔬𝔬𝔫𝔖𝔭𝔢𝔩𝔩𝔚𝔬𝔯𝔨.𝔦𝔫𝔦𝔱𝔅𝔬𝔫𝔢𝔐𝔞𝔤𝔦𝔠(derKnochen, spider, duytschenCoffins);
|
||||||
inited = true;
|
inited = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -144,7 +158,7 @@ public interface Bãß {
|
||||||
if (locked) {
|
if (locked) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
BãßBȍőnPirateLoader.LOCK_BONE_MAGIC(derKnochen, spider);
|
𝔪𝔬𝔬𝔫𝔖𝔭𝔢𝔩𝔩𝔚𝔬𝔯𝔨.𝔩𝔬𝔠𝔨𝔅𝔬𝔫𝔢𝔐𝔞𝔤𝔦𝔠(derKnochen, spider);
|
||||||
for (Class<?> familyName:new ArrayList<>(ghosts.keySet())) {
|
for (Class<?> familyName:new ArrayList<>(ghosts.keySet())) {
|
||||||
BãßBȍőnCoffinGhost ghost = ghosts.get(familyName);
|
BãßBȍőnCoffinGhost ghost = ghosts.get(familyName);
|
||||||
ghosts.put(familyName, BãßBȍőnCoffinGhostSpellLock.castᴼᶠ(ghost).LOCK());
|
ghosts.put(familyName, BãßBȍőnCoffinGhostSpellLock.castᴼᶠ(ghost).LOCK());
|
||||||
|
@ -225,5 +239,59 @@ public interface Bãß {
|
||||||
// private is public ^^^
|
// private is public ^^^
|
||||||
private ℭỗᶇṧⱦᶏꬼȶʂ() {
|
private ℭỗᶇṧⱦᶏꬼȶʂ() {
|
||||||
}
|
}
|
||||||
|
// ...
|
||||||
|
// ...
|
||||||
|
// ...
|
||||||
|
}
|
||||||
|
|
||||||
|
interface 𝔅𝔬𝔫𝔢𝔏𝔬𝔞𝔡𝔢𝔯ʸᴰ {
|
||||||
|
|
||||||
|
<T extends BãßBȍőnʸᴰ<T>> void 𝔩𝔬𝔠𝔨𝔅𝔬𝔫𝔢𝔐𝔞𝔤𝔦𝔠(BãßBȍőnʸᴰ<T> boon, BãßBȍőnSpider spider);
|
||||||
|
|
||||||
|
<T extends BãßBȍőnʸᴰ<T>> void 𝔦𝔫𝔦𝔱𝔅𝔬𝔫𝔢𝔐𝔞𝔤𝔦𝔠(BãßBȍőnʸᴰ<T> boon, BãßBȍőnSpider spider, Map<Class<? extends BãßBȍőnCoffinDuytschenᵗˣᵗ>,BãßBȍőnCoffinDuytschenᵗˣᵗ> duytschenCoffins);
|
||||||
|
}
|
||||||
|
|
||||||
|
// characteristics
|
||||||
|
enum характеристики {
|
||||||
|
熱蘭遮城;
|
||||||
|
|
||||||
|
private boolean יזזןיזךױױזזױ = false;
|
||||||
|
private Class<𝔅𝔬𝔫𝔢𝔏𝔬𝔞𝔡𝔢𝔯ʸᴰ> ןיװיךזדודיזןיןןזױיזזךױױז;
|
||||||
|
|
||||||
|
protected void ױזךיךזװןיןיןןזױז() {
|
||||||
|
if (יזזןיזךױױזזױ) {
|
||||||
|
throw new װошибкаיзапускаיракетыװ("יזזןיזךױױזזױ");
|
||||||
|
}
|
||||||
|
יזזןיזךױױזזױ = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void ױזךױזזװיךז(Class<𝔅𝔬𝔫𝔢𝔏𝔬𝔞𝔡𝔢𝔯ʸᴰ> ןיװיךזדודיזןיןןזױיזזךױױז) {
|
||||||
|
if (יזזןיזךױױזזױ) {
|
||||||
|
throw new װошибкаיзапускаיракетыװ("יזזןיזךױױזזױ");
|
||||||
|
}
|
||||||
|
this.ןיװיךזדודיזןיןןזױיזזךױױז = ןיװיךזדודיזןיןןזױיזזךױױז;
|
||||||
|
}
|
||||||
|
|
||||||
|
protected 𝔅𝔬𝔫𝔢𝔏𝔬𝔞𝔡𝔢𝔯ʸᴰ ןיװיזױױדודזיןןןזךױזזז() {
|
||||||
|
if (ןיװיךזדודיזןיןןזױיזזךױױז == Bãß.ℭỗᶇṧⱦᶏꬼȶʂ.PTR_VOID) {
|
||||||
|
return new DefaultBȍőnLoader();
|
||||||
|
} else {
|
||||||
|
try {
|
||||||
|
return ןיװיךזדודיזןיןןזױיזזךױױז.getConstructor().newInstance();
|
||||||
|
} catch (InstantiationException | IllegalAccessException | IllegalArgumentException
|
||||||
|
| InvocationTargetException | NoSuchMethodException | SecurityException e) {
|
||||||
|
throw new װошибкаיзапускаיракетыװ(e);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
protected class װошибкаיзапускаיракетыװ extends RuntimeException {
|
||||||
|
private static final long serialVersionUID = Bãß.ℭỗᶇṧⱦᶏꬼȶʂ.LONG_ONE;
|
||||||
|
protected װошибкаיзапускаיракетыװ(Exception err) {
|
||||||
|
super(err);
|
||||||
|
}
|
||||||
|
protected װошибкаיзапускаיракетыװ(String msg) {
|
||||||
|
super(msg);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package love.distributedrebirth.bassboon.clazz.pirate;
|
package love.distributedrebirth.bassboon;
|
||||||
|
|
||||||
import java.lang.reflect.Field;
|
import java.lang.reflect.Field;
|
||||||
import java.lang.reflect.InvocationTargetException;
|
import java.lang.reflect.InvocationTargetException;
|
||||||
|
@ -16,8 +16,12 @@ import java.util.Set;
|
||||||
import java.util.function.Consumer;
|
import java.util.function.Consumer;
|
||||||
import java.util.function.Function;
|
import java.util.function.Function;
|
||||||
|
|
||||||
import love.distributedrebirth.bassboon.BãßBȍőnʸᴰ;
|
|
||||||
import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注;
|
import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注;
|
||||||
|
import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnPiratePhaseBarrier注;
|
||||||
|
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.clazz.pirate.BãßBȍőnꝐŕḯṿª₮ḕ響ᴼᶠ;
|
||||||
import love.distributedrebirth.bassboon.death.BãßBȍőnCoffinDuytschenᵗˣᵗ;
|
import love.distributedrebirth.bassboon.death.BãßBȍőnCoffinDuytschenᵗˣᵗ;
|
||||||
import love.distributedrebirth.bassboon.death.spider.BãßBȍőnSpider;
|
import love.distributedrebirth.bassboon.death.spider.BãßBȍőnSpider;
|
||||||
import love.distributedrebirth.bassboon.death.spider.BãßBȍőnSpiderEgg注;
|
import love.distributedrebirth.bassboon.death.spider.BãßBȍőnSpiderEgg注;
|
||||||
|
@ -25,12 +29,12 @@ import love.distributedrebirth.bassboon.death.spider.BãßBȍőnSpiderSilk;
|
||||||
import love.distributedrebirth.bassboon.death.spider.BãßBȍőnSpiderWire注;
|
import love.distributedrebirth.bassboon.death.spider.BãßBȍőnSpiderWire注;
|
||||||
|
|
||||||
@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
|
@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
|
||||||
public final class BãßBȍőnPirateLoader {
|
public final class DefaultBȍőnLoader implements Bãß.𝔅𝔬𝔫𝔢𝔏𝔬𝔞𝔡𝔢𝔯ʸᴰ {
|
||||||
|
|
||||||
private BãßBȍőnPirateLoader() {
|
protected DefaultBȍőnLoader() {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static <T extends BãßBȍőnʸᴰ<T>> void LOCK_BONE_MAGIC(BãßBȍőnʸᴰ<T> boon, BãßBȍőnSpider spider) {
|
public <T extends BãßBȍőnʸᴰ<T>> void 𝔩𝔬𝔠𝔨𝔅𝔬𝔫𝔢𝔐𝔞𝔤𝔦𝔠(BãßBȍőnʸᴰ<T> boon, BãßBȍőnSpider spider) {
|
||||||
try {
|
try {
|
||||||
List<PiratePhaseBoat<T>> filoBoats = loadPirateBoats(boon);// TODO: run from spider objects...
|
List<PiratePhaseBoat<T>> filoBoats = loadPirateBoats(boon);// TODO: run from spider objects...
|
||||||
Collections.reverse(filoBoats);
|
Collections.reverse(filoBoats);
|
||||||
|
@ -55,7 +59,7 @@ public final class BãßBȍőnPirateLoader {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public static <T extends BãßBȍőnʸᴰ<T>> void INIT_BONE_MAGIC(BãßBȍőnʸᴰ<T> boon, BãßBȍőnSpider spider, Map<Class<? extends BãßBȍőnCoffinDuytschenᵗˣᵗ>,BãßBȍőnCoffinDuytschenᵗˣᵗ> duytschenCoffins) {
|
public <T extends BãßBȍőnʸᴰ<T>> void 𝔦𝔫𝔦𝔱𝔅𝔬𝔫𝔢𝔐𝔞𝔤𝔦𝔠(BãßBȍőnʸᴰ<T> boon, BãßBȍőnSpider spider, Map<Class<? extends BãßBȍőnCoffinDuytschenᵗˣᵗ>,BãßBȍőnCoffinDuytschenᵗˣᵗ> duytschenCoffins) {
|
||||||
try {
|
try {
|
||||||
//System.out.println("INIT "+boon.getClass().getName());
|
//System.out.println("INIT "+boon.getClass().getName());
|
||||||
|
|
|
@ -3,8 +3,8 @@ package love.distributedrebirth.bassboon.clazz;
|
||||||
import java.lang.annotation.Annotation;
|
import java.lang.annotation.Annotation;
|
||||||
import java.util.LinkedHashSet;
|
import java.util.LinkedHashSet;
|
||||||
|
|
||||||
|
import love.distributedrebirth.bassboon.DefaultBȍőnLoader;
|
||||||
import love.distributedrebirth.bassboon.BãßBȍőnʸᴰ;
|
import love.distributedrebirth.bassboon.BãßBȍőnʸᴰ;
|
||||||
import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnPirateLoader;
|
|
||||||
import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnPiratePhase注;
|
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ȍőnPirateʸᴰ;
|
||||||
import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnꝐŕḯṿª₮ḕ;
|
import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnꝐŕḯṿª₮ḕ;
|
||||||
|
@ -22,7 +22,7 @@ public interface BãßBȍőnAnnotationʸᴰ<T extends BãßBȍőnʸᴰ<T>> exten
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public BãßBȍőnꝐŕḯṿª₮ḕ響ᴼᶠ.Void init() {
|
public BãßBȍőnꝐŕḯṿª₮ḕ響ᴼᶠ.Void init() {
|
||||||
for (Class<?> interfaceClass:BãßBȍőnPirateLoader.walkInterfaces(boon.getClass(), new LinkedHashSet<>())) {
|
for (Class<?> interfaceClass:DefaultBȍőnLoader.walkInterfaces(boon.getClass(), new LinkedHashSet<>())) {
|
||||||
BãßBȍőnAnnotation注 anno = interfaceClass.getAnnotation(BãßBȍőnAnnotation注.class);
|
BãßBȍőnAnnotation注 anno = interfaceClass.getAnnotation(BãßBȍőnAnnotation注.class);
|
||||||
if (anno == null) {
|
if (anno == null) {
|
||||||
continue;
|
continue;
|
||||||
|
|
|
@ -31,7 +31,7 @@ public interface BãßBȍőnPirateʸᴰ<T extends BãßBȍőnʸᴰ<T>> extends B
|
||||||
protected static final int LIFE_QUADRANT_天ᵈ = 28+29+30+31+32+33+34+35+36;
|
protected static final int LIFE_QUADRANT_天ᵈ = 28+29+30+31+32+33+34+35+36;
|
||||||
protected static final int LIFE_יהוה = LIFE_QUADRANT_仙ᵃ + LIFE_QUADRANT_上ᵇ + LIFE_QUADRANT_主ᶜ + LIFE_QUADRANT_天ᵈ;
|
protected static final int LIFE_יהוה = LIFE_QUADRANT_仙ᵃ + LIFE_QUADRANT_上ᵇ + LIFE_QUADRANT_主ᶜ + LIFE_QUADRANT_天ᵈ;
|
||||||
|
|
||||||
protected static final Class<? extends BãßBȍőnꝐŕḯṿª₮ḕ<?>> DEFAULT_PHASE = βrahmanLifeStartup.class;
|
public static final Class<? extends BãßBȍőnꝐŕḯṿª₮ḕ<?>> DEFAULT_PHASE = βrahmanLifeStartup.class;
|
||||||
|
|
||||||
private שְׁלֹמֹה() {
|
private שְׁלֹמֹה() {
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,6 +3,7 @@ package love.distributedrebirth.bassboon.death.spider;
|
||||||
import java.lang.reflect.InvocationTargetException;
|
import java.lang.reflect.InvocationTargetException;
|
||||||
import java.lang.reflect.Method;
|
import java.lang.reflect.Method;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
import love.distributedrebirth.bassboon.BãßBȍőnʸᴰ;
|
import love.distributedrebirth.bassboon.BãßBȍőnʸᴰ;
|
||||||
|
@ -13,8 +14,10 @@ import love.distributedrebirth.bassboon.clazz.pirate.BãßBȍőnꝐŕḯṿª₮
|
||||||
public class BãßBȍőnSpider {
|
public class BãßBȍőnSpider {
|
||||||
|
|
||||||
private final Map<Class<?>, BãßBȍőnSpiderSilk> spiderWeb = new HashMap<>();
|
private final Map<Class<?>, BãßBȍőnSpiderSilk> spiderWeb = new HashMap<>();
|
||||||
|
private final List<BãßBȍőnSpiderSperm> spiderSperm;
|
||||||
|
|
||||||
public BãßBȍőnSpider() {
|
public BãßBȍőnSpider(List<BãßBȍőnSpiderSperm> spiderSperm) {
|
||||||
|
this.spiderSperm = spiderSperm;
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean hasEggType(Class<?> eggType) {
|
public boolean hasEggType(Class<?> eggType) {
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
package love.distributedrebirth.bassboon.death.spider;
|
||||||
|
|
||||||
|
import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注;
|
||||||
|
|
||||||
|
@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
|
||||||
|
public interface BãßBȍőnSpiderSperm {
|
||||||
|
|
||||||
|
Object locateBean(Class<?> beanType);
|
||||||
|
}
|
Loading…
Reference in a new issue