proto-js-plugin
1.9.0
jvm
proto-js-plugin
/
io.spine.js.generate.output.snippet
/
Method
/
Builder
Builder
public
class
Builder
The builder of a method.
Members
Functions
append
To
Body
Link copied to clipboard
public
Method.Builder
appendToBody
(
CodeLine
line
)
public
Method.Builder
appendToBody
(
String
line
)
Appends a line to the body of the method.
build
Link copied to clipboard
public
Method
build
(
)
Obtains the method composed from the builder.
with
Parameters
Link copied to clipboard
public
Method.Builder
withParameters
(
Array
<
String
>
parameters
)
Specifies the parameter names of the method.