Package org.benf.cfr.reader.util.output
Class StdIODumper
- java.lang.Object
-
- org.benf.cfr.reader.util.output.AbstractDumper
-
- org.benf.cfr.reader.util.output.StreamDumper
-
- org.benf.cfr.reader.util.output.StdIODumper
-
- All Implemented Interfaces:
Dumper
,MethodErrorCollector
public class StdIODumper extends StreamDumper
-
-
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
-
Fields 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
Constructors Modifier Constructor Description (package private)
StdIODumper(TypeUsageInformation typeUsageInformation, Options options, IllegalIdentifierDump illegalIdentifierDump, MovableDumperContext context)
private
StdIODumper(TypeUsageInformation typeUsageInformation, Options options, IllegalIdentifierDump illegalIdentifierDump, MovableDumperContext context, java.util.Set<JavaTypeInstance> emitted)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addSummaryError(Method method, java.lang.String s)
void
close()
java.io.BufferedOutputStream
getAdditionalOutputStream(java.lang.String description)
Dumper
withTypeUsageInformation(TypeUsageInformation innerclassTypeUsageInformation)
protected void
write(java.lang.String s)
-
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
-
-
-
-
Constructor Detail
-
StdIODumper
StdIODumper(TypeUsageInformation typeUsageInformation, Options options, IllegalIdentifierDump illegalIdentifierDump, MovableDumperContext context)
-
StdIODumper
private StdIODumper(TypeUsageInformation typeUsageInformation, Options options, IllegalIdentifierDump illegalIdentifierDump, MovableDumperContext context, java.util.Set<JavaTypeInstance> emitted)
-
-
Method Detail
-
write
protected void write(java.lang.String s)
- Specified by:
write
in classStreamDumper
-
addSummaryError
public void addSummaryError(Method method, java.lang.String s)
-
close
public void close()
-
withTypeUsageInformation
public Dumper withTypeUsageInformation(TypeUsageInformation innerclassTypeUsageInformation)
-
getAdditionalOutputStream
public java.io.BufferedOutputStream getAdditionalOutputStream(java.lang.String description)
-
-