aboutsummaryrefslogtreecommitdiffstats
path: root/javaparser-symbol-solver-testing/src/test/resources/javaparser_methodcalls_expected_output/com_github_javaparser_CommentsInserter.txt
blob: 003f216cb4dd138c24b5b5c1fdd2272b7db149de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
  Line 52) comments.isEmpty() ==> java.util.TreeSet.isEmpty()
  Line 63) cu.getChildrenNodes() ==> com.github.javaparser.ast.Node.getChildrenNodes()
  Line 64) PositionUtils.sortByBeginPosition(children) ==> com.github.javaparser.utils.PositionUtils.sortByBeginPosition(java.util.List<T>)
  Line 66) comments.iterator().next() ==> java.util.Iterator.next()
  Line 66) comments.iterator() ==> java.util.TreeSet.iterator()
  Line 67) cu.getPackage() ==> com.github.javaparser.ast.CompilationUnit.getPackage()
  Line 68) children.isEmpty() ==> java.util.List.isEmpty()
  Line 68) PositionUtils.areInOrder(firstComment, children.get(0)) ==> com.github.javaparser.utils.PositionUtils.areInOrder(com.github.javaparser.ast.Node, com.github.javaparser.ast.Node)
  Line 69) children.get(0) ==> java.util.List.get(int)
  Line 70) cu.setComment(firstComment) ==> com.github.javaparser.ast.Node.setComment(com.github.javaparser.ast.comments.Comment)
  Line 71) comments.remove(firstComment) ==> java.util.TreeSet.remove(java.lang.Object)
  Line 80) commentsToAttribute.isEmpty() ==> java.util.TreeSet.isEmpty()
  Line 84) insertComments((CompilationUnit) node, commentsToAttribute) ==> com.github.javaparser.CommentsInserter.insertComments(com.github.javaparser.ast.CompilationUnit, java.util.TreeSet<com.github.javaparser.ast.comments.Comment>)
  Line 95) node.getChildrenNodes() ==> com.github.javaparser.ast.Node.getChildrenNodes()
  Line 96) PositionUtils.sortByBeginPosition(children) ==> com.github.javaparser.utils.PositionUtils.sortByBeginPosition(java.util.List<T>)
  Line 101) PositionUtils.nodeContains(child, c, configuration.doNotConsiderAnnotationsAsNodeStartForCodeAttribution) ==> com.github.javaparser.utils.PositionUtils.nodeContains(com.github.javaparser.ast.Node, com.github.javaparser.ast.Node, boolean)
  Line 103) commentsInsideChild.add(c) ==> java.util.TreeSet.add(E)
  Line 106) commentsToAttribute.removeAll(commentsInsideChild) ==> java.util.AbstractSet.removeAll(java.util.Collection<? extends java.lang.Object>)
  Line 107) insertComments(child, commentsInsideChild) ==> com.github.javaparser.CommentsInserter.insertComments(com.github.javaparser.ast.Node, java.util.TreeSet<com.github.javaparser.ast.comments.Comment>)
  Line 114) comment.isLineComment() ==> com.github.javaparser.ast.comments.Comment.isLineComment()
  Line 116) child.getEnd() ==> com.github.javaparser.ast.Node.getEnd()
  Line 116) comment.getBegin() ==> com.github.javaparser.ast.Node.getBegin()
  Line 117) attributeLineCommentToNodeOrChild(child, comment.asLineComment()) ==> com.github.javaparser.CommentsInserter.attributeLineCommentToNodeOrChild(com.github.javaparser.ast.Node, com.github.javaparser.ast.comments.LineComment)
  Line 118) comment.asLineComment() ==> com.github.javaparser.ast.comments.Comment.asLineComment()
  Line 119) attributedComments.add(comment) ==> java.util.List.add(E)
  Line 130) childrenAndComments.addAll(children) ==> java.util.List.addAll(java.util.Collection<? extends E>)
  Line 131) childrenAndComments.addAll(commentsToAttribute) ==> java.util.List.addAll(java.util.Collection<? extends E>)
  Line 132) PositionUtils.sortByBeginPosition(childrenAndComments, configuration.doNotConsiderAnnotationsAsNodeStartForCodeAttribution) ==> com.github.javaparser.utils.PositionUtils.sortByBeginPosition(java.util.List<T>, boolean)
  Line 138) previousComment.isOrphan() ==> com.github.javaparser.ast.comments.Comment.isOrphan()
  Line 142) thing.hasComment() ==> com.github.javaparser.ast.Node.hasComment()
  Line 144) thereAreLinesBetween(previousComment, thing) ==> com.github.javaparser.CommentsInserter.thereAreLinesBetween(com.github.javaparser.ast.Node, com.github.javaparser.ast.Node)
  Line 145) thing.setComment(previousComment) ==> com.github.javaparser.ast.Node.setComment(com.github.javaparser.ast.comments.Comment)
  Line 146) attributedComments.add(previousComment) ==> java.util.List.add(E)
  Line 153) commentsToAttribute.removeAll(attributedComments) ==> java.util.AbstractSet.removeAll(java.util.Collection<? extends java.lang.Object>)
  Line 157) c.isOrphan() ==> com.github.javaparser.ast.comments.Comment.isOrphan()
  Line 158) node.addOrphanComment(c) ==> com.github.javaparser.ast.Node.addOrphanComment(com.github.javaparser.ast.comments.Comment)
  Line 166) node.getBegin() ==> com.github.javaparser.ast.Node.getBegin()
  Line 166) lineComment.getBegin() ==> com.github.javaparser.ast.Node.getBegin()
  Line 167) node.hasComment() ==> com.github.javaparser.ast.Node.hasComment()
  Line 169) node.setComment(lineComment) ==> com.github.javaparser.ast.Node.setComment(com.github.javaparser.ast.comments.Comment)
  Line 176) children.addAll(node.getChildrenNodes()) ==> java.util.List.addAll(java.util.Collection<? extends E>)
  Line 176) node.getChildrenNodes() ==> com.github.javaparser.ast.Node.getChildrenNodes()
  Line 177) PositionUtils.sortByBeginPosition(children) ==> com.github.javaparser.utils.PositionUtils.sortByBeginPosition(java.util.List<T>)
  Line 178) Collections.reverse(children) ==> java.util.Collections.reverse(java.util.List<? extends java.lang.Object>)
  Line 181) attributeLineCommentToNodeOrChild(child, lineComment) ==> com.github.javaparser.CommentsInserter.attributeLineCommentToNodeOrChild(com.github.javaparser.ast.Node, com.github.javaparser.ast.comments.LineComment)
  Line 191) PositionUtils.areInOrder(a, b) ==> com.github.javaparser.utils.PositionUtils.areInOrder(com.github.javaparser.ast.Node, com.github.javaparser.ast.Node)
  Line 192) thereAreLinesBetween(b, a) ==> com.github.javaparser.CommentsInserter.thereAreLinesBetween(com.github.javaparser.ast.Node, com.github.javaparser.ast.Node)
  Line 194) a.getEnd() ==> com.github.javaparser.ast.Node.getEnd()
  Line 195) b.getBegin() ==> com.github.javaparser.ast.Node.getBegin()