Searched refs:getAllContainedComments (Results 1 – 14 of 14) sorted by relevance
235 … 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 …]
299 public List<Comment> getAllContainedComments() { in getAllContainedComments() method in Node307 comments.addAll(child.getAllContainedComments()); in getAllContainedComments()
98 return this.getAllContainedComments(); in getComments()
29 …Line 282) comments.addAll(child.getAllContainedComments()) ==> java.util.List.addAll(java.util.Col…30 …Line 282) child.getAllContainedComments() ==> com.github.javaparser.ast.Node.getAllContainedCommen…
9 …Line 115) this.getAllContainedComments() ==> com.github.javaparser.ast.Node.getAllContainedComment…
274 public List<Comment> getAllContainedComments() { in getAllContainedComments() method in Node282 comments.addAll(child.getAllContainedComments()); in getAllContainedComments()
115 return this.getAllContainedComments(); in getComments()
18 …Line 98) this.getAllContainedComments() ==> java.util.List<com.github.javaparser.ast.comments.Comm…
63 Line 307) comments.addAll(child.getAllContainedComments()) ==> boolean
42 assertEquals(1, compilationUnit.getAllContainedComments().size()); in issue578TheFirstCommentIsWithinTheCompilationUnit()
71 Comment comment = cu.getAllContainedComments().get(0); in unicodeEscapesArePreservedInComments()
358 public List<Comment> getAllContainedComments() { in getAllContainedComments() method in Node363 comments.addAll(child.getAllContainedComments()); in getAllContainedComments()
146 return this.getAllContainedComments(); in getComments()
1157 cu.getAllContainedComments().get(0).remove(); in removedLineCommentsPrinted()1175 cu.getAllContainedComments().get(0).remove(); in removedLineCommentsPrintedUnix()1194 cu.getAllContainedComments().get(0).remove(); in removedBlockCommentsPrinted()