Package org.benf.cfr.reader.util.output
Class AbstractDumper
java.lang.Object
org.benf.cfr.reader.util.output.AbstractDumper
- All Implemented Interfaces:
Dumper
,MethodErrorCollector
- Direct Known Subclasses:
StreamDumper
,TokenStreamDumper
,ToStringDumper
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.benf.cfr.reader.util.output.Dumper
Dumper.CannotCreate
Nested classes/interfaces inherited from interface org.benf.cfr.reader.util.output.MethodErrorCollector
MethodErrorCollector.SummaryDumperMethodErrorCollector
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final MovableDumperContext
protected static final String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbeginBlockComment
(boolean inline) dump
(JavaTypeInstance javaTypeInstance) void
int
int
void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.benf.cfr.reader.util.output.Dumper
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
-
Field Details
-
STANDARD_INDENT
- See Also:
-
context
-
-
Constructor Details
-
AbstractDumper
AbstractDumper(MovableDumperContext context)
-
-
Method Details
-
beginBlockComment
- Specified by:
beginBlockComment
in interfaceDumper
-
endBlockComment
- Specified by:
endBlockComment
in interfaceDumper
-
comment
-
enqueuePendingCarriageReturn
public void enqueuePendingCarriageReturn()- Specified by:
enqueuePendingCarriageReturn
in interfaceDumper
-
dump
-
removePendingCarriageReturn
- Specified by:
removePendingCarriageReturn
in interfaceDumper
-
getCurrentLine
public int getCurrentLine()- Specified by:
getCurrentLine
in interfaceDumper
-
getIndentLevel
public int getIndentLevel()- Specified by:
getIndentLevel
in interfaceDumper
-
informBytecodeLoc
- Specified by:
informBytecodeLoc
in interfaceDumper
-