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 DecompilerCommentSource
additionalComments
private JavaTypeInstance
lastControllingType
private Method
lastMethod
private Options
options
private java.io.BufferedWriter
writer
-
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 void
close()
void
notify(java.lang.String message)
private void
notifyAdditionalAtEnd()
void
notifyError(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:
notify
in interfaceSummaryDumper
-
notifyError
public void notifyError(JavaTypeInstance controllingType, Method method, java.lang.String error)
- Specified by:
notifyError
in interfaceSummaryDumper
-
notifyAdditionalAtEnd
private void notifyAdditionalAtEnd()
-
close
public void close()
- Specified by:
close
in interfaceSummaryDumper
-
-