Searched refs:linkedBinding (Results 1 – 3 of 3) sorted by relevance
98 LinkedBindingImpl<?> linkedBinding = (LinkedBindingImpl) binding; in isSingleton() local99 Injector injector = linkedBinding.getInjector(); in isSingleton()101 binding = injector.getBinding(linkedBinding.getLinkedKey()); in isSingleton()155 LinkedBindingImpl<?> linkedBinding = (LinkedBindingImpl) binding; in isScoped() local156 Injector injector = linkedBinding.getInjector(); in isScoped()158 binding = injector.getBinding(linkedBinding.getLinkedKey()); in isScoped()
231 Key<?> linkedBinding = ((LinkedBindingImpl<?>) binding).getLinkedKey(); in isEagerSingleton() local232 return isEagerSingleton(injector, injector.getBinding(linkedBinding), stage); in isEagerSingleton()
543 LinkedKeyBinding<?> linkedBinding = null; in testMultibinderDependenciesInToolStage() local560 if(linkedBinding != null) { in testMultibinderDependenciesInToolStage()561 … fail("Already have a linked binding of: " + linkedBinding + ", and now want to add: " + b); in testMultibinderDependenciesInToolStage()563 linkedBinding = (LinkedKeyBinding)b; in testMultibinderDependenciesInToolStage()571 assertNotNull(linkedBinding); in testMultibinderDependenciesInToolStage()574 assertEquals(Key.get(String.class, Names.named("b")), linkedBinding.getLinkedKey()); in testMultibinderDependenciesInToolStage()