Home
last modified time | relevance | path

Searched refs:getAllContainedComments (Results 1 – 14 of 14) sorted by relevance

/external/javaparser/javaparser-core-testing-bdd/src/test/java/com/github/javaparser/steps/
DCommentParsingSteps.java235 … Comment commentUnderTest = compilationUnit.getAllContainedComments().get(commentPosition - 1); in thenCommentInCompilationUnitIsNotAnOrphan()
241 … Comment commentUnderTest = compilationUnit.getAllContainedComments().get(commentPosition - 1); in thenCommentInCompilationUnitIsAnOrphan()
247 Comment commentUnderTest = compilationUnit.getAllContainedComments().get(position - 1); in thenCommentInCompilationUnitIs()
266 assertThat(classUnderTest.getAllContainedComments().size(), is(expectedCount)); in thenClassHasTotalContainedComments()
296 assertThat(methodUnderTest.getAllContainedComments().size(), is(expectedCount)); in thenMethodInClassHasTotalContainedComments()
304 … Comment commentUnderTest = methodUnderTest.getAllContainedComments().get(commentPosition - 1); in thenCommentInMethodInClassIs()
322 assertThat(blockStmtUnderTest.getAllContainedComments().size(), is(expectedCount)); in thenBlockStatementInMethodInClassHasTotalContainedComments()
358 assertThat(fieldUnderTest.getAllContainedComments().size(), is(expectedCount)); in thenFieldInClassContainsComments()
391 … Comment commentUnderTest = compilationUnit.getAllContainedComments().get(commentPosition - 1); in thenCommentInCompilationUnitParentIsClassOrInterfaceDeclaration()
397 … Comment commentUnderTest = compilationUnit.getAllContainedComments().get(commentPosition - 1); in thenCommentInCompilationUnitCommentedNodeIsClassOrInterfaceDeclaration()
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/
DNode.java299 public List<Comment> getAllContainedComments() { in getAllContainedComments() method in Node
307 comments.addAll(child.getAllContainedComments()); in getAllContainedComments()
DCompilationUnit.java98 return this.getAllContainedComments(); in getComments()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/expected_output/
Dcom_github_javaparser_ast_Node.txt29 …Line 282) comments.addAll(child.getAllContainedComments()) ==> java.util.List.addAll(java.util.Col…
30 …Line 282) child.getAllContainedComments() ==> com.github.javaparser.ast.Node.getAllContainedCommen…
Dcom_github_javaparser_ast_CompilationUnit.txt9 …Line 115) this.getAllContainedComments() ==> com.github.javaparser.ast.Node.getAllContainedComment…
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/
DNode.java274 public List<Comment> getAllContainedComments() { in getAllContainedComments() method in Node
282 comments.addAll(child.getAllContainedComments()); in getAllContainedComments()
DCompilationUnit.java115 return this.getAllContainedComments(); in getComments()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/expected_output/
Dcom_github_javaparser_ast_CompilationUnit.txt18 …Line 98) this.getAllContainedComments() ==> java.util.List<com.github.javaparser.ast.comments.Comm…
Dcom_github_javaparser_ast_Node.txt63 Line 307) comments.addAll(child.getAllContainedComments()) ==> boolean
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/ast/
DCompilationUnitTest.java42 assertEquals(1, compilationUnit.getAllContainedComments().size()); in issue578TheFirstCommentIsWithinTheCompilationUnit()
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/ast/comments/
DCommentTest.java71 Comment comment = cu.getAllContainedComments().get(0); in unicodeEscapesArePreservedInComments()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/
DNode.java358 public List<Comment> getAllContainedComments() { in getAllContainedComments() method in Node
363 comments.addAll(child.getAllContainedComments()); in getAllContainedComments()
DCompilationUnit.java146 return this.getAllContainedComments(); in getComments()
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/
DLexicalPreservingPrinterTest.java1157 cu.getAllContainedComments().get(0).remove(); in removedLineCommentsPrinted()
1175 cu.getAllContainedComments().get(0).remove(); in removedLineCommentsPrintedUnix()
1194 cu.getAllContainedComments().get(0).remove(); in removedBlockCommentsPrinted()