/external/guice/core/test/com/google/inject/util/ |
D | TypesTest.java | 77 ParameterizedType parameterizedType = Types.newParameterizedType(Map.class, arguments); in testDefensiveCopies() local 79 assertEquals(String.class, parameterizedType.getActualTypeArguments()[0]); in testDefensiveCopies() 80 parameterizedType.getActualTypeArguments()[1] = null; in testDefensiveCopies() 81 assertEquals(Integer.class, parameterizedType.getActualTypeArguments()[1]); in testDefensiveCopies() 152 ParameterizedType parameterizedType = in testEqualsAndHashcode() local 154 assertEqualsBothWays(mapStringInteger, parameterizedType); in testEqualsAndHashcode() 155 assertEquals(mapStringInteger.toString(), parameterizedType.toString()); in testEqualsAndHashcode() 201 ParameterizedType parameterizedType = (ParameterizedType) type.getType(); in testInnerParameterizedEvenWithZeroArgs() local 202 assertEquals(0, parameterizedType.getActualTypeArguments().length); in testInnerParameterizedEvenWithZeroArgs() 203 assertEquals(new TypeLiteral<Outer<String>>() {}.getType(), parameterizedType.getOwnerType()); in testInnerParameterizedEvenWithZeroArgs() [all …]
|
/external/mockito/src/main/java/org/mockito/internal/util/reflection/ |
D | GenericMetadataSupport.java | 112 ParameterizedType parameterizedType = (ParameterizedType) classType; in registerTypeVariablesOn() local 113 …TypeVariable<?>[] typeParameters = ((Class<?>) parameterizedType.getRawType()).getTypeParameters(); in registerTypeVariablesOn() 114 Type[] actualTypeArguments = parameterizedType.getActualTypeArguments(); in registerTypeVariablesOn() 329 private final ParameterizedType parameterizedType; field in GenericMetadataSupport.FromParameterizedTypeGenericMetadataSupport 331 public FromParameterizedTypeGenericMetadataSupport(ParameterizedType parameterizedType) { in FromParameterizedTypeGenericMetadataSupport() argument 332 this.parameterizedType = parameterizedType; in FromParameterizedTypeGenericMetadataSupport() 337 registerAllTypeVariables(parameterizedType); in readActualTypeParameters() 342 return (Class<?>) parameterizedType.getRawType(); in rawType() 350 private final ParameterizedType parameterizedType; field in GenericMetadataSupport.ParameterizedReturnType 353 …ricMetadataSupport source, TypeVariable<?>[] typeParameters, ParameterizedType parameterizedType) { in ParameterizedReturnType() argument [all …]
|
/external/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | FieldType.java | 237 ParameterizedType parameterizedType = (ParameterizedType) genericInterface; in getGenericSuperList() local 238 Class<?> rawType = (Class<?>) parameterizedType.getRawType(); in getGenericSuperList() 248 ParameterizedType parameterizedType = (ParameterizedType) type; in getGenericSuperList() local 249 Class<?> rawType = (Class<?>) parameterizedType.getRawType(); in getGenericSuperList() 276 ParameterizedType parameterizedType = (ParameterizedType) genericType; in getListParameter() local 277 Type[] superArgs = parameterizedType.getActualTypeArguments(); in getListParameter() 304 Class<?> parent = (Class<?>) parameterizedType.getRawType(); in getListParameter()
|
/external/guava/guava/src/com/google/common/reflect/ |
D | TypeResolver.java | 394 void visitParameterizedType(ParameterizedType parameterizedType) { in visitParameterizedType() argument 395 Class<?> rawClass = (Class<?>) parameterizedType.getRawType(); in visitParameterizedType() 397 Type[] typeArgs = parameterizedType.getActualTypeArguments(); in visitParameterizedType() 403 visit(parameterizedType.getOwnerType()); in visitParameterizedType() 475 ParameterizedType parameterizedType = (ParameterizedType) type; in capture() local 476 Class<?> rawType = (Class<?>) parameterizedType.getRawType(); in capture() 478 Type[] typeArgs = parameterizedType.getActualTypeArguments(); in capture() 483 notForTypeVariable().captureNullable(parameterizedType.getOwnerType()), in capture()
|
D | Types.java | 133 ParameterizedType parameterizedType = (ParameterizedType) subclass.getGenericSuperclass(); in detectJvmBehavior() local 135 if (behavior.getOwnerType(LocalClass.class) == parameterizedType.getOwnerType()) { in detectJvmBehavior()
|
/external/guava/android/guava/src/com/google/common/reflect/ |
D | TypeResolver.java | 394 void visitParameterizedType(ParameterizedType parameterizedType) { in visitParameterizedType() argument 395 Class<?> rawClass = (Class<?>) parameterizedType.getRawType(); in visitParameterizedType() 397 Type[] typeArgs = parameterizedType.getActualTypeArguments(); in visitParameterizedType() 403 visit(parameterizedType.getOwnerType()); in visitParameterizedType() 475 ParameterizedType parameterizedType = (ParameterizedType) type; in capture() local 476 Class<?> rawType = (Class<?>) parameterizedType.getRawType(); in capture() 478 Type[] typeArgs = parameterizedType.getActualTypeArguments(); in capture() 483 notForTypeVariable().captureNullable(parameterizedType.getOwnerType()), in capture()
|
D | Types.java | 134 ParameterizedType parameterizedType = (ParameterizedType) subclass.getGenericSuperclass(); in detectJvmBehavior() local 136 if (behavior.getOwnerType(LocalClass.class) == parameterizedType.getOwnerType()) { in detectJvmBehavior()
|
/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 | 3 …Line 42) Arrays.stream(parameterizedType.getActualTypeArguments()).map((t) -> ReflectionFactory.ty… 4 …Line 42) Arrays.stream(parameterizedType.getActualTypeArguments()).map((t) -> ReflectionFactory.ty… 5 …Line 42) Arrays.stream(parameterizedType.getActualTypeArguments()) ==> java.util.Arrays.stream(T[]) 6 …Line 42) parameterizedType.getActualTypeArguments() ==> java.lang.reflect.ParameterizedType.getAct… 12 …Line 55) Arrays.stream(parameterizedType.getActualTypeArguments()).map((t) -> ReflectionFactory.ty… 13 …Line 55) Arrays.stream(parameterizedType.getActualTypeArguments()).map((t) -> ReflectionFactory.ty… 14 …Line 55) Arrays.stream(parameterizedType.getActualTypeArguments()) ==> java.util.Arrays.stream(T[]) 15 …Line 55) parameterizedType.getActualTypeArguments() ==> java.lang.reflect.ParameterizedType.getAct…
|
/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 | 41 ParameterizedType parameterizedType = (ParameterizedType) superType; in getSuperClass() local 42 List<Type> typeParameters = Arrays.stream(parameterizedType.getActualTypeArguments()) in getSuperClass() 54 ParameterizedType parameterizedType = (ParameterizedType) superInterface; in getInterfaces() local 55 … List<Type> typeParameters = Arrays.stream(parameterizedType.getActualTypeArguments()) in getInterfaces()
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/reflectionmodel/ |
D | ReflectionClassAdapter.java | 41 ParameterizedType parameterizedType = (ParameterizedType) superType; in getSuperClass() local 42 … List<ResolvedType> typeParameters = Arrays.stream(parameterizedType.getActualTypeArguments()) in getSuperClass() 54 ParameterizedType parameterizedType = (ParameterizedType) superInterface; in getInterfaces() local 55 … List<ResolvedType> typeParameters = Arrays.stream(parameterizedType.getActualTypeArguments()) in getInterfaces()
|
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/introspector/ |
D | GenericProperty.java | 39 ParameterizedType parameterizedType = (ParameterizedType) genType; in getActualTypeArguments() local 40 Type[] actualTypeArguments = parameterizedType.getActualTypeArguments(); in getActualTypeArguments()
|
/external/guava/guava-tests/test/com/google/common/reflect/ |
D | TypesTest.java | 362 ParameterizedType parameterizedType = Types.newParameterizedType(Map.class, typesIn); in testNewParameterizedTypeImmutability() local 366 Type[] typesOut = parameterizedType.getActualTypeArguments(); in testNewParameterizedTypeImmutability() 370 assertEquals(String.class, parameterizedType.getActualTypeArguments()[0]); in testNewParameterizedTypeImmutability() 371 assertEquals(Integer.class, parameterizedType.getActualTypeArguments()[1]); in testNewParameterizedTypeImmutability()
|
D | TypeResolverTest.java | 292 ParameterizedType parameterizedType = in aWildcardType() local 294 return parameterizedType.getActualTypeArguments()[0]; in aWildcardType()
|
D | TypeTokenResolutionTest.java | 102 ParameterizedType parameterizedType() { in parameterizedType() method in TypeTokenResolutionTest.Parameterized 128 (ParameterizedType) typeResolver.resolveType(parameterized.parameterizedType());
|
D | TypeTokenTest.java | 1056 ParameterizedType parameterizedType = in testToGenericType_staticMemberClass() local 1058 assertThat(parameterizedType.getOwnerType()).isEqualTo(javacReturnType.getOwnerType()); in testToGenericType_staticMemberClass()
|
/external/guava/android/guava-tests/test/com/google/common/reflect/ |
D | TypesTest.java | 362 ParameterizedType parameterizedType = Types.newParameterizedType(Map.class, typesIn); in testNewParameterizedTypeImmutability() local 366 Type[] typesOut = parameterizedType.getActualTypeArguments(); in testNewParameterizedTypeImmutability() 370 assertEquals(String.class, parameterizedType.getActualTypeArguments()[0]); in testNewParameterizedTypeImmutability() 371 assertEquals(Integer.class, parameterizedType.getActualTypeArguments()[1]); in testNewParameterizedTypeImmutability()
|
D | TypeResolverTest.java | 292 ParameterizedType parameterizedType = in aWildcardType() local 294 return parameterizedType.getActualTypeArguments()[0]; in aWildcardType()
|
D | TypeTokenResolutionTest.java | 102 ParameterizedType parameterizedType() { in parameterizedType() method in TypeTokenResolutionTest.Parameterized 128 (ParameterizedType) typeResolver.resolveType(parameterized.parameterizedType());
|
D | TypeTokenTest.java | 1056 ParameterizedType parameterizedType = in testToGenericType_staticMemberClass() local 1058 assertThat(parameterizedType.getOwnerType()).isEqualTo(javacReturnType.getOwnerType()); in testToGenericType_staticMemberClass()
|
/external/guice/core/src/com/google/inject/internal/ |
D | MoreTypes.java | 99 ParameterizedType parameterizedType = (ParameterizedType) type; in canonicalizeForKey() local 106 TypeLiteral.get(Types.providerOf(parameterizedType.getActualTypeArguments()[0])); in canonicalizeForKey() 181 ParameterizedType parameterizedType = (ParameterizedType) type; in getRawType() local 186 Type rawType = parameterizedType.getRawType(); in getRawType()
|
D | InjectorImpl.java | 728 ParameterizedType parameterizedType = (ParameterizedType) typeLiteralType; 729 Type innerType = parameterizedType.getActualTypeArguments()[0];
|
/external/vogar/src/vogar/ |
D | OptionParser.java | 168 ParameterizedType parameterizedType = (ParameterizedType) type; in getHandler() local 169 Class rawClass = (Class<?>) parameterizedType.getRawType(); in getHandler() 173 Type actualType = parameterizedType.getActualTypeArguments()[0]; in getHandler()
|
/external/auto/common/src/test/java/com/google/auto/common/ |
D | SimpleTypeAnnotationValueTest.java | 88 public void parameterizedType() { in parameterizedType() method in SimpleTypeAnnotationValueTest
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/lexicalpreservation/ |
D | LexicalPreservingPrinter.java | 570 ParameterizedType parameterizedType = (ParameterizedType) m.getGenericReturnType(); in isReturningOptionalNodeList() local 571 java.lang.reflect.Type optionalArgument = parameterizedType.getActualTypeArguments()[0]; in isReturningOptionalNodeList()
|
/external/javapoet/src/test/java/com/squareup/javapoet/ |
D | AbstractTypesTest.java | 206 @Test public void parameterizedType() throws Exception { in parameterizedType() method in AbstractTypesTest
|