packages.add("org.jboss.errai.ioc.client.api.builtin");
MockIOCGenerator mockIOCGenerator = new MockIOCGenerator(packages);
Class<? extends Bootstrapper> cls = mockIOCGenerator.generate();
Bootstrapper bs = cls.newInstance();
long tm = System.currentTimeMillis();
new IOCBeanManagerLifecycle().resetBeanManager();
BootstrapperInjectionContext ctx = bs.bootstrapContainer();
ctx.getRootContext().finish();
System.out.println("bootstrapped simulated container in " + (System.currentTimeMillis() - tm) + "ms");
}
catch (GenerationException e) {