Home
last modified time | relevance | path

Searched refs:newParameterizedType (Results 1 – 6 of 6) sorted by relevance

/external/guava/guava-tests/test/com/google/common/reflect/
DTypesTest.java51 ParameterizedType ourType = Types.newParameterizedType( in testNewParameterizedType_ownerTypeImplied()
60 ParameterizedType ourType = Types.newParameterizedType( in testNewParameterizedType()
81 Type ourType = Types.newParameterizedType(LocalClass.class, String.class); in testNewParameterizedType_nonStaticLocalClass()
92 Type ourType = Types.newParameterizedType(LocalClass.class, String.class); in doTestNewParameterizedType_staticLocalClass()
115 SerializableTester.reserializeAndAssert(Types.newParameterizedType( in testNewParameterizedType_serializable()
129 Types.newParameterizedType(Map.Entry.class, String.class, Integer.class), in testNewParameterizedType_ownerMissing()
153 Types.newParameterizedType(List.class, String.class)); in testNewArrayType()
379 = Types.newParameterizedType(Map.class, typesIn); in testNewParameterizedTypeImmutability()
393 Types.newParameterizedType( in testNewParameterizedTypeWithWrongNumberOfTypeArguments()
DTypeTokenTest.java96 assertEquals(Types.newParameterizedType(Local.class, String.class), in testNonStaticLocalClass()
108 assertEquals(Types.newParameterizedType(Local.class, String.class), in doTestStaticLocalClass()
991 assertEquals(Types.newParameterizedType(Iterable.class, Iterable.class.getTypeParameters()[0]), in testToGenericType()
1001 ParameterizedType expectedType = Types.newParameterizedType(Iterable.class, in testGetSupertype_withTypeVariable()
1002 Types.newParameterizedType(List.class, ListIterable.class.getTypeParameters()[0])); in testGetSupertype_withTypeVariable()
1008 ParameterizedType expectedType = Types.newParameterizedType(Iterable.class, in testGetSupertype_withoutTypeVariable()
1009 Types.newParameterizedType(List.class, String.class)); in testGetSupertype_withoutTypeVariable()
1018 ParameterizedType expectedType = Types.newParameterizedType(Iterable.class, in testGetSupertype_chained()
1019 Types.newParameterizedType(List.class, String.class)); in testGetSupertype_chained()
1050 assertEquals(Types.newParameterizedType(Iterable.class, List.class.getTypeParameters()[0]), in testGetSupertype_fromRawClass()
[all …]
DTypeTokenResolutionTest.java458 assertEquals(Types.newParameterizedType(Enum.class, typeVariable),
468 assertEquals(Types.newParameterizedType(List.class, v), k.getBounds()[0]);
469 assertEquals(Types.newParameterizedType(List.class, k), v.getBounds()[0]);
/external/guava/guava/src/com/google/common/reflect/
DTypes.java86 return newParameterizedType(rawType, arguments); in newParameterizedTypeWithOwner()
98 static ParameterizedType newParameterizedType(Class<?> rawType, Type... arguments) { in newParameterizedType() method in Types
DInvokable.java253 return Types.newParameterizedType(declaringClass, typeParams); in getGenericReturnType()
DTypeToken.java965 of(Types.newParameterizedType(cls, typeParams));