Home
last modified time | relevance | path

Searched refs:getGenericInterfaces (Results 1 – 9 of 9) sorted by relevance

/external/mockito/src/test/java/org/mockito/internal/util/reflection/
DGenericMetadataSupportTest.java68 …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()
/external/guava/guava-tests/test/com/google/common/reflect/
DTypeTokenTest.java78 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 …]
/external/mockito/src/main/java/org/mockito/internal/util/reflection/
DGenericTypeExtractor.java64 return sourceClass.getGenericInterfaces()[0]; in findGenericInteface()
DGenericMetadataSupport.java84 typesToRegister.addAll(Arrays.asList(rawType.getGenericInterfaces())); in registerAllTypeVariables()
/external/desugar/java/com/google/devtools/common/options/
DGenericTypeHelper.java97 for (Type interfaceType : rawType.getGenericInterfaces()) { in getActualReturnType()
/external/guice/core/src/com/google/inject/internal/
DMoreTypes.java294 return rawType.getGenericInterfaces()[i]; in getGenericSupertype()
296 return getGenericSupertype(rawType.getGenericInterfaces()[i], interfaces[i], toResolve); in getGenericSupertype()
/external/guice/extensions/throwingproviders/src/com/google/inject/throwingproviders/
DThrowingProviderBinder.java404 if(!checkArgument(interfaceType.getGenericInterfaces().length == 1,
421 = (ParameterizedType) interfaceType.getGenericInterfaces()[0];
/external/guava/guava/src/com/google/common/reflect/
DTypeToken.java326 final ImmutableList<TypeToken<? super T>> getGenericInterfaces() { in getGenericInterfaces() method in TypeToken
334 for (Type interfaceType : getRawType().getGenericInterfaces()) { in getGenericInterfaces()
1076 return type.getGenericInterfaces();
DTypeResolver.java327 visit(clazz.getGenericInterfaces()); in visitClass()