/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/resolution/types/ |
D | ResolvedTypeVariable.java | 37 private ResolvedTypeParameterDeclaration typeParameter; field in ResolvedTypeVariable 39 public ResolvedTypeVariable(ResolvedTypeParameterDeclaration typeParameter) { in ResolvedTypeVariable() argument 40 this.typeParameter = typeParameter; in ResolvedTypeVariable() 45 return "TypeVariable {" + typeParameter.toString() + "}"; in toString() 49 return this.typeParameter.getQualifiedName(); in qualifiedName() 59 if (!typeParameter.getName().equals(that.typeParameter.getName())) return false; in equals() 60 if (typeParameter.declaredOnType() != that.typeParameter.declaredOnType()) return false; in equals() 61 if (typeParameter.declaredOnMethod() != that.typeParameter.declaredOnMethod()) return false; in equals() 68 return typeParameter.hashCode(); in hashCode() 83 if(tpToBeReplaced.getName().equals(this.typeParameter.getName())){ in replaceTypeVariables() [all …]
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-model/com/github/javaparser/symbolsolver/model/typesystem/ |
D | TypeVariable.java | 31 private TypeParameterDeclaration typeParameter; field in TypeVariable 33 public TypeVariable(TypeParameterDeclaration typeParameter) { in TypeVariable() argument 34 this.typeParameter = typeParameter; in TypeVariable() 39 return "TypeVariable {" + typeParameter.getQualifiedName() + "}"; in toString() 43 return this.typeParameter.getQualifiedName(); in qualifiedName() 53 if (!typeParameter.getName().equals(that.typeParameter.getName())) return false; in equals() 54 if (typeParameter.declaredOnType() != that.typeParameter.declaredOnType()) return false; in equals() 55 if (typeParameter.declaredOnMethod() != that.typeParameter.declaredOnMethod()) return false; in equals() 62 return typeParameter.hashCode(); in hashCode() 77 if(tpToBeReplaced.getName().equals(this.typeParameter.getName())){ in replaceTypeVariables() [all …]
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-model/ |
D | com_github_javaparser_symbolsolver_model_typesystem_TypeVariable.txt | 1 …Line 39) typeParameter.getQualifiedName() ==> com.github.javaparser.symbolsolver.model.declaration… 2 …Line 43) this.typeParameter.getQualifiedName() ==> com.github.javaparser.symbolsolver.model.declar… 5 …Line 53) typeParameter.getName().equals(that.typeParameter.getName()) ==> java.lang.String.equals(… 6 …Line 53) typeParameter.getName() ==> com.github.javaparser.symbolsolver.model.declarations.TypePar… 7 …Line 53) that.typeParameter.getName() ==> com.github.javaparser.symbolsolver.model.declarations.Ty… 8 …Line 54) typeParameter.declaredOnType() ==> com.github.javaparser.symbolsolver.model.declarations.… 9 …Line 54) that.typeParameter.declaredOnType() ==> com.github.javaparser.symbolsolver.model.declarat… 10 …Line 55) typeParameter.declaredOnMethod() ==> com.github.javaparser.symbolsolver.model.declaration… 11 …Line 55) that.typeParameter.declaredOnMethod() ==> com.github.javaparser.symbolsolver.model.declar… 12 Line 62) typeParameter.hashCode() ==> java.lang.Object.hashCode() [all …]
|
D | com_github_javaparser_symbolsolver_model_methods_MethodUsage.txt | 14 …Line 125) typeParametersMap.toBuilder().setValue(typeParameter, type).build() ==> com.github.javap… 15 …Line 125) typeParametersMap.toBuilder().setValue(typeParameter, type) ==> com.github.javaparser.sy… 19 …Line 130) originalParamType.replaceTypeVariables(typeParameter, type, inferredTypes) ==> com.githu… 21 …Line 134) oldReturnType.replaceTypeVariables(typeParameter, type, inferredTypes) ==> com.github.ja…
|
D | com_github_javaparser_symbolsolver_model_typesystem_parametrization_TypeParametersMap.txt | 3 …Line 54) typeParameter.getQualifiedName() ==> com.github.javaparser.symbolsolver.model.declaration… 5 Line 56) nameToDeclaration.put(qualifiedName, typeParameter) ==> java.util.Map.put(K, V) 12 …Line 99) typeParameter.getQualifiedName() ==> com.github.javaparser.symbolsolver.model.declaration…
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/nodeTypes/ |
D | NodeWithTypeParameters.java | 46 default N setTypeParameter(int i, TypeParameter typeParameter) { in setTypeParameter() argument 47 getTypeParameters().set(i, typeParameter); in setTypeParameter() 52 default N addTypeParameter(TypeParameter typeParameter) { in addTypeParameter() argument 53 getTypeParameters().add(typeParameter); in addTypeParameter() 60 default N addTypeParameter(String typeParameter) { in addTypeParameter() argument 61 return addTypeParameter(parseTypeParameter(typeParameter)); in addTypeParameter()
|
/external/llvm-project/mlir/lib/TableGen/ |
D | TypeDef.cpp | 113 if (auto *typeParameter = dyn_cast<llvm::DefInit>(parameterType)) { in getAllocator() local 114 llvm::RecordVal *code = typeParameter->getDef()->getValue("allocator"); in getAllocator() 123 typeParameter->getDef()->getLoc(), in getAllocator() 135 if (auto *typeParameter = dyn_cast<llvm::DefInit>(parameterType)) in getCppType() local 136 return typeParameter->getDef()->getValueAsString("cppType"); in getCppType() 143 if (auto *typeParameter = dyn_cast<llvm::DefInit>(parameterType)) { in getDescription() local 144 const auto *desc = typeParameter->getDef()->getValue("description"); in getDescription() 154 if (auto *typeParameter = dyn_cast<llvm::DefInit>(parameterType)) { in getSyntax() local 155 const auto *syntax = typeParameter->getDef()->getValue("syntax"); in getSyntax()
|
/external/mockito/src/main/java/org/mockito/internal/util/reflection/ |
D | GenericMetadataSupport.java | 116 TypeVariable<?> typeParameter = typeParameters[i]; in registerTypeVariablesOn() local 120 … contextualActualTypeParameters.put(typeParameter, boundsOf((WildcardType) actualTypeArgument)); in registerTypeVariablesOn() 121 } else if (typeParameter != actualTypeArgument) { in registerTypeVariablesOn() 122 contextualActualTypeParameters.put(typeParameter, actualTypeArgument); in registerTypeVariablesOn() 146 private BoundedType boundsOf(TypeVariable<?> typeParameter) { in boundsOf() argument 147 if (typeParameter.getBounds()[0] instanceof TypeVariable) { in boundsOf() 148 return boundsOf((TypeVariable<?>) typeParameter.getBounds()[0]); in boundsOf() 150 return new TypeVarBoundedType(typeParameter); in boundsOf() 206 for (TypeVariable<?> typeParameter : typeParameters) { in actualTypeArguments() 208 Type actualType = getActualTypeArgumentFor(typeParameter); in actualTypeArguments() [all …]
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/resolution/types/parametrization/ |
D | ResolvedTypeParametersMap.java | 58 public Builder setValue(ResolvedTypeParameterDeclaration typeParameter, in setValue() argument 61 String qualifiedName = typeParameter.getQualifiedName(); in setValue() 63 nameToDeclaration.put(qualifiedName, typeParameter); in setValue() 106 public ResolvedType getValue(ResolvedTypeParameterDeclaration typeParameter) { in getValue() argument 107 String qualifiedName = typeParameter.getQualifiedName(); in getValue() 111 return new ResolvedTypeVariable(typeParameter); in getValue()
|
D | ResolvedTypeParameterValueProvider.java | 47 ResolvedTypeParameterDeclaration typeParameter = type.asTypeParameter(); in useThisTypeParametersOnTheGivenType() local 48 if (typeParameter.declaredOnType()) { in useThisTypeParametersOnTheGivenType() 49 Optional<ResolvedType> typeParam = typeParamValue(typeParameter); in useThisTypeParametersOnTheGivenType()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-model/com/github/javaparser/symbolsolver/model/typesystem/parametrization/ |
D | TypeParametersMap.java | 52 public Builder setValue(TypeParameterDeclaration typeParameter, Type value) { in setValue() argument 54 String qualifiedName = typeParameter.getQualifiedName(); in setValue() 56 nameToDeclaration.put(qualifiedName, typeParameter); in setValue() 98 public Type getValue(TypeParameterDeclaration typeParameter) { in getValue() argument 99 String qualifiedName = typeParameter.getQualifiedName(); in getValue() 103 return new TypeVariable(typeParameter); in getValue()
|
D | TypeParameterValueProvider.java | 26 TypeParameterDeclaration typeParameter = type.asTypeParameter(); in useThisTypeParametersOnTheGivenType() local 27 if (typeParameter.declaredOnType()) { in useThisTypeParametersOnTheGivenType() 28 Optional<Type> typeParam = typeParamValue(typeParameter); in useThisTypeParametersOnTheGivenType()
|
/external/auto/value/src/it/functional/src/test/java/com/google/auto/value/gwt/ |
D | EmptyExtension.java | 115 for (TypeParameterElement typeParameter : typeParameters) { in formalTypeParametersString() 118 appendTypeParameterWithBounds(typeParameter, sb); in formalTypeParametersString() 124 TypeParameterElement typeParameter, StringBuilder sb) { in appendTypeParameterWithBounds() argument 125 sb.append(typeParameter.getSimpleName()); in appendTypeParameterWithBounds() 127 for (TypeMirror bound : typeParameter.getBounds()) { in appendTypeParameterWithBounds()
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/resolution/ |
D | MethodUsage.java | 153 …public MethodUsage replaceTypeParameter(ResolvedTypeParameterDeclaration typeParameter, ResolvedTy… in replaceTypeParameter() argument 160 typeParametersMap.toBuilder().setValue(typeParameter, type).build()); in replaceTypeParameter() 165 …ResolvedType newParamType = originalParamType.replaceTypeVariables(typeParameter, type, inferredTy… in replaceTypeParameter() 170 … ResolvedType newType = originalType.replaceTypeVariables(typeParameter, type, inferredTypes); in replaceTypeParameter() 174 …ResolvedType newReturnType = oldReturnType.replaceTypeVariables(typeParameter, type, inferredTypes… in replaceTypeParameter()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-model/com/github/javaparser/symbolsolver/model/methods/ |
D | MethodUsage.java | 119 public MethodUsage replaceTypeParameter(TypeParameterDeclaration typeParameter, Type type) { in replaceTypeParameter() argument 125 …ation, paramTypes, returnType, typeParametersMap.toBuilder().setValue(typeParameter, type).build()… in replaceTypeParameter() 130 … Type newParamType = originalParamType.replaceTypeVariables(typeParameter, type, inferredTypes); in replaceTypeParameter() 134 Type newReturnType = oldReturnType.replaceTypeVariables(typeParameter, type, inferredTypes); in replaceTypeParameter()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/declarations/common/ |
D | MethodDeclarationCommonLogic.java | 71 TypeParameterDeclaration typeParameter = type.asTypeParameter(); in replaceTypeParams() local 72 if (typeParameter.declaredOnType()) { in replaceTypeParams() 73 … Optional<Type> typeParam = typeParamByName(typeParameter.getName(), typeSolver, context); in replaceTypeParams()
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/declarations/common/ |
D | MethodDeclarationCommonLogic.java | 71 ResolvedTypeParameterDeclaration typeParameter = type.asTypeParameter(); in replaceTypeParams() local 72 if (typeParameter.declaredOnType()) { in replaceTypeParams() 73 … Optional<ResolvedType> typeParam = typeParamByName(typeParameter.getName(), context); in replaceTypeParams()
|
/external/auto/value/src/main/java/com/google/auto/value/processor/ |
D | TypeEncoder.java | 171 for (TypeParameterElement typeParameter : typeParameters) { in formalTypeParametersString() 174 appendTypeParameterWithBounds(typeParameter, sb); in formalTypeParametersString() 181 TypeParameterElement typeParameter, StringBuilder sb) { in appendTypeParameterWithBounds() argument 182 appendAnnotations(typeParameter.getAnnotationMirrors(), sb); in appendTypeParameterWithBounds() 183 sb.append(typeParameter.getSimpleName()); in appendTypeParameterWithBounds() 185 for (TypeMirror bound : typeParameter.getBounds()) { in appendTypeParameterWithBounds()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/declarations/ |
D | JavaParserTypeAdapter.java | 80 …for (com.github.javaparser.ast.type.TypeParameter typeParameter : this.wrappedNode.getTypeParamete… in solveType() 81 if (typeParameter.getName().getId().equals(name)) { in solveType() 82 … return SymbolReference.solved(new JavaParserTypeVariableDeclaration(typeParameter, typeSolver)); in solveType()
|
/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_javaparsermodel_declarations_JavaParserTypeAdapter.txt | 22 …Line 81) typeParameter.getName().getId().equals(name) ==> java.lang.String.equals(java.lang.Object) 23 …Line 81) typeParameter.getName().getId() ==> com.github.javaparser.ast.nodeTypes.NodeWithIdentifie… 24 Line 81) typeParameter.getName() ==> com.github.javaparser.ast.type.TypeParameter.getName() 25 …Line 82) SymbolReference.solved(new JavaParserTypeVariableDeclaration(typeParameter, typeSolver)) …
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/declarations/ |
D | JavaParserTypeAdapter.java | 93 for (com.github.javaparser.ast.type.TypeParameter typeParameter : typeParameters) { in solveType() 94 if (typeParameter.getName().getId().equals(name)) { in solveType() 95 … return SymbolReference.solved(new JavaParserTypeVariableDeclaration(typeParameter, typeSolver)); in solveType()
|
/external/guava/android/guava-tests/test/com/google/common/collect/ |
D | FauxveridesTest.java | 248 TypeParameterSignature(TypeVariable<?> typeParameter) { in TypeParameterSignature() argument 249 name = typeParameter.getName(); in TypeParameterSignature() 250 bounds = Arrays.asList(typeParameter.getBounds()); in TypeParameterSignature()
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | FauxveridesTest.java | 248 TypeParameterSignature(TypeVariable<?> typeParameter) { in TypeParameterSignature() argument 249 name = typeParameter.getName(); in TypeParameterSignature() 250 bounds = Arrays.asList(typeParameter.getBounds()); in TypeParameterSignature()
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/reflectionmodel/ |
D | ReflectionFactory.java | 59 …ResolvedTypeParameterDeclaration typeParameter = new ReflectionTypeParameter(tv, declaredOnClass, … in typeUsageFor() local 60 return new ResolvedTypeVariable(typeParameter); in typeUsageFor()
|
/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 | ReflectionFactory.java | 56 …TypeParameterDeclaration typeParameter = new ReflectionTypeParameter(tv, declaredOnClass, typeSolv… in typeUsageFor() local 57 … return new com.github.javaparser.symbolsolver.model.typesystem.TypeVariable(typeParameter); in typeUsageFor()
|