public static class Method.Builder
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
Method.Builder |
appendToBody(CodeLine line)
Appends a line to the body of the method.
|
Method.Builder |
appendToBody(java.lang.String line)
Appends a line to the body of the method.
|
Method |
build()
Obtains the method composed from the builder.
|
Method.Builder |
withParameters(java.lang.String... parameters)
Specifies the parameter names of the method.
|
public Method.Builder withParameters(java.lang.String... parameters)
public Method.Builder appendToBody(java.lang.String line)
public Method.Builder appendToBody(CodeLine line)
public Method build()