public class SinkSummaryDumper extends java.lang.Object implements SummaryDumper
Modifier and Type | Field and Description |
---|---|
private JavaTypeInstance |
lastControllingType |
private Method |
lastMethod |
private OutputSinkFactory.Sink<java.lang.String> |
sink |
Constructor and Description |
---|
SinkSummaryDumper(OutputSinkFactory.Sink<java.lang.String> sink) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
notify(java.lang.String message) |
void |
notifyError(JavaTypeInstance controllingType,
Method method,
java.lang.String error) |
private final OutputSinkFactory.Sink<java.lang.String> sink
private transient JavaTypeInstance lastControllingType
private transient Method lastMethod
SinkSummaryDumper(OutputSinkFactory.Sink<java.lang.String> sink)
public void notify(java.lang.String message)
notify
in interface SummaryDumper
public void notifyError(JavaTypeInstance controllingType, Method method, java.lang.String error)
notifyError
in interface SummaryDumper
public void close()
close
in interface SummaryDumper