public abstract class StreamDumper extends Object
Dumper.CannotCreate
MethodErrorCollector.SummaryDumperMethodErrorCollector
Modifier and Type | Field and Description |
---|---|
protected Set<JavaTypeInstance> |
emitted |
protected IllegalIdentifierDump |
illegalIdentifierDump |
protected Options |
options |
protected static String |
STANDARD_INDENT |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addSummaryError, close, getAdditionalOutputStream, withTypeUsageInformation
protected final Options options
protected final IllegalIdentifierDump illegalIdentifierDump
protected final Set<JavaTypeInstance> emitted
protected static final String STANDARD_INDENT
public TypeUsageInformation getTypeUsageInformation()
public ObfuscationMapping getObfuscationMapping()
protected abstract void write(String s)
public Dumper methodName(String s, MethodPrototype p, boolean special, boolean defines)
public Dumper packageName(JavaRefTypeInstance t)
public Dumper print(char c)
public Dumper newln()
public Dumper endCodeln()
public Dumper explicitIndent()
public void indent(int diff)
public Dumper fieldName(String name, JavaTypeInstance owner, boolean hiddenDeclaration, boolean isStatic, boolean defines)
public Dumper dump(JavaTypeInstance javaTypeInstance, TypeContext typeContext)
public boolean canEmitClass(JavaTypeInstance type)
public int getOutputCount()
public int getCurrentLine()
getCurrentLine
in interface Dumper
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.