Home
last modified time | relevance | path

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

12

/external/guice/core/test/com/google/inject/spi/
DSpiBindingsTest.java83 binding.acceptTargetVisitor( in testToInstanceBinding()
119 binding.acceptTargetVisitor( in testToProviderBinding()
146 binding.acceptTargetVisitor( in testToProviderKeyBinding()
177 binding.acceptTargetVisitor( in testToKeyBinding()
211 binding.acceptTargetVisitor( in testToConstructorBinding()
240 binding.acceptTargetVisitor( in testConstantBinding()
267 binding.acceptTargetVisitor( in testConvertedConstantBinding()
293 binding.acceptTargetVisitor( in testProviderBinding()
429 providerBinding.acceptTargetVisitor( in testExtensionSpi()
443 assertEquals("visited", binding.acceptTargetVisitor(new FailingSpiTargetVisitor<String>())); in testExtensionSpi()
DElementsTest.java152 return binding.acceptTargetVisitor(Elements.<T>getInstanceVisitor()); in getInstance()
417 command.acceptTargetVisitor( in testBindToProvider()
434 command.acceptTargetVisitor( in testBindToProvider()
453 command.acceptTargetVisitor( in testBindToProvider()
478 command.acceptTargetVisitor( in testBindToProvider()
494 command.acceptTargetVisitor( in testBindToProvider()
510 command.acceptTargetVisitor( in testBindToProvider()
538 command.acceptTargetVisitor( in testBindToLinkedBinding()
554 command.acceptTargetVisitor( in testBindToLinkedBinding()
572 command.acceptTargetVisitor( in testBindToLinkedBinding()
[all …]
DBindingTargetVisitorTest.java32 binding.acceptTargetVisitor(new DefaultBindingTargetVisitor<Object, Object>() {}); in testBindingTargetVisitorTypeTest()
DModuleRewriterTest.java58 T target = binding.acceptTargetVisitor(Elements.<T>getInstanceVisitor()); in testRewriteBindings()
DProviderMethodsTest.java491 stringBinding.acceptTargetVisitor(new BindingCapturer<String>());
501 intBinding.acceptTargetVisitor(new BindingCapturer<Integer>());
/external/guice/core/test/com/google/inject/internal/
DSpiUtils.java156 MapBinderBinding<T> mapbinder = (MapBinderBinding<T>) mapBinding.acceptTargetVisitor(visitor); in mapInjectorTest()
226 Object visited = b.acceptTargetVisitor(visitor); in mapInjectorTest()
258 assertTrue(b.acceptTargetVisitor(visitor) instanceof MultibinderBinding); in mapInjectorTest()
277 && !indexedEntries.put(pme.getKey(), valueBinding.acceptTargetVisitor(indexer))) { in mapInjectorTest()
331 mapbinder = (MapBinderBinding<T>) ((Binding<T>) binding).acceptTargetVisitor(visitor); in mapModuleTest()
420 && !indexedEntries.put(pme.getKey(), valueBinding.acceptTargetVisitor(indexer))) { in mapModuleTest()
427 Object visited = b.acceptTargetVisitor(visitor); in mapModuleTest()
475 assertTrue(b.acceptTargetVisitor(visitor) instanceof MultibinderBinding); in mapModuleTest()
577 (MultibinderBinding<Set<T>>) binding.acceptTargetVisitor(visitor); in setInjectorTest()
611 setOfIndexed.add(oneBinding.acceptTargetVisitor(indexer)); in setInjectorTest()
[all …]
DMultibinderTest.java1358 mapbinding.acceptTargetVisitor(collector); in testSetAndMapValueAreDistinctInSpi()
1362 setbinding.acceptTargetVisitor(collector); in testSetAndMapValueAreDistinctInSpi()
1366 optionalbinding.acceptTargetVisitor(collector); in testSetAndMapValueAreDistinctInSpi()
/external/guice/core/src/com/google/inject/
DBinding.java78 <V> V acceptTargetVisitor(BindingTargetVisitor<? super T, V> visitor); in acceptTargetVisitor() method
/external/guice/core/src/com/google/inject/internal/
DUntargettedBindingProcessor.java35 return binding.acceptTargetVisitor( in visit()
DExposedBindingImpl.java45 public <V> V acceptTargetVisitor(BindingTargetVisitor<? super T, V> visitor) { in acceptTargetVisitor() method in ExposedBindingImpl
DUntargettedBindingImpl.java48 public <V> V acceptTargetVisitor(BindingTargetVisitor<? super T, V> visitor) { in acceptTargetVisitor() method in UntargettedBindingImpl
DLinkedBindingImpl.java52 public <V> V acceptTargetVisitor(BindingTargetVisitor<? super T, V> visitor) { in acceptTargetVisitor() method in LinkedBindingImpl
DInstanceBindingImpl.java56 public <V> V acceptTargetVisitor(BindingTargetVisitor<? super T, V> visitor) { in acceptTargetVisitor() method in InstanceBindingImpl
DProviderInstanceBindingImpl.java65 public <V> V acceptTargetVisitor(BindingTargetVisitor<? super T, V> visitor) { in acceptTargetVisitor() method in ProviderInstanceBindingImpl
DLinkedProviderBindingImpl.java82 public <V> V acceptTargetVisitor(BindingTargetVisitor<? super T, V> visitor) { in acceptTargetVisitor() method in LinkedProviderBindingImpl
DBindingProcessor.java70 return command.acceptTargetVisitor( in visit()
DConstructorBindingImpl.java194 public <V> V acceptTargetVisitor(BindingTargetVisitor<? super T, V> visitor) { in acceptTargetVisitor() method in ConstructorBindingImpl
DInjectorImpl.java392 public <V> V acceptTargetVisitor(BindingTargetVisitor<? super Provider<T>, V> visitor) { in acceptTargetVisitor() method
523 public <V> V acceptTargetVisitor(BindingTargetVisitor<? super T, V> visitor) {
/external/guice/extensions/assistedinject/test/com/google/inject/assistedinject/
DExtensionSpiTest.java56 assertEquals(count++, ((Binding<?>) element).acceptTargetVisitor(visitor)); in testSpiOnElements()
67 assertEquals(count++, binding.acceptTargetVisitor(visitor)); in testSpiOnVisitor()
/external/guice/extensions/servlet/test/com/google/inject/servlet/
DServletModuleTest.java57 binding.acceptTargetVisitor(visitor); in testServletModuleReuse()
DExtensionSpiTest.java58 assertEquals(count++, ((Binding) element).acceptTargetVisitor(visitor)); in testSpiOnElements()
69 assertEquals(count++, binding.acceptTargetVisitor(visitor)); in testSpiOnInjector()
/external/guice/extensions/grapher/src/com/google/inject/grapher/
DDefaultNodeCreator.java44 nodes.addAll(binding.acceptTargetVisitor(visitor)); in getNodes()
DDefaultEdgeCreator.java47 edges.addAll(binding.acceptTargetVisitor(visitor)); in getEdges()
DAbstractInjectorGrapher.java226 keys.addAll(binding.acceptTargetVisitor(keyVisitor)); in getBindings()
/external/guice/extensions/grapher/test/com/google/inject/grapher/
DShortNameFactoryTest.java175 .acceptTargetVisitor( in testGetInstanceName_providerMethod()

12