Home
last modified time | relevance | path

Searched refs:resolvedMethodDeclaration (Results 1 – 4 of 4) sorted by relevance

/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/
DJavaSymbolSolverTest.java40 ResolvedMethodDeclaration resolvedMethodDeclaration = methodDeclaration.resolve(); in resolveMethodDeclaration() local
41 assertEquals("foo", resolvedMethodDeclaration.getName()); in resolveMethodDeclaration()
42 assertEquals("A[]", resolvedMethodDeclaration.getReturnType().describe()); in resolveMethodDeclaration()
43 … assertEquals("java.lang.String[]", resolvedMethodDeclaration.getParam(0).getType().describe()); in resolveMethodDeclaration()
44 assertEquals("int[]", resolvedMethodDeclaration.getParam(1).getType().describe()); in resolveMethodDeclaration()
DIssue1485Test.java39 ResolvedMethodDeclaration resolvedMethodDeclaration = methodCallExpr.resolve(); in issue1485withoutSpecifyingJARs() local
40 …assertEquals("java.io.PrintStream.println(java.lang.String)", resolvedMethodDeclaration.getQualifi… in issue1485withoutSpecifyingJARs()
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/
DMethodLikeSignaturesTest.java44 ResolvedMethodDeclaration resolvedMethodDeclaration = in checkReflectionMethodSignature() local
47 assertEquals("delete", resolvedMethodDeclaration.getName()); in checkReflectionMethodSignature()
48 assertEquals("delete()", resolvedMethodDeclaration.getSignature()); in checkReflectionMethodSignature()
49 assertEquals("java.io.File.delete()", resolvedMethodDeclaration.getQualifiedSignature()); in checkReflectionMethodSignature()
DMethodsResolutionTest.java525 ResolvedMethodDeclaration resolvedMethodDeclaration = methodCallExpr.resolve(); in resolveLocalMethodInClassExtendingUnknownClass() local
528 …assertEquals("ClassExtendingUnknownClass.bar(java.lang.String)", resolvedMethodDeclaration.getQual… in resolveLocalMethodInClassExtendingUnknownClass()
544 ResolvedMethodDeclaration resolvedMethodDeclaration = methodCallExpr.resolve(); in resolveCorrectMethodWithComplexOverloading1() local
546 …thods.complexOverloading1(java.lang.String, java.lang.String)", resolvedMethodDeclaration.getQuali… in resolveCorrectMethodWithComplexOverloading1()
562 ResolvedMethodDeclaration resolvedMethodDeclaration = methodCallExpr.resolve(); in resolveCorrectMethodWithComplexOverloading2() local
564 …s("OverloadedMethods.complexOverloading2(java.lang.String...)", resolvedMethodDeclaration.getQuali… in resolveCorrectMethodWithComplexOverloading2()
580 ResolvedMethodDeclaration resolvedMethodDeclaration = methodCallExpr.resolve(); in resolveCorrectMethodWithComplexOverloading3() local
582 …assertEquals("OverloadedMethods.complexOverloading3(long)", resolvedMethodDeclaration.getQualified… in resolveCorrectMethodWithComplexOverloading3()
598 ResolvedMethodDeclaration resolvedMethodDeclaration = methodCallExpr.resolve(); in resolveCorrectMethodWithComplexOverloading4() local
600 …assertEquals("OverloadedMethods.complexOverloading4(long, int)", resolvedMethodDeclaration.getQual… in resolveCorrectMethodWithComplexOverloading4()