public class CommentStructure extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CommentStructure.CommentLocation |
| Constructor and Description |
|---|
CommentStructure() |
| Modifier and Type | Method and Description |
|---|---|
void |
addComment(AbstractComment comment,
CommentStructure.CommentLocation commentLocation)
Helper method to assist in adding comments to structures.
|
List<AbstractComment> |
getBeginComments() |
List<AbstractComment> |
getEndComments() |
List<AbstractComment> |
getInternalComments() |
void |
setBeginComments(List<AbstractComment> beginComments) |
void |
setEndComments(List<AbstractComment> endComments) |
void |
setInternalComments(List<AbstractComment> internalComments) |
public void addComment(AbstractComment comment, CommentStructure.CommentLocation commentLocation)
comment - The comment to add (LineComment, BlockComment,
JavadocComment)commentLocation - Where the comment should be added.public List<AbstractComment> getBeginComments()
public List<AbstractComment> getEndComments()
public List<AbstractComment> getInternalComments()
public void setBeginComments(List<AbstractComment> beginComments)
public void setEndComments(List<AbstractComment> endComments)
public void setInternalComments(List<AbstractComment> internalComments)
Copyright © 2009–2016. All rights reserved.