Searched refs:getGenericInterfaces (Results 1 – 11 of 11) sorted by relevance
68 …assertThat(inferFrom(ListOfAnyNumbers.class.getGenericInterfaces()[0]).rawType()).isEqualTo(List.c… in can_get_raw_type_from_ParameterizedType()69 …assertThat(inferFrom(ListOfNumbers.class.getGenericInterfaces()[0]).rawType()).isEqualTo(List.clas… in can_get_raw_type_from_ParameterizedType()70 …assertThat(inferFrom(GenericsNest.class.getGenericInterfaces()[0]).rawType()).isEqualTo(Map.class); in can_get_raw_type_from_ParameterizedType()93 …assertThat(inferFrom(GenericsNest.class.getGenericInterfaces()[0]).actualTypeArguments().keySet())… in can_get_type_variables_from_ParameterizedType()94 …assertThat(inferFrom(ListOfAnyNumbers.class.getGenericInterfaces()[0]).actualTypeArguments().keySe… in can_get_type_variables_from_ParameterizedType()95 …assertThat(inferFrom(Integer.class.getGenericInterfaces()[0]).actualTypeArguments().keySet()).hasS… in can_get_type_variables_from_ParameterizedType()96 …assertThat(inferFrom(StringBuilder.class.getGenericInterfaces()[0]).actualTypeArguments().keySet()… in can_get_type_variables_from_ParameterizedType()
78 assertEquals(StringList.class.getGenericInterfaces()[0], token.getType()); in testTypeIsCorrect()88 TypeToken<?> t = TypeToken.of(StringList.class.getGenericInterfaces()[0]); in testGetType()468 assertThat(TypeToken.of(new TypeCapture<T>() {}.capture()).getGenericInterfaces()).isEmpty(); in testGetGenericInterfaces_typeVariable_unbounded()473 assertThat(TypeToken.of(new TypeCapture<T>() {}.capture()).getGenericInterfaces()).isEmpty(); in testGetGenericInterfaces_typeVariable_boundIsClass()479 makeUnmodifiable(TypeToken.of(new TypeCapture<T>() {}.capture()).getGenericInterfaces()) in testGetGenericInterfaces_typeVariable_boundsAreClassWithInterface()486 makeUnmodifiable(TypeToken.of(new TypeCapture<T>() {}.capture()).getGenericInterfaces()) in testGetGenericInterfaces_typeVariable_boundsAreInterfaces()493 makeUnmodifiable(TypeToken.of(new TypeCapture<T>() {}.capture()).getGenericInterfaces()) in testGetGenericInterfaces_typeVariable_boundsAreFBoundedInterfaces()500 makeUnmodifiable(TypeToken.of(new TypeCapture<T>() {}.capture()).getGenericInterfaces()) in testGetGenericInterfaces_typeVariable_boundsAreClassWithFBoundedInterface()507 assertThat(TypeToken.of(new TypeCapture<T2>() {}.capture()).getGenericInterfaces()).isEmpty(); in testGetGenericInterfaces_typeVariable_boundIsTypeVariableAndClass()513 makeUnmodifiable(TypeToken.of(new TypeCapture<T2>() {}.capture()).getGenericInterfaces()) in testGetGenericInterfaces_typeVariable_boundIsTypeVariableAndInterface()[all …]
23 interfaceType.getGenericInterfaces().length == 1, in checkInterface()37 (ParameterizedType) interfaceType.getGenericInterfaces()[0]; in checkInterface()
64 return sourceClass.getGenericInterfaces()[0]; in findGenericInterface()
84 typesToRegister.addAll(Arrays.asList(rawType.getGenericInterfaces())); in registerAllTypeVariables()
97 for (Type interfaceType : rawType.getGenericInterfaces()) { in getActualReturnType()
292 return rawType.getGenericInterfaces()[i]; in getGenericSupertype()294 return getGenericSupertype(rawType.getGenericInterfaces()[i], interfaces[i], toResolve); in getGenericSupertype()
326 final ImmutableList<TypeToken<? super T>> getGenericInterfaces() { in getGenericInterfaces() method in TypeToken334 for (Type interfaceType : getRawType().getGenericInterfaces()) { in getGenericInterfaces()1076 return type.getGenericInterfaces();
327 visit(clazz.getGenericInterfaces()); in visitClass()
11 Line 52) clazz.getGenericInterfaces() ==> java.lang.Class.getGenericInterfaces()
52 for (java.lang.reflect.Type superInterface : clazz.getGenericInterfaces()) { in getInterfaces()