Class DelegatingDumper
java.lang.Object
org.benf.cfr.reader.util.output.DelegatingDumper
- All Implemented Interfaces:
Dumper, MethodErrorCollector
- Direct Known Subclasses:
BytecodeTrackingDumper, Mapping.ObfuscationWrappingDumper, TypeOverridingDumper
-
Nested Class Summary
Nested classes/interfaces inherited from interface Dumper
Dumper.CannotCreateNested classes/interfaces inherited from interface MethodErrorCollector
MethodErrorCollector.SummaryDumperMethodErrorCollector -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSummaryError(Method method, String s) beginBlockComment(boolean inline) booleancanEmitClass(JavaTypeInstance type) voidclose()dump(JavaTypeInstance javaTypeInstance) dump(JavaTypeInstance javaTypeInstance, TypeContext typeContext) ///////////voidfieldName(String name, JavaTypeInstance owner, boolean hiddenDeclaration, boolean isStatic, boolean defines) getAdditionalOutputStream(String description) intintintidentifier(String s, Object ref, boolean defines) voidindent(int diff) voidmethodName(String s, MethodPrototype p, boolean special, boolean defines) newln()print(char c) withTypeUsageInformation(TypeUsageInformation innerclassTypeUsageInformation)
-
Field Details
-
delegate
-
-
Constructor Details
-
DelegatingDumper
-
-
Method Details
-
getTypeUsageInformation
- Specified by:
getTypeUsageInformationin interfaceDumper
-
getObfuscationMapping
- Specified by:
getObfuscationMappingin interfaceDumper
-
label
-
enqueuePendingCarriageReturn
public void enqueuePendingCarriageReturn()- Specified by:
enqueuePendingCarriageReturnin interfaceDumper
-
removePendingCarriageReturn
- Specified by:
removePendingCarriageReturnin interfaceDumper
-
keyword
-
operator
-
separator
-
literal
-
print
-
methodName
- Specified by:
methodNamein interfaceDumper
-
packageName
- Specified by:
packageNamein interfaceDumper
-
identifier
- Specified by:
identifierin interfaceDumper
-
print
-
newln
-
endCodeln
-
indent
-
explicitIndent
- Specified by:
explicitIndentin interfaceDumper
-
getIndentLevel
public int getIndentLevel()- Specified by:
getIndentLevelin interfaceDumper
-
dump
-
dump
-
dump
Description copied from interface:Dumper/////////// -
close
-
addSummaryError
- Specified by:
addSummaryErrorin interfaceDumper- Specified by:
addSummaryErrorin interfaceMethodErrorCollector
-
canEmitClass
- Specified by:
canEmitClassin interfaceDumper
-
fieldName
public Dumper fieldName(String name, JavaTypeInstance owner, boolean hiddenDeclaration, boolean isStatic, boolean defines) -
withTypeUsageInformation
- Specified by:
withTypeUsageInformationin interfaceDumper
-
comment
-
beginBlockComment
- Specified by:
beginBlockCommentin interfaceDumper
-
endBlockComment
- Specified by:
endBlockCommentin interfaceDumper
-
getOutputCount
public int getOutputCount()- Specified by:
getOutputCountin interfaceDumper
-
informBytecodeLoc
- Specified by:
informBytecodeLocin interfaceDumper
-
getAdditionalOutputStream
- Specified by:
getAdditionalOutputStreamin interfaceDumper
-
getCurrentLine
public int getCurrentLine()- Specified by:
getCurrentLinein interfaceDumper
-