Home
last modified time | relevance | path

Searched refs:ProviderInstanceBinding (Results 1 – 25 of 26) sorted by relevance

12

/external/guice/core/src/com/google/inject/internal/
DBindingProcessor.java31 import com.google.inject.spi.ProviderInstanceBinding;
55 if (command instanceof ProviderInstanceBinding in visit()
56 && ((ProviderInstanceBinding) command).getUserSuppliedProvider() in visit()
115 public Boolean visit(ProviderInstanceBinding<? extends T> binding) { in visit()
134 injector.provisionListenerStore.get((ProviderInstanceBinding<T>) binding)); in visit()
DProviderInstanceBindingImpl.java29 import com.google.inject.spi.ProviderInstanceBinding;
34 class ProviderInstanceBindingImpl<T> extends BindingImpl<T> implements ProviderInstanceBinding<T> {
116 return MoreObjects.toStringHelper(ProviderInstanceBinding.class) in toString()
DIndexer.java33 import com.google.inject.spi.ProviderInstanceBinding;
153 public Indexer.IndexedBinding visit(ProviderInstanceBinding<? extends Object> binding) { in visit()
DRealOptionalBinder.java43 import com.google.inject.spi.ProviderInstanceBinding;
350 BindingTargetVisitor visitor, ProviderInstanceBinding binding) { in acceptExtensionVisitor()
542 BindingTargetVisitor<B, R> visitor, ProviderInstanceBinding<? extends B> binding) { in acceptExtensionVisitor()
708 if (element instanceof ProviderInstanceBinding) { in containsElement()
710 ((ProviderInstanceBinding<?>) element).getUserSuppliedProvider(); in containsElement()
DInternalFactoryToInitializableAdapter.java22 import com.google.inject.spi.ProviderInstanceBinding;
DProviderMethod.java31 import com.google.inject.spi.ProviderInstanceBinding;
198 BindingTargetVisitor<B, V> visitor, ProviderInstanceBinding<? extends B> binding) { in acceptExtensionVisitor()
DRealMapBinder.java38 import com.google.inject.spi.ProviderInstanceBinding;
439 ProviderInstanceBinding<ProviderMapEntry<K, V>> entryBinding = in tryInitialize()
440 (ProviderInstanceBinding) binding; in tryInitialize()
816 BindingTargetVisitor<B, W> visitor, ProviderInstanceBinding<? extends B> binding) { in acceptExtensionVisitor()
872 if (element instanceof ProviderInstanceBinding in getEntries()
876 ProviderInstanceBinding<Map.Entry<K, Provider<V>>> entryBinding = in getEntries()
877 (ProviderInstanceBinding) element; in getEntries()
1306 ProviderInstanceBinding<Map<K, V>> providerInstanceBinding = in initialize()
1307 (ProviderInstanceBinding<Map<K, V>>) mapBinding; in initialize()
DRealMultibinder.java27 import com.google.inject.spi.ProviderInstanceBinding;
220 BindingTargetVisitor<B, V> visitor, ProviderInstanceBinding<? extends B> binding) { in acceptExtensionVisitor()
/external/guice/core/test/com/google/inject/spi/
DHasDependenciesTest.java75 ProviderInstanceBinding<?> binding = (ProviderInstanceBinding<?>) injector.getBinding(A.class); in testProvider()
DProviderMethodsTest.java370 ProviderInstanceBinding<?> binding =
371 (ProviderInstanceBinding<?>)
413 element instanceof ProviderInstanceBinding);
415 ProviderInstanceBinding binding = (ProviderInstanceBinding) element;
1035 ProviderInstanceBinding injectorBinding =
1036 (ProviderInstanceBinding) injector.getBinding(Integer.class);
1039 ProviderInstanceBinding moduleBinding =
1040 (ProviderInstanceBinding) Iterables.getOnlyElement(Elements.getElements(module));
DSpiBindingsTest.java116 assertTrue(binding instanceof ProviderInstanceBinding); in testToProviderBinding()
122 public Void visit(ProviderInstanceBinding<? extends T> binding) { in testToProviderBinding()
398 ProviderInstanceBinding<? extends B> binding) { in testExtensionSpi()
442 assertTrue(binding instanceof ProviderInstanceBinding); in testExtensionSpi()
DElementsTest.java415 assertTrue(command instanceof ProviderInstanceBinding); in testBindToProvider()
420 public Void visit(ProviderInstanceBinding<? extends T> binding) { in testBindToProvider()
432 assertTrue(command instanceof ProviderInstanceBinding); in testBindToProvider()
437 public Void visit(ProviderInstanceBinding<? extends T> binding) { in testBindToProvider()
451 assertTrue(command instanceof ProviderInstanceBinding); in testBindToProvider()
456 public Void visit(ProviderInstanceBinding<? extends T> binding) { in testBindToProvider()
/external/guice/extensions/grapher/src/com/google/inject/grapher/
DTransitiveDependencyVisitor.java31 import com.google.inject.spi.ProviderInstanceBinding;
82 public Collection<Key<?>> visit(ProviderInstanceBinding<?> binding) { in visit()
DDefaultNodeCreator.java28 import com.google.inject.spi.ProviderInstanceBinding;
125 public Collection<Node> visit(ProviderInstanceBinding<?> binding) { in visit()
DDefaultEdgeCreator.java30 import com.google.inject.spi.ProviderInstanceBinding;
148 public Collection<Edge> visit(ProviderInstanceBinding<?> binding) { in visit()
/external/guice/extensions/servlet/src/com/google/inject/servlet/
DFilterDefinition.java23 import com.google.inject.spi.ProviderInstanceBinding;
70 BindingTargetVisitor<B, V> visitor, ProviderInstanceBinding<? extends B> binding) { in acceptExtensionVisitor()
DServletDefinition.java25 import com.google.inject.spi.ProviderInstanceBinding;
80 BindingTargetVisitor<B, V> visitor, ProviderInstanceBinding<? extends B> binding) { in acceptExtensionVisitor()
/external/guice/extensions/grapher/test/com/google/inject/grapher/
DShortNameFactoryTest.java34 import com.google.inject.spi.ProviderInstanceBinding;
179 public Void visit(ProviderInstanceBinding<?> binding) { in testGetInstanceName_providerMethod()
DTransitiveDependencyVisitorTest.java36 import com.google.inject.spi.ProviderInstanceBinding;
107 Collection<Key<?>> dependencies = visitor.visit((ProviderInstanceBinding<?>) binding); in testVisitProviderInstance()
/external/guice/core/src/com/google/inject/spi/
DProviderWithExtensionVisitor.java57 BindingTargetVisitor<B, V> visitor, ProviderInstanceBinding<? extends B> binding); in acceptExtensionVisitor()
DProviderInstanceBinding.java30 public interface ProviderInstanceBinding<T> extends Binding<T>, HasDependencies { interface
DBindingTargetVisitor.java38 V visit(ProviderInstanceBinding<? extends T> binding); in visit()
DDefaultBindingTargetVisitor.java43 public V visit(ProviderInstanceBinding<? extends T> providerInstanceBinding) { in visit()
/external/guice/core/test/com/google/inject/internal/
DSpiUtils.java73 import com.google.inject.spi.ProviderInstanceBinding;
269 if (b instanceof ProviderInstanceBinding) { in mapInjectorTest()
270 ProviderInstanceBinding<?> pib = (ProviderInstanceBinding<?>) b; in mapInjectorTest()
412 if (b instanceof ProviderInstanceBinding) { in mapModuleTest()
413 ProviderInstanceBinding<?> pb = (ProviderInstanceBinding<?>) b; in mapModuleTest()
1226 if (item instanceof ProviderInstanceBinding in matches()
1228 ((ProviderInstanceBinding) item).getUserSuppliedProvider().get(), in matches()
/external/guice/extensions/assistedinject/src/com/google/inject/assistedinject/
DFactoryProvider2.java55 import com.google.inject.spi.ProviderInstanceBinding;
462 BindingTargetVisitor<T, V> visitor, ProviderInstanceBinding<? extends T> binding) { in acceptExtensionVisitor()

12