public class StringStreamDumper extends StreamDumper
Dumper.CannotCreate
MethodErrorCollector.SummaryDumperMethodErrorCollector
Modifier and Type | Field and Description |
---|---|
protected static String |
STANDARD_INDENT |
emitted, illegalIdentifierDump, options
Constructor and Description |
---|
StringStreamDumper(MethodErrorCollector methodErrorCollector,
StringBuilder sb,
TypeUsageInformation typeUsageInformation,
Options options,
IllegalIdentifierDump illegalIdentifierDump) |
StringStreamDumper(MethodErrorCollector methodErrorCollector,
StringBuilder sb,
TypeUsageInformation typeUsageInformation,
Options options,
IllegalIdentifierDump illegalIdentifierDump,
org.benf.cfr.reader.util.output.MovableDumperContext context) |
Modifier and Type | Method and Description |
---|---|
void |
addSummaryError(Method method,
String s) |
Dumper |
beginBlockComment(boolean inline) |
void |
close() |
Dumper |
comment(String s) |
Dumper |
dump(JavaTypeInstance javaTypeInstance) |
Dumper |
endBlockComment() |
void |
enqueuePendingCarriageReturn() |
BufferedOutputStream |
getAdditionalOutputStream(String description) |
int |
getIndentLevel() |
void |
informBytecodeLoc(HasByteCodeLoc loc) |
Dumper |
removePendingCarriageReturn() |
Dumper |
withTypeUsageInformation(TypeUsageInformation innerclassTypeUsageInformation) |
protected void |
write(String s) |
canEmitClass, dump, dump, endCodeln, explicitIndent, fieldName, getCurrentLine, getObfuscationMapping, getOutputCount, getTypeUsageInformation, identifier, indent, keyword, label, literal, methodName, newln, operator, packageName, print, print, separator
protected static final String STANDARD_INDENT
public StringStreamDumper(MethodErrorCollector methodErrorCollector, StringBuilder sb, TypeUsageInformation typeUsageInformation, Options options, IllegalIdentifierDump illegalIdentifierDump)
public StringStreamDumper(MethodErrorCollector methodErrorCollector, StringBuilder sb, TypeUsageInformation typeUsageInformation, Options options, IllegalIdentifierDump illegalIdentifierDump, org.benf.cfr.reader.util.output.MovableDumperContext context)
protected void write(String s)
write
in class StreamDumper
public void close()
public Dumper withTypeUsageInformation(TypeUsageInformation innerclassTypeUsageInformation)
public BufferedOutputStream getAdditionalOutputStream(String description)
public Dumper beginBlockComment(boolean inline)
beginBlockComment
in interface Dumper
public Dumper endBlockComment()
endBlockComment
in interface Dumper
public void enqueuePendingCarriageReturn()
enqueuePendingCarriageReturn
in interface Dumper
public Dumper dump(JavaTypeInstance javaTypeInstance)
public Dumper removePendingCarriageReturn()
removePendingCarriageReturn
in interface Dumper
public int getIndentLevel()
getIndentLevel
in interface Dumper
public void informBytecodeLoc(HasByteCodeLoc loc)
informBytecodeLoc
in interface Dumper
Copyright © 2011-2021. All Rights Reserved.