Home
last modified time | relevance | path

Searched refs:providerBinding (Results 1 – 4 of 4) sorted by relevance

/external/guice/core/src/com/google/inject/internal/
DProvidedByInternalFactory.java39 private BindingImpl<? extends Provider<T>> providerBinding; field in ProvidedByInternalFactory
57 providerBinding = in initialize()
63 checkState(providerBinding != null, "not initialized"); in get()
65 context.pushState(providerKey, providerBinding.getSource()); in get()
68 Provider<? extends T> provider = providerBinding.getInternalFactory().get( in get()
/external/guice/core/src/com/google/inject/spi/
DDefaultBindingTargetVisitor.java73 public V visit(ProviderBinding<? extends T> providerBinding) { in visit() argument
75 return visitOther((Binding<? extends T>) (Binding) providerBinding); in visit()
/external/guice/core/test/com/google/inject/spi/
DSpiBindingsTest.java385 Binding<Provider<String>> providerBinding = injector.getBinding(providerOfStringKey); in testExtensionSpi() local
386 assertEquals(providerOfStringKey, providerBinding.getKey()); in testExtensionSpi()
387 checkBindingSource(providerBinding); in testExtensionSpi()
388 assertTrue("binding: " + providerBinding, providerBinding instanceof ProviderBinding); in testExtensionSpi()
389 providerBinding.acceptTargetVisitor(new FailingTargetVisitor<Provider<String>>() { in testExtensionSpi()
/external/guice/extensions/multibindings/test/com/google/inject/multibindings/
DMultibinderTest.java1197 HasDependencies providerBinding = in testMultibindingProviderDependencies() local
1210 assertEquals(expected, providerBinding.getDependencies()); in testMultibindingProviderDependencies()