/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_contexts_StatementContext.txt | 3 Line 54) blockStmt.getStatements().size() ==> com.github.javaparser.ast.NodeList.size() 4 …Line 54) blockStmt.getStatements() ==> com.github.javaparser.ast.nodeTypes.NodeWithStatements.getS… 5 …Line 55) blockStmt.getStatements().get(i).equals(stmt) ==> com.github.javaparser.ast.Node.equals(j… 6 Line 55) blockStmt.getStatements().get(i) ==> com.github.javaparser.ast.NodeList.get(int) 7 …Line 55) blockStmt.getStatements() ==> com.github.javaparser.ast.nodeTypes.NodeWithStatements.getS… 8 …Line 63) JavaParserFactory.getSymbolDeclarator(blockStmt.getStatements().get(i), typeSolver) ==> c… 9 Line 63) blockStmt.getStatements().get(i) ==> com.github.javaparser.ast.NodeList.get(int) 10 …Line 63) blockStmt.getStatements() ==> com.github.javaparser.ast.nodeTypes.NodeWithStatements.getS… 18 Line 80) blockStmt.getStatements().size() ==> com.github.javaparser.ast.NodeList.size() 19 …Line 80) blockStmt.getStatements() ==> com.github.javaparser.ast.nodeTypes.NodeWithStatements.getS… [all …]
|
D | com_github_javaparser_symbolsolver_javaparsermodel_contexts_SwitchEntryContext.txt | 16 Line 63) seStmt.getStatements() ==> com.github.javaparser.ast.stmt.SwitchEntryStmt.getStatements()
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/nodeTypes/ |
D | NodeWithStatements.java | 38 NodeList<Statement> getStatements(); in getStatements() method 41 return getStatements().get(i); in getStatement() 46 getStatements().set(i, statement); in setStatement() 54 getStatements().add(statement); in addStatement() 60 getStatements().add(index, statement); in addStatement() 81 getStatements().add(statement); in addAndGetStatement() 86 getStatements().add(index, statement); in addAndGetStatement() 103 return getStatements().isEmpty(); in isEmpty() 115 return copyStatements(other.getStatements()); in copyStatements()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/ |
D | MethodsResolutionTest.java | 110 ReturnStmt returnStmt = (ReturnStmt) method.getBody().get().getStatements().get(0); in solveMethodAccessThroughSuper() 151 …MethodCallExpr expression = method.getBody().get().getStatements().get(0).asExpressionStmt().getEx… in solveMethodWithTypePromotionsToLong() 157 …MethodCallExpr expression = method.getBody().get().getStatements().get(1).asExpressionStmt().getEx… in solveMethodWithTypePromotionsToLong() 163 …MethodCallExpr expression = method.getBody().get().getStatements().get(2).asExpressionStmt().getEx… in solveMethodWithTypePromotionsToLong() 169 …MethodCallExpr expression = method.getBody().get().getStatements().get(3).asExpressionStmt().getEx… in solveMethodWithTypePromotionsToLong() 185 …MethodCallExpr expression = method.getBody().get().getStatements().get(0).asExpressionStmt().getEx… in solveMethodWithTypePromotionsToInt() 191 …MethodCallExpr expression = method.getBody().get().getStatements().get(1).asExpressionStmt().getEx… in solveMethodWithTypePromotionsToInt() 197 …MethodCallExpr expression = method.getBody().get().getStatements().get(2).asExpressionStmt().getEx… in solveMethodWithTypePromotionsToInt() 203 …MethodCallExpr expression = method.getBody().get().getStatements().get(3).asExpressionStmt().getEx… in solveMethodWithTypePromotionsToInt() 218 …MethodCallExpr expression = method.getBody().get().getStatements().get(0).asExpressionStmt().getEx… in solveMethodWithTypePromotionsToShort() [all …]
|
D | FieldsResolutionTest.java | 60 ReturnStmt returnStmt = (ReturnStmt) method.getBody().get().getStatements().get(0); in accessClassFieldThroughThis() 72 … ExpressionStmt expressionStmt = (ExpressionStmt) method.getBody().get().getStatements().get(0); in accessClassFieldThroughThisWithCompetingSymbolInParentContext() 102 ReturnStmt returnStmt = (ReturnStmt) method.getBody().get().getStatements().get(0); in accessEnumMethodThroughThis() 114 ReturnStmt returnStmt = (ReturnStmt) method.getBody().get().getStatements().get(0); in accessClassFieldThroughSuper() 130 ReturnStmt returnStmt = (ReturnStmt) method.getBody().get().getStatements().get(0); in resolveClassFieldThroughThis() 152 ReturnStmt returnStmt = (ReturnStmt) method.getBody().get().getStatements().get(0); in resolveClassFieldThroughSuper() 175 ReturnStmt returnStmt = (ReturnStmt) method.getBody().get().getStatements().get(0); in resolveClassFieldOfClassExtendingUnknownClass1() 197 ReturnStmt returnStmt = (ReturnStmt) method.getBody().get().getStatements().get(0); in resolveClassFieldOfClassExtendingUnknownClass2() 219 ReturnStmt returnStmt = (ReturnStmt) method.getBody().get().getStatements().get(0); in resolveInheritedFieldFromInterface()
|
D | ConstructorsResolutionTest.java | 37 ObjectCreationExpr objectCreationExpr = method.getBody().get().getStatements().get(0) in solveNormalConstructor() 56 ObjectCreationExpr objectCreationExpr = method.getBody().get().getStatements().get(1) in solveInnerClassConstructor() 75 ObjectCreationExpr objectCreationExpr = method.getBody().get().getStatements().get(0) in solveInnerClassConstructorWithNewScope() 94 ObjectCreationExpr objectCreationExpr = method.getBody().get().getStatements().get(0) in solveInnerInnerClassConstructor()
|
D | MethodLikeSignaturesTest.java | 24 ObjectCreationExpr objectCreationExpr = method.getBody().get().getStatements().get(0) in checkReflectionConstructorSignature() 41 MethodCallExpr methodCallExpr = method.getBody().get().getStatements().get(1) in checkReflectionMethodSignature()
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/contexts/ |
D | StatementContext.java | 54 for (int i = 0; i < blockStmt.getStatements().size(); i++) { in solveInBlock() 55 if (blockStmt.getStatements().get(i).equals(stmt)) { in solveInBlock() 63 …or symbolDeclarator = JavaParserFactory.getSymbolDeclarator(blockStmt.getStatements().get(i), type… in solveInBlock() 80 for (int i = 0; i < blockStmt.getStatements().size(); i++) { in solveInBlockAsValue() 81 if (blockStmt.getStatements().get(i).equals(stmt)) { in solveInBlockAsValue() 89 …or symbolDeclarator = JavaParserFactory.getSymbolDeclarator(blockStmt.getStatements().get(i), type… in solveInBlockAsValue() 125 for (int i = 0; i < nodeWithStmt.getStatements().size(); i++) { in solveSymbolAsValue() 126 if (nodeWithStmt.getStatements().get(i).equals(wrappedNode)) { in solveSymbolAsValue() 134 …symbolDeclarator = JavaParserFactory.getSymbolDeclarator(nodeWithStmt.getStatements().get(i), type… in solveSymbolAsValue() 171 for (int i = 0; i < nodeWithStmt.getStatements().size(); i++) { in solveSymbol() [all …]
|
D | BlockStmtContext.java | 24 for (int i = 0; i < wrappedNode.getStatements().size(); i++) { in localVariablesExposedToChild() 25 if (wrappedNode.getStatements().get(i).equals(child)) { in localVariablesExposedToChild()
|
/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 | 54 for (int i = 0; i < blockStmt.getStatements().size(); i++) { in solveInBlock() 55 if (blockStmt.getStatements().get(i).equals(stmt)) { in solveInBlock() 63 …or symbolDeclarator = JavaParserFactory.getSymbolDeclarator(blockStmt.getStatements().get(i), type… in solveInBlock() 80 for (int i = 0; i < blockStmt.getStatements().size(); i++) { in solveInBlockAsValue() 81 if (blockStmt.getStatements().get(i).equals(stmt)) { in solveInBlockAsValue() 89 …or symbolDeclarator = JavaParserFactory.getSymbolDeclarator(blockStmt.getStatements().get(i), type… in solveInBlockAsValue() 125 for (int i = 0; i < nodeWithStmt.getStatements().size(); i++) { in solveSymbolAsValue() 126 if (nodeWithStmt.getStatements().get(i).equals(wrappedNode)) { in solveSymbolAsValue() 134 …symbolDeclarator = JavaParserFactory.getSymbolDeclarator(nodeWithStmt.getStatements().get(i), type… in solveSymbolAsValue() 171 for (int i = 0; i < nodeWithStmt.getStatements().size(); i++) { in solveSymbol() [all …]
|
/external/javaparser/javaparser-core-generators/src/main/java/com/github/javaparser/generator/core/visitor/ |
D | EqualsVisitorGenerator.java | 26 body.getStatements().clear(); in generateVisitMethodBody() 42 if (body.getStatements().size() == 1) { in generateVisitMethodBody() 44 body.getStatements().clear(); in generateVisitMethodBody()
|
D | NoCommentEqualsVisitorGenerator.java | 47 body.getStatements().clear(); in generateVisitMethodBody() 69 if (body.getStatements().size() == 1) { in generateVisitMethodBody() 71 body.getStatements().clear(); in generateVisitMethodBody()
|
D | GenericVisitorWithDefaultsGenerator.java | 23 body.getStatements().clear(); in generateVisitMethodBody()
|
D | ObjectIdentityEqualsVisitorGenerator.java | 23 body.getStatements().clear(); in generateVisitMethodBody()
|
D | ObjectIdentityHashCodeVisitorGenerator.java | 23 body.getStatements().clear(); in generateVisitMethodBody()
|
D | VoidVisitorWithDefaultsGenerator.java | 23 body.getStatements().clear(); in generateVisitMethodBody()
|
D | GenericVisitorAdapterGenerator.java | 26 body.getStatements().clear(); in generateVisitMethodBody()
|
D | VoidVisitorAdapterGenerator.java | 26 body.getStatements().clear(); in generateVisitMethodBody()
|
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/ |
D | ParseErrorRecoveryTest.java | 25 Statement xxx = cu.getBody().get().getStatements().get(0); in bodystatementSemicolonRecovery() 39 …xx = cu.getClassByName("X").get().getMethods().get(0).getBody().get().getStatements().get(0).asLab… in labeledStatementSemicolonRecovery()
|
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/remove/ |
D | NodeRemovalTest.java | 71 assertEquals(1, methodBody.getStatements().size()); in testRemoveStatementFromMethodBody() 74 assertEquals(0, methodBody.getStatements().size()); in testRemoveStatementFromMethodBody()
|
/external/javaparser/javaparser-core-metamodel-generator/src/main/java/com/github/javaparser/generator/metamodel/ |
D | MetaModelGenerator.java | 182 … metaModelCoid.getMethodsByName("initializeNodeMetaModels").get(0).getBody().get().getStatements(); in generateNodeMetaModels() 183 …aModelCoid.getMethodsByName("initializePropertyMetaModels").get(0).getBody().get().getStatements(); in generateNodeMetaModels() 184 …delCoid.getMethodsByName("initializeConstructorParameters").get(0).getBody().get().getStatements(); in generateNodeMetaModels()
|
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/transformations/ast/body/ |
D | StatementTransformationsTest.java | 57 NodeList<Statement> statements = stmt.asSwitchStmt().getEntry(0).getStatements(); in switchEntryCsmHasTrailingUnindent()
|
/external/javaparser/javaparser-core-generators/src/main/java/com/github/javaparser/generator/core/node/ |
D | PropertyGenerator.java | 65 body.getStatements().clear(); in generateSetter() 99 body.getStatements().clear(); in generateGetter()
|
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/printer/ |
D | PrettyPrintVisitorTest.java | 118 …lizable) (() -> {" + EOL + "});", print(methodDeclaration.getBody().get().getStatements().get(0))); in printLambdaIntersectionTypeAssignment() 139 …etKey().compareTo(c2.getKey());", print(methodDeclaration.getBody().get().getStatements().get(0))); in printLambdaIntersectionTypeReturn()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/ |
D | Issue18Test.java | 40 … ExpressionStmt expr = (ExpressionStmt) methodDeclaration.getBody().get().getStatements().get(1); in typeDeclarationSuperClassImplicitlyIncludeObject()
|