Package org.benf.cfr.reader.util.output
Class TypeOverridingDumper
- java.lang.Object
-
- org.benf.cfr.reader.util.output.DelegatingDumper
-
- org.benf.cfr.reader.util.output.TypeOverridingDumper
-
- All Implemented Interfaces:
Dumper,MethodErrorCollector
public class TypeOverridingDumper extends DelegatingDumper
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.benf.cfr.reader.util.output.Dumper
Dumper.CannotCreate
-
Nested classes/interfaces inherited from interface org.benf.cfr.reader.util.output.MethodErrorCollector
MethodErrorCollector.SummaryDumperMethodErrorCollector
-
-
Field Summary
Fields Modifier and Type Field Description private TypeUsageInformationtypeUsageInformation-
Fields inherited from class org.benf.cfr.reader.util.output.DelegatingDumper
delegate
-
-
Constructor Summary
Constructors Constructor Description TypeOverridingDumper(Dumper delegate, TypeUsageInformation typeUsageInformation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Dumperdump(JavaTypeInstance javaTypeInstance)Dumperdump(JavaTypeInstance javaTypeInstance, TypeContext typeContext)TypeUsageInformationgetTypeUsageInformation()DumperwithTypeUsageInformation(TypeUsageInformation innerclassTypeUsageInformation)-
Methods inherited from class org.benf.cfr.reader.util.output.DelegatingDumper
addSummaryError, beginBlockComment, canEmitClass, close, comment, dump, endBlockComment, endCodeln, enqueuePendingCarriageReturn, explicitIndent, fieldName, getAdditionalOutputStream, getCurrentLine, getIndentLevel, getObfuscationMapping, getOutputCount, identifier, indent, informBytecodeLoc, keyword, label, literal, methodName, newln, operator, packageName, print, print, removePendingCarriageReturn, separator
-
-
-
-
Field Detail
-
typeUsageInformation
private final TypeUsageInformation typeUsageInformation
-
-
Constructor Detail
-
TypeOverridingDumper
TypeOverridingDumper(Dumper delegate, TypeUsageInformation typeUsageInformation)
-
-
Method Detail
-
getTypeUsageInformation
public TypeUsageInformation getTypeUsageInformation()
- Specified by:
getTypeUsageInformationin interfaceDumper- Overrides:
getTypeUsageInformationin classDelegatingDumper
-
dump
public Dumper dump(JavaTypeInstance javaTypeInstance)
- Specified by:
dumpin interfaceDumper- Overrides:
dumpin classDelegatingDumper
-
dump
public Dumper dump(JavaTypeInstance javaTypeInstance, TypeContext typeContext)
- Specified by:
dumpin interfaceDumper- Overrides:
dumpin classDelegatingDumper
-
withTypeUsageInformation
public Dumper withTypeUsageInformation(TypeUsageInformation innerclassTypeUsageInformation)
- Specified by:
withTypeUsageInformationin interfaceDumper- Overrides:
withTypeUsageInformationin classDelegatingDumper
-
-