public class TracingTaskListener extends Object implements BuckJavacTaskListener
BuckJavacTaskListener
that traces all events to a JavacPhaseTracer
. The event
stream coming from the compiler is a little dirty, so this class cleans it up minimally before
tracing.Constructor and Description |
---|
TracingTaskListener(JavacPhaseTracer tracing,
BuckJavacTaskListener next) |
Modifier and Type | Method and Description |
---|---|
void |
finished(TaskEventMirror e) |
void |
started(TaskEventMirror e) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
wrapRealTaskListener
public TracingTaskListener(JavacPhaseTracer tracing, @Nullable BuckJavacTaskListener next)
public void started(TaskEventMirror e)
started
in interface BuckJavacTaskListener
public void finished(TaskEventMirror e)
finished
in interface BuckJavacTaskListener