Package deltix.util.jcg.scg
Class NiceSourceCodePrinter
- java.lang.Object
-
- deltix.util.jcg.scg.SourceCodePrinter
-
- deltix.util.jcg.scg.NiceSourceCodePrinter
-
- Direct Known Subclasses:
CSCodePrinter
,JavaCodePrinter
public abstract class NiceSourceCodePrinter extends SourceCodePrinter
-
-
Field Summary
-
Fields inherited from class deltix.util.jcg.scg.SourceCodePrinter
out
-
-
Constructor Summary
Constructors Constructor Description NiceSourceCodePrinter()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected void
doPrintFooter(java.lang.StringBuilder out)
protected abstract void
doPrintHeader(java.lang.StringBuilder out)
void
finish()
abstract ImportTracker
getImportTracker()
java.lang.String
getSourceCode()
void
printRefClassName(java.lang.String cn)
void
printRefClassName(java.lang.String className, java.lang.String[] typeArgs)
-
-
-
Method Detail
-
getImportTracker
public abstract ImportTracker getImportTracker()
-
doPrintHeader
protected abstract void doPrintHeader(java.lang.StringBuilder out)
-
doPrintFooter
protected void doPrintFooter(java.lang.StringBuilder out)
-
finish
public void finish()
- Overrides:
finish
in classSourceCodePrinter
-
getSourceCode
public java.lang.String getSourceCode()
-
printRefClassName
public void printRefClassName(java.lang.String cn) throws java.io.IOException
- Overrides:
printRefClassName
in classSourceCodePrinter
- Throws:
java.io.IOException
-
printRefClassName
public void printRefClassName(java.lang.String className, java.lang.String[] typeArgs) throws java.io.IOException
- Overrides:
printRefClassName
in classSourceCodePrinter
- Throws:
java.io.IOException
-
-