Home
last modified time | relevance | path

Searched refs:getGenericSuperclass (Results 1 – 25 of 31) sorted by relevance

12

/external/guava/android/guava-tests/test/com/google/common/reflect/
DTypeTokenTest.java100 assertEquals(new Local<String>() {}.getClass().getGenericSuperclass(), type.getType()); in testNonStaticLocalClass()
111 assertEquals(new Local<String>() {}.getClass().getGenericSuperclass(), type.getType()); in doTestStaticLocalClass()
381 assertNull(new TypeToken<Object>() {}.getGenericSuperclass()); in testGetGenericSuperclass_noSuperclass()
382 assertEquals(TypeToken.of(Object.class), new TypeToken<Object[]>() {}.getGenericSuperclass()); in testGetGenericSuperclass_noSuperclass()
383 assertNull(new TypeToken<List<String>>() {}.getGenericSuperclass()); in testGetGenericSuperclass_noSuperclass()
385 TypeToken.of(Object.class), new TypeToken<List<String>[]>() {}.getGenericSuperclass()); in testGetGenericSuperclass_noSuperclass()
390 new TypeToken<ArrayList<String>>() {}.getGenericSuperclass(); in testGetGenericSuperclass_withSuperclass()
394 assertEquals(TypeToken.of(Base.class), TypeToken.of(Sub.class).getGenericSuperclass()); in testGetGenericSuperclass_withSuperclass()
395 assertEquals(TypeToken.of(Object.class), TypeToken.of(Sub[].class).getGenericSuperclass()); in testGetGenericSuperclass_withSuperclass()
401 TypeToken.of(new TypeCapture<T>() {}.capture()).getGenericSuperclass()); in testGetGenericSuperclass_typeVariable_unbounded()
[all …]
DTypeVisitorTest.java37 .visit(((ParameterizedType) ArrayList.class.getGenericSuperclass()).getOwnerType()); in testVisitNull()
DTypesTest.java78 Type jvmType = new LocalClass<String>() {}.getClass().getGenericSuperclass(); in testNewParameterizedType_nonStaticLocalClass()
89 Type jvmType = new LocalClass<String>() {}.getClass().getGenericSuperclass(); in doTestNewParameterizedType_staticLocalClass()
/external/guava/guava-tests/test/com/google/common/reflect/
DTypeTokenTest.java100 assertEquals(new Local<String>() {}.getClass().getGenericSuperclass(), type.getType()); in testNonStaticLocalClass()
111 assertEquals(new Local<String>() {}.getClass().getGenericSuperclass(), type.getType()); in doTestStaticLocalClass()
381 assertNull(new TypeToken<Object>() {}.getGenericSuperclass()); in testGetGenericSuperclass_noSuperclass()
382 assertEquals(TypeToken.of(Object.class), new TypeToken<Object[]>() {}.getGenericSuperclass()); in testGetGenericSuperclass_noSuperclass()
383 assertNull(new TypeToken<List<String>>() {}.getGenericSuperclass()); in testGetGenericSuperclass_noSuperclass()
385 TypeToken.of(Object.class), new TypeToken<List<String>[]>() {}.getGenericSuperclass()); in testGetGenericSuperclass_noSuperclass()
390 new TypeToken<ArrayList<String>>() {}.getGenericSuperclass(); in testGetGenericSuperclass_withSuperclass()
394 assertEquals(TypeToken.of(Base.class), TypeToken.of(Sub.class).getGenericSuperclass()); in testGetGenericSuperclass_withSuperclass()
395 assertEquals(TypeToken.of(Object.class), TypeToken.of(Sub[].class).getGenericSuperclass()); in testGetGenericSuperclass_withSuperclass()
401 TypeToken.of(new TypeCapture<T>() {}.capture()).getGenericSuperclass()); in testGetGenericSuperclass_typeVariable_unbounded()
[all …]
DTypeVisitorTest.java37 .visit(((ParameterizedType) ArrayList.class.getGenericSuperclass()).getOwnerType()); in testVisitNull()
DTypesTest.java78 Type jvmType = new LocalClass<String>() {}.getClass().getGenericSuperclass(); in testNewParameterizedType_nonStaticLocalClass()
89 Type jvmType = new LocalClass<String>() {}.getClass().getGenericSuperclass(); in doTestNewParameterizedType_staticLocalClass()
/external/google-java-format/core/src/test/resources/com/google/googlejavaformat/java/testdata/
DB32114928.input5 verifyNotNull((ParameterizedType) getClass().getGenericSuperclass())
DB32114928.output5 verifyNotNull((ParameterizedType) getClass().getGenericSuperclass())
/external/guava/android/guava/src/com/google/common/reflect/
DTypeCapture.java31 Type superclass = getClass().getGenericSuperclass(); in capture()
DTypeToken.java292 final TypeToken<? super T> getGenericSuperclass() { in getGenericSuperclass() method in TypeToken
301 Type superclass = getRawType().getGenericSuperclass(); in getGenericSuperclass()
1316 return type.getGenericSuperclass();
/external/guava/guava/src/com/google/common/reflect/
DTypeCapture.java31 Type superclass = getClass().getGenericSuperclass(); in capture()
DTypeToken.java291 final @Nullable TypeToken<? super T> getGenericSuperclass() { in getGenericSuperclass() method in TypeToken
300 Type superclass = getRawType().getGenericSuperclass(); in getGenericSuperclass()
1312 return type.getGenericSuperclass();
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/type/
DTypeReference.java33 Type superClass = getClass().getGenericSuperclass(); in TypeReference()
/external/mockito/src/main/java/org/mockito/internal/util/reflection/
DGenericTypeExtractor.java43 return extractGeneric(match.getGenericSuperclass()); in genericTypeOf()
/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.txt1 Line 36) clazz.getGenericSuperclass() ==> java.lang.Class.getGenericSuperclass()
2 Line 39) clazz.getGenericSuperclass() ==> java.lang.Class.getGenericSuperclass()
/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.java36 if (clazz.getGenericSuperclass() == null) { in getSuperClass()
39 java.lang.reflect.Type superType = clazz.getGenericSuperclass(); in getSuperClass()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/reflectionmodel/
DReflectionClassAdapter.java36 if (clazz.getGenericSuperclass() == null) { in getSuperClass()
39 java.lang.reflect.Type superType = clazz.getGenericSuperclass(); in getSuperClass()
/external/desugar/java/com/google/devtools/common/options/
DGenericTypeHelper.java104 type = rawType.getGenericSuperclass(); in getActualReturnType()
/external/guice/core/src/com/google/inject/internal/
DMoreTypes.java304 return rawType.getGenericSuperclass(); in getGenericSupertype()
306 return getGenericSupertype(rawType.getGenericSuperclass(), rawSupertype, toResolve); in getGenericSupertype()
/external/jackson-databind/attic/
DTypeBindings.java316 _resolveBindings(ClassUtil.getGenericSuperclass(raw)); in _resolveBindings()
/external/guice/core/src/com/google/inject/
DTypeLiteral.java93 Type superclass = subclass.getGenericSuperclass(); in getSuperclassTypeParameter()
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DFieldType.java246 Type type = clazz.getGenericSuperclass(); in getGenericSuperList()
/external/mockito/src/test/java/org/mockito/internal/util/reflection/
DGenericMetadataSupportTest.java71 …assertThat(inferFrom(StringList.class.getGenericSuperclass()).rawType()).isEqualTo(ArrayList.class… in can_get_raw_type_from_ParameterizedType()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/util/
DClassUtil.java1207 public static Type getGenericSuperclass(Class<?> cls) { in getGenericSuperclass() method in ClassUtil
1208 return cls.getGenericSuperclass(); in getGenericSuperclass()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/type/
DTestTypeFactory.java285 String reflectTypeName = objects.getClass().getGenericSuperclass().toString(); in testCanonicalWithSpaces()
286 JavaType t1 = tf.constructType(objects.getClass().getGenericSuperclass()); in testCanonicalWithSpaces()

12