public static class AbstractProxyCreator.SourcePrinter extends Object
| Constructor and Description |
|---|
AbstractProxyCreator.SourcePrinter(com.google.gwt.user.rebind.SourceWriter srcWriter,
com.google.gwt.core.ext.TreeLogger logger)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
commit()
Flushes the printed code into a real output (file).
|
void |
indent()
Indents the next line to be printed
|
void |
outdent()
Outdents the next line to be printed
|
void |
print(String s)
Prints an in-line code.
|
void |
println() |
void |
println(String s)
Prints a line of code into the output.
|
public AbstractProxyCreator.SourcePrinter(com.google.gwt.user.rebind.SourceWriter srcWriter,
com.google.gwt.core.ext.TreeLogger logger)
srcWriter - logger - public void commit()
public void indent()
public void outdent()
public void print(String s)
s - public void println(String s)
"{", indents the next line."}", "};" or "});", outdents the next line.s - public void println()
Copyright © 2015. All rights reserved.