Home
last modified time | relevance | path

Searched refs:listOf (Results 1 – 7 of 7) sorted by relevance

/external/guice/core/test/com/google/inject/
DTypeLiteralInjectionTest.java20 import static com.google.inject.util.Types.listOf;
82 assertEquals(TypeLiteral.get(listOf(Integer.class)), b.listOfT); in testInjectTypeLiteralWithClassTypes()
83 assertEquals(TypeLiteral.get(listOf(Types.subtypeOf(Integer.class))), b.listOfWildcardT); in testInjectTypeLiteralWithClassTypes()
DTypeLiteralTypeResolutionTest.java22 import static com.google.inject.util.Types.listOf;
99 assertEquals(listOf(String.class), in testDirectInheritance()
132 assertEquals(listOf(Short.class), resolver.getFieldType(list).getType()); in testFields()
188 assertEquals(listOf(String.class), in testCachingAndReindexing()
190 assertEquals(listOf(Short.class), in testCachingAndReindexing()
326 TypeLiteral<?> b = TypeLiteral.get(listOf(String.class)); in testEqualsAndHashCode()
DTypeLiteralTest.java40 Types.listOf(String.class)) {}; in testWithParameterizedType()
66 TypeLiteral<?> b = TypeLiteral.get(Types.listOf(Types.subtypeOf(CharSequence.class))); in testWithWildcardType()
189 assertEquals(ImmutableList.<Type>of(Types.listOf(typeVariables[0]), Runnable.class), in testTypeVariableWithMultipleBounds()
DKeyTest.java142 assertNotSerializable(Key.get(Types.listOf(Types.subtypeOf(CharSequence.class)))); in testSerialization()
/external/guice/core/src/com/google/inject/util/
DTypes.java99 public static ParameterizedType listOf(Type elementType) { in listOf() method in Types
/external/guice/core/test/com/google/inject/util/
DTypesTest.java76 assertEqualsBothWays(listString, Types.listOf(String.class)); in testListSetMap()
/external/guice/core/test/com/google/inject/spi/
DProviderMethodsTest.java304 Key.get(Types.listOf(Types.supertypeOf(Integer.class)));