/external/guice/core/test/com/google/inject/spi/ |
D | SpiBindingsTest.java | 86 binding.acceptTargetVisitor(new FailingTargetVisitor<T>() { in testToInstanceBinding() 118 binding.acceptTargetVisitor(new FailingTargetVisitor<T>() { in testToProviderBinding() 144 binding.acceptTargetVisitor(new FailingTargetVisitor<T>() { in testToProviderKeyBinding() 173 binding.acceptTargetVisitor(new FailingTargetVisitor<T>() { in testToKeyBinding() 205 binding.acceptTargetVisitor(new FailingTargetVisitor<T>() { in testToConstructorBinding() 232 binding.acceptTargetVisitor(new FailingTargetVisitor<T>() { in testConstantBinding() 255 binding.acceptTargetVisitor(new FailingTargetVisitor<Integer>() { in testConvertedConstantBinding() 277 binding.acceptTargetVisitor(new FailingTargetVisitor<Provider<String>>() { in testProviderBinding() 389 providerBinding.acceptTargetVisitor(new FailingTargetVisitor<Provider<String>>() { in testExtensionSpi() 401 assertEquals("visited", binding.acceptTargetVisitor(new FailingSpiTargetVisitor<String>())); in testExtensionSpi()
|
D | ElementsTest.java | 153 return binding.acceptTargetVisitor(Elements.<T>getInstanceVisitor()); in getInstance() 404 command.acceptTargetVisitor(new FailingTargetVisitor<T>() { in testBindToProvider() 420 command.acceptTargetVisitor(new FailingTargetVisitor<T>() { in testBindToProvider() 438 command.acceptTargetVisitor(new FailingTargetVisitor<T>() { in testBindToProvider() 461 command.acceptTargetVisitor(new FailingTargetVisitor<T>() { in testBindToProvider() 475 command.acceptTargetVisitor(new FailingTargetVisitor<T>() { in testBindToProvider() 489 command.acceptTargetVisitor(new FailingTargetVisitor<T>() { in testBindToProvider() 515 command.acceptTargetVisitor(new FailingTargetVisitor<T>() { in testBindToLinkedBinding() 529 command.acceptTargetVisitor(new FailingTargetVisitor<T>() { in testBindToLinkedBinding() 544 command.acceptTargetVisitor(new FailingTargetVisitor<T>() { in testBindToLinkedBinding() [all …]
|
D | BindingTargetVisitorTest.java | 34 binding.acceptTargetVisitor(new DefaultBindingTargetVisitor<Object, Object>() {}); in testBindingTargetVisitorTypeTest()
|
D | ModuleRewriterTest.java | 57 T target = binding.acceptTargetVisitor(Elements.<T>getInstanceVisitor()); in testRewriteBindings()
|
D | ProviderMethodsTest.java | 441 stringBinding.acceptTargetVisitor(new BindingCapturer<String>()); 451 intBinding.acceptTargetVisitor(new BindingCapturer<Integer>());
|
/external/guice/extensions/multibindings/test/com/google/inject/multibindings/ |
D | SpiUtils.java | 135 MapBinderBinding<T> mapbinder = (MapBinderBinding<T>)mapBinding.acceptTargetVisitor(visitor); in mapInjectorTest() 192 Object visited = b.acceptTargetVisitor(visitor); in mapInjectorTest() 215 assertTrue(b.acceptTargetVisitor(visitor) instanceof MultibinderBinding); in mapInjectorTest() 231 && !indexedEntries.put(pme.getKey(), valueBinding.acceptTargetVisitor(indexer))) { in mapInjectorTest() 271 mapbinder = (MapBinderBinding<T>)((Binding<T>)binding).acceptTargetVisitor(visitor); in mapModuleTest() 322 && !indexedEntries.put(pme.getKey(), valueBinding.acceptTargetVisitor(indexer))) { in mapModuleTest() 329 Object visited = b.acceptTargetVisitor(visitor); in mapModuleTest() 365 assertTrue(b.acceptTargetVisitor(visitor) instanceof MultibinderBinding); in mapModuleTest() 447 (MultibinderBinding<Set<T>>)binding.acceptTargetVisitor(visitor); in setInjectorTest() 480 setOfIndexed.add(oneBinding.acceptTargetVisitor(indexer)); in setInjectorTest() [all …]
|
D | MultibinderTest.java | 1100 mapbinding.acceptTargetVisitor(collector); in testSetAndMapValueAreDistinctInSpi() 1104 setbinding.acceptTargetVisitor(collector); in testSetAndMapValueAreDistinctInSpi() 1108 optionalbinding.acceptTargetVisitor(collector); in testSetAndMapValueAreDistinctInSpi()
|
/external/guice/core/src/com/google/inject/ |
D | Binding.java | 83 <V> V acceptTargetVisitor(BindingTargetVisitor<? super T, V> visitor); in acceptTargetVisitor() method
|
/external/guice/core/src/com/google/inject/internal/ |
D | UntargettedBindingProcessor.java | 35 return binding.acceptTargetVisitor(new Processor<T, Boolean>((BindingImpl<T>)binding) { in visit()
|
D | ExposedBindingImpl.java | 41 public <V> V acceptTargetVisitor(BindingTargetVisitor<? super T, V> visitor) { in acceptTargetVisitor() method in ExposedBindingImpl
|
D | UntargettedBindingImpl.java | 40 public <V> V acceptTargetVisitor(BindingTargetVisitor<? super T, V> visitor) { in acceptTargetVisitor() method in UntargettedBindingImpl
|
D | LinkedBindingImpl.java | 46 public <V> V acceptTargetVisitor(BindingTargetVisitor<? super T, V> visitor) { in acceptTargetVisitor() method in LinkedBindingImpl
|
D | InstanceBindingImpl.java | 60 public <V> V acceptTargetVisitor(BindingTargetVisitor<? super T, V> visitor) { in acceptTargetVisitor() method in InstanceBindingImpl
|
D | ProviderInstanceBindingImpl.java | 57 public <V> V acceptTargetVisitor(BindingTargetVisitor<? super T, V> visitor) { in acceptTargetVisitor() method in ProviderInstanceBindingImpl
|
D | LinkedProviderBindingImpl.java | 66 public <V> V acceptTargetVisitor(BindingTargetVisitor<? super T, V> visitor) { in acceptTargetVisitor() method in LinkedProviderBindingImpl
|
D | BindingProcessor.java | 70 return command.acceptTargetVisitor(new Processor<T, Boolean>((BindingImpl<T>)command) { in visit()
|
D | ConstructorBindingImpl.java | 174 public <V> V acceptTargetVisitor(BindingTargetVisitor<? super T, V> visitor) { in acceptTargetVisitor() method in ConstructorBindingImpl
|
D | InjectorImpl.java | 370 public <V> V acceptTargetVisitor(BindingTargetVisitor<? super Provider<T>, V> visitor) { in acceptTargetVisitor() method 481 public <V> V acceptTargetVisitor(BindingTargetVisitor<? super T, V> visitor) {
|
/external/guice/extensions/assistedinject/test/com/google/inject/assistedinject/ |
D | ExtensionSpiTest.java | 58 assertEquals(count++, ((Binding<?>)element).acceptTargetVisitor(visitor)); in testSpiOnElements() 69 assertEquals(count++, binding.acceptTargetVisitor(visitor)); in testSpiOnVisitor()
|
/external/guice/extensions/servlet/test/com/google/inject/servlet/ |
D | ServletModuleTest.java | 56 binding.acceptTargetVisitor(visitor); in testServletModuleReuse()
|
D | ExtensionSpiTest.java | 60 assertEquals(count++, ((Binding)element).acceptTargetVisitor(visitor)); in testSpiOnElements() 71 assertEquals(count++, binding.acceptTargetVisitor(visitor)); in testSpiOnInjector()
|
/external/guice/extensions/grapher/src/com/google/inject/grapher/ |
D | DefaultNodeCreator.java | 44 nodes.addAll(binding.acceptTargetVisitor(visitor)); in getNodes()
|
D | DefaultEdgeCreator.java | 46 edges.addAll(binding.acceptTargetVisitor(visitor)); in getEdges()
|
D | AbstractInjectorGrapher.java | 223 keys.addAll(binding.acceptTargetVisitor(keyVisitor)); in getBindings()
|
/external/guice/extensions/grapher/test/com/google/inject/grapher/ |
D | ShortNameFactoryTest.java | 156 injector.getBinding(Integer.class).acceptTargetVisitor( in testGetInstanceName_providerMethod()
|