if (injector == null) {
stateBeforeInjectorCreation = GlobalRegistries.makeCopyOfGlobalState();
this.injector = new CoopIIIStandaloneSetup() {
@Override
public Injector createInjector() {
return Guice.createInjector(new CoopIIIRuntimeModule() {
@Override
public ClassLoader bindClassLoaderToInstance() {
return InjectorProviderCustom.class
.getClassLoader();
}