Searched refs:WantsTypeLiterals (Results 1 – 1 of 1) sorted by relevance
490 bind(new TypeLiteral<WantsTypeLiterals<String>>() {}); in testTypeLiteralsCanBeInjected()495 WantsTypeLiterals<String> foo = injector.getInstance(new Key<WantsTypeLiterals<String>>() {}); in testTypeLiteralsCanBeInjected()721 private static class WantsTypeLiterals<T> { class in JitBindingsTest725 @Inject WantsTypeLiterals(TypeLiteral<T> literal, Set<T> set) { in WantsTypeLiterals() method in JitBindingsTest.WantsTypeLiterals