public class TokenStreamDumper extends Object
Dumper.CannotCreateMethodErrorCollector.SummaryDumperMethodErrorCollector| Modifier and Type | Field and Description |
|---|---|
protected static String |
STANDARD_INDENT |
protected static final String STANDARD_INDENT
public TypeUsageInformation getTypeUsageInformation()
public ObfuscationMapping getObfuscationMapping()
public void enqueuePendingCarriageReturn()
enqueuePendingCarriageReturn in interface Dumperpublic Dumper removePendingCarriageReturn()
removePendingCarriageReturn in interface Dumperpublic Dumper beginBlockComment(boolean inline)
beginBlockComment in interface Dumperpublic Dumper endBlockComment()
endBlockComment in interface Dumperpublic 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 dump(JavaTypeInstance javaTypeInstance, TypeContext typeContext)
public void close()
public boolean canEmitClass(JavaTypeInstance type)
public Dumper fieldName(String name, JavaTypeInstance owner, boolean hiddenDeclaration, boolean isStatic, boolean defines)
public Dumper withTypeUsageInformation(TypeUsageInformation innerclassTypeUsageInformation)
public int getOutputCount()
public int getCurrentLine()
getCurrentLine in interface Dumperpublic BufferedOutputStream getAdditionalOutputStream(String description)
public Dumper dump(JavaTypeInstance javaTypeInstance)
public int getIndentLevel()
getIndentLevel in interface Dumperpublic void informBytecodeLoc(HasByteCodeLoc loc)
informBytecodeLoc in interface DumperCopyright © 2011-2021. All Rights Reserved.