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 Dumper
Dumper.CannotCreateNested classes/interfaces inherited from interface MethodErrorCollector
MethodErrorCollector.SummaryDumperMethodErrorCollector -
Field Summary
FieldsFields inherited from class StreamDumper
emitted, illegalIdentifierDump, optionsFields inherited from class 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 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 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
-