Package org.benf.cfr.reader.util.output
Class FileSummaryDumper
- java.lang.Object
-
- org.benf.cfr.reader.util.output.FileSummaryDumper
-
- All Implemented Interfaces:
SummaryDumper
public class FileSummaryDumper extends java.lang.Object implements SummaryDumper
-
-
Field Summary
Fields Modifier and Type Field Description private DecompilerCommentSourceadditionalCommentsprivate JavaTypeInstancelastControllingTypeprivate MethodlastMethodprivate Optionsoptionsprivate java.io.BufferedWriterwriter
-
Constructor Summary
Constructors Constructor Description FileSummaryDumper(java.lang.String dir, Options options, DecompilerCommentSource additional)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidnotify(java.lang.String message)private voidnotifyAdditionalAtEnd()voidnotifyError(JavaTypeInstance controllingType, Method method, java.lang.String error)
-
-
-
Field Detail
-
writer
private final java.io.BufferedWriter writer
-
additionalComments
private final DecompilerCommentSource additionalComments
-
options
private final Options options
-
lastControllingType
private transient JavaTypeInstance lastControllingType
-
lastMethod
private transient Method lastMethod
-
-
Constructor Detail
-
FileSummaryDumper
public FileSummaryDumper(java.lang.String dir, Options options, DecompilerCommentSource additional)
-
-
Method Detail
-
notify
public void notify(java.lang.String message)
- Specified by:
notifyin interfaceSummaryDumper
-
notifyError
public void notifyError(JavaTypeInstance controllingType, Method method, java.lang.String error)
- Specified by:
notifyErrorin interfaceSummaryDumper
-
notifyAdditionalAtEnd
private void notifyAdditionalAtEnd()
-
close
public void close()
- Specified by:
closein interfaceSummaryDumper
-
-