Home
last modified time | relevance | path

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

12

/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/contexts/
DMethodCallExprContext.java98 Map<ResolvedTypeParameterDeclaration, ResolvedType> inferredTypes = new HashMap<>(); in solveMethodAsUsage() local
103 …datedArgumentType = usingParameterTypesFromScope(typeOfScope, originalArgumentType, inferredTypes); in solveMethodAsUsage()
107 … ResolvedType updatedArgumentType = applyInferredTypes(argumentsTypes.get(i), inferredTypes); in solveMethodAsUsage()
428 …Type scope, ResolvedType type, Map<ResolvedTypeParameterDeclaration, ResolvedType> inferredTypes) { in usingParameterTypesFromScope() argument
432 …ntry.a, scope.asReferenceType().getGenericParameterByName(entry.a.getName()).get(), inferredTypes); in usingParameterTypesFromScope()
441 …ferredTypes(ResolvedType type, Map<ResolvedTypeParameterDeclaration, ResolvedType> inferredTypes) { in applyInferredTypes() argument
442 for (ResolvedTypeParameterDeclaration tp : inferredTypes.keySet()) { in applyInferredTypes()
443 type = type.replaceTypeVariables(tp, inferredTypes.get(tp), inferredTypes); in applyInferredTypes()
DLambdaExprContext.java112 … Map<ResolvedTypeParameterDeclaration, ResolvedType> inferredTypes = new HashMap<>(); in solveSymbolAsValue() local
117 … lambdaType = lambdaType.replaceTypeVariables(entry.a, ot, inferredTypes); in solveSymbolAsValue()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/resolution/
DMethodUsage.java162 Map<ResolvedTypeParameterDeclaration, ResolvedType> inferredTypes = new HashMap<>(); in replaceTypeParameter() local
165 …lvedType newParamType = originalParamType.replaceTypeVariables(typeParameter, type, inferredTypes); in replaceTypeParameter()
170 … ResolvedType newType = originalType.replaceTypeVariables(typeParameter, type, inferredTypes); in replaceTypeParameter()
174 …esolvedType 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/javaparsermodel/contexts/
DMethodCallExprContext.java103 Map<TypeParameterDeclaration, Type> inferredTypes = new HashMap<>(); in solveMethodAsUsage() local
108 …datedArgumentType = usingParameterTypesFromScope(typeOfScope, originalArgumentType, inferredTypes); in solveMethodAsUsage()
112 Type updatedArgumentType = applyInferredTypes(argumentsTypes.get(i), inferredTypes); in solveMethodAsUsage()
457 …ParameterTypesFromScope(Type scope, Type type, Map<TypeParameterDeclaration, Type> inferredTypes) { in usingParameterTypesFromScope() argument
461 …ry._1, scope.asReferenceType().getGenericParameterByName(entry._1.getName()).get(), inferredTypes); in usingParameterTypesFromScope()
470 private Type applyInferredTypes(Type type, Map<TypeParameterDeclaration, Type> inferredTypes) { in applyInferredTypes() argument
471 for (TypeParameterDeclaration tp : inferredTypes.keySet()) { in applyInferredTypes()
472 type = type.replaceTypeVariables(tp, inferredTypes.get(tp), inferredTypes); in applyInferredTypes()
DLambdaExprContext.java112 Map<TypeParameterDeclaration, Type> inferredTypes = new HashMap<>(); in solveSymbolAsValue() local
117 … lambdaType = lambdaType.replaceTypeVariables(entry._1, ot, inferredTypes); in solveSymbolAsValue()
/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/
DMethodUsage.java127 Map<TypeParameterDeclaration, Type> inferredTypes = new HashMap<>(); in replaceTypeParameter() local
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-model/com/github/javaparser/symbolsolver/model/typesystem/
DArrayType.java99 …rameterDeclaration tpToReplace, Type replaced, Map<TypeParameterDeclaration, Type> inferredTypes) { in replaceTypeVariables() argument
100 Type baseTypeReplaced = baseType.replaceTypeVariables(tpToReplace, replaced, inferredTypes); in replaceTypeVariables()
DTypeVariable.java76 …eterDeclaration tpToBeReplaced, Type replaced, Map<TypeParameterDeclaration, Type> inferredTypes) { in replaceTypeVariables() argument
78 inferredTypes.put(this.asTypeParameter(), replaced); in replaceTypeVariables()
DWildcard.java141 …rameterDeclaration tpToReplace, Type replaced, Map<TypeParameterDeclaration, Type> inferredTypes) { in replaceTypeVariables() argument
148 … Type boundedTypeReplaced = boundedType.replaceTypeVariables(tpToReplace, replaced, inferredTypes); in replaceTypeVariables()
DReferenceType.java171 …rameterDeclaration tpToReplace, Type replaced, Map<TypeParameterDeclaration, Type> inferredTypes) { in replaceTypeVariables() argument
179 Type transformedTp = tp.replaceTypeVariables(tpToReplace, replaced, inferredTypes); in replaceTypeVariables()
182 inferredTypes.put(tp.asTypeParameter(), replaced); in replaceTypeVariables()
DType.java148 …es(TypeParameterDeclaration tp, Type replaced, Map<TypeParameterDeclaration, Type> inferredTypes) { in replaceTypeVariables() argument
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/resolution/types/
DResolvedArrayType.java104 …eplace, ResolvedType replaced, Map<ResolvedTypeParameterDeclaration, ResolvedType> inferredTypes) { in replaceTypeVariables() argument
105 …esolvedType baseTypeReplaced = baseType.replaceTypeVariables(tpToReplace, replaced, inferredTypes); in replaceTypeVariables()
DResolvedIntersectionType.java70 …ion tp, ResolvedType replaced, Map<ResolvedTypeParameterDeclaration, ResolvedType> inferredTypes) { in replaceTypeVariables() argument
72 .map(e -> e.replaceTypeVariables(tp, replaced, inferredTypes)) in replaceTypeVariables()
DResolvedTypeVariable.java82 …placed, ResolvedType replaced, Map<ResolvedTypeParameterDeclaration, ResolvedType> inferredTypes) { in replaceTypeVariables() argument
84 inferredTypes.put(this.asTypeParameter(), replaced); in replaceTypeVariables()
DResolvedWildcard.java147 …eplace, ResolvedType replaced, Map<ResolvedTypeParameterDeclaration, ResolvedType> inferredTypes) { in replaceTypeVariables() argument
154 …dType boundedTypeReplaced = boundedType.replaceTypeVariables(tpToReplace, replaced, inferredTypes); in replaceTypeVariables()
DResolvedReferenceType.java166 … Map<ResolvedTypeParameterDeclaration, ResolvedType> inferredTypes) { in replaceTypeVariables() argument
174 … ResolvedType transformedTp = tp.replaceTypeVariables(tpToReplace, replaced, inferredTypes); in replaceTypeVariables()
177 inferredTypes.put(tp.asTypeParameter(), replaced); in replaceTypeVariables()
DResolvedType.java165 …ion tp, ResolvedType replaced, Map<ResolvedTypeParameterDeclaration, ResolvedType> inferredTypes) { in replaceTypeVariables() argument
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/model/typesystem/
DLazyType.java104 …es(TypeParameterDeclaration tp, Type replaced, Map<TypeParameterDeclaration, Type> inferredTypes) { in replaceTypeVariables() argument
105 return getType().replaceTypeVariables(tp, replaced, inferredTypes); in replaceTypeVariables()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/model/typesystem/
DLazyType.java106 … Map<ResolvedTypeParameterDeclaration, ResolvedType> inferredTypes) { in replaceTypeVariables() argument
107 return getType().replaceTypeVariables(tp, replaced, inferredTypes); in replaceTypeVariables()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/resolution/types/parametrization/
DResolvedTypeParametersMap.java140 Map<ResolvedTypeParameterDeclaration, ResolvedType> inferredTypes = new HashMap<>(); in replaceAll() local
142 ….replaceTypeVariables(typeParameterDeclaration, getValue(typeParameterDeclaration), inferredTypes); in replaceAll()
/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/
DTypeParametersMap.java132 Map<TypeParameterDeclaration, Type> inferredTypes = new HashMap<>(); in replaceAll() local
134 ….replaceTypeVariables(typeParameterDeclaration, getValue(typeParameterDeclaration), inferredTypes); in replaceAll()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-model/
Dcom_github_javaparser_symbolsolver_model_methods_MethodUsage.txt19 …Line 130) originalParamType.replaceTypeVariables(typeParameter, type, inferredTypes) ==> com.githu…
21 …Line 134) oldReturnType.replaceTypeVariables(typeParameter, type, inferredTypes) ==> com.github.ja…
Dcom_github_javaparser_symbolsolver_model_typesystem_Wildcard.txt9 …Line 148) boundedType.replaceTypeVariables(tpToReplace, replaced, inferredTypes) ==> com.github.ja…
Dcom_github_javaparser_symbolsolver_model_typesystem_ArrayType.txt18 …Line 100) baseType.replaceTypeVariables(tpToReplace, replaced, inferredTypes) ==> com.github.javap…
Dcom_github_javaparser_symbolsolver_model_typesystem_TypeVariable.txt16 Line 78) inferredTypes.put(this.asTypeParameter(), replaced) ==> java.util.Map.put(K, V)

12