public static class AbstractProxyCreator.SourceCodePrinter extends Object implements AbstractProxyCreator.SourcePrinter
| Constructor and Description |
|---|
AbstractProxyCreator.SourceCodePrinter(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.SourceCodePrinter(com.google.gwt.user.rebind.SourceWriter srcWriter,
com.google.gwt.core.ext.TreeLogger logger)
srcWriter - logger - public void commit()
AbstractProxyCreator.SourcePrintercommit in interface AbstractProxyCreator.SourcePrinterpublic void indent()
AbstractProxyCreator.SourcePrinterindent in interface AbstractProxyCreator.SourcePrinterpublic void outdent()
AbstractProxyCreator.SourcePrinteroutdent in interface AbstractProxyCreator.SourcePrinterpublic void print(String s)
AbstractProxyCreator.SourcePrinterprint in interface AbstractProxyCreator.SourcePrinterpublic void println(String s)
AbstractProxyCreator.SourcePrinter"{", indents the next line."}", "};" or "});", outdents the next line.println in interface AbstractProxyCreator.SourcePrinterpublic void println()
println in interface AbstractProxyCreator.SourcePrinterCopyright © 2015. All rights reserved.