- All Implemented Interfaces:
IComment
- Direct Known Subclasses:
WrappedComment
A simple multi-line comment implementation.
-
Constructor Summary
Constructors
Constructs a simple multi-line comment.
-
Method Summary
Gets the lines of the comment.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Comment
public Comment(String... lines)
Constructs a simple multi-line comment.
- Parameters:
lines - The lines of the comment.
-
Method Details
-
getLines
Description copied from interface: IComment
Gets the lines of the comment.
- Specified by:
getLines in interface IComment
- Returns:
- The lines of the comment.