proto-js-plugin
1.9.0
jvm
proto-js-plugin
/
io.spine.js.generate.output.snippet
/
Comment
Comment
public
class
Comment
extends
CodeLine
A single-line comment.
Members
Functions
content
Link copied to clipboard
public
String
content
(
)
Obtains the value of the line.
generated
By
Spine
Link copied to clipboard
public
static
Comment
generatedBySpine
(
)
Obtains the comment to mark generated code.
of
Link copied to clipboard
public
static
Comment
of
(
String
text
)
Obtains the comment from the specified text.
Inherited functions
empty
Line
Link copied to clipboard
public
static
CodeLine
emptyLine
(
)
Obtains an empty code line.
equals
Link copied to clipboard
public
boolean
equals
(
Object
o
)
hash
Code
Link copied to clipboard
public
int
hashCode
(
)
of
Link copied to clipboard
public
static
CodeLine
of
(
String
content
)
Obtains a code line with the specified content.
to
String
Link copied to clipboard
public
String
toString
(
)