|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.upb.hni.vmagic.annotation.CommentAnnotation
public class CommentAnnotation
Comment annotation.
The comment annotation is used to store VHDL comments in front of a VhdlElement.
Each String in the list of comments represents a line comment. The strings must
not contain line breaks. The Comments
utility
class provides an easier interface to set and get comments.
Comments
Constructor Summary | |
---|---|
CommentAnnotation(java.util.List<java.lang.String> comments)
Creates a new comment annotation. |
|
CommentAnnotation(java.lang.String... comments)
Creates a new comment annotation. |
Method Summary | |
---|---|
java.util.List<java.lang.String> |
getComments()
Returns a modifiable list of line comments. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CommentAnnotation(java.lang.String... comments)
comments
- zero or more line commentspublic CommentAnnotation(java.util.List<java.lang.String> comments)
comments
- a list of line commentsMethod Detail |
---|
public java.util.List<java.lang.String> getComments()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |