Package org.benf.cfr.reader.util.output
Class StringStreamDumper
java.lang.Object
org.benf.cfr.reader.util.output.AbstractDumper
org.benf.cfr.reader.util.output.StreamDumper
org.benf.cfr.reader.util.output.StringStreamDumper
- All Implemented Interfaces:
Dumper,MethodErrorCollector
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.benf.cfr.reader.util.output.Dumper
Dumper.CannotCreateNested classes/interfaces inherited from interface org.benf.cfr.reader.util.output.MethodErrorCollector
MethodErrorCollector.SummaryDumperMethodErrorCollector -
Field Summary
FieldsFields inherited from class org.benf.cfr.reader.util.output.StreamDumper
emitted, illegalIdentifierDump, optionsFields inherited from class org.benf.cfr.reader.util.output.AbstractDumper
context, STANDARD_INDENT -
Constructor Summary
ConstructorsConstructorDescriptionStringStreamDumper(MethodErrorCollector methodErrorCollector, StringBuilder sb, TypeUsageInformation typeUsageInformation, Options options, IllegalIdentifierDump illegalIdentifierDump) StringStreamDumper(MethodErrorCollector methodErrorCollector, StringBuilder sb, TypeUsageInformation typeUsageInformation, Options options, IllegalIdentifierDump illegalIdentifierDump, MovableDumperContext context) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSummaryError(Method method, String s) voidclose()getAdditionalOutputStream(String description) withTypeUsageInformation(TypeUsageInformation innerclassTypeUsageInformation) protected voidMethods inherited from class org.benf.cfr.reader.util.output.StreamDumper
canEmitClass, dump, dump, endCodeln, explicitIndent, fieldName, getCurrentLine, getObfuscationMapping, getOutputCount, getTypeUsageInformation, identifier, indent, keyword, label, literal, methodName, newln, operator, packageName, print, print, separatorMethods inherited from class org.benf.cfr.reader.util.output.AbstractDumper
beginBlockComment, comment, dump, endBlockComment, enqueuePendingCarriageReturn, getIndentLevel, informBytecodeLoc, removePendingCarriageReturn
-
Field Details
-
methodErrorCollector
-
stringBuilder
-
-
Constructor Details
-
StringStreamDumper
public StringStreamDumper(MethodErrorCollector methodErrorCollector, StringBuilder sb, TypeUsageInformation typeUsageInformation, Options options, IllegalIdentifierDump illegalIdentifierDump) -
StringStreamDumper
public StringStreamDumper(MethodErrorCollector methodErrorCollector, StringBuilder sb, TypeUsageInformation typeUsageInformation, Options options, IllegalIdentifierDump illegalIdentifierDump, MovableDumperContext context)
-
-
Method Details
-
write
- Specified by:
writein classStreamDumper
-
close
public void close() -
addSummaryError
-
withTypeUsageInformation
-
getAdditionalOutputStream
-