/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/model/typesystem/ |
D | ArrayTypeTest.java | 137 assertTrue(arrayOfBooleans == arrayOfBooleans.replaceTypeVariables(tpA, OBJECT)); in testReplaceParam() 138 assertTrue(arrayOfStrings == arrayOfStrings.replaceTypeVariables(tpA, OBJECT)); in testReplaceParam() 139 assertEquals(arrayOfListOfStrings, arrayOfListOfStrings.replaceTypeVariables(tpA, OBJECT)); in testReplaceParam() 143 assertEquals(true, arrayOfListOfA.replaceTypeVariables(tpA, OBJECT).isArray()); in testReplaceParam() 145 arrayOfListOfA.replaceTypeVariables(tpA, OBJECT).asArrayType().getComponentType() in testReplaceParam() 148 arrayOfListOfA.replaceTypeVariables(tpA, OBJECT).asArrayType().getComponentType() in testReplaceParam() 153 arrayOfListOfA.replaceTypeVariables(tpA, OBJECT).asArrayType().getComponentType()); in testReplaceParam() 154 assertEquals(arrayOfListOfObjects, arrayOfListOfA.replaceTypeVariables(tpA, OBJECT)); in testReplaceParam() 155 assertEquals(arrayOfListOfStrings, arrayOfListOfA.replaceTypeVariables(tpA, STRING)); in testReplaceParam() 156 assertTrue(arrayOfListOfA != arrayOfListOfA.replaceTypeVariables(tpA, OBJECT)); in testReplaceParam()
|
D | WildcardUsageTest.java | 189 assertTrue(unbounded == unbounded.replaceTypeVariables(tpA, string)); in testReplaceParam() 190 assertTrue(superFoo == superFoo.replaceTypeVariables(tpA, string)); in testReplaceParam() 191 assertTrue(extendsFoo == extendsFoo.replaceTypeVariables(tpA, string)); in testReplaceParam() 192 assertEquals(superString, superA.replaceTypeVariables(tpA, string)); in testReplaceParam() 193 assertEquals(extendsString, extendsA.replaceTypeVariables(tpA, string)); in testReplaceParam() 194 assertTrue(superA == superA.replaceTypeVariables(tpB, string)); in testReplaceParam() 195 assertTrue(extendsA == extendsA.replaceTypeVariables(tpB, string)); in testReplaceParam()
|
D | ReferenceTypeTest.java | 169 assertTrue(object == object.replaceTypeVariables(tpA, object)); in testReplaceParam() 170 assertTrue(string == string.replaceTypeVariables(tpA, object)); in testReplaceParam() 171 assertEquals(listOfStrings, listOfStrings.replaceTypeVariables(tpA, object)); in testReplaceParam() 172 assertEquals(listOfStrings, listOfA.replaceTypeVariables(tpA, string)); in testReplaceParam() 578 ResolvedType streamReplaced = stream.replaceTypeVariables(tpToReplace, replaced); in testReplaceTypeVariables() 596 ResolvedType streamReplaced = stream.replaceTypeVariables(tpToReplace, replaced); in testReplaceTypeVariablesWithLambdaInBetween()
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/model/typesystem/ |
D | LazyType.java | 106 …public ResolvedType replaceTypeVariables(ResolvedTypeParameterDeclaration tp, ResolvedType replace… in replaceTypeVariables() method in LazyType 108 return getType().replaceTypeVariables(tp, replaced, inferredTypes); in replaceTypeVariables() 112 …public ResolvedType replaceTypeVariables(ResolvedTypeParameterDeclaration tp, ResolvedType replace… in replaceTypeVariables() method in LazyType 113 return getType().replaceTypeVariables(tp, replaced); in replaceTypeVariables()
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/resolution/types/ |
D | ResolvedType.java | 165 …default ResolvedType replaceTypeVariables(ResolvedTypeParameterDeclaration tp, ResolvedType replac… in replaceTypeVariables() method 172 …default ResolvedType replaceTypeVariables(ResolvedTypeParameterDeclaration tp, ResolvedType replac… in replaceTypeVariables() method 173 return replaceTypeVariables(tp, replaced, new HashMap<>()); in replaceTypeVariables()
|
D | ResolvedArrayType.java | 104 …public ResolvedType replaceTypeVariables(ResolvedTypeParameterDeclaration tpToReplace, ResolvedTyp… in replaceTypeVariables() method in ResolvedArrayType 105 …ResolvedType baseTypeReplaced = baseType.replaceTypeVariables(tpToReplace, replaced, inferredTypes… in replaceTypeVariables()
|
D | ResolvedIntersectionType.java | 70 …public ResolvedType replaceTypeVariables(ResolvedTypeParameterDeclaration tp, ResolvedType replace… in replaceTypeVariables() method in ResolvedIntersectionType 72 .map(e -> e.replaceTypeVariables(tp, replaced, inferredTypes)) in replaceTypeVariables()
|
D | ResolvedWildcard.java | 147 …public ResolvedType replaceTypeVariables(ResolvedTypeParameterDeclaration tpToReplace, ResolvedTyp… in replaceTypeVariables() method in ResolvedWildcard 154 …ResolvedType boundedTypeReplaced = boundedType.replaceTypeVariables(tpToReplace, replaced, inferre… in replaceTypeVariables()
|
D | ResolvedTypeVariable.java | 82 …public ResolvedType replaceTypeVariables(ResolvedTypeParameterDeclaration tpToBeReplaced, Resolved… in replaceTypeVariables() method in ResolvedTypeVariable
|
D | ResolvedReferenceType.java | 157 …public ResolvedType replaceTypeVariables(ResolvedTypeParameterDeclaration tpToReplace, ResolvedTyp… in replaceTypeVariables() method in ResolvedReferenceType 166 … ResolvedType transformedTp = tp.replaceTypeVariables(tpToReplace, replaced, inferredTypes); in replaceTypeVariables()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-model/ |
D | com_github_javaparser_symbolsolver_model_methods_MethodUsage.txt | 19 …amType.replaceTypeVariables(typeParameter, type, inferredTypes) ==> com.github.javaparser.symbolso… 21 …rnType.replaceTypeVariables(typeParameter, type, inferredTypes) ==> com.github.javaparser.symbolso…
|
D | com_github_javaparser_symbolsolver_model_typesystem_Wildcard.txt | 9 …dType.replaceTypeVariables(tpToReplace, replaced, inferredTypes) ==> com.github.javaparser.symbols…
|
D | com_github_javaparser_symbolsolver_model_typesystem_ArrayType.txt | 18 …eType.replaceTypeVariables(tpToReplace, replaced, inferredTypes) ==> com.github.javaparser.symbols…
|
D | com_github_javaparser_symbolsolver_model_typesystem_Type.txt | 17 …Line 156) replaceTypeVariables(tp, replaced, new HashMap<>()) ==> com.github.javaparser.symbolsolv…
|
D | com_github_javaparser_symbolsolver_model_typesystem_parametrization_TypeParametersMap.txt | 23 …replaceTypeVariables(typeParameterDeclaration, getValue(typeParameterDeclaration), inferredTypes) …
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/ |
D | com_github_javaparser_symbolsolver_model_typesystem_LazyType.txt | 34 … getType().replaceTypeVariables(tp, replaced, inferredTypes) ==> com.github.javaparser.symbolsolve… 36 …ne 110) getType().replaceTypeVariables(tp, replaced) ==> com.github.javaparser.symbolsolver.model.…
|
D | com_github_javaparser_symbolsolver_reflectionmodel_ReflectionMethodResolutionLogic.txt | 59 pt = pt.replaceTypeVariables(tp, finalTypeParameterValues.get(i)); 67 pt = pt.replaceTypeVariables(tp, finalTypeParameterValues.get(i)); 74 …18) pt.replaceTypeVariables(tp, finalTypeParameterValues.get(i)) ==> com.github.javaparser.symbols…
|
D | com_github_javaparser_symbolsolver_resolution_MethodResolutionLogic.txt | 192 …WithInference.replaceTypeVariables(tp, entry.getValue()) ==> com.github.javaparser.symbolsolver.mo… 196 …replaceTypeVariables(tp, Wildcard.extendsBound(new ReferenceTypeImpl(typeSolver.solveType(Object.c… 205 …pe.replaceTypeVariables(tp, Wildcard.extendsBound(bound.getType())) ==> com.github.javaparser.symb… 208 …ype.replaceTypeVariables(tp, Wildcard.superBound(bound.getType())) ==> com.github.javaparser.symbo… 213 …replaceTypeVariables(tp, new ReferenceTypeImpl(typeSolver.solveType(Object.class.getCanonicalName(… 221 … expectedType2.replaceTypeVariables(tp, bound.getType()) ==> com.github.javaparser.symbolsolver.mo… 223 …replaceTypeVariables(tp, new ReferenceTypeImpl(typeSolver.solveType(Object.class.getCanonicalName(…
|
D | com_github_javaparser_symbolsolver_javaparsermodel_contexts_LambdaExprContext.txt | 53 …lambdaType.replaceTypeVariables(entry._1, ot, inferredTypes) ==> com.github.javaparser.symbolsolve…
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/resolution/ |
D | MethodUsage.java | 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/java/com/github/javaparser/symbolsolver/resolution/ |
D | MethodsResolutionLogicTest.java | 56 …enceType classOfStringType = (ResolvedReferenceType) rawClassType.replaceTypeVariables(rawClassTyp… in compatibilityShouldConsiderAlsoTypeVariablesNegative() 78 …nceType classOfRuntimeType = (ResolvedReferenceType) rawClassType.replaceTypeVariables(rawClassTyp… in compatibilityShouldConsiderAlsoTypeVariablesPositive()
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/ |
D | MethodResolutionLogic.java | 309 … expectedTypeWithInference = expectedTypeWithInference.replaceTypeVariables(tp, entry.getValue()); in isApplicable() 315 …expectedType = expectedType.replaceTypeVariables(tp, ResolvedWildcard.extendsBound(new ReferenceTy… in isApplicable() 320 …expectedType = expectedType.replaceTypeVariables(tp, ResolvedWildcard.extendsBound(bound.getType()… in isApplicable() 323 …expectedType = expectedType.replaceTypeVariables(tp, ResolvedWildcard.superBound(bound.getType())); in isApplicable() 332 …expectedType2 = expectedType2.replaceTypeVariables(tp, new ReferenceTypeImpl(typeSolver.solveType(… in isApplicable() 336 expectedType2 = expectedType2.replaceTypeVariables(tp, bound.getType()); in isApplicable() 338 …expectedType2 = expectedType2.replaceTypeVariables(tp, new ReferenceTypeImpl(typeSolver.solveType(… in isApplicable()
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typeinference/ |
D | Substitution.java | 41 result = result.replaceTypeVariables(typeParameterDeclarations.get(i), types.get(i)); in apply()
|
D | InstantiationSet.java | 64 …type = type.replaceTypeVariables(instantiation.getInferenceVariable().getTypeParameterDeclaration(… in apply()
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/resolution/types/parametrization/ |
D | ResolvedTypeParametersMap.java | 142 …type = type.replaceTypeVariables(typeParameterDeclaration, getValue(typeParameterDeclaration), inf… in replaceAll()
|