public class TokenStreamDumper extends Object
Dumper.CannotCreate
MethodErrorCollector.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 Dumper
public Dumper removePendingCarriageReturn()
removePendingCarriageReturn
in interface Dumper
public Dumper beginBlockComment(boolean inline)
beginBlockComment
in interface Dumper
public Dumper endBlockComment()
endBlockComment
in interface Dumper
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 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 Dumper
public BufferedOutputStream getAdditionalOutputStream(String description)
public Dumper dump(JavaTypeInstance javaTypeInstance)
public int getIndentLevel()
getIndentLevel
in interface Dumper
public void informBytecodeLoc(HasByteCodeLoc loc)
informBytecodeLoc
in interface Dumper
Copyright © 2011-2021. All Rights Reserved.