Searched refs:OverrideModule (Results 1 – 3 of 3) sorted by relevance
55 static class OverrideModule { class in DoubleCheckCycleTest71 @Component(modules = OverrideModule.class)85 new OverrideModule() { in testNonReentrant()110 new OverrideModule() { in testReentrant()138 new OverrideModule() { in testFailingReentrant()171 new OverrideModule() { in testGetFromMultipleThreads()
157 return new OverrideModule(overrides, baseModules); in with()161 static class OverrideModule extends AbstractModule { class in Modules165 OverrideModule(Iterable<? extends Module> overrides, ImmutableSet<Module> baseModules) { in OverrideModule() method in Modules.OverrideModule
231 Modules.OverrideModule.class, in testOverridesTwiceFails()236 Modules.OverrideModule.class, in testOverridesTwiceFails()271 asModuleChain(Modules.OverrideModule.class, replacements.getClass()), in testOverridesDoesntFixTwiceBoundInOriginal()273 asModuleChain(Modules.OverrideModule.class, original.getClass())); in testOverridesDoesntFixTwiceBoundInOriginal()402 asModuleChain(Modules.OverrideModule.class, replacements.getClass())); in testFailsIfOverridenScopeInstanceHasBeenUsed()