Searched refs:BoundAsSingleton (Results 1 – 4 of 4) sorted by relevance
27 @interface BoundAsSingleton {} annotation
25 @BoundAsSingleton UnscopedType unscopedTypeBoundAsSingleton) { in RequiresSingletons()
42 @Provides @Singleton @BoundAsSingleton UnscopedType provideUnscopedTypeBoundAsSingleton(
64 bind(BoundAsSingleton.class).in(Scopes.SINGLETON);77 BoundAsSingleton.nextInstanceId = 0; in setUp()91 injector.getInstance(BoundAsSingleton.class), in testSingletons()92 injector.getInstance(BoundAsSingleton.class)); in testSingletons()248 assertEquals(1, BoundAsSingleton.nextInstanceId); in testSingletonsInProductionStage()259 assertEquals(0, BoundAsSingleton.nextInstanceId); in testSingletonsInDevelopmentStage()459 static class BoundAsSingleton { class in ScopesTest