Class LineComment

java.lang.Object

public final class LineComment extends Comment
End-of-line comment AST node type.

End-of-line comments begin with "//", must end with a line delimiter (as per JLS 3.7), and must not contain line breaks.

Note that this node type is a comment placeholder, and is only useful for recording the source range where a comment was found in a source string. It is not useful for creating comments.

Since:
3.0