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 Dumper
Dumper.CannotCreateNested classes/interfaces inherited from interface MethodErrorCollector
MethodErrorCollector.SummaryDumperMethodErrorCollector -
Field Summary
FieldsModifier and TypeFieldDescription(package private) final MovableDumperContextprotected static final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbeginBlockComment(boolean inline) dump(JavaTypeInstance javaTypeInstance) voidintintvoidMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface 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:
beginBlockCommentin interfaceDumper
-
endBlockComment
- Specified by:
endBlockCommentin interfaceDumper
-
comment
-
enqueuePendingCarriageReturn
public void enqueuePendingCarriageReturn()- Specified by:
enqueuePendingCarriageReturnin interfaceDumper
-
dump
-
removePendingCarriageReturn
- Specified by:
removePendingCarriageReturnin interfaceDumper
-
getCurrentLine
public int getCurrentLine()- Specified by:
getCurrentLinein interfaceDumper
-
getIndentLevel
public int getIndentLevel()- Specified by:
getIndentLevelin interfaceDumper
-
informBytecodeLoc
- Specified by:
informBytecodeLocin interfaceDumper
-