Searched refs:getOrphanComments (Results 1 – 14 of 14) sorted by relevance
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/visitor/ |
D | CloneVisitor.java | 51 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 …]
|
D | EqualsVisitor.java | 60 return nodesEquals(n.getOrphanComments(), n2.getOrphanComments()); in commonNodeEquality()
|
/external/javaparser/javaparser-core-testing-bdd/src/test/java/com/github/javaparser/steps/ |
D | CommentParsingSteps.java | 224 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/ |
D | CommentTest.java | 47 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/ |
D | Node.java | 289 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/ |
D | com_github_javaparser_ast_Node.txt | 23 …Line 276) comments.addAll(getOrphanComments()) ==> java.util.List.addAll(java.util.Collection<? ex… 24 Line 276) getOrphanComments() ==> com.github.javaparser.ast.Node.getOrphanComments()
|
D | com_github_javaparser_ast_visitor_EqualsVisitor.txt | 5 …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/ |
D | Node.java | 263 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/ |
D | NodeTest.java | 250 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/ |
D | Node.java | 347 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/ |
D | com_github_javaparser_ast_Node.txt | 58 Line 301) comments.addAll(getOrphanComments()) ==> boolean
|
D | com_github_javaparser_ast_visitor_EqualsVisitor.txt | 9 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/ |
D | EqualsVisitor.java | 126 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/ |
D | EqualsVisitor.java | 98 if (!nodesEquals(n1.getOrphanComments(), n2.getOrphanComments())){ in commonNodeEquality()
|