Home
last modified time | relevance | path

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

/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()
104 public Boolean visit(ProviderInstanceBinding<? extends T> binding) { in visit()
115 injector.provisionListenerStore.get((ProviderInstanceBinding<T>)binding)); in visit()
DProviderInstanceBindingImpl.java28 import com.google.inject.spi.ProviderInstanceBinding;
35 implements ProviderInstanceBinding<T> {
101 return Objects.toStringHelper(ProviderInstanceBinding.class) in toString()
DInternalFactoryToInitializableAdapter.java22 import com.google.inject.spi.ProviderInstanceBinding;
DProviderMethod.java33 import com.google.inject.spi.ProviderInstanceBinding;
193 ProviderInstanceBinding<? extends B> binding) { in acceptExtensionVisitor()
/external/guice/core/test/com/google/inject/spi/
DHasDependenciesTest.java71 ProviderInstanceBinding<?> binding = (ProviderInstanceBinding<?>) injector.getBinding(A.class); in testProvider()
DSpiBindingsTest.java115 assertTrue(binding instanceof ProviderInstanceBinding); in testToProviderBinding()
120 ProviderInstanceBinding<? extends T> binding) { in testToProviderBinding()
361 ProviderInstanceBinding<? extends B> binding) { in testExtensionSpi()
400 assertTrue(binding instanceof ProviderInstanceBinding); in testExtensionSpi()
DProviderMethodsTest.java338 ProviderInstanceBinding<?> binding = (ProviderInstanceBinding<?>) injector.getBinding(
373 element instanceof ProviderInstanceBinding);
375 ProviderInstanceBinding binding = (ProviderInstanceBinding) element;
DElementsTest.java402 assertTrue(command instanceof ProviderInstanceBinding); in testBindToProvider()
406 ProviderInstanceBinding<? extends T> binding) { in testBindToProvider()
418 assertTrue(command instanceof ProviderInstanceBinding); in testBindToProvider()
422 ProviderInstanceBinding<? extends T> binding) { in testBindToProvider()
436 assertTrue(command instanceof ProviderInstanceBinding); in testBindToProvider()
440 ProviderInstanceBinding<? extends T> binding) { in testBindToProvider()
/external/guice/extensions/grapher/src/com/google/inject/grapher/
DTransitiveDependencyVisitor.java31 import com.google.inject.spi.ProviderInstanceBinding;
78 @Override public Collection<Key<?>> visit(ProviderInstanceBinding<?> binding) { in visit()
DDefaultNodeCreator.java28 import com.google.inject.spi.ProviderInstanceBinding;
122 @Override public Collection<Node> visit(ProviderInstanceBinding<?> binding) { in visit()
DDefaultEdgeCreator.java30 import com.google.inject.spi.ProviderInstanceBinding;
133 @Override 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;
69 ProviderInstanceBinding<? extends B> binding) { in acceptExtensionVisitor()
DServletDefinition.java25 import com.google.inject.spi.ProviderInstanceBinding;
79 ProviderInstanceBinding<? extends B> binding) { in acceptExtensionVisitor()
/external/guice/extensions/grapher/test/com/google/inject/grapher/
DShortNameFactoryTest.java33 import com.google.inject.spi.ProviderInstanceBinding;
159 public Void visit(ProviderInstanceBinding<?> binding) { in testGetInstanceName_providerMethod()
DTransitiveDependencyVisitorTest.java36 import com.google.inject.spi.ProviderInstanceBinding;
114 (ProviderInstanceBinding<?>) binding); in testVisitProviderInstance()
/external/guice/core/src/com/google/inject/spi/
DProviderWithExtensionVisitor.java60 ProviderInstanceBinding<? extends B> binding); in acceptExtensionVisitor()
DProviderInstanceBinding.java31 public interface ProviderInstanceBinding<T> extends Binding<T>, HasDependencies { interface
DBindingTargetVisitor.java38 V visit(ProviderInstanceBinding<? extends T> binding); in visit()
DDefaultBindingTargetVisitor.java44 public V visit(ProviderInstanceBinding<? extends T> providerInstanceBinding) { in visit()
/external/guice/extensions/multibindings/src/com/google/inject/multibindings/
DOptionalBinder.java40 import com.google.inject.spi.ProviderInstanceBinding;
434 ProviderInstanceBinding binding) { in acceptExtensionVisitor()
585 ProviderInstanceBinding<? extends B> binding) { in acceptExtensionVisitor()
660 && element instanceof ProviderInstanceBinding in matchesTypeKey()
661 && (((ProviderInstanceBinding) element) in matchesTypeKey()
DIndexer.java33 import com.google.inject.spi.ProviderInstanceBinding;
138 @Override public Indexer.IndexedBinding visit(ProviderInstanceBinding<? extends Object> binding) { in visit()
DMultibinder.java47 import com.google.inject.spi.ProviderInstanceBinding;
390 ProviderInstanceBinding<? extends B> binding) { in acceptExtensionVisitor()
DMapBinder.java54 import com.google.inject.spi.ProviderInstanceBinding;
569 ProviderInstanceBinding<? extends B> binding) { in acceptExtensionVisitor()
/external/guice/extensions/multibindings/test/com/google/inject/multibindings/
DSpiUtils.java69 import com.google.inject.spi.ProviderInstanceBinding;
223 if (b instanceof ProviderInstanceBinding) { in mapInjectorTest()
224 ProviderInstanceBinding<?> pib = (ProviderInstanceBinding<?>)b; in mapInjectorTest()
314 if (b instanceof ProviderInstanceBinding) { in mapModuleTest()
315 ProviderInstanceBinding<?> pb = (ProviderInstanceBinding<?>) b; in mapModuleTest()
1036 if (item instanceof ProviderInstanceBinding in matches()
1037 && Objects.equal(((ProviderInstanceBinding) item).getUserSuppliedProvider().get(), in matches()
/external/guice/extensions/assistedinject/src/com/google/inject/assistedinject/
DFactoryProvider2.java54 import com.google.inject.spi.ProviderInstanceBinding;
419 ProviderInstanceBinding<? extends T> binding) { in acceptExtensionVisitor()