Home
last modified time | relevance | path

Searched refs:getGenericInterfaces (Results 1 – 11 of 11) 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/guice/extensions/throwingproviders/src/com/google/inject/throwingproviders/
DProviderChecker.java23 interfaceType.getGenericInterfaces().length == 1, in checkInterface()
37 (ParameterizedType) interfaceType.getGenericInterfaces()[0]; in checkInterface()
/external/mockito/src/main/java/org/mockito/internal/util/reflection/
DGenericTypeExtractor.java64 return sourceClass.getGenericInterfaces()[0]; in findGenericInterface()
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.java292 return rawType.getGenericInterfaces()[i]; in getGenericSupertype()
294 return getGenericSupertype(rawType.getGenericInterfaces()[i], interfaces[i], toResolve); in getGenericSupertype()
/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()
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/
Dcom_github_javaparser_symbolsolver_reflectionmodel_ReflectionClassAdapter.txt11 Line 52) clazz.getGenericInterfaces() ==> java.lang.Class.getGenericInterfaces()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/reflectionmodel/
DReflectionClassAdapter.java52 for (java.lang.reflect.Type superInterface : clazz.getGenericInterfaces()) { in getInterfaces()