Home
last modified time | relevance | path

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

/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/visitor/
DCloneVisitor.java51 n.getOrphanComments().stream().map(Comment::clone).forEach(r::addOrphanComment); in visit()
64 n.getOrphanComments().stream().map(Comment::clone).forEach(r::addOrphanComment); in visit()
77 n.getOrphanComments().stream().map(Comment::clone).forEach(r::addOrphanComment); in visit()
87 n.getOrphanComments().stream().map(Comment::clone).forEach(r::addOrphanComment); in visit()
97 n.getOrphanComments().stream().map(Comment::clone).forEach(r::addOrphanComment); in visit()
114 n.getOrphanComments().stream().map(Comment::clone).forEach(r::addOrphanComment); in visit()
130 n.getOrphanComments().stream().map(Comment::clone).forEach(r::addOrphanComment); in visit()
144 n.getOrphanComments().stream().map(Comment::clone).forEach(r::addOrphanComment); in visit()
158 n.getOrphanComments().stream().map(Comment::clone).forEach(r::addOrphanComment); in visit()
173 n.getOrphanComments().stream().map(Comment::clone).forEach(r::addOrphanComment); in visit()
[all …]
DEqualsVisitor.java60 return nodesEquals(n.getOrphanComments(), n2.getOrphanComments()); in commonNodeEquality()
/external/javaparser/javaparser-core-testing-bdd/src/test/java/com/github/javaparser/steps/
DCommentParsingSteps.java224 assertThat(compilationUnit.getOrphanComments().size(), is(expectedCount)); in thenTheCompilationUnitHasExpectedCountOrphanComments()
229 Comment commentUnderTest = compilationUnit.getOrphanComments().get(position - 1); in thenTheCompilationUnitOrphanCommentIs()
273 assertThat(classUnderTest.getOrphanComments().size(), is(expectedCount)); in thenClassHasOrphanComments()
279 Comment commentUnderTest = classUnderTest.getOrphanComments().get(commentPosition - 1); in thenClassOrphanCommentIs()
313 assertThat(methodUnderTest.getOrphanComments().size(), is(expectedCount)); in thenMethodInClassHasOrphanComments()
331 assertThat(blockStmtUnderTest.getOrphanComments().size(), is(expectedCount)); in thenBlockStatementInMethodInClassHasOrphanComments()
340 Comment commentUnderTest = blockStmtUnderTest.getOrphanComments().get(commentPosition - 1); in thenBlockStatementInMethodInClassIs()
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/ast/comments/
DCommentTest.java47 assertEquals(1, decl.getOrphanComments().size()); in removeOrphanComment()
49 assertEquals(0, decl.getOrphanComments().size()); in removeOrphanComment()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/
DNode.java289 public List<Comment> getOrphanComments() { in getOrphanComments() method in Node
301 comments.addAll(getOrphanComments()); in getAllContainedComments()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/expected_output/
Dcom_github_javaparser_ast_Node.txt23 …Line 276) comments.addAll(getOrphanComments()) ==> java.util.List.addAll(java.util.Collection<? ex…
24 Line 276) getOrphanComments() ==> com.github.javaparser.ast.Node.getOrphanComments()
Dcom_github_javaparser_ast_visitor_EqualsVisitor.txt5 …Line 126) nodesEquals(n1.getOrphanComments(), n2.getOrphanComments()) ==> com.github.javaparser.as…
6 Line 126) n1.getOrphanComments() ==> com.github.javaparser.ast.Node.getOrphanComments()
7 Line 126) n2.getOrphanComments() ==> com.github.javaparser.ast.Node.getOrphanComments()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/
DNode.java263 public List<Comment> getOrphanComments() { in getOrphanComments() method in Node
276 comments.addAll(getOrphanComments()); in getAllContainedComments()
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/ast/
DNodeTest.java250 assertEquals(1, decl.getOrphanComments().size()); in removeOrphanCommentPositiveCase()
253 assertEquals(0, decl.getOrphanComments().size()); in removeOrphanCommentPositiveCase()
266 assertEquals(1, aField.getOrphanComments().size()); in removeOrphanCommentNegativeCase()
335 .getOrphanComments().get(0); in findCompilationUnitOfOrphanCommentNode()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/
DNode.java347 public List<Comment> getOrphanComments() { in getOrphanComments() method in Node
360 comments.addAll(getOrphanComments()); in getAllContainedComments()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/expected_output/
Dcom_github_javaparser_ast_Node.txt58 Line 301) comments.addAll(getOrphanComments()) ==> boolean
Dcom_github_javaparser_ast_visitor_EqualsVisitor.txt9 Line 98) !nodesEquals(n1.getOrphanComments(), n2.getOrphanComments()) ==> boolean
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/visitor/
DEqualsVisitor.java126 return nodesEquals(n1.getOrphanComments(), n2.getOrphanComments()); in commonNodeEquality()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/visitor/
DEqualsVisitor.java98 if (!nodesEquals(n1.getOrphanComments(), n2.getOrphanComments())){ in commonNodeEquality()