/external/guava/android/guava-tests/test/com/google/common/reflect/ |
D | TypeTokenTest.java | 100 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 …]
|
D | TypeVisitorTest.java | 37 .visit(((ParameterizedType) ArrayList.class.getGenericSuperclass()).getOwnerType()); in testVisitNull()
|
D | TypesTest.java | 78 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/ |
D | TypeTokenTest.java | 100 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 …]
|
D | TypeVisitorTest.java | 37 .visit(((ParameterizedType) ArrayList.class.getGenericSuperclass()).getOwnerType()); in testVisitNull()
|
D | TypesTest.java | 78 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/ |
D | B32114928.output | 5 verifyNotNull((ParameterizedType) getClass().getGenericSuperclass())
|
D | B32114928.input | 5 verifyNotNull((ParameterizedType) getClass().getGenericSuperclass())
|
/external/guava/android/guava/src/com/google/common/reflect/ |
D | TypeCapture.java | 31 Type superclass = getClass().getGenericSuperclass(); in capture()
|
D | TypeToken.java | 292 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/ |
D | TypeCapture.java | 31 Type superclass = getClass().getGenericSuperclass(); in capture()
|
D | TypeToken.java | 291 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/ |
D | TypeReference.java | 33 Type superClass = getClass().getGenericSuperclass(); in TypeReference()
|
/external/mockito/src/main/java/org/mockito/internal/util/reflection/ |
D | GenericTypeExtractor.java | 43 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/ |
D | com_github_javaparser_symbolsolver_reflectionmodel_ReflectionClassAdapter.txt | 1 Line 36) clazz.getGenericSuperclass() ==> java.lang.Class.getGenericSuperclass() 2 Line 39) clazz.getGenericSuperclass() ==> java.lang.Class.getGenericSuperclass()
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/reflectionmodel/ |
D | ReflectionClassAdapter.java | 36 if (clazz.getGenericSuperclass() == null) { in getSuperClass() 39 java.lang.reflect.Type superType = clazz.getGenericSuperclass(); in getSuperClass()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/reflectionmodel/ |
D | ReflectionClassAdapter.java | 36 if (clazz.getGenericSuperclass() == null) { in getSuperClass() 39 java.lang.reflect.Type superType = clazz.getGenericSuperclass(); in getSuperClass()
|
/external/desugar/java/com/google/devtools/common/options/ |
D | GenericTypeHelper.java | 104 type = rawType.getGenericSuperclass(); in getActualReturnType()
|
/external/guice/core/src/com/google/inject/internal/ |
D | MoreTypes.java | 304 return rawType.getGenericSuperclass(); in getGenericSupertype() 306 return getGenericSupertype(rawType.getGenericSuperclass(), rawSupertype, toResolve); in getGenericSupertype()
|
/external/jackson-databind/attic/ |
D | TypeBindings.java | 316 _resolveBindings(ClassUtil.getGenericSuperclass(raw)); in _resolveBindings()
|
/external/guice/core/src/com/google/inject/ |
D | TypeLiteral.java | 93 Type superclass = subclass.getGenericSuperclass(); in getSuperclassTypeParameter()
|
/external/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | FieldType.java | 246 Type type = clazz.getGenericSuperclass(); in getGenericSuperList()
|
/external/mockito/src/test/java/org/mockito/internal/util/reflection/ |
D | GenericMetadataSupportTest.java | 71 …assertThat(inferFrom(StringList.class.getGenericSuperclass()).rawType()).isEqualTo(ArrayList.class… in can_get_raw_type_from_ParameterizedType()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/type/ |
D | TestTypeFactory.java | 285 String reflectTypeName = objects.getClass().getGenericSuperclass().toString(); in testCanonicalWithSpaces() 286 JavaType t1 = tf.constructType(objects.getClass().getGenericSuperclass()); in testCanonicalWithSpaces()
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/util/ |
D | ClassUtil.java | 1207 public static Type getGenericSuperclass(Class<?> cls) { in getGenericSuperclass() method in ClassUtil 1208 return cls.getGenericSuperclass(); in getGenericSuperclass()
|