Searched refs:AnnotatedSingleton (Results 1 – 1 of 1) sorted by relevance
65 bind(AnnotatedSingleton.class);76 AnnotatedSingleton.nextInstanceId = 0; in setUp()95 injector.getInstance(AnnotatedSingleton.class), in testSingletons()96 injector.getInstance(AnnotatedSingleton.class)); in testSingletons()127 injector.getInstance(AnnotatedSingleton.class), in testJustInTimeAnnotatedSingleton()128 injector.getInstance(AnnotatedSingleton.class)); in testJustInTimeAnnotatedSingleton()133 Guice.createInjector().getInstance(AnnotatedSingleton.class), in testSingletonIsPerInjector()134 Guice.createInjector().getInstance(AnnotatedSingleton.class)); in testSingletonIsPerInjector()140 bind(AnnotatedSingleton.class).in(Scopes.NO_SCOPE); in testOverriddingAnnotation()145 injector.getInstance(AnnotatedSingleton.class), in testOverriddingAnnotation()[all …]