Searched refs:getExistingBinding (Results 1 – 9 of 9) sorted by relevance
31 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()
167 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"))));
319 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()
261 public <T> Binding<T> getExistingBinding(Key<T> key) { in getExistingBinding() method in InternalInjectorCreator.ToolStageInjector262 return this.delegateInjector.getExistingBinding(key); in getExistingBinding()
79 BindingImpl<?> original = injector.getExistingBinding(key); in putBinding()
163 public <T> BindingImpl<T> getExistingBinding(Key<T> key) { in getExistingBinding() method in InjectorImpl187 if(getExistingBinding(providedKey) != null) { in getExistingBinding()
155 <T> Binding<T> getExistingBinding(Key<T> key); in getExistingBinding() method
518 actualBinding = injector.getExistingBinding(actualKey); in initialize()519 defaultBinding = injector.getExistingBinding(defaultKey); in initialize()520 Binding<T> userBinding = injector.getExistingBinding(typeKey); in initialize()
697 assertNull(injector.getExistingBinding(Key.get(String.class, named("test")))); in testOverridesApplyOriginalScanners()