public abstract class DelegatingDumper extends java.lang.Object implements Dumper
Dumper.CannotCreate
MethodErrorCollector.SummaryDumperMethodErrorCollector
Constructor and Description |
---|
DelegatingDumper(Dumper delegate) |
Modifier and Type | Method and Description |
---|---|
void |
addSummaryError(Method method,
java.lang.String s) |
Dumper |
beginBlockComment(boolean inline) |
boolean |
canEmitClass(JavaTypeInstance type) |
void |
close() |
Dumper |
comment(java.lang.String s) |
Dumper |
dump(Dumpable d) |
Dumper |
dump(JavaTypeInstance javaTypeInstance) |
Dumper |
dump(JavaTypeInstance javaTypeInstance,
TypeContext typeContext) |
Dumper |
endBlockComment() |
Dumper |
endCodeln() |
void |
enqueuePendingCarriageReturn() |
Dumper |
explicitIndent() |
Dumper |
fieldName(java.lang.String name,
JavaTypeInstance owner,
boolean hiddenDeclaration,
boolean isStatic,
boolean defines) |
java.io.BufferedOutputStream |
getAdditionalOutputStream(java.lang.String description) |
int |
getCurrentLine() |
int |
getIndentLevel() |
ObfuscationMapping |
getObfuscationMapping() |
int |
getOutputCount() |
TypeUsageInformation |
getTypeUsageInformation() |
Dumper |
identifier(java.lang.String s,
java.lang.Object ref,
boolean defines) |
void |
indent(int diff) |
void |
informBytecodeLoc(HasByteCodeLoc loc) |
Dumper |
keyword(java.lang.String s) |
Dumper |
label(java.lang.String s,
boolean inline) |
Dumper |
literal(java.lang.String s,
java.lang.Object o) |
Dumper |
methodName(java.lang.String s,
MethodPrototype p,
boolean special,
boolean defines) |
Dumper |
newln() |
Dumper |
operator(java.lang.String s) |
Dumper |
packageName(JavaRefTypeInstance t) |
Dumper |
print(char c) |
Dumper |
print(java.lang.String s) |
Dumper |
removePendingCarriageReturn() |
Dumper |
separator(java.lang.String s) |
Dumper |
withTypeUsageInformation(TypeUsageInformation innerclassTypeUsageInformation) |
protected Dumper delegate
public DelegatingDumper(Dumper delegate)
public TypeUsageInformation getTypeUsageInformation()
getTypeUsageInformation
in interface Dumper
public ObfuscationMapping getObfuscationMapping()
getObfuscationMapping
in interface Dumper
public Dumper label(java.lang.String s, boolean inline)
public void enqueuePendingCarriageReturn()
enqueuePendingCarriageReturn
in interface Dumper
public Dumper removePendingCarriageReturn()
removePendingCarriageReturn
in interface Dumper
public Dumper literal(java.lang.String s, java.lang.Object o)
public Dumper methodName(java.lang.String s, MethodPrototype p, boolean special, boolean defines)
methodName
in interface Dumper
public Dumper packageName(JavaRefTypeInstance t)
packageName
in interface Dumper
public Dumper identifier(java.lang.String s, java.lang.Object ref, boolean defines)
identifier
in interface Dumper
public Dumper explicitIndent()
explicitIndent
in interface Dumper
public int getIndentLevel()
getIndentLevel
in interface Dumper
public Dumper dump(JavaTypeInstance javaTypeInstance)
public Dumper dump(JavaTypeInstance javaTypeInstance, TypeContext typeContext)
public void addSummaryError(Method method, java.lang.String s)
addSummaryError
in interface Dumper
addSummaryError
in interface MethodErrorCollector
public boolean canEmitClass(JavaTypeInstance type)
canEmitClass
in interface Dumper
public Dumper fieldName(java.lang.String name, JavaTypeInstance owner, boolean hiddenDeclaration, boolean isStatic, boolean defines)
public Dumper withTypeUsageInformation(TypeUsageInformation innerclassTypeUsageInformation)
withTypeUsageInformation
in interface Dumper
public Dumper beginBlockComment(boolean inline)
beginBlockComment
in interface Dumper
public Dumper endBlockComment()
endBlockComment
in interface Dumper
public int getOutputCount()
getOutputCount
in interface Dumper
public void informBytecodeLoc(HasByteCodeLoc loc)
informBytecodeLoc
in interface Dumper
public java.io.BufferedOutputStream getAdditionalOutputStream(java.lang.String description)
getAdditionalOutputStream
in interface Dumper
public int getCurrentLine()
getCurrentLine
in interface Dumper