abstract class AbstractDumper extends java.lang.Object implements Dumper
Dumper.CannotCreate
MethodErrorCollector.SummaryDumperMethodErrorCollector
Modifier and Type | Field and Description |
---|---|
(package private) MovableDumperContext |
context |
protected static java.lang.String |
STANDARD_INDENT |
Constructor and Description |
---|
AbstractDumper(MovableDumperContext context) |
Modifier and Type | Method and Description |
---|---|
Dumper |
beginBlockComment(boolean inline) |
Dumper |
comment(java.lang.String s) |
Dumper |
dump(JavaTypeInstance javaTypeInstance) |
Dumper |
endBlockComment() |
void |
enqueuePendingCarriageReturn() |
int |
getCurrentLine() |
int |
getIndentLevel() |
void |
informBytecodeLoc(HasByteCodeLoc loc) |
Dumper |
removePendingCarriageReturn() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addSummaryError, canEmitClass, close, dump, dump, endCodeln, explicitIndent, fieldName, getAdditionalOutputStream, getObfuscationMapping, getOutputCount, getTypeUsageInformation, identifier, indent, keyword, label, literal, methodName, newln, operator, packageName, print, print, separator, withTypeUsageInformation
protected static final java.lang.String STANDARD_INDENT
final MovableDumperContext context
AbstractDumper(MovableDumperContext context)
public Dumper beginBlockComment(boolean inline)
beginBlockComment
in interface Dumper
public Dumper endBlockComment()
endBlockComment
in interface Dumper
public void enqueuePendingCarriageReturn()
enqueuePendingCarriageReturn
in interface Dumper
public Dumper dump(JavaTypeInstance javaTypeInstance)
public Dumper removePendingCarriageReturn()
removePendingCarriageReturn
in interface Dumper
public int getCurrentLine()
getCurrentLine
in interface Dumper
public int getIndentLevel()
getIndentLevel
in interface Dumper
public void informBytecodeLoc(HasByteCodeLoc loc)
informBytecodeLoc
in interface Dumper