Home | History | Annotate | Download | only in inject

Lines Matching defs:of

6  * You may obtain a copy of the License at
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 import static com.google.common.collect.ImmutableList.of;
65 + " of " + Foo.class.getName(),
86 + " of " + Foo.class.getName(),
207 + " of " + Foo.class.getName(),
265 + " of " + Foo.class.getName(),
291 + " of " + Foo.class.getName(),
325 ImmutableSet.of(Key.get(Interface.class), Key.get(String.class, named("constant"))),
330 assertEquals(of(Key.get(Foo.class)), capturer.getAndClear());
334 assertEquals(of(Key.get(FooP.class), Key.get(Foo.class, named("pk"))), capturer.getAndClear());
336 assertEquals(of(Key.get(FooP.class), Key.get(Foo.class, named("pk"))), capturer.getAndClear());
340 assertEquals(of(Key.get(JitFoo2P.class), Key.get(JitFoo2.class)), capturer.getAndClear());
342 assertEquals(of(Key.get(JitFoo2P.class), Key.get(JitFoo2.class)), capturer.getAndClear());
346 assertEquals(of(Key.get(Foo.class, named("pi"))), capturer.getAndClear());
350 assertEquals(of(Key.get(Foo.class, named("cxtr"))), capturer.getAndClear());
354 assertEquals(of(Key.get(Foo.class)), capturer.getAndClear());
358 assertEquals(of(Key.get(Foo.class)), capturer.getAndClear());
400 // We don't really care what kind of error you get, we only care you get an error.
407 // We don't really care what kind of error you get, we only care you get an error.
474 // InstanceBindings are the only kind of binding where the key can
572 // Build up a list of asserters for our dependency chains.
587 // because we do DP because of D, and need DP to provision D.
603 // make sure we're checking all of the chain asserters..
605 of(Instance.class, A.class, BImpl.class, C.class, DP.class, D.class, E.class, F.class),
717 bind(Injector.class).toProvider(Providers.<Injector>of(null));