Package deltix.util.jcg.scg
Class JavaCodePrinter
- java.lang.Object
-
- deltix.util.jcg.scg.SourceCodePrinter
-
- deltix.util.jcg.scg.NiceSourceCodePrinter
-
- deltix.util.jcg.scg.JavaCodePrinter
-
public final class JavaCodePrinter extends NiceSourceCodePrinter
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JavaCodePrinter.ImportMode
-
Field Summary
-
Fields inherited from class deltix.util.jcg.scg.SourceCodePrinter
out
-
-
Constructor Summary
Constructors Constructor Description JavaCodePrinter(java.lang.String pack)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doPrintHeader(java.lang.StringBuilder out)
ImportTracker
getImportTracker()
java.lang.String
getPackage()
java.lang.String
getTopComment()
void
setImportMode(JavaCodePrinter.ImportMode mode)
void
setTopComment(java.lang.String topComment)
-
Methods inherited from class deltix.util.jcg.scg.NiceSourceCodePrinter
doPrintFooter, finish, getSourceCode, printRefClassName, printRefClassName
-
-
-
-
Method Detail
-
setImportMode
public void setImportMode(JavaCodePrinter.ImportMode mode)
-
getImportTracker
public ImportTracker getImportTracker()
- Specified by:
getImportTracker
in classNiceSourceCodePrinter
-
getPackage
public java.lang.String getPackage()
-
getTopComment
public java.lang.String getTopComment()
-
setTopComment
public void setTopComment(java.lang.String topComment)
-
doPrintHeader
protected void doPrintHeader(java.lang.StringBuilder out)
- Specified by:
doPrintHeader
in classNiceSourceCodePrinter
-
-