Home
last modified time | relevance | path

Searched refs:linkedBinding (Results 1 – 3 of 3) sorted by relevance

/external/guice/core/src/com/google/inject/
DScopes.java98 LinkedBindingImpl<?> linkedBinding = (LinkedBindingImpl) binding; in isSingleton() local
99 Injector injector = linkedBinding.getInjector(); in isSingleton()
101 binding = injector.getBinding(linkedBinding.getLinkedKey()); in isSingleton()
155 LinkedBindingImpl<?> linkedBinding = (LinkedBindingImpl) binding; in isScoped() local
156 Injector injector = linkedBinding.getInjector(); in isScoped()
158 binding = injector.getBinding(linkedBinding.getLinkedKey()); in isScoped()
/external/guice/core/src/com/google/inject/internal/
DInternalInjectorCreator.java231 Key<?> linkedBinding = ((LinkedBindingImpl<?>) binding).getLinkedKey(); in isEagerSingleton() local
232 return isEagerSingleton(injector, injector.getBinding(linkedBinding), stage); in isEagerSingleton()
/external/guice/extensions/multibindings/test/com/google/inject/multibindings/
DMultibinderTest.java543 LinkedKeyBinding<?> linkedBinding = null; in testMultibinderDependenciesInToolStage() local
560 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()