proto-js-plugin
1.9.0
jvm
proto-js-plugin
/
io.spine.js.generate.output.snippet
/
Return
Return
public
class
Return
extends
CodeLine
A code line representing a
return
statement.
Members
Functions
content
Link copied to clipboard
public
String
content
(
)
Obtains the value of the line.
null
Reference
Link copied to clipboard
public
static
Return
nullReference
(
)
Composes a statement returning
null
.
string
Literal
Link copied to clipboard
public
static
Return
stringLiteral
(
String
literal
)
Composes a statement returning a string literal.
value
Link copied to clipboard
public
static
Return
value
(
Object
value
)
Composes a statement returning the value.
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
(
)