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 TypeUsageInformation
typeUsageInformation
-
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 Dumper
dump(JavaTypeInstance javaTypeInstance)
Dumper
dump(JavaTypeInstance javaTypeInstance, TypeContext typeContext)
TypeUsageInformation
getTypeUsageInformation()
Dumper
withTypeUsageInformation(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:
getTypeUsageInformation
in interfaceDumper
- Overrides:
getTypeUsageInformation
in classDelegatingDumper
-
dump
public Dumper dump(JavaTypeInstance javaTypeInstance)
- Specified by:
dump
in interfaceDumper
- Overrides:
dump
in classDelegatingDumper
-
dump
public Dumper dump(JavaTypeInstance javaTypeInstance, TypeContext typeContext)
- Specified by:
dump
in interfaceDumper
- Overrides:
dump
in classDelegatingDumper
-
withTypeUsageInformation
public Dumper withTypeUsageInformation(TypeUsageInformation innerclassTypeUsageInformation)
- Specified by:
withTypeUsageInformation
in interfaceDumper
- Overrides:
withTypeUsageInformation
in classDelegatingDumper
-
-