public class CommentsCollection extends Object
Constructor and Description |
---|
CommentsCollection() |
Modifier and Type | Method and Description |
---|---|
void |
addComment(BlockComment blockComment) |
void |
addComment(JavadocComment javadocComment) |
void |
addComment(LineComment lineComment) |
boolean |
contains(Comment comment) |
List<Comment> |
getAll() |
List<BlockComment> |
getBlockComments() |
List<JavadocComment> |
getJavadocComments() |
List<LineComment> |
getLineComments() |
CommentsCollection |
minus(CommentsCollection other) |
int |
size() |
public List<LineComment> getLineComments()
public List<BlockComment> getBlockComments()
public List<JavadocComment> getJavadocComments()
public void addComment(LineComment lineComment)
public void addComment(BlockComment blockComment)
public void addComment(JavadocComment javadocComment)
public boolean contains(Comment comment)
public int size()
public CommentsCollection minus(CommentsCollection other)
Copyright © 2007–2016. All rights reserved.