Home
last modified time | relevance | path

Searched refs:nameExpr (Results 1 – 19 of 19) sorted by relevance

/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/
DStatementContextResolutionTest.java42 NameExpr nameExpr = Navigator.findNameExpression(method, "s").get(); in resolveLocalVariableInParentOfParent() local
44 …s ResolvedValueDeclaration> ref = JavaParserFacade.get(new ReflectionTypeSolver()).solve(nameExpr); in resolveLocalVariableInParentOfParent()
54 NameExpr nameExpr = Navigator.findNameExpression(method, "s").get(); in resolveLocalVariableInParent() local
56 …s ResolvedValueDeclaration> ref = JavaParserFacade.get(new ReflectionTypeSolver()).solve(nameExpr); in resolveLocalVariableInParent()
66 NameExpr nameExpr = Navigator.findNameExpression(method, "s").get(); in resolveLocalVariableInSameParent() local
68 …s ResolvedValueDeclaration> ref = JavaParserFacade.get(new ReflectionTypeSolver()).solve(nameExpr); in resolveLocalVariableInSameParent()
DQualifiedNameResolutionTest.java39 NameExpr nameExpr = Navigator.findNameExpression(method, "s").get(); in resolveLocalVariableInParentOfParent() local
41 …s ResolvedValueDeclaration> ref = JavaParserFacade.get(new ReflectionTypeSolver()).solve(nameExpr); in resolveLocalVariableInParentOfParent()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparser/
DNavigator.java134 NameExpr nameExpr = (NameExpr) node; in findNameExpression() local
135 if (nameExpr.getName() != null && nameExpr.getName().getId().equals(name)) { in findNameExpression()
136 return nameExpr; in findNameExpression()
150 SimpleName nameExpr = (SimpleName) node; in findSimpleName() local
151 if (nameExpr.getId() != null && nameExpr.getId().equals(name)) { in findSimpleName()
152 return nameExpr; in findSimpleName()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/naming/
DNameLogic.java851 if (whenParentIs(NameExpr.class, name, (nameExpr, c) -> in isSyntacticallyAnExpressionName()
852nameExpr.getName() == c && whenParentIs(ExplicitConstructorInvocationStmt.class, nameExpr, (ne, c2… in isSyntacticallyAnExpressionName()
864 if (whenParentIs(NameExpr.class, name, (nameExpr, c) -> in isSyntacticallyAnExpressionName()
865nameExpr.getName() == c && whenParentIs(ObjectCreationExpr.class, nameExpr, (ne, c2) -> in isSyntacticallyAnExpressionName()
877 if (whenParentIs(NameExpr.class, name, (nameExpr, c) -> in isSyntacticallyAnExpressionName()
878 nameExpr.getName() == c && whenParentIs(ArrayAccessExpr.class, nameExpr, (ne, c2) -> in isSyntacticallyAnExpressionName()
890 if (whenParentIs(NameExpr.class, name, (nameExpr, c) -> in isSyntacticallyAnExpressionName()
891 nameExpr.getName() == c && whenParentIs(UnaryExpr.class, nameExpr, (ne, c2) -> in isSyntacticallyAnExpressionName()
903 if (whenParentIs(NameExpr.class, name, (nameExpr, c) -> in isSyntacticallyAnExpressionName()
904 nameExpr.getName() == c && whenParentIs(AssignExpr.class, nameExpr, (ne, c2) -> in isSyntacticallyAnExpressionName()
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/body/
DTypeDeclaration.java99 public final void setNameExpr(NameExpr nameExpr) { in setNameExpr() argument
100 this.name = nameExpr; in setNameExpr()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/
Dcom_github_javaparser_symbolsolver_javaparser_Navigator.txt46 Line 135) nameExpr.getName() ==> com.github.javaparser.ast.expr.NameExpr.getName()
47 Line 135) nameExpr.getName().getId().equals(name) ==> java.lang.String.equals(java.lang.Object)
48 …Line 135) nameExpr.getName().getId() ==> com.github.javaparser.ast.nodeTypes.NodeWithIdentifier.ge…
49 Line 135) nameExpr.getName() ==> com.github.javaparser.ast.expr.NameExpr.getName()
52 Line 151) nameExpr.getId() ==> com.github.javaparser.ast.nodeTypes.NodeWithIdentifier.getId()
53 Line 151) nameExpr.getId().equals(name) ==> java.lang.String.equals(java.lang.Object)
54 Line 151) nameExpr.getId() ==> com.github.javaparser.ast.nodeTypes.NodeWithIdentifier.getId()
Dcom_github_javaparser_symbolsolver_javaparsermodel_JavaParserFacade.txt25 …Line 126) symbolSolver.solveSymbol(nameExpr.getName().getId(), nameExpr) ==> com.github.javaparser…
26 …Line 126) nameExpr.getName().getId() ==> com.github.javaparser.ast.nodeTypes.NodeWithIdentifier.ge…
27 Line 126) nameExpr.getName() ==> com.github.javaparser.ast.expr.NameExpr.getName()
28 …Line 130) symbolSolver.solveSymbol(nameExpr.getId(), nameExpr) ==> com.github.javaparser.symbolsol…
29 Line 130) nameExpr.getId() ==> com.github.javaparser.ast.nodeTypes.NodeWithIdentifier.getId()
Dcom_github_javaparser_symbolsolver_javaparsermodel_TypeExtractor.txt175 …Line 381) JavaParserFactory.getContext(nameExpr, typeSolver).solveType(nameExpr.getName().getId(),…
176 …Line 381) JavaParserFactory.getContext(nameExpr, typeSolver) ==> com.github.javaparser.symbolsolve…
177 …Line 381) nameExpr.getName().getId() ==> com.github.javaparser.ast.nodeTypes.NodeWithIdentifier.ge…
178 Line 381) nameExpr.getName() ==> com.github.javaparser.ast.expr.NameExpr.getName()
Dcom_github_javaparser_symbolsolver_javaparsermodel_TypeExtractor_J9.txt175 …Line 381) JavaParserFactory.getContext(nameExpr, typeSolver).solveType(nameExpr.getName().getId(),…
176 …Line 381) JavaParserFactory.getContext(nameExpr, typeSolver) ==> com.github.javaparser.symbolsolve…
177 …Line 381) nameExpr.getName().getId() ==> com.github.javaparser.ast.nodeTypes.NodeWithIdentifier.ge…
178 Line 381) nameExpr.getName() ==> com.github.javaparser.ast.expr.NameExpr.getName()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/
DJavaParserFacade.java112 public SymbolReference<? extends ResolvedValueDeclaration> solve(NameExpr nameExpr) { in solve() argument
113 return symbolSolver.solveSymbol(nameExpr.getName().getId(), nameExpr); in solve()
116 public SymbolReference<? extends ResolvedValueDeclaration> solve(SimpleName nameExpr) { in solve() argument
117 return symbolSolver.solveSymbol(nameExpr.getId(), nameExpr); in solve()
295 NameExpr nameExpr = (NameExpr) node; in getType()
297 .solveType(nameExpr.getNameAsString()); in getType()
DTypeExtractor.java372 NameExpr nameExpr = (NameExpr) scope; in visit() local
374 …vedTypeDeclaration> type = JavaParserFactory.getContext(nameExpr, typeSolver).solveType(nameExpr.g… in visit()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/body/
DTypeDeclaration.java142 public T setNameExpr(NameExpr nameExpr) { in setNameExpr() argument
143 this.name = nameExpr; in setNameExpr()
DMethodDeclaration.java132 final NameExpr nameExpr, in MethodDeclaration() argument
141 setNameExpr(nameExpr); in MethodDeclaration()
/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.java125 public SymbolReference<? extends ValueDeclaration> solve(NameExpr nameExpr) { in solve() argument
126 return symbolSolver.solveSymbol(nameExpr.getName().getId(), nameExpr); in solve()
129 public SymbolReference<? extends ValueDeclaration> solve(SimpleName nameExpr) { in solve() argument
130 return symbolSolver.solveSymbol(nameExpr.getId(), nameExpr); in solve()
DTypeExtractor.java379 NameExpr nameExpr = (NameExpr) scope; in visit() local
381 …ce<TypeDeclaration> type = JavaParserFactory.getContext(nameExpr, typeSolver).solveType(nameExpr.g… in visit()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/expected_output/
Dcom_github_javaparser_ast_body_TypeDeclaration.txt30 Line 100) this.name = nameExpr ==> com.github.javaparser.ast.expr.NameExpr
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/expected_output/
Dcom_github_javaparser_ast_body_MethodDeclaration.txt21 …Line 141) setNameExpr(nameExpr) ==> com.github.javaparser.ast.body.MethodDeclaration.setNameExpr(c…
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/
Djavaparser-core-2.1.0.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/github/ com/ ...
Djavaparser-core-3.0.0-alpha.2.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/github/ com/ ...