public abstract class GeneratorWriter<W extends GeneratorWriter<W>> extends Object
PrintWriter
This wrapper postpones the actual write to the wrapped PrintWriter
until all information about the target Java class is available. This way, the
import dependencies can be calculated at the end.
| Modifier | Constructor and Description |
|---|---|
protected |
GeneratorWriter(File file) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
beforeClose(String string) |
void |
close() |
W |
print(char value) |
W |
print(int value) |
W |
print(String string) |
W |
print(String string,
Object... args) |
W |
println() |
W |
println(int value) |
W |
println(String string) |
W |
println(String string,
Object... args) |
int |
tab() |
W |
tab(int tabs) |
String |
toString() |
protected GeneratorWriter(File file)
Copyright © 2014. All Rights Reserved.