Home
last modified time | relevance | path

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

12

/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/guice/extensions/throwingproviders/src/com/google/inject/throwingproviders/
DProviderChecker.java23 interfaceType.getGenericInterfaces().length == 1, in checkInterface()
37 (ParameterizedType) interfaceType.getGenericInterfaces()[0]; in checkInterface()
/external/guava/android/guava-tests/test/com/google/common/reflect/
DTypeTokenTest.java82 assertEquals(StringList.class.getGenericInterfaces()[0], token.getType()); in testTypeIsCorrect()
92 TypeToken<?> t = TypeToken.of(StringList.class.getGenericInterfaces()[0]); in testGetType()
470 assertThat(TypeToken.of(new TypeCapture<T>() {}.capture()).getGenericInterfaces()).isEmpty(); in testGetGenericInterfaces_typeVariable_unbounded()
475 assertThat(TypeToken.of(new TypeCapture<T>() {}.capture()).getGenericInterfaces()).isEmpty(); in testGetGenericInterfaces_typeVariable_boundIsClass()
481 makeUnmodifiable(TypeToken.of(new TypeCapture<T>() {}.capture()).getGenericInterfaces()) in testGetGenericInterfaces_typeVariable_boundsAreClassWithInterface()
488 makeUnmodifiable(TypeToken.of(new TypeCapture<T>() {}.capture()).getGenericInterfaces()) in testGetGenericInterfaces_typeVariable_boundsAreInterfaces()
495 makeUnmodifiable(TypeToken.of(new TypeCapture<T>() {}.capture()).getGenericInterfaces()) in testGetGenericInterfaces_typeVariable_boundsAreFBoundedInterfaces()
502 makeUnmodifiable(TypeToken.of(new TypeCapture<T>() {}.capture()).getGenericInterfaces()) in testGetGenericInterfaces_typeVariable_boundsAreClassWithFBoundedInterface()
509 assertThat(TypeToken.of(new TypeCapture<T2>() {}.capture()).getGenericInterfaces()).isEmpty(); in testGetGenericInterfaces_typeVariable_boundIsTypeVariableAndClass()
515 makeUnmodifiable(TypeToken.of(new TypeCapture<T2>() {}.capture()).getGenericInterfaces()) in testGetGenericInterfaces_typeVariable_boundIsTypeVariableAndInterface()
[all …]
/external/guava/guava-tests/test/com/google/common/reflect/
DTypeTokenTest.java82 assertEquals(StringList.class.getGenericInterfaces()[0], token.getType()); in testTypeIsCorrect()
92 TypeToken<?> t = TypeToken.of(StringList.class.getGenericInterfaces()[0]); in testGetType()
470 assertThat(TypeToken.of(new TypeCapture<T>() {}.capture()).getGenericInterfaces()).isEmpty(); in testGetGenericInterfaces_typeVariable_unbounded()
475 assertThat(TypeToken.of(new TypeCapture<T>() {}.capture()).getGenericInterfaces()).isEmpty(); in testGetGenericInterfaces_typeVariable_boundIsClass()
481 makeUnmodifiable(TypeToken.of(new TypeCapture<T>() {}.capture()).getGenericInterfaces()) in testGetGenericInterfaces_typeVariable_boundsAreClassWithInterface()
488 makeUnmodifiable(TypeToken.of(new TypeCapture<T>() {}.capture()).getGenericInterfaces()) in testGetGenericInterfaces_typeVariable_boundsAreInterfaces()
495 makeUnmodifiable(TypeToken.of(new TypeCapture<T>() {}.capture()).getGenericInterfaces()) in testGetGenericInterfaces_typeVariable_boundsAreFBoundedInterfaces()
502 makeUnmodifiable(TypeToken.of(new TypeCapture<T>() {}.capture()).getGenericInterfaces()) in testGetGenericInterfaces_typeVariable_boundsAreClassWithFBoundedInterface()
509 assertThat(TypeToken.of(new TypeCapture<T2>() {}.capture()).getGenericInterfaces()).isEmpty(); in testGetGenericInterfaces_typeVariable_boundIsTypeVariableAndClass()
515 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 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/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/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()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/reflectionmodel/
DReflectionClassAdapter.java52 for (java.lang.reflect.Type superInterface : clazz.getGenericInterfaces()) { in getInterfaces()
/external/jackson-databind/attic/
DTypeBindings.java317 for (Type intType : raw.getGenericInterfaces()) { in _resolveBindings()
/external/guava/guava/src/com/google/common/reflect/
DTypeToken.java331 final ImmutableList<TypeToken<? super T>> getGenericInterfaces() { in getGenericInterfaces() method in TypeToken
339 for (Type interfaceType : getRawType().getGenericInterfaces()) { in getGenericInterfaces()
1306 return type.getGenericInterfaces();
DTypeResolver.java390 visit(clazz.getGenericInterfaces()); in visitClass()
/external/guava/android/guava/src/com/google/common/reflect/
DTypeToken.java333 final ImmutableList<TypeToken<? super T>> getGenericInterfaces() { in getGenericInterfaces() method in TypeToken
341 for (Type interfaceType : getRawType().getGenericInterfaces()) { in getGenericInterfaces()
1310 return type.getGenericInterfaces();
DTypeResolver.java390 visit(clazz.getGenericInterfaces()); in visitClass()
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DFieldType.java234 Type[] genericInterfaces = clazz.getGenericInterfaces(); in getGenericSuperList()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/util/
DClassUtil.java1214 public static Type[] getGenericInterfaces(Class<?> cls) { in getGenericInterfaces() method in ClassUtil
1215 return cls.getGenericInterfaces(); in getGenericInterfaces()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/type/
DTypeFactory.java1476 Type[] types = ClassUtil.getGenericInterfaces(rawType); in _resolveSuperInterfaces()
/external/guice/lib/
Dguava-19.0.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/lib/
Dguava-21.0.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/external/cldr/tools/java/libs/
Dguava.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/external/dagger2/java/dagger/internal/codegen/bootstrap/
Dbootstrap_compiler_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties META-INF ...
/external/conscrypt/benchmark-android/
Dvogar.jarMETA-INF/ META-INF/MANIFEST.MF vogar/ vogar/TestProperties.class TestProperties ...
/external/error_prone/error_prone/
Derror_prone_core-2.3.2-with-dependencies.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/services/ META- ...

12