Comment

public class Comment extends CodeLine

A single-line comment.

Functions

Link copied to clipboard
public String content()
Obtains the value of the line.
Link copied to clipboard
public static Comment generatedBySpine()
Obtains the comment to mark generated code.
Link copied to clipboard
public static Comment of(String text)
Obtains the comment from the specified text.

Inherited functions

Link copied to clipboard
public static CodeLine emptyLine()
Obtains an empty code line.
Link copied to clipboard
public boolean equals(Object o)
Link copied to clipboard
public int hashCode()
Link copied to clipboard
public static CodeLine of(String content)
Obtains a code line with the specified content.
Link copied to clipboard
public String toString()