| java.lang.Object xtc.tree.Node xtc.tree.Annotation xtc.tree.Comment
Comment | public class Comment extends Annotation (Code) | | A source code comment.
author: Robert Grimm version: $Revision: 1.11 $ |
Inner Class :public static enum Kind | |
Field Summary | |
public Kind | kind The kind. | public List<String> | text The actual text, one line per list entry. |
kind | public Kind kind(Code) | | The kind.
|
Comment | public Comment(Kind kind, List<String> text)(Code) | | Create a new comment.
Parameters: kind - The kind. Parameters: text - The text. |
Comment | public Comment(Kind kind, List<String> text, Node node)(Code) | | Create a new comment.
Parameters: kind - The kind. Parameters: text - The text. Parameters: node - The node. |
documentation | public static Comment documentation(String s)(Code) | | Create a new code documentation comment. If the specified text
is null , it is passed through.
Parameters: s - The text of the comment, including start and end markers. The comment. |
hashCode | public int hashCode()(Code) | | |
|
|