Searched refs:childInjector (Results 1 – 4 of 4) sorted by relevance
242 Injector childInjector = parent.createChildInjector(new AbstractModule() { in testErrorInParentButOkayInChild() local248 Object one = childInjector.getInstance(Object.class); in testErrorInParentButOkayInChild()249 Object two = childInjector.getInstance(Object.class); in testErrorInParentButOkayInChild()255 Injector childInjector = parent.createChildInjector(); in testErrorInParentAndChild() local258 childInjector.getInstance(G.class); in testErrorInParentAndChild()
344 Injector childInjector = parentInjector.createChildInjector(new AbstractModule() { in testWeakKeySet_integration() local349 WeakReference<Injector> weakRef = new WeakReference<Injector>(childInjector); in testWeakKeySet_integration()353 childInjector = null; in testWeakKeySet_integration()
1016 Injector childInjector = parentInjector.createChildInjector(new AbstractModule() { in testWeakKeySet_integration_mapbinder() local1023 WeakReference<Injector> weakRef = new WeakReference<Injector>(childInjector); in testWeakKeySet_integration_mapbinder()1027 childInjector = null; in testWeakKeySet_integration_mapbinder()
1196 Injector childInjector = parentInjector.createChildInjector(new AbstractModule() { in testWeakKeySet_integration() local1201 WeakReference<Injector> weakRef = new WeakReference<Injector>(childInjector); in testWeakKeySet_integration()1205 childInjector = null; in testWeakKeySet_integration()