/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/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-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/ |
D | MethodsResolutionTest.java | 46 ReturnStmt returnStmt = (ReturnStmt) method.getBody().get().getStatements().get(0); in solveMethodAccessThroughSuper() 87 …MethodCallExpr expression = method.getBody().get().getStatements().get(0).asExpressionStmt().getEx… in solveMethodWithTypePromotionsToLong() 93 …MethodCallExpr expression = method.getBody().get().getStatements().get(1).asExpressionStmt().getEx… in solveMethodWithTypePromotionsToLong() 99 …MethodCallExpr expression = method.getBody().get().getStatements().get(2).asExpressionStmt().getEx… in solveMethodWithTypePromotionsToLong() 105 …MethodCallExpr expression = method.getBody().get().getStatements().get(3).asExpressionStmt().getEx… in solveMethodWithTypePromotionsToLong() 121 …MethodCallExpr expression = method.getBody().get().getStatements().get(0).asExpressionStmt().getEx… in solveMethodWithTypePromotionsToInt() 127 …MethodCallExpr expression = method.getBody().get().getStatements().get(1).asExpressionStmt().getEx… in solveMethodWithTypePromotionsToInt() 133 …MethodCallExpr expression = method.getBody().get().getStatements().get(2).asExpressionStmt().getEx… in solveMethodWithTypePromotionsToInt() 139 …MethodCallExpr expression = method.getBody().get().getStatements().get(3).asExpressionStmt().getEx… in solveMethodWithTypePromotionsToInt() 154 …MethodCallExpr expression = method.getBody().get().getStatements().get(0).asExpressionStmt().getEx… in solveMethodWithTypePromotionsToShort() [all …]
|
D | FieldsResolutionTest.java | 47 ReturnStmt returnStmt = (ReturnStmt) method.getBody().get().getStatements().get(0); in accessClassFieldThroughThis() 59 … ExpressionStmt expressionStmt = (ExpressionStmt) method.getBody().get().getStatements().get(0); in accessClassFieldThroughThisWithCompetingSymbolInParentContext() 89 ReturnStmt returnStmt = (ReturnStmt) method.getBody().get().getStatements().get(0); in accessEnumMethodThroughThis() 101 ReturnStmt returnStmt = (ReturnStmt) method.getBody().get().getStatements().get(0); in accessFieldThroughSuper()
|
/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() 100 return getStatements().isEmpty(); in isEmpty() 112 return copyStatements(other.getStatements()); in copyStatements()
|
/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 …]
|
/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 | VoidVisitorWithDefaultsGenerator.java | 23 body.getStatements().clear(); in generateVisitMethodBody()
|
D | ObjectIdentityEqualsVisitorGenerator.java | 26 body.getStatements().clear(); in generateVisitMethodBody()
|
D | ObjectIdentityHashCodeVisitorGenerator.java | 29 body.getStatements().clear(); in generateVisitMethodBody()
|
D | GenericVisitorAdapterGenerator.java | 26 body.getStatements().clear(); in generateVisitMethodBody()
|
D | VoidVisitorAdapterGenerator.java | 26 body.getStatements().clear(); in generateVisitMethodBody()
|
D | GenericListVisitorAdapterGenerator.java | 30 body.getStatements().clear(); in generateVisitMethodBody()
|
D | HashCodeVisitorGenerator.java | 29 body.getStatements().clear(); in generateVisitMethodBody()
|
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/remove/ |
D | NodeRemovalTest.java | 66 assertEquals(1, methodBody.getStatements().size()); in testRemoveStatementFromMethodBody() 69 assertEquals(0, methodBody.getStatements().size()); in testRemoveStatementFromMethodBody()
|
/external/javaparser/javaparser-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-metamodel-generator/src/main/java/com/github/javaparser/generator/metamodel/ |
D | MetaModelGenerator.java | 175 … metaModelCoid.getMethodsByName("initializeNodeMetaModels").get(0).getBody().get().getStatements(); in generateNodeMetaModels() 176 …aModelCoid.getMethodsByName("initializePropertyMetaModels").get(0).getBody().get().getStatements(); in generateNodeMetaModels() 177 …delCoid.getMethodsByName("initializeConstructorParameters").get(0).getBody().get().getStatements(); in generateNodeMetaModels()
|
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/ |
D | LexicalPreservingPrinterTest.java | 357 …tmts = cu.getClassByName("A").get().getMethodsByName("foo").get(0).getBody().get().getStatements(); in printASimpleMethodAddingAStatement() 420 TryStmt tryStmt = (TryStmt)initializerDeclaration.getBody().getStatements().get(0); in printASingleCatchType() 432 TryStmt tryStmt = (TryStmt)initializerDeclaration.getBody().getStatements().get(0); in printUnionType() 444 TryStmt tryStmt = (TryStmt)initializerDeclaration.getBody().getStatements().get(0); in printParameterHavingUnionType() 631 setter.getBody().get().getStatements().add(new ExpressionStmt( in addingStatementToAnAddedMethodInASimpleClassWithMoreFormatting() 646 setter.getBody().get().getStatements().add(new ExpressionStmt( in addingStatementToAnAddedMethodInASimpleClassWithMoreFormattingFromStep3() 711 setter.getBody().get().getStatements().add(new ExpressionStmt( in nodeTextForModifiedMethod() 767 methodDeclaration.getBody().get().getStatements().add(new ExpressionStmt( in addASecondStatementToExistingMethod()
|
/external/javaparser/javaparser-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-core-generators/src/main/java/com/github/javaparser/generator/core/node/ |
D | PropertyGenerator.java | 61 body.getStatements().clear(); in generateSetter() 95 body.getStatements().clear(); in generateGetter()
|
D | MainConstructorGenerator.java | 47 body.getStatements().addFirst(parseExplicitConstructorInvocationStmt(superCall.toString())); in generateNode()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/ |
D | Issue18.java | 41 … ExpressionStmt expr = (ExpressionStmt) methodDeclaration.getBody().get().getStatements().get(1); in typeDeclarationSuperClassImplicitlyIncludeObject()
|
D | Issue251.java | 27 ExpressionStmt stmt = (ExpressionStmt) m.getBody().get().getStatements().get(1); in testSolveStaticallyImportedMemberType()
|