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.CannotCreate
Nested 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, options
Fields 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 TypeMethodDescriptionvoid
addSummaryError
(Method method, String s) void
close()
getAdditionalOutputStream
(String description) withTypeUsageInformation
(TypeUsageInformation innerclassTypeUsageInformation) protected void
Methods 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, separator
Methods 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:
write
in classStreamDumper
-
close
public void close() -
addSummaryError
-
withTypeUsageInformation
-
getAdditionalOutputStream
-