/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/reflectionmodel/ |
D | ReflectionParameterDeclarationTest.java | 59 assertEquals(true, put.getReturnType().asTypeParameter().declaredOnType()); in testGetGenericReturnType() 60 assertEquals("java.util.Map.V", put.getReturnType().asTypeParameter().getQualifiedName()); in testGetGenericReturnType() 71 assertEquals(true, put.getParam(0).getType().asTypeParameter().declaredOnType()); in testGetGenericParameters() 72 … assertEquals("java.util.Map.K", put.getParam(0).getType().asTypeParameter().getQualifiedName()); in testGetGenericParameters() 75 assertEquals(true, put.getParam(1).getType().asTypeParameter().declaredOnType()); in testGetGenericParameters() 76 … assertEquals("java.util.Map.V", put.getParam(1).getType().asTypeParameter().getQualifiedName()); in testGetGenericParameters()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/ |
D | AnalyseNewJavaParserHelpersTest.java | 89 …assertEquals("T", type.asReferenceType().typeParametersValues().get(0).asTypeParameter().getName()… in nodesTypeIsCorrect() 90 …il.List<T>).T", type.asReferenceType().typeParametersValues().get(0).asTypeParameter().getQualifie… in nodesTypeIsCorrect() 91 …assertEquals(1, type.asReferenceType().typeParametersValues().get(0).asTypeParameter().getBounds()… in nodesTypeIsCorrect() 92 …n.Bound bound = type.asReferenceType().typeParametersValues().get(0).asTypeParameter().getBounds()… in nodesTypeIsCorrect()
|
/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_JavaParserTypeVariableDeclaration.txt | 12 …Line 185) asTypeParameter().containerType() ==> com.github.javaparser.symbolsolver.model.declarati… 13 …ine 185) asTypeParameter() ==> com.github.javaparser.symbolsolver.javaparsermodel.declarations.Jav…
|
D | com_github_javaparser_symbolsolver_javaparsermodel_contexts_LambdaExprContext.txt | 48 …Line 115) entry._2.asTypeParameter().declaredOnType() ==> com.github.javaparser.symbolsolver.model… 49 …Line 115) entry._2.asTypeParameter() ==> com.github.javaparser.symbolsolver.model.typesystem.Type.… 55 …Line 120) lambdaType.asTypeParameter().declaredOnType() ==> com.github.javaparser.symbolsolver.mod… 56 …Line 120) lambdaType.asTypeParameter() ==> com.github.javaparser.symbolsolver.model.typesystem.Typ… 57 …Line 121) t.asReferenceType().typeParametersMap().getValue(lambdaType.asTypeParameter()) ==> com.g… 60 …Line 121) lambdaType.asTypeParameter() ==> com.github.javaparser.symbolsolver.model.typesystem.Typ…
|
D | com_github_javaparser_symbolsolver_model_typesystem_ReferenceTypeImpl.txt | 6 …laration.asTypeParameter() ==> com.github.javaparser.symbolsolver.javaparsermodel.declarations.Jav… 32 …Line 113) other.asTypeVariable().asTypeParameter().getBounds(typeSolver) ==> com.github.javaparser… 33 …) other.asTypeVariable().asTypeParameter() ==> com.github.javaparser.symbolsolver.model.typesystem…
|
D | com_github_javaparser_symbolsolver_resolution_MethodResolutionLogic.txt | 46 …Line 107) expectedType.asTypeParameter().declaredOnMethod() ==> com.github.javaparser.symbolsolver… 47 …Line 107) expectedType.asTypeParameter() ==> com.github.javaparser.symbolsolver.model.typesystem.T… 48 …Line 108) matchedParameters.put(expectedType.asTypeParameter().getName(), actualType) ==> java.uti… 49 …Line 108) expectedType.asTypeParameter().getName() ==> com.github.javaparser.symbolsolver.model.de… 50 …Line 108) expectedType.asTypeParameter() ==> com.github.javaparser.symbolsolver.model.typesystem.T… 77 …Line 148) matchedParameters.put(expected.asTypeParameter().getName(), actual) ==> java.util.Map.pu… 78 …Line 148) expected.asTypeParameter().getName() ==> com.github.javaparser.symbolsolver.model.declar… 79 …Line 148) expected.asTypeParameter() ==> com.github.javaparser.symbolsolver.model.typesystem.Type.… 109 …Line 194) expectedParam.asTypeParameter().getName() ==> com.github.javaparser.symbolsolver.model.d… 110 …Line 194) expectedParam.asTypeParameter() ==> com.github.javaparser.symbolsolver.model.typesystem.… [all …]
|
D | com_github_javaparser_symbolsolver_javaparsermodel_contexts_MethodCallExprContext.txt | 90 …Line 186) typeOfScope.asTypeParameter().getBounds(typeSolver) ==> com.github.javaparser.symbolsolv… 91 …Line 186) typeOfScope.asTypeParameter() ==> com.github.javaparser.symbolsolver.model.typesystem.Ty… 180 Line 293) mappings.put(target.asTypeParameter(), source) ==> java.util.Map.put(K, V) 181 …Line 293) target.asTypeParameter() ==> com.github.javaparser.symbolsolver.model.typesystem.Type.as… 184 Line 297) mappings.put(target.asTypeParameter(), source) ==> java.util.Map.put(K, V) 185 …Line 297) target.asTypeParameter() ==> com.github.javaparser.symbolsolver.model.typesystem.Type.as… 195 Line 308) mappings.put(target.asTypeParameter(), source) ==> java.util.Map.put(K, V) 196 …Line 308) target.asTypeParameter() ==> com.github.javaparser.symbolsolver.model.typesystem.Type.as… 216 Line 328) mappings.put(target.asTypeParameter(), source) ==> java.util.Map.put(K, V) 217 …Line 328) target.asTypeParameter() ==> com.github.javaparser.symbolsolver.model.typesystem.Type.as… [all …]
|
D | com_github_javaparser_symbolsolver_resolution_ConstructorResolutionLogic.txt | 44 …Line 103) expectedType.asTypeParameter().declaredOnMethod() ==> com.github.javaparser.symbolsolver… 45 …Line 103) expectedType.asTypeParameter() ==> com.github.javaparser.symbolsolver.model.typesystem.T… 46 …Line 104) matchedParameters.put(expectedType.asTypeParameter().getName(), actualType) ==> java.uti… 47 …Line 104) expectedType.asTypeParameter().getName() ==> com.github.javaparser.symbolsolver.model.de… 48 …Line 104) expectedType.asTypeParameter() ==> com.github.javaparser.symbolsolver.model.typesystem.T…
|
/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 | 16 Line 78) inferredTypes.put(this.asTypeParameter(), replaced) ==> java.util.Map.put(K, V) 17 …Line 78) this.asTypeParameter() ==> com.github.javaparser.symbolsolver.model.typesystem.TypeVariab…
|
D | com_github_javaparser_symbolsolver_model_typesystem_ReferenceType.txt | 56 Line 182) inferredTypes.put(tp.asTypeParameter(), replaced) ==> java.util.Map.put(K, V) 57 …Line 182) tp.asTypeParameter() ==> com.github.javaparser.symbolsolver.model.typesystem.Type.asType… 216 …Line 452) thisParam.asTypeVariable().asTypeParameter().getBounds(this.typeSolver).stream().map(bou… 217 …Line 452) thisParam.asTypeVariable().asTypeParameter().getBounds(this.typeSolver).stream().map(bou… 218 …Line 452) thisParam.asTypeVariable().asTypeParameter().getBounds(this.typeSolver).stream() ==> jav… 219 …Line 452) thisParam.asTypeVariable().asTypeParameter().getBounds(this.typeSolver) ==> com.github.j… 220 …isParam.asTypeVariable().asTypeParameter() ==> com.github.javaparser.symbolsolver.model.typesystem… 224 …Line 453) otherParam.asTypeVariable().asTypeParameter().getBounds(other.typeSolver).stream().map(b… 225 …Line 453) otherParam.asTypeVariable().asTypeParameter().getBounds(other.typeSolver).stream().map(b… 226 …Line 453) otherParam.asTypeVariable().asTypeParameter().getBounds(other.typeSolver).stream() ==> j… [all …]
|
/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 | ReferenceTypeImpl.java | 66 public TypeParameterDeclaration asTypeParameter() { in asTypeParameter() method in ReferenceTypeImpl 69 return javaParserTypeVariableDeclaration.asTypeParameter(); in asTypeParameter() 113 for (Bound bound : other.asTypeVariable().asTypeParameter().getBounds(typeSolver)) { in isAssignableBy()
|
D | LazyType.java | 79 public TypeParameterDeclaration asTypeParameter() { in asTypeParameter() method in LazyType 80 return getType().asTypeParameter(); in asTypeParameter()
|
/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 | 78 inferredTypes.put(this.asTypeParameter(), replaced); in replaceTypeVariables() 96 public TypeParameterDeclaration asTypeParameter() { in asTypeParameter() method in TypeVariable
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/resolution/types/ |
D | ResolvedTypeVariable.java | 84 inferredTypes.put(this.asTypeParameter(), replaced); in replaceTypeVariables() 102 public ResolvedTypeParameterDeclaration asTypeParameter() { in asTypeParameter() method in ResolvedTypeVariable
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/ |
D | MethodResolutionLogic.java | 102 …pe.isTypeVariable() && !(expectedType.isWildcard())) && expectedType.asTypeParameter().declaredOnM… in isApplicable() 103 matchedParameters.put(expectedType.asTypeParameter().getName(), actualType); in isApplicable() 143 matchedParameters.put(expected.asTypeParameter().getName(), actual); in isAssignableMatchTypeParameters() 189 String expectedParamName = expectedParam.asTypeParameter().getName(); in isAssignableMatchTypeParametersMatchingQName() 190 …if (!actualParam.isTypeVariable() || !actualParam.asTypeParameter().getName().equals(expectedParam… in isAssignableMatchTypeParametersMatchingQName() 213 String typeParameterName = typeVariable.asTypeParameter().getName(); in matchTypeVariable() 650 mappings.put(target.asTypeParameter(), source); in inferTypes() 662 mappings.put(target.asTypeParameter(), source); in inferTypes() 666 mappings.put(target.asTypeParameter(), source); in inferTypes()
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/model/typesystem/ |
D | LazyType.java | 80 public ResolvedTypeParameterDeclaration asTypeParameter() { in asTypeParameter() method in LazyType 81 return getType().asTypeParameter(); in asTypeParameter()
|
D | ReferenceTypeImpl.java | 76 public ResolvedTypeParameterDeclaration asTypeParameter() { in asTypeParameter() method in ReferenceTypeImpl 79 return javaParserTypeVariableDeclaration.asTypeParameter(); in asTypeParameter() 123 …esolvedTypeParameterDeclaration.Bound bound : other.asTypeVariable().asTypeParameter().getBounds()… in isAssignableBy()
|
/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/ |
D | MethodCallExprContext.java | 186 … for (TypeParameterDeclaration.Bound bound : typeOfScope.asTypeParameter().getBounds(typeSolver)) { in solveMethod() 293 mappings.put(target.asTypeParameter(), source); in inferTypes() 297 mappings.put(target.asTypeParameter(), source); in inferTypes() 308 mappings.put(target.asTypeParameter(), source); in inferTypes() 328 mappings.put(target.asTypeParameter(), source); in inferTypes() 394 matchedTypeParameters.put(expectedType.asTypeParameter(), actualType); in matchTypeParameters() 423 for (TypeParameterDeclaration.Bound bound : tp.asTypeParameter().getBounds(typeSolver)) { in solveMethodAsUsage()
|
D | LambdaExprContext.java | 115 … if (entry._2.isTypeVariable() && entry._2.asTypeParameter().declaredOnType()) { in solveSymbolAsValue() 120 … } else if (lambdaType.isTypeVariable() && lambdaType.asTypeParameter().declaredOnType()) { in solveSymbolAsValue() 121 … lambdaType = t.asReferenceType().typeParametersMap().getValue(lambdaType.asTypeParameter()); in solveSymbolAsValue()
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typeinference/constraintformulas/ |
D | TypeSubtypeOfType.java | 98 if (T.asTypeVariable().asTypeParameter().hasLowerBound()) { in reduce() 99 …neConstraint(new TypeSubtypeOfType(typeSolver, S, T.asTypeVariable().asTypeParameter().getLowerBou… in reduce()
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/contexts/ |
D | MethodCallExprContext.java | 251 mappings.put(target.asTypeParameter(), source); in inferTypes() 255 mappings.put(target.asTypeParameter(), source); in inferTypes() 272 mappings.put(target.asTypeParameter(), source); in inferTypes() 292 mappings.put(target.asTypeParameter(), source); in inferTypes() 358 matchedTypeParameters.put(expectedType.asTypeParameter(), actualType); in matchTypeParameters() 387 for (ResolvedTypeParameterDeclaration.Bound bound : tp.asTypeParameter().getBounds()) { in solveMethodAsUsage()
|
D | LambdaExprContext.java | 115 … if (entry.b.isTypeVariable() && entry.b.asTypeParameter().declaredOnType()) { in solveSymbolAsValue() 120 … } else if (lambdaType.isTypeVariable() && lambdaType.asTypeParameter().declaredOnType()) { in solveSymbolAsValue() 121 … lambdaType = t.asReferenceType().typeParametersMap().getValue(lambdaType.asTypeParameter()); in solveSymbolAsValue()
|
/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 | 107 …pe.isTypeVariable() && !(expectedType.isWildcard())) && expectedType.asTypeParameter().declaredOnM… in isApplicable() 108 matchedParameters.put(expectedType.asTypeParameter().getName(), actualType); in isApplicable() 148 matchedParameters.put(expected.asTypeParameter().getName(), actual); in isAssignableMatchTypeParameters() 194 String expectedParamName = expectedParam.asTypeParameter().getName(); in isAssignableMatchTypeParametersMatchingQName() 195 …if (!actualParam.isTypeVariable() || !actualParam.asTypeParameter().getName().equals(expectedParam… in isAssignableMatchTypeParametersMatchingQName() 651 mappings.put(target.asTypeParameter(), source); in inferTypes() 663 mappings.put(target.asTypeParameter(), source); in inferTypes() 667 mappings.put(target.asTypeParameter(), source); in inferTypes()
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/declarations/ |
D | JavaParserTypeVariableDeclaration.java | 167 public ResolvedTypeParameterDeclaration asTypeParameter() { in asTypeParameter() method in JavaParserTypeVariableDeclaration 182 return asTypeParameter().containerType(); in containerType()
|
/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 | JavaParserTypeVariableDeclaration.java | 170 public TypeParameterDeclaration asTypeParameter() { in asTypeParameter() method in JavaParserTypeVariableDeclaration 185 return asTypeParameter().containerType(); in containerType()
|