abstract class SourceBuilder
extends java.lang.Object
| Constructor and Description |
|---|
SourceBuilder() |
| Modifier and Type | Method and Description |
|---|---|
(package private) java.lang.String |
createLine(java.lang.String... toks)
Creates a line from the given tokens with the current indentation and separated by spaces.
|
(package private) abstract java.util.List<java.lang.String> |
toLines()
Return the source for this declaration as lines of
Strings |
java.lang.String |
toString()
Return this declaration as a
String. |
java.lang.String createLine(java.lang.String... toks)
toks - the tokens to include on the lineString constructed from the tokensabstract java.util.List<java.lang.String> toLines()
Stringspublic java.lang.String toString()
String.toString in class java.lang.ObjectString for this declaration