/external/mockito/src/main/java/org/mockito/internal/util/reflection/ |
D | GenericMetadataSupport.java | 134 private void registerTypeVariableIfNotPresent(TypeVariable<?> typeVariable) { in registerTypeVariableIfNotPresent() argument 135 if (!contextualActualTypeParameters.containsKey(typeVariable)) { in registerTypeVariableIfNotPresent() 136 contextualActualTypeParameters.put(typeVariable, boundsOf(typeVariable)); in registerTypeVariableIfNotPresent() 220 TypeVariable<?> typeVariable = (TypeVariable<?>) type; in getActualTypeArgumentFor() local 221 return getActualTypeArgumentFor(typeVariable); in getActualTypeArgumentFor() 381 private final TypeVariable<?> typeVariable; field in GenericMetadataSupport.TypeVariableReturnType 385 …pe(GenericMetadataSupport source, TypeVariable<?>[] typeParameters, TypeVariable<?> typeVariable) { in TypeVariableReturnType() argument 387 this.typeVariable = typeVariable; in TypeVariableReturnType() 399 for (Type type : typeVariable.getBounds()) { in readTypeVariables() 402 registerTypeParametersOn(new TypeVariable[] { typeVariable }); in readTypeVariables() [all …]
|
/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 | ReflectionTypeParameter.java | 39 private TypeVariable typeVariable; field in ReflectionTypeParameter 43 …public ReflectionTypeParameter(TypeVariable typeVariable, boolean declaredOnClass, TypeSolver type… in ReflectionTypeParameter() argument 44 GenericDeclaration genericDeclaration = typeVariable.getGenericDeclaration(); in ReflectionTypeParameter() 52 this.typeVariable = typeVariable; in ReflectionTypeParameter() 78 int result = typeVariable.hashCode(); in hashCode() 85 return typeVariable.getName(); in getName() 113 …return Arrays.stream(typeVariable.getBounds()).map((refB) -> Bound.extendsBound(ReflectionFactory.… in getBounds() 119 "typeVariable=" + typeVariable + in toString()
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/reflectionmodel/ |
D | ReflectionTypeParameter.java | 39 private TypeVariable typeVariable; field in ReflectionTypeParameter 43 …public ReflectionTypeParameter(TypeVariable typeVariable, boolean declaredOnClass, TypeSolver type… in ReflectionTypeParameter() argument 44 GenericDeclaration genericDeclaration = typeVariable.getGenericDeclaration(); in ReflectionTypeParameter() 52 this.typeVariable = typeVariable; in ReflectionTypeParameter() 78 int result = typeVariable.hashCode(); in hashCode() 85 return typeVariable.getName(); in getName() 113 …return Arrays.stream(typeVariable.getBounds()).map((refB) -> Bound.extendsBound(ReflectionFactory.… in getBounds() 119 "typeVariable=" + typeVariable + in toString()
|
/external/guava/guava/src/com/google/common/reflect/ |
D | TypeParameter.java | 40 final TypeVariable<?> typeVariable; field in TypeParameter 45 this.typeVariable = (TypeVariable<?>) type; in TypeParameter() 50 return typeVariable.hashCode(); in hashCode() 57 return typeVariable.equals(that.typeVariable); in equals() 64 return typeVariable.toString(); in toString()
|
D | TypeResolver.java | 131 void visitTypeVariable(TypeVariable<?> typeVariable) { in populateTypeMappings() argument 132 mappings.put(new TypeVariableKey(typeVariable), to); in populateTypeMappings()
|
D | Types.java | 328 TypeVariable<D> typeVariable = in newTypeVariableImpl() local 331 return typeVariable; in newTypeVariableImpl()
|
/external/guava/android/guava/src/com/google/common/reflect/ |
D | TypeParameter.java | 40 final TypeVariable<?> typeVariable; field in TypeParameter 45 this.typeVariable = (TypeVariable<?>) type; in TypeParameter() 50 return typeVariable.hashCode(); in hashCode() 57 return typeVariable.equals(that.typeVariable); in equals() 64 return typeVariable.toString(); in toString()
|
D | TypeResolver.java | 131 void visitTypeVariable(TypeVariable<?> typeVariable) { in populateTypeMappings() argument 132 mappings.put(new TypeVariableKey(typeVariable), to); in populateTypeMappings()
|
/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_ReflectionTypeParameter.txt | 1 …Line 44) typeVariable.getGenericDeclaration() ==> java.lang.reflect.TypeVariable.getGenericDeclara… 10 Line 78) typeVariable.hashCode() ==> java.lang.Object.hashCode() 12 Line 85) typeVariable.getName() ==> java.lang.reflect.TypeVariable.getName() 17 …Line 113) Arrays.stream(typeVariable.getBounds()).map((refB) -> Bound.extendsBound(ReflectionFacto… 18 …Line 113) Arrays.stream(typeVariable.getBounds()).map((refB) -> Bound.extendsBound(ReflectionFacto… 19 Line 113) Arrays.stream(typeVariable.getBounds()) ==> java.util.Arrays.stream(T[]) 20 Line 113) typeVariable.getBounds() ==> java.lang.reflect.TypeVariable.getBounds()
|
/external/dagger2/java/dagger/internal/codegen/writing/ |
D | OptionalFactories.java | 135 TypeVariableName typeVariable = TypeVariableName.get("T"); in absentOptionalProviderMethod() local 140 .addTypeVariable(typeVariable) in absentOptionalProviderMethod() 141 .returns(providerOf(optionalKind.of(typeVariable))) in absentOptionalProviderMethod() 149 providerOf(optionalKind.of(typeVariable)), in absentOptionalProviderMethod() 194 TypeVariableName typeVariable() { 200 return requestTypeName(valueKind(), typeVariable()); 215 return frameworkType().frameworkClassOf(typeVariable()); 315 .addTypeVariable(spec.typeVariable()) 341 .addTypeVariable(spec.typeVariable()) 347 spec.typeVariable(), [all …]
|
/external/javapoet/src/main/java/com/squareup/javapoet/ |
D | CodeWriter.java | 196 typeVariables.forEach(typeVariable -> currentTypeVariables.add(typeVariable.name)); in emitTypeVariables() 200 for (TypeVariableName typeVariable : typeVariables) { in emitTypeVariables() 202 emitAnnotations(typeVariable.annotations, true); in emitTypeVariables() 203 emit("$L", typeVariable.name); in emitTypeVariables() 205 for (TypeName bound : typeVariable.bounds) { in emitTypeVariables() 215 typeVariables.forEach(typeVariable -> currentTypeVariables.remove(typeVariable.name)); in popTypeVariables()
|
D | MethodSpec.java | 370 for (TypeVariableName typeVariable : typeVariables) { in addTypeVariables() 371 this.typeVariables.add(typeVariable); in addTypeVariables() 376 public Builder addTypeVariable(TypeVariableName typeVariable) { in addTypeVariable() argument 377 typeVariables.add(typeVariable); in addTypeVariable()
|
D | TypeSpec.java | 477 for (TypeVariableName typeVariable : typeVariables) { in addTypeVariables() 478 this.typeVariables.add(typeVariable); in addTypeVariables() 483 public Builder addTypeVariable(TypeVariableName typeVariable) { in addTypeVariable() argument 484 typeVariables.add(typeVariable); in addTypeVariable()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/reflectionmodel/ |
D | ReflectionInterfaceDeclarationTest.java | 76 … ResolvedTypeVariable typeVariable = new ResolvedTypeVariable(list.getTypeParameters().get(0)); in testAllAncestors() local 77 …nterfaceDeclaration(Collection.class, typeResolver), ImmutableList.of(typeVariable), typeResolver)… in testAllAncestors() 79 …nInterfaceDeclaration(Iterable.class, typeResolver), ImmutableList.of(typeVariable), typeResolver)… in testAllAncestors()
|
D | ReflectionClassDeclarationTest.java | 305 …ResolvedTypeVariable typeVariable = new ResolvedTypeVariable(arraylist.getTypeParameters().get(0)); in testAllAncestors() local 307 …Declaration(AbstractCollection.class, typeResolver), ImmutableList.of(typeVariable), typeResolver)… in testAllAncestors() 308 …ctionInterfaceDeclaration(List.class, typeResolver), ImmutableList.of(typeVariable), typeResolver)… in testAllAncestors() 310 …nterfaceDeclaration(Collection.class, typeResolver), ImmutableList.of(typeVariable), typeResolver)… in testAllAncestors() 311 …nClassDeclaration(AbstractList.class, typeResolver), ImmutableList.of(typeVariable), typeResolver)… in testAllAncestors() 313 …nInterfaceDeclaration(Iterable.class, typeResolver), ImmutableList.of(typeVariable), typeResolver)… in testAllAncestors()
|
/external/auto/factory/src/main/java/com/google/auto/factory/processor/ |
D | FactoryWriter.java | 242 TypeVariableName typeVariable = TypeVariableName.get("T"); in addCheckNotNullMethod() local 246 .addTypeVariable(typeVariable) in addCheckNotNullMethod() 247 .returns(typeVariable) in addCheckNotNullMethod() 248 .addParameter(typeVariable, "reference") in addCheckNotNullMethod() 328 for (TypeVariable typeVariable : TypeVariables.getReferencedTypeVariables(type)) { in getReferencedTypeParameterNames() 329 typeVariableNames.add(TypeVariableName.get(typeVariable)); in getReferencedTypeParameterNames()
|
/external/guava/guava-tests/test/com/google/common/reflect/ |
D | TypeTokenResolutionTest.java | 448 TypeVariable<?> typeVariable = 450 assertEquals(String.class, typeVariable.getBounds()[0]); 454 TypeVariable<?> typeVariable = 456 assertEquals(Types.newParameterizedType(Enum.class, typeVariable), typeVariable.getBounds()[0]);
|
D | TypeParameterTest.java | 33 TypeVariable<?> variable = new TypeParameter<T>() {}.typeVariable; in testCaptureTypeParameter()
|
D | TypesTest.java | 320 TypeVariable<D> typeVariable, Type... bounds) { in withBounds() argument 322 typeVariable.getGenericDeclaration(), typeVariable.getName(), bounds); in withBounds()
|
/external/guava/android/guava-tests/test/com/google/common/reflect/ |
D | TypeTokenResolutionTest.java | 448 TypeVariable<?> typeVariable = 450 assertEquals(String.class, typeVariable.getBounds()[0]); 454 TypeVariable<?> typeVariable = 456 assertEquals(Types.newParameterizedType(Enum.class, typeVariable), typeVariable.getBounds()[0]);
|
D | TypeParameterTest.java | 33 TypeVariable<?> variable = new TypeParameter<T>() {}.typeVariable; in testCaptureTypeParameter()
|
D | TypesTest.java | 320 TypeVariable<D> typeVariable, Type... bounds) { in withBounds() argument 322 typeVariable.getGenericDeclaration(), typeVariable.getName(), bounds); in withBounds()
|
/external/guice/core/src/com/google/inject/internal/ |
D | MoreTypes.java | 346 private static Class<?> declaringClassOf(TypeVariable typeVariable) { in declaringClassOf() argument 347 GenericDeclaration genericDeclaration = typeVariable.getGenericDeclaration(); in declaringClassOf()
|
/external/dagger2/java/dagger/internal/codegen/langmodel/ |
D | DaggerElements.java | 351 public String visitTypeVariable(TypeVariable typeVariable, Void v) { 353 return getDescriptor(typeVariable.getUpperBound());
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/model/typesystem/ |
D | ReferenceTypeTest.java | 580 ResolvedTypeVariable typeVariable = new ResolvedTypeVariable(streamMapR); in testReplaceTypeVariables() local 581 …oBuilder().setValue(stream.getTypeDeclaration().getTypeParameters().get(0), typeVariable).build()); in testReplaceTypeVariables() 598 ResolvedTypeVariable typeVariable = new ResolvedTypeVariable(streamMapR); in testReplaceTypeVariablesWithLambdaInBetween() local 599 …oBuilder().setValue(stream.getTypeDeclaration().getTypeParameters().get(0), typeVariable).build()); in testReplaceTypeVariablesWithLambdaInBetween()
|