/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/ |
D | MethodsResolutionTest.java | 29 import com.github.javaparser.resolution.declarations.ResolvedMethodDeclaration; 152 …SymbolReference<ResolvedMethodDeclaration> reference = JavaParserFacade.get(new ReflectionTypeSolv… in solveMethodWithTypePromotionsToLong() 158 …SymbolReference<ResolvedMethodDeclaration> reference = JavaParserFacade.get(new ReflectionTypeSolv… in solveMethodWithTypePromotionsToLong() 164 …SymbolReference<ResolvedMethodDeclaration> reference = JavaParserFacade.get(new ReflectionTypeSolv… in solveMethodWithTypePromotionsToLong() 170 …SymbolReference<ResolvedMethodDeclaration> reference = JavaParserFacade.get(new ReflectionTypeSolv… in solveMethodWithTypePromotionsToLong() 186 …SymbolReference<ResolvedMethodDeclaration> reference = JavaParserFacade.get(new ReflectionTypeSolv… in solveMethodWithTypePromotionsToInt() 192 …SymbolReference<ResolvedMethodDeclaration> reference = JavaParserFacade.get(new ReflectionTypeSolv… in solveMethodWithTypePromotionsToInt() 198 …SymbolReference<ResolvedMethodDeclaration> reference = JavaParserFacade.get(new ReflectionTypeSolv… in solveMethodWithTypePromotionsToInt() 204 …SymbolReference<ResolvedMethodDeclaration> reference = JavaParserFacade.get(new ReflectionTypeSolv… in solveMethodWithTypePromotionsToInt() 219 …SymbolReference<ResolvedMethodDeclaration> reference = JavaParserFacade.get(new ReflectionTypeSolv… in solveMethodWithTypePromotionsToShort() [all …]
|
D | UnknownMethodsResolutionTest.java | 8 import com.github.javaparser.resolution.declarations.ResolvedMethodDeclaration; 25 …SymbolReference<ResolvedMethodDeclaration> ref = JavaParserFacade.get(new ReflectionTypeSolver()).… in testUnknownMethod1() 37 …SymbolReference<ResolvedMethodDeclaration> ref = JavaParserFacade.get(new ReflectionTypeSolver()).… in testUnknownMethod2()
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/reflectionmodel/ |
D | ReflectionMethodResolutionLogic.java | 20 import com.github.javaparser.resolution.declarations.ResolvedMethodDeclaration; 45 …static SymbolReference<ResolvedMethodDeclaration> solveMethod(String name, List<ResolvedType> para… in solveMethod() 48 List<ResolvedMethodDeclaration> methods = new ArrayList<>(); in solveMethod() 52 … ResolvedMethodDeclaration methodDeclaration = new ReflectionMethodDeclaration(method, typeSolver); in solveMethod() 57 …SymbolReference<ResolvedMethodDeclaration> ref = MethodResolutionLogic.solveMethodInType(ancestor.… in solveMethod() 65 …SymbolReference<ResolvedMethodDeclaration> ref = MethodResolutionLogic.solveMethodInType(objectCla… in solveMethod() 89 … ResolvedMethodDeclaration methodDeclaration = new ReflectionMethodDeclaration(method, typeSolver); in solveMethodAsUsage() 97 …SymbolReference<ResolvedMethodDeclaration> ref = MethodResolutionLogic.solveMethodInType(ancestor.… in solveMethodAsUsage() 99 … ResolvedMethodDeclaration correspondingDeclaration = ref.getCorrespondingDeclaration(); in solveMethodAsUsage() 107 …SymbolReference<ResolvedMethodDeclaration> ref = MethodResolutionLogic.solveMethodInType(objectCla… in solveMethodAsUsage() [all …]
|
D | ReflectionClassDeclaration.java | 86 public Set<ResolvedMethodDeclaration> getDeclaredMethods() { in getDeclaredMethods() 139 …public SymbolReference<ResolvedMethodDeclaration> solveMethod(String name, List<ResolvedType> argu… in solveMethod() 140 List<ResolvedMethodDeclaration> methods = new ArrayList<>(); in solveMethod() 145 … ResolvedMethodDeclaration methodDeclaration = new ReflectionMethodDeclaration(method, typeSolver); in solveMethod() 155 …SymbolReference<ResolvedMethodDeclaration> ref = MethodResolutionLogic.solveMethodInType(superClas… in solveMethod() 161 …SymbolReference<ResolvedMethodDeclaration> ref = MethodResolutionLogic.solveMethodInType(interface… in solveMethod() 171 return SymbolReference.unsolved(ResolvedMethodDeclaration.class); in solveMethod() 192 … ResolvedMethodDeclaration methodDeclaration = new ReflectionMethodDeclaration(method, typeSolver); in solveMethodAsUsage()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/reflectionmodel/ |
D | ReflectionParameterDeclarationTest.java | 21 import com.github.javaparser.resolution.declarations.ResolvedMethodDeclaration; 40 …ResolvedMethodDeclaration hashCode = object.getAllMethods().stream().filter(m -> m.getName().equal… in testGetSignature() 41 …ResolvedMethodDeclaration equals = object.getAllMethods().stream().filter(m -> m.getName().equals(… in testGetSignature() 42 …ResolvedMethodDeclaration containsAll = list.getAllMethods().stream().filter(m -> m.getName().equa… in testGetSignature() 43 …ResolvedMethodDeclaration subList = list.getAllMethods().stream().filter(m -> m.getName().equals("… in testGetSignature() 57 …ResolvedMethodDeclaration put = map.getAllMethods().stream().filter(m -> m.getName().equals("put")… in testGetGenericReturnType() 69 …ResolvedMethodDeclaration put = map.getAllMethods().stream().filter(m -> m.getName().equals("put")… in testGetGenericParameters()
|
D | ReflectionMethodDeclarationTest.java | 21 import com.github.javaparser.resolution.declarations.ResolvedMethodDeclaration; 39 …ResolvedMethodDeclaration equals = object.getAllMethods().stream().filter(m -> m.getName().equals(… in testParameterNameOnClassesFromTheStdLibrary() 40 …ResolvedMethodDeclaration containsAll = list.getAllMethods().stream().filter(m -> m.getName().equa… in testParameterNameOnClassesFromTheStdLibrary() 41 …ResolvedMethodDeclaration subList = list.getAllMethods().stream().filter(m -> m.getName().equals("… in testParameterNameOnClassesFromTheStdLibrary() 61 …ResolvedMethodDeclaration myMethod = foo.getAllMethods().stream().filter(m -> m.getName().equals("… in testParameterNameOnClassesFromThisProject()
|
D | ReflectionInterfaceDeclarationTest.java | 21 import com.github.javaparser.resolution.declarations.ResolvedMethodDeclaration; 45 List<ResolvedMethodDeclaration> methods = list.getDeclaredMethods().stream() in testGetDeclaredMethods() 49 for (ResolvedMethodDeclaration method : methods) { in testGetDeclaredMethods()
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/resolution/ |
D | MethodUsage.java | 24 import com.github.javaparser.resolution.declarations.ResolvedMethodDeclaration; 41 private ResolvedMethodDeclaration declaration; 47 public MethodUsage(ResolvedMethodDeclaration declaration) { in MethodUsage() 59 public MethodUsage(ResolvedMethodDeclaration declaration, in MethodUsage() 65 …public MethodUsage(ResolvedMethodDeclaration declaration, List<ResolvedType> paramTypes, ResolvedT… in MethodUsage() 70 …private MethodUsage(ResolvedMethodDeclaration declaration, List<ResolvedType> paramTypes, Resolved… in MethodUsage() 87 public ResolvedMethodDeclaration getDeclaration() { in getDeclaration()
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/ |
D | MethodResolutionLogic.java | 60 …public static boolean isApplicable(ResolvedMethodDeclaration method, String name, List<ResolvedTyp… in isApplicable() 64 …private static boolean isApplicable(ResolvedMethodDeclaration method, String name, List<ResolvedTy… in isApplicable() 352 …public static SymbolReference<ResolvedMethodDeclaration> findMostApplicable(List<ResolvedMethodDec… in findMostApplicable() 354 …SymbolReference<ResolvedMethodDeclaration> res = findMostApplicable(methods, name, argumentsTypes,… in findMostApplicable() 361 …public static SymbolReference<ResolvedMethodDeclaration> findMostApplicable(List<ResolvedMethodDec… in findMostApplicable() 364 List<ResolvedMethodDeclaration> methodsWithMatchingName = methods.stream() in findMostApplicable() 368 List<ResolvedMethodDeclaration> applicableMethods = methodsWithMatchingName.stream() in findMostApplicable() 370 .filter(distinctByKey(ResolvedMethodDeclaration::getQualifiedSignature)) in findMostApplicable() 376 return SymbolReference.unsolved(ResolvedMethodDeclaration.class); in findMostApplicable() 388 Set<ResolvedMethodDeclaration> removeCandidates = new HashSet<>(); in findMostApplicable() [all …]
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typeinference/ |
D | TypeInference.java | 7 import com.github.javaparser.resolution.declarations.ResolvedMethodDeclaration; 45 …public static MethodUsage toMethodUsage(MethodCallExpr call, ResolvedMethodDeclaration methodDecla… in toMethodUsage() 59 …ationSet> instantiationInference(MethodCallExpr methodCallExpr, ResolvedMethodDeclaration methodDe… in instantiationInference() 63 …t> instantiationInference(List<Expression> argumentExpressions, ResolvedMethodDeclaration methodDe… in instantiationInference() 148 …invocationApplicabilityInference(MethodCallExpr methodCallExpr, ResolvedMethodDeclaration methodDe… in invocationApplicabilityInference() 387 …ecificMethodInference(MethodCallExpr methodCall, ResolvedMethodDeclaration m1, ResolvedMethodDecla… in moreSpecificMethodInference() 481 …private static MethodUsage instantiationSetToMethodUsage(ResolvedMethodDeclaration methodDeclarati… in instantiationSetToMethodUsage() 550 …oolean appearInThrowsClause(ResolvedTypeParameterDeclaration p, ResolvedMethodDeclaration methodDe… in appearInThrowsClause() 560 private List<ResolvedType> formalParameterTypes(ResolvedMethodDeclaration methodDeclaration) { in formalParameterTypes()
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/contexts/ |
D | AnonymousClassDeclarationContext.java | 7 import com.github.javaparser.resolution.declarations.ResolvedMethodDeclaration; 42 public SymbolReference<ResolvedMethodDeclaration> solveMethod(String name, in solveMethod() 45 List<ResolvedMethodDeclaration> candidateMethods = in solveMethod() 54 SymbolReference<ResolvedMethodDeclaration> res = in solveMethod() 71 SymbolReference<ResolvedMethodDeclaration> parentSolution = in solveMethod() 80 SymbolReference<ResolvedMethodDeclaration> res = in solveMethod()
|
D | JavaParserTypeDeclarationAdapter.java | 112 …public SymbolReference<ResolvedMethodDeclaration> solveMethod(String name, List<ResolvedType> argu… in solveMethod() 113 … List<ResolvedMethodDeclaration> candidateMethods = typeDeclaration.getDeclaredMethods().stream() in solveMethod() 126 SymbolReference<ResolvedMethodDeclaration> res = MethodResolutionLogic in solveMethod() 140 …SymbolReference<ResolvedMethodDeclaration> parentSolution = context.getParent().solveMethod(name, … in solveMethod() 148 …SymbolReference<ResolvedMethodDeclaration> res = MethodResolutionLogic.solveMethodInType(new Refle… in solveMethod()
|
D | CompilationUnitContext.java | 261 …public SymbolReference<ResolvedMethodDeclaration> solveMethod(String name, List<ResolvedType> argu… in solveMethod() 272 return SymbolReference.unsolved(ResolvedMethodDeclaration.class); in solveMethod() 276 …SymbolReference<ResolvedMethodDeclaration> method = MethodResolutionLogic.solveMethodInType(ref, n… in solveMethod() 287 …SymbolReference<ResolvedMethodDeclaration> method = MethodResolutionLogic.solveMethodInType(ref, n… in solveMethod() 291 return SymbolReference.unsolved(ResolvedMethodDeclaration.class); in solveMethod() 297 return SymbolReference.unsolved(ResolvedMethodDeclaration.class); in solveMethod()
|
/external/javaparser/javaparser-symbol-solver-logic/src/main/java/com/github/javaparser/symbolsolver/logic/ |
D | MethodResolutionCapability.java | 3 import com.github.javaparser.resolution.declarations.ResolvedMethodDeclaration; 10 …SymbolReference<ResolvedMethodDeclaration> solveMethod(String name, List<ResolvedType> argumentsTy… in solveMethod()
|
D | AbstractTypeDeclaration.java | 20 import com.github.javaparser.resolution.declarations.ResolvedMethodDeclaration; 40 for (ResolvedMethodDeclaration methodDeclaration : getDeclaredMethods()) { in getAllMethods()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/javassistmodel/ |
D | JavassistTypeParameterDeclarationTest.java | 17 import com.github.javaparser.resolution.declarations.ResolvedMethodDeclaration; 49 for (ResolvedMethodDeclaration method : compilationUnit.getDeclaredMethods()) { in testGetBounds() 72 for (ResolvedMethodDeclaration method : compilationUnit.getDeclaredMethods()) { in testGetComplexBounds()
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/declarations/common/ |
D | MethodDeclarationCommonLogic.java | 20 import com.github.javaparser.resolution.declarations.ResolvedMethodDeclaration; 38 private ResolvedMethodDeclaration methodDeclaration; 41 …public MethodDeclarationCommonLogic(ResolvedMethodDeclaration methodDeclaration, TypeSolver typeSo… in MethodDeclarationCommonLogic()
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javassistmodel/ |
D | JavassistClassDeclaration.java | 81 public Set<ResolvedMethodDeclaration> getDeclaredMethods() { in getDeclaredMethods() 199 …public SymbolReference<ResolvedMethodDeclaration> solveMethod(String name, List<ResolvedType> argu… in solveMethod() 200 List<ResolvedMethodDeclaration> candidates = new ArrayList<>(); in solveMethod() 206 … ResolvedMethodDeclaration candidate = new JavassistMethodDeclaration(method, typeSolver); in solveMethod() 217 SymbolReference<ResolvedMethodDeclaration> superClassMethodRef = MethodResolutionLogic in solveMethod() 225 SymbolReference<ResolvedMethodDeclaration> interfaceMethodRef = in solveMethod()
|
D | JavassistInterfaceDeclaration.java | 108 …public SymbolReference<ResolvedMethodDeclaration> solveMethod(String name, List<ResolvedType> argu… in solveMethod() 109 List<ResolvedMethodDeclaration> candidates = new ArrayList<>(); in solveMethod() 122 …SymbolReference<ResolvedMethodDeclaration> ref = new JavassistClassDeclaration(superClass, typeSol… in solveMethod() 133 …SymbolReference<ResolvedMethodDeclaration> ref = new JavassistInterfaceDeclaration(interfaze, type… in solveMethod() 185 public Set<ResolvedMethodDeclaration> getDeclaredMethods() { in getDeclaredMethods()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/ |
D | Issue1491Test.java | 10 import com.github.javaparser.resolution.declarations.ResolvedMethodDeclaration; 67 …ResolvedMethodDeclaration decl = JavaParserFacade.get(localCts).solve(n).getCorrespondingDeclarati… in verifyIssue1491ResolvingStaticMethodCalls() 99 …ResolvedMethodDeclaration decl = JavaParserFacade.get(localCts).solve(n).getCorrespondingDeclarati… in verifyIssue1491Combined()
|
D | JavaSymbolSolverTest.java | 21 import com.github.javaparser.resolution.declarations.ResolvedMethodDeclaration; 40 ResolvedMethodDeclaration resolvedMethodDeclaration = methodDeclaration.resolve(); in resolveMethodDeclaration()
|
D | Issue1946Test.java | 10 import com.github.javaparser.resolution.declarations.ResolvedMethodDeclaration; 33 ResolvedMethodDeclaration rmd = methodCallExpr.resolve(); in issueWithInternalEnumConstantReference()
|
D | SolveMethodDeclaredInEnumTest.java | 30 import com.github.javaparser.resolution.declarations.ResolvedMethodDeclaration; 58 ResolvedMethodDeclaration resolvedCall = call.resolve(); in methodDeclaredInEnum_enumFromJar()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/javaparser/declarations/ |
D | JavaParserTypeParameterResolutionTest.java | 23 import com.github.javaparser.resolution.declarations.ResolvedMethodDeclaration; 68 …ResolvedMethodDeclaration methodDeclaration = javaParserFacade.solve(callToFoo).getCorrespondingDe… in declaredOnMethodPositiveCase() 85 …ResolvedMethodDeclaration methodDeclaration = javaParserFacade.solve(callToFoo).getCorrespondingDe… in declaredOnMethodNegativeCase()
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/core/resolution/ |
D | Context.java | 176 …default SymbolReference<ResolvedMethodDeclaration> solveMethod(String name, List<ResolvedType> arg… in solveMethod() 186 …SymbolReference<ResolvedMethodDeclaration> methodSolved = solveMethod(name, argumentsTypes, false); in solveMethodAsUsage() 188 … ResolvedMethodDeclaration methodDeclaration = methodSolved.getCorrespondingDeclaration(); in solveMethodAsUsage()
|