gdxapp4d/lib-bassboonyd/src/main/love/distributedrebirth/bassboonyd/DefaultInitMethodʸᴰ.java
2022-02-07 00:24:55 +01:00

21 lines
526 B
Java

package love.distributedrebirth.bassboonyd;
import java.lang.reflect.Method;
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
@BãßBȍőnAnnotationInfoʸᴰ(required = {})
public interface DefaultInitMethodʸᴰ {
default void BOON_INIT(Object boon) {
try {
for (Method m:boon.getClass().getMethods()) {
if (m.isAnnotationPresent(BãßBȍőnInitMethodʸᴰ.class)) {
m.invoke(boon, this);
}
}
} catch (Exception e) {
throw new RuntimeException(e);
}
}
}