Home
last modified time | relevance | path

Searched refs:getExistingBinding (Results 1 – 9 of 9) sorted by relevance

/external/guice/core/test/com/google/inject/spi/
DInjectorSpiTest.java31 assertSame(entry.getValue(), injector.getExistingBinding(entry.getKey())); in testExistingBinding()
38 binding = injector.getExistingBinding(Key.get(Foo.class)); in testExistingBinding()
45 binding = injector.getExistingBinding(Key.get(new TypeLiteral<Provider<Foo>>() {})); in testExistingBinding()
51 binding = injector.getExistingBinding(Key.get(Baz.class)); in testExistingBinding()
58 binding = injector.getExistingBinding(Key.get(new TypeLiteral<Provider<Baz>>() {})); in testExistingBinding()
64 assertNull(injector.getExistingBinding(Key.get(Bar.class))); in testExistingBinding()
67 assertNull(injector.getExistingBinding(Key.get(new TypeLiteral<Provider<Bar>>() {}))); in testExistingBinding()
DModuleAnnotatedMethodScannerTest.java167 assertNull(injector.getExistingBinding(Key.get(clazz, named(originalName))));
244 assertNull(sibling.getExistingBinding(Key.get(String.class, named("foo"))));
245 assertNull(sibling.getExistingBinding(Key.get(String.class, named("foo-munged"))));
/external/guice/core/test/com/google/inject/
DImplicitBindingTest.java319 assertNull(injector.getExistingBinding(Key.get(A.class))); in testRecursiveJitBindingsCleanupCorrectly()
320 assertNull(injector.getExistingBinding(Key.get(B.class))); in testRecursiveJitBindingsCleanupCorrectly()
321 assertNull(injector.getExistingBinding(Key.get(C.class))); in testRecursiveJitBindingsCleanupCorrectly()
322 assertNull(injector.getExistingBinding(Key.get(D.class))); in testRecursiveJitBindingsCleanupCorrectly()
/external/guice/core/src/com/google/inject/internal/
DInternalInjectorCreator.java261 public <T> Binding<T> getExistingBinding(Key<T> key) { in getExistingBinding() method in InternalInjectorCreator.ToolStageInjector
262 return this.delegateInjector.getExistingBinding(key); in getExistingBinding()
DAbstractBindingProcessor.java79 BindingImpl<?> original = injector.getExistingBinding(key); in putBinding()
DInjectorImpl.java163 public <T> BindingImpl<T> getExistingBinding(Key<T> key) { in getExistingBinding() method in InjectorImpl
187 if(getExistingBinding(providedKey) != null) { in getExistingBinding()
/external/guice/core/src/com/google/inject/
DInjector.java155 <T> Binding<T> getExistingBinding(Key<T> key); in getExistingBinding() method
/external/guice/extensions/multibindings/src/com/google/inject/multibindings/
DOptionalBinder.java518 actualBinding = injector.getExistingBinding(actualKey); in initialize()
519 defaultBinding = injector.getExistingBinding(defaultKey); in initialize()
520 Binding<T> userBinding = injector.getExistingBinding(typeKey); in initialize()
/external/guice/core/test/com/google/inject/util/
DOverrideModuleTest.java697 assertNull(injector.getExistingBinding(Key.get(String.class, named("test")))); in testOverridesApplyOriginalScanners()