/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_JavaParserFactory.txt | 3 Line 84) node.getParentNode().isPresent() ==> java.util.Optional.isPresent() 4 Line 84) node.getParentNode() ==> com.github.javaparser.ast.Node.getParentNode() 5 Line 84) node.getParentNode().get() ==> java.util.Optional.get() 6 Line 84) node.getParentNode() ==> com.github.javaparser.ast.Node.getParentNode() 7 Line 84) node.getParentNode().get().getParentNode().isPresent() ==> java.util.Optional.isPresent() 8 …Line 84) node.getParentNode().get().getParentNode() ==> com.github.javaparser.ast.Node.getParentNo… 9 Line 84) node.getParentNode().get() ==> java.util.Optional.get() 10 Line 84) node.getParentNode() ==> com.github.javaparser.ast.Node.getParentNode() 11 …Line 85) getContext(node.getParentNode().get().getParentNode().get(), typeSolver) ==> com.github.j… 12 Line 85) node.getParentNode().get().getParentNode().get() ==> java.util.Optional.get() [all …]
|
D | com_github_javaparser_symbolsolver_javaparsermodel_declarations_JavaParserSymbolDeclaration.txt | 3 …Line 72) getParentNode(parameter).getChildNodes() ==> com.github.javaparser.ast.Node.getChildNodes… 4 …Line 72) getParentNode(parameter) ==> com.github.javaparser.symbolsolver.javaparser.Navigator.getP… 5 …Line 83) getParentNode(node) ==> com.github.javaparser.symbolsolver.javaparser.Navigator.getParent… 6 …Line 84) getParentNode(node) ==> com.github.javaparser.symbolsolver.javaparser.Navigator.getParent… 11 …Line 126) getParentNode(wrappedNode) ==> com.github.javaparser.symbolsolver.javaparser.Navigator.g… 13 …Line 128) JavaParserFacade.get(typeSolver).getType(getParentNode(wrappedNode)) ==> com.github.java… 15 …Line 128) getParentNode(wrappedNode) ==> com.github.javaparser.symbolsolver.javaparser.Navigator.g… 27 …Line 149) getParentNode(wrappedNode) ==> com.github.javaparser.symbolsolver.javaparser.Navigator.g… 32 …Line 152) getParentNode(wrappedNode) ==> com.github.javaparser.symbolsolver.javaparser.Navigator.g… 37 …Line 155) getParentNode(wrappedNode).getClass().getCanonicalName() ==> java.lang.Class.getCanonica… [all …]
|
D | com_github_javaparser_symbolsolver_javaparsermodel_contexts_StatementContext.txt | 1 …Line 49) getParentNode(stmt) ==> com.github.javaparser.symbolsolver.javaparser.Navigator.getParent… 2 …Line 52) getParentNode(stmt) ==> com.github.javaparser.symbolsolver.javaparser.Navigator.getParent… 13 …Line 71) JavaParserFactory.getContext(getParentNode(stmt), typeSolver).solveSymbol(name, typeSolve… 14 …Line 71) JavaParserFactory.getContext(getParentNode(stmt), typeSolver) ==> com.github.javaparser.s… 15 …Line 71) getParentNode(stmt) ==> com.github.javaparser.symbolsolver.javaparser.Navigator.getParent… 16 …Line 75) getParentNode(stmt) ==> com.github.javaparser.symbolsolver.javaparser.Navigator.getParent… 17 …Line 78) getParentNode(stmt) ==> com.github.javaparser.symbolsolver.javaparser.Navigator.getParent… 31 …Line 97) JavaParserFactory.getContext(getParentNode(stmt), typeSolver).solveSymbolAsValue(name, ty… 32 …Line 97) JavaParserFactory.getContext(getParentNode(stmt), typeSolver) ==> com.github.javaparser.s… 33 …Line 97) getParentNode(stmt) ==> com.github.javaparser.symbolsolver.javaparser.Navigator.getParent… [all …]
|
D | com_github_javaparser_symbolsolver_javaparsermodel_declarations_Helper.txt | 13 …Line 62) getPackageName(getParentNode(container)) ==> com.github.javaparser.symbolsolver.javaparse… 14 …Line 62) getParentNode(container) ==> com.github.javaparser.symbolsolver.javaparser.Navigator.getP… 15 …Line 69) getClassName(base, getParentNode(container)) ==> com.github.javaparser.symbolsolver.javap… 16 …Line 69) getParentNode(container) ==> com.github.javaparser.symbolsolver.javaparser.Navigator.getP… 20 …Line 77) getClassName(base, getParentNode(container)) ==> com.github.javaparser.symbolsolver.javap… 21 …Line 77) getParentNode(container) ==> com.github.javaparser.symbolsolver.javaparser.Navigator.getP… 25 …Line 85) getClassName(base, getParentNode(container)) ==> com.github.javaparser.symbolsolver.javap… 26 …Line 85) getParentNode(container) ==> com.github.javaparser.symbolsolver.javaparser.Navigator.getP…
|
D | com_github_javaparser_symbolsolver_javaparsermodel_contexts_AbstractJavaParserContext.txt | 13 …Line 102) getParentNode(wrappedNode) ==> com.github.javaparser.symbolsolver.javaparser.Navigator.g… 14 …Line 103) getParentNode(wrappedNode) ==> com.github.javaparser.symbolsolver.javaparser.Navigator.g… 17 …Line 113) getParentNode(wrappedNode) ==> com.github.javaparser.symbolsolver.javaparser.Navigator.g… 18 …Line 115) getParentNode(notMethod) ==> com.github.javaparser.symbolsolver.javaparser.Navigator.get… 20 …Line 120) getParentNode(wrappedNode) ==> com.github.javaparser.symbolsolver.javaparser.Navigator.g… 21 …Line 122) getParentNode(notMethod) ==> com.github.javaparser.symbolsolver.javaparser.Navigator.get…
|
D | com_github_javaparser_symbolsolver_javaparsermodel_declarations_JavaParserFieldDeclaration.txt | 1 …Line 51) getParentNode(variableDeclarator) ==> com.github.javaparser.symbolsolver.javaparser.Navig… 2 …Line 52) getParentNode(variableDeclarator).getClass().getCanonicalName() ==> java.lang.Class.getCa… 3 Line 52) getParentNode(variableDeclarator).getClass() ==> java.lang.Object.getClass() 4 …Line 52) getParentNode(variableDeclarator) ==> com.github.javaparser.symbolsolver.javaparser.Navig… 5 …Line 54) getParentNode(variableDeclarator) ==> com.github.javaparser.symbolsolver.javaparser.Navig… 6 …Line 68) getParentNode(enumConstantDeclaration) ==> com.github.javaparser.symbolsolver.javaparser.…
|
D | com_github_javaparser_symbolsolver_javaparsermodel_contexts_FieldAccessContext.txt | 10 …Line 58) JavaParserFactory.getContext(getParentNode(wrappedNode), typeSolver).solveSymbol(name, ty… 11 …Line 58) JavaParserFactory.getContext(getParentNode(wrappedNode), typeSolver) ==> com.github.javap… 12 …Line 58) getParentNode(wrappedNode) ==> com.github.javaparser.symbolsolver.javaparser.Navigator.ge… 13 …Line 63) JavaParserFactory.getContext(getParentNode(wrappedNode), typeSolver).solveType(name, type… 14 …Line 63) JavaParserFactory.getContext(getParentNode(wrappedNode), typeSolver) ==> com.github.javap… 15 …Line 63) getParentNode(wrappedNode) ==> com.github.javaparser.symbolsolver.javaparser.Navigator.ge… 16 …Line 68) JavaParserFactory.getContext(getParentNode(wrappedNode), typeSolver).solveMethod(name, pa… 17 …Line 68) JavaParserFactory.getContext(getParentNode(wrappedNode), typeSolver) ==> com.github.javap… 18 …Line 68) getParentNode(wrappedNode) ==> com.github.javaparser.symbolsolver.javaparser.Navigator.ge…
|
D | com_github_javaparser_symbolsolver_javaparser_Navigator.txt | 1 Line 44) node.getParentNode().orElse(null) ==> java.util.Optional.orElse(T) 2 Line 44) node.getParentNode() ==> com.github.javaparser.ast.Node.getParentNode() 78 Line 237) node.getParentNode().isPresent() ==> java.util.Optional.isPresent() 79 Line 237) node.getParentNode() ==> com.github.javaparser.ast.Node.getParentNode() 81 …Line 239) clazz.isInstance(node.getParentNode().get()) ==> java.lang.Class.isInstance(java.lang.Ob… 82 Line 239) node.getParentNode().get() ==> java.util.Optional.get() 83 Line 239) node.getParentNode() ==> com.github.javaparser.ast.Node.getParentNode() 84 Line 240) Optional.of(clazz.cast(node.getParentNode().get())) ==> java.util.Optional.of(T) 85 Line 240) clazz.cast(node.getParentNode().get()) ==> java.lang.Class.cast(java.lang.Object) 86 Line 240) node.getParentNode().get() ==> java.util.Optional.get() [all …]
|
D | com_github_javaparser_symbolsolver_javaparsermodel_declarations_JavaParserMethodDeclaration.txt | 1 …Line 58) getParentNode(wrappedNode) ==> com.github.javaparser.symbolsolver.javaparser.Navigator.ge… 2 …Line 59) getParentNode(wrappedNode) ==> com.github.javaparser.symbolsolver.javaparser.Navigator.ge… 3 …Line 62) JavaParserFactory.toTypeDeclaration(getParentNode(wrappedNode), typeSolver) ==> com.githu… 4 …Line 62) getParentNode(wrappedNode) ==> com.github.javaparser.symbolsolver.javaparser.Navigator.ge…
|
D | com_github_javaparser_symbolsolver_SourceFileInfoExtractor.txt | 15 …Line 116) getParentNode(node) ==> com.github.javaparser.symbolsolver.javaparser.Navigator.getParen… 16 …Line 116) getParentNode(node) ==> com.github.javaparser.symbolsolver.javaparser.Navigator.getParen… 17 …Line 117) getParentNode(node) ==> com.github.javaparser.symbolsolver.javaparser.Navigator.getParen… 18 …Line 118) getParentNode(node) ==> com.github.javaparser.symbolsolver.javaparser.Navigator.getParen… 19 …Line 120) getParentNode(node) ==> com.github.javaparser.symbolsolver.javaparser.Navigator.getParen… 20 …Line 120) getParentNode(node) ==> com.github.javaparser.symbolsolver.javaparser.Navigator.getParen…
|
/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 | StatementContext.java | 37 import static com.github.javaparser.symbolsolver.javaparser.Navigator.getParentNode; 49 if (!(getParentNode(stmt) instanceof NodeWithStatements)) { in solveInBlock() 52 NodeWithStatements<?> blockStmt = (NodeWithStatements<?>) getParentNode(stmt); in solveInBlock() 71 …return JavaParserFactory.getContext(getParentNode(stmt), typeSolver).solveSymbol(name, typeSolver); in solveInBlock() 75 if (!(getParentNode(stmt) instanceof NodeWithStatements)) { in solveInBlockAsValue() 78 NodeWithStatements<?> blockStmt = (NodeWithStatements<?>) getParentNode(stmt); in solveInBlockAsValue() 97 …return JavaParserFactory.getContext(getParentNode(stmt), typeSolver).solveSymbolAsValue(name, type… in solveInBlockAsValue() 111 … if (getParentNode(wrappedNode) instanceof com.github.javaparser.ast.body.MethodDeclaration) { in solveSymbolAsValue() 114 if (getParentNode(wrappedNode) instanceof LambdaExpr) { in solveSymbolAsValue() 117 if (getParentNode(wrappedNode) instanceof IfStmt) { in solveSymbolAsValue() [all …]
|
D | AbstractJavaParserContext.java | 34 import static com.github.javaparser.symbolsolver.javaparser.Navigator.getParentNode; 102 if (getParentNode(wrappedNode) instanceof MethodCallExpr) { in getParent() 103 MethodCallExpr parentCall = (MethodCallExpr) getParentNode(wrappedNode); in getParent() 113 Node notMethod = getParentNode(wrappedNode); in getParent() 115 notMethod = getParentNode(notMethod); in getParent() 120 Node notMethod = getParentNode(wrappedNode); in getParent() 122 notMethod = getParentNode(notMethod); in getParent()
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/ |
D | JavaParserFactory.java | 88 …if (node.getParentNode().isPresent() && node.getParentNode().get() instanceof FieldAccessExpr && n… in getContext() 89 return getContext(node.getParentNode().get().getParentNode().get(), typeSolver); in getContext() 91 …if (node.getParentNode().isPresent() && node.getParentNode().get() instanceof ObjectCreationExpr &… in getContext() 92 return getContext(node.getParentNode().get().getParentNode().get(), typeSolver); in getContext()
|
/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 | JavaParserSymbolDeclaration.java | 35 import static com.github.javaparser.symbolsolver.javaparser.Navigator.getParentNode; 72 for (Node node : getParentNode(parameter).getChildNodes()) { in getParamPos() 83 if (getParentNode(node) instanceof MethodCallExpr) { in getParamPos() 84 MethodCallExpr call = (MethodCallExpr) getParentNode(node); in getParamPos() 126 if (getParentNode(wrappedNode) instanceof LambdaExpr) { in getType() 128 … Type lambdaType = JavaParserFacade.get(typeSolver).getType(getParentNode(wrappedNode)); in getType() 149 if (getParentNode(wrappedNode) instanceof VariableDeclarationExpr) { in getType() 152 } else if (getParentNode(wrappedNode) instanceof FieldDeclaration) { in getType() 155 … throw new UnsupportedOperationException(getParentNode(wrappedNode).getClass().getCanonicalName()); in getType()
|
D | Helper.java | 28 import static com.github.javaparser.symbolsolver.javaparser.Navigator.getParentNode; 62 return getPackageName(getParentNode(container)); in getPackageName() 69 String b = getClassName(base, getParentNode(container)); in getClassName() 77 String b = getClassName(base, getParentNode(container)); in getClassName() 85 return getClassName(base, getParentNode(container)); in getClassName()
|
D | JavaParserFieldDeclaration.java | 33 import static com.github.javaparser.symbolsolver.javaparser.Navigator.getParentNode; 51 …if (!(getParentNode(variableDeclarator) instanceof com.github.javaparser.ast.body.FieldDeclaration… in JavaParserFieldDeclaration() 52 … throw new IllegalStateException(getParentNode(variableDeclarator).getClass().getCanonicalName()); in JavaParserFieldDeclaration() 54 …this.wrappedNode = (com.github.javaparser.ast.body.FieldDeclaration) getParentNode(variableDeclara… in JavaParserFieldDeclaration() 68 …on enumDeclaration = (com.github.javaparser.ast.body.EnumDeclaration) getParentNode(enumConstantDe… in getType()
|
D | JavaParserMethodDeclaration.java | 33 import static com.github.javaparser.symbolsolver.javaparser.Navigator.getParentNode; 58 if (getParentNode(wrappedNode) instanceof ObjectCreationExpr) { in declaringType() 59 ObjectCreationExpr parentNode = (ObjectCreationExpr) getParentNode(wrappedNode); in declaringType() 62 return JavaParserFactory.toTypeDeclaration(getParentNode(wrappedNode), typeSolver); in declaringType()
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/lexicalpreservation/ |
D | PhantomNodeLogic.java | 57 boolean res = (node.getParentNode().isPresent() && in isPhantomNode() 58 !node.getParentNode().get().getRange().get().contains(node.getRange().get()) in isPhantomNode() 70 return node.getParentNode().isPresent() && in inPhantomNode() 71 (isPhantomNode(node.getParentNode().get()) in inPhantomNode() 72 || inPhantomNode(node.getParentNode().get(), levels - 1)); in inPhantomNode()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/ |
D | JavaParserFactory.java | 40 import static com.github.javaparser.symbolsolver.javaparser.Navigator.getParentNode; 84 …if (node.getParentNode().isPresent() && node.getParentNode().get() instanceof FieldAccessExpr && n… in getContext() 85 return getContext(node.getParentNode().get().getParentNode().get(), typeSolver); in getContext() 88 final Node parentNode = getParentNode(node); in getContext() 90 return getContext(getParentNode(parentNode), typeSolver); in getContext()
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typeinference/ |
D | ControlFlowLogic.java | 90 if (node.getParentNode().isPresent()) { in parentIs() 91 return parentClass.isInstance(node.getParentNode().get()); in parentIs() 192 if (statement.getParentNode().isPresent()) { in isReachable() 193 if (statement.getParentNode().get() instanceof ConstructorDeclaration) { in isReachable() 196 if (statement.getParentNode().get() instanceof MethodDeclaration) { in isReachable() 199 if (statement.getParentNode().get() instanceof InitializerDeclaration) { in isReachable()
|
D | ExpressionHelper.java | 96 if (expression.getParentNode().isPresent()) { in appearsInAssignmentContext() 97 Node parent = expression.getParentNode().get(); in appearsInAssignmentContext() 113 if (expression.getParentNode().isPresent()) { in appearsInInvocationContext() 114 Node parent = expression.getParentNode().get(); in appearsInInvocationContext()
|
/external/angle/src/compiler/translator/tree_ops/gl/ |
D | RecordConstantPrecision.cpp | 52 if (getParentNode()->getAsCaseNode() || getParentNode()->getAsBlock()) in operandAffectsParentOperationPrecision() 57 const TIntermBinary *parentAsBinary = getParentNode()->getAsBinaryNode(); in operandAffectsParentOperationPrecision() 89 TIntermAggregate *parentAsAggregate = getParentNode()->getAsAggregate(); in operandAffectsParentOperationPrecision()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/ |
D | SourceFileInfoExtractor.java | 44 import static com.github.javaparser.symbolsolver.javaparser.Navigator.getParentNode; 116 …if ((getParentNode(node) instanceof ImportDeclaration) || (getParentNode(node) instanceof Expressi… in solve() 117 || (getParentNode(node) instanceof MethodDeclaration) in solve() 118 || (getParentNode(node) instanceof PackageDeclaration)) { in solve() 120 …} else if ((getParentNode(node) instanceof Statement) || (getParentNode(node) instanceof VariableD… in solve()
|
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/ast/body/ |
D | AnnotationMemberDeclarationTest.java | 38 assertTrue(name.getParentNode().isPresent()); in whenSettingNameTheParentOfNameIsAssigned() 39 assertSame(decl, name.getParentNode().get()); in whenSettingNameTheParentOfNameIsAssigned() 63 assertFalse(defaultValue.getParentNode().isPresent()); in removeDefaultValueWhenDefaultValueIsPresent()
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ |
D | HasParentNode.java | 38 Optional<Node> getParentNode(); in getParentNode() method 71 Optional<Node> possibleParent = getParentNode(); in findAncestor() 77 possibleParent = parent.getParentNode(); in findAncestor()
|