/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/model/typesystem/ |
D | ArrayTypeTest.java | 136 assertSame(arrayOfBooleans, arrayOfBooleans.replaceTypeVariables(tpA, OBJECT)); in testReplaceParam() 137 assertSame(arrayOfStrings, arrayOfStrings.replaceTypeVariables(tpA, OBJECT)); in testReplaceParam() 138 assertEquals(arrayOfListOfStrings, arrayOfListOfStrings.replaceTypeVariables(tpA, OBJECT)); in testReplaceParam() 142 assertTrue(arrayOfListOfA.replaceTypeVariables(tpA, OBJECT).isArray()); in testReplaceParam() 144 arrayOfListOfA.replaceTypeVariables(tpA, OBJECT).asArrayType().getComponentType() in testReplaceParam() 147 arrayOfListOfA.replaceTypeVariables(tpA, OBJECT).asArrayType().getComponentType() in testReplaceParam() 152 arrayOfListOfA.replaceTypeVariables(tpA, OBJECT).asArrayType().getComponentType()); in testReplaceParam() 153 assertEquals(arrayOfListOfObjects, arrayOfListOfA.replaceTypeVariables(tpA, OBJECT)); in testReplaceParam() 154 assertEquals(arrayOfListOfStrings, arrayOfListOfA.replaceTypeVariables(tpA, STRING)); in testReplaceParam() 155 assertNotSame(arrayOfListOfA, arrayOfListOfA.replaceTypeVariables(tpA, OBJECT)); in testReplaceParam()
|
D | WildcardUsageTest.java | 190 assertTrue(unbounded == unbounded.replaceTypeVariables(tpA, string)); in testReplaceParam() 191 assertTrue(superFoo == superFoo.replaceTypeVariables(tpA, string)); in testReplaceParam() 192 assertTrue(extendsFoo == extendsFoo.replaceTypeVariables(tpA, string)); in testReplaceParam() 193 assertEquals(superString, superA.replaceTypeVariables(tpA, string)); in testReplaceParam() 194 assertEquals(extendsString, extendsA.replaceTypeVariables(tpA, string)); in testReplaceParam() 195 assertTrue(superA == superA.replaceTypeVariables(tpB, string)); in testReplaceParam() 196 assertTrue(extendsA == extendsA.replaceTypeVariables(tpB, string)); in testReplaceParam()
|
/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/ |
D | LazyType.java | 104 …public Type replaceTypeVariables(TypeParameterDeclaration tp, Type replaced, Map<TypeParameterDecl… in replaceTypeVariables() method in LazyType 105 return getType().replaceTypeVariables(tp, replaced, inferredTypes); in replaceTypeVariables() 109 public Type replaceTypeVariables(TypeParameterDeclaration tp, Type replaced) { in replaceTypeVariables() method in LazyType 110 return getType().replaceTypeVariables(tp, replaced); in replaceTypeVariables()
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/model/typesystem/ |
D | LazyType.java | 105 …public ResolvedType replaceTypeVariables(ResolvedTypeParameterDeclaration tp, ResolvedType replace… in replaceTypeVariables() method in LazyType 107 return getType().replaceTypeVariables(tp, replaced, inferredTypes); in replaceTypeVariables() 111 …public ResolvedType replaceTypeVariables(ResolvedTypeParameterDeclaration tp, ResolvedType replace… in replaceTypeVariables() method in LazyType 112 return getType().replaceTypeVariables(tp, replaced); in replaceTypeVariables()
|
/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 | Type.java | 148 …default Type replaceTypeVariables(TypeParameterDeclaration tp, Type replaced, Map<TypeParameterDec… in replaceTypeVariables() method 155 default Type replaceTypeVariables(TypeParameterDeclaration tp, Type replaced) { in replaceTypeVariables() method 156 return replaceTypeVariables(tp, replaced, new HashMap<>()); in replaceTypeVariables()
|
D | ArrayType.java | 99 …public Type replaceTypeVariables(TypeParameterDeclaration tpToReplace, Type replaced, Map<TypePara… in replaceTypeVariables() method in ArrayType 100 Type baseTypeReplaced = baseType.replaceTypeVariables(tpToReplace, replaced, inferredTypes); in replaceTypeVariables()
|
D | Wildcard.java | 141 …public Type replaceTypeVariables(TypeParameterDeclaration tpToReplace, Type replaced, Map<TypePara… in replaceTypeVariables() method in Wildcard 148 … Type boundedTypeReplaced = boundedType.replaceTypeVariables(tpToReplace, replaced, inferredTypes); 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()
|
/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_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/test_sourcecode/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…
|
/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-core/src/main/java/com/github/javaparser/symbolsolver/resolution/ |
D | MethodResolutionLogic.java | 289 … expectedTypeWithInference = expectedTypeWithInference.replaceTypeVariables(tp, entry.getValue()); in isApplicable() 295 …expectedType = expectedType.replaceTypeVariables(tp, ResolvedWildcard.extendsBound(new ReferenceTy… in isApplicable() 300 …expectedType = expectedType.replaceTypeVariables(tp, ResolvedWildcard.extendsBound(bound.getType()… in isApplicable() 303 …expectedType = expectedType.replaceTypeVariables(tp, ResolvedWildcard.superBound(bound.getType())); in isApplicable() 312 …expectedType2 = expectedType2.replaceTypeVariables(tp, new ReferenceTypeImpl(typeSolver.solveType(… in isApplicable() 316 expectedType2 = expectedType2.replaceTypeVariables(tp, bound.getType()); in isApplicable() 318 …expectedType2 = expectedType2.replaceTypeVariables(tp, new ReferenceTypeImpl(typeSolver.solveType(… in isApplicable()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/ |
D | MethodsResolutionLogicTest.java | 57 …enceType classOfStringType = (ResolvedReferenceType) rawClassType.replaceTypeVariables(rawClassTyp… in compatibilityShouldConsiderAlsoTypeVariablesNegative() 79 …nceType classOfRuntimeType = (ResolvedReferenceType) rawClassType.replaceTypeVariables(rawClassTyp… in compatibilityShouldConsiderAlsoTypeVariablesPositive()
|
/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 | 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/resolution/ |
D | MethodResolutionLogic.java | 297 … expectedTypeWithInference = expectedTypeWithInference.replaceTypeVariables(tp, entry.getValue()); in isApplicable() 303 …expectedType = expectedType.replaceTypeVariables(tp, Wildcard.extendsBound(new ReferenceTypeImpl(t… in isApplicable() 308 … expectedType = expectedType.replaceTypeVariables(tp, Wildcard.extendsBound(bound.getType())); in isApplicable() 311 … expectedType = expectedType.replaceTypeVariables(tp, Wildcard.superBound(bound.getType())); in isApplicable() 320 …expectedType2 = expectedType2.replaceTypeVariables(tp, new ReferenceTypeImpl(typeSolver.solveType(… in isApplicable() 324 expectedType2 = expectedType2.replaceTypeVariables(tp, bound.getType()); in isApplicable() 326 …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()
|