Home
last modified time | relevance | path

Searched refs:symbolSolver (Results 1 – 10 of 10) sorted by relevance

/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/
DSymbolSolverTest.java42 private SymbolSolver symbolSolver; field in SymbolSolverTest
53 symbolSolver = new SymbolSolver(typeSolverNewCode); in setup()
60 …SymbolReference<? extends ResolvedValueDeclaration> res = symbolSolver.solveSymbolInType(construct… in testSolveSymbolUnexisting()
68 …SymbolReference<? extends ResolvedValueDeclaration> res = symbolSolver.solveSymbolInType(construct… in testSolveSymbolToDeclaredField()
77 …SymbolReference<? extends ResolvedValueDeclaration> res = symbolSolver.solveSymbolInType(construct… in testSolveSymbolToInheritedPublicField()
86 …SymbolReference<? extends ResolvedValueDeclaration> res = symbolSolver.solveSymbolInType(construct… in testSolveSymbolToInheritedPrivateField()
DSymbolSolverWithJavassistClassTest.java38 private SymbolSolver symbolSolver; field in SymbolSolverWithJavassistClassTest
53 symbolSolver = new SymbolSolver(typeSolver); in setup()
76 …SymbolReference<? extends ResolvedValueDeclaration> solvedSymbol = symbolSolver.solveSymbolInType(… in testSolveSymbolInTypeCantResolveNonExistentField()
103 symbolSolver.solveSymbolInType(classDeclarationSubClassExcludedJar, "SUPER_FIELD"); in testSolveSymbolInTypeThrowsExceptionOnResolveFieldInSuperExcludedJar()
125symbolSolver.solveSymbolInType(classDeclarationInterfaceUserExcludedJar, "INTERFACE_FIELD"); in testSolveSymbolInTypeThrowsExceptionOnResolveFieldInInterfaceExcludedJar()
135 …SymbolReference<? extends ResolvedValueDeclaration> solvedSymbol = symbolSolver.solveSymbolInType(… in assertCanSolveSymbol()
DSymbolSolverWithJavassistInterfaceTest.java22 private SymbolSolver symbolSolver; field in SymbolSolverWithJavassistInterfaceTest
34 symbolSolver = new SymbolSolver(typeSolver); in setup()
54 …SymbolReference<? extends ResolvedValueDeclaration> solvedSymbol = symbolSolver.solveSymbolInType(… in testSolveSymbolInTypeCantResolveNonExistentField()
81symbolSolver.solveSymbolInType(interfaceDeclarationSubInterfaceExcludedJar, "INTERFACE_FIELD"); in testSolveSymbolInTypeThrowsExceptionOnResolveFieldInExtendedInterfaceExcludedJar()
91 …SymbolReference<? extends ResolvedValueDeclaration> solvedSymbol = symbolSolver.solveSymbolInType(… in assertCanSolveSymbol()
DSymbolSolverWithJavassistEnumTest.java22 private SymbolSolver symbolSolver; field in SymbolSolverWithJavassistEnumTest
34 symbolSolver = new SymbolSolver(typeSolver); in setup()
64 …SymbolReference<? extends ResolvedValueDeclaration> solvedSymbol = symbolSolver.solveSymbolInType(… in testSolveSymbolInTypeCantResolveNonExistentField()
91symbolSolver.solveSymbolInType(enumDeclarationInterfaceUserExcludedJar, "INTERFACE_FIELD"); in testSolveSymbolInTypeThrowsExceptionOnResolveFieldInInterfaceExcludedJar()
101 …SymbolReference<? extends ResolvedValueDeclaration> solvedSymbol = symbolSolver.solveSymbolInType(… in assertCanSolveSymbol()
DContextTest.java74 SymbolSolver symbolSolver = new SymbolSolver(typeSolver); in resolveDeclaredFieldReference() local
75 SymbolReference symbolReference = symbolSolver.solveSymbol("i", assignExpr.getTarget()); in resolveDeclaredFieldReference()
90 SymbolSolver symbolSolver = new SymbolSolver(typeSolver); in resolveInheritedFieldReference() local
91 SymbolReference symbolReference = symbolSolver.solveSymbol("i", assignExpr.getTarget()); in resolveInheritedFieldReference()
105 SymbolSolver symbolSolver = new SymbolSolver(typeSolver); in resolveParameterReference() local
106 SymbolReference symbolReference = symbolSolver.solveSymbol("foo", foo); in resolveParameterReference()
127 SymbolSolver symbolSolver = new SymbolSolver(typeSolver); in resolveReferenceToImportedType() local
129 …SymbolReference<? extends ResolvedTypeDeclaration> ref = symbolSolver.solveType("CompilationUnit",… in resolveReferenceToImportedType()
151 SymbolSolver symbolSolver = new SymbolSolver(typeSolver); in resolveReferenceUsingQualifiedName() local
153 …SymbolReference<? extends ResolvedTypeDeclaration> ref = symbolSolver.solveType("com.github.javapa… in resolveReferenceUsingQualifiedName()
[all …]
DGenericsResolutionTest.java55 SymbolSolver symbolSolver = new SymbolSolver(new ReflectionTypeSolver()); in resolveFieldWithGenericTypeToString() local
56 Optional<Value> symbolReference = symbolSolver.solveSymbolAsValue("s", fieldS); in resolveFieldWithGenericTypeToString()
72 SymbolSolver symbolSolver = new SymbolSolver(new ReflectionTypeSolver()); in resolveFieldWithGenericTypeToDeclaredClass() local
73 Optional<Value> symbolReference = symbolSolver.solveSymbolAsValue("g", fieldS); in resolveFieldWithGenericTypeToDeclaredClass()
89 SymbolSolver symbolSolver = new SymbolSolver(new ReflectionTypeSolver()); in resolveFieldWithGenericTypeToInteger() local
90 Optional<Value> symbolReference = symbolSolver.solveSymbolAsValue("i", fieldS); in resolveFieldWithGenericTypeToInteger()
106 SymbolSolver symbolSolver = new SymbolSolver(new ReflectionTypeSolver()); in resolveFieldOfVariableType() local
107 Optional<Value> symbolReference = symbolSolver.solveSymbolAsValue("a", field); in resolveFieldOfVariableType()
123 SymbolSolver symbolSolver = new SymbolSolver(new ReflectionTypeSolver()); in resolveFieldOfGenericReferringToVariableType() local
124 Optional<Value> symbolReference = symbolSolver.solveSymbolAsValue("as", field); in resolveFieldOfGenericReferringToVariableType()
DFieldsResolutionTest.java78 SymbolSolver symbolSolver = new SymbolSolver(typeSolver); in accessClassFieldThroughThisWithCompetingSymbolInParentContext() local
79 …SymbolReference<? extends ResolvedValueDeclaration> ref = symbolSolver.solveSymbol(fieldAccessExpr… in accessClassFieldThroughThisWithCompetingSymbolInParentContext()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/
DJavaParserFacade.java69 private SymbolSolver symbolSolver; field in JavaParserFacade
76 this.symbolSolver = new SymbolSolver(typeSolver); in JavaParserFacade()
85 return symbolSolver; in getSymbolSolver()
126 return symbolSolver.solveSymbol(nameExpr.getName().getId(), nameExpr); in solve()
130 return symbolSolver.solveSymbol(nameExpr.getId(), nameExpr); in solve()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/
DJavaParserFacade.java67 private final SymbolSolver symbolSolver; field in JavaParserFacade
71 this.symbolSolver = new SymbolSolver(typeSolver); in JavaParserFacade()
80 return symbolSolver; in getSymbolSolver()
113 return symbolSolver.solveSymbol(nameExpr.getName().getId(), nameExpr); in solve()
117 return symbolSolver.solveSymbol(nameExpr.getId(), nameExpr); in solve()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/
Dcom_github_javaparser_symbolsolver_javaparsermodel_JavaParserFacade.txt25 …Line 126) symbolSolver.solveSymbol(nameExpr.getName().getId(), nameExpr) ==> com.github.javaparser…
28 …Line 130) symbolSolver.solveSymbol(nameExpr.getId(), nameExpr) ==> com.github.javaparser.symbolsol…