public abstract static class Log.DiagnosticHandler extends Object
log.removeDiagnosticHandler();
Note that javax.tools.DiagnosticListener (if set) is called later in the
diagnostic pipeline.Modifier and Type | Field and Description |
---|---|
protected Log.DiagnosticHandler |
prev
The previously installed diagnostic handler.
|
Constructor and Description |
---|
DiagnosticHandler() |
Modifier and Type | Method and Description |
---|---|
protected void |
install(Log log)
Install this diagnostic handler as the current one,
recording the previous one.
|
abstract void |
report(JCDiagnostic diag)
Handle a diagnostic.
|
protected Log.DiagnosticHandler prev
protected void install(Log log)
public abstract void report(JCDiagnostic diag)
Copyright © 2015. All rights reserved.