Searched refs:getSupertype (Results 1 – 10 of 10) sorted by relevance
108 resolver.getSupertype(Collection.class).getType()); in testGenericSupertype()110 resolver.getSupertype(Iterable.class).getType()); in testGenericSupertype()112 resolver.getSupertype(AbstractList.class).getType()); in testGenericSupertype()113 assertEquals(Object.class, resolver.getSupertype(Object.class).getType()); in testGenericSupertype()225 resolver.getSupertype(String.class); in testUnsupportedQueries()254 typeResolver.getSupertype(Map.class).getType()); in testResolve()266 assertEquals(Object.class, typeResolver.getSupertype(Object.class).getType()); in testResolve()271 assertEquals(Object.class, typeResolver.getSupertype(Object.class).getType()); in testOnObject()276 assertEquals(Object.class, typeResolver.getSupertype(Object.class).getType()); in testOnObject()287 listOfString.getSupertype(AbstractCollection.class).getType()); in testGetSupertype()[all …]
1003 TypeToken.of(ListIterable.class).getSupertype(Iterable.class).getType()); in testGetSupertype_withTypeVariable()1010 TypeToken.of(StringListIterable.class).getSupertype(Iterable.class).getType()); in testGetSupertype_withoutTypeVariable()1016 TypeToken.of(StringListIterable.class).getSupertype(ListIterable.class); in testGetSupertype_chained()1019 assertEquals(expectedType, listIterableType.getSupertype(Iterable.class).getType()); in testGetSupertype_chained()1024 TypeToken.of(StringListIterable[].class).getSupertype(Iterable[].class)); in testGetSupertype_withArray()1025 assertEquals(int[].class, TypeToken.of(int[].class).getSupertype(int[].class).getType()); in testGetSupertype_withArray()1026 assertEquals(Object.class, TypeToken.of(int[].class).getSupertype(Object.class).getType()); in testGetSupertype_withArray()1027 assertEquals(int[][].class, TypeToken.of(int[][].class).getSupertype(int[][].class).getType()); in testGetSupertype_withArray()1029 TypeToken.of(String[].class).getSupertype(Object[].class).getType()); in testGetSupertype_withArray()1030 assertEquals(Object.class, TypeToken.of(String[].class).getSupertype(Object.class).getType()); in testGetSupertype_withArray()[all …]
46 ParameterizedType rawType = (ParameterizedType) from.getSupertype(ListMultimap.class).getType(); in getMapOfListsToken()58 ParameterizedType rawType = (ParameterizedType) from.getSupertype(SetMultimap.class).getType(); in getMapOfSetsToken()
52 TypeToken.get(betterToken.getSupertype(Map.class).getSubtype(HashMap.class) in create()
52 TypeToken.get(betterToken.getSupertype(List.class).getSubtype(ArrayList.class) in create()
57 TypeToken.get(betterToken.getSupertype(Map.class).getType())); in create()
375 public final TypeToken<? super T> getSupertype(Class<? super T> superclass) { in getSupertype() method in TypeToken979 TypeToken<? super T> result = bound.getSupertype((Class) supertype);1004 TypeToken<?> componentSupertype = componentType.getSupertype(supertype.getComponentType());1038 .getSupertype((Class) getRawType())
378 currentClassType.getSupertype(currentClassType.getRawType().getSuperclass()); in configure()
256 public TypeLiteral<?> getSupertype(Class<?> supertype) { in getSupertype() method in TypeLiteral
805 current = current.getSupertype(current.getRawType().getSuperclass()); in hierarchyFor()