S - 此侦听器收到的诊断所使用的源对象的类型
public interface DiagnosticListener<S>
用于接收来自工具的诊断的接口。
| 方法摘要 | |
|---|---|
void |
report(Diagnostic<? extends S> diagnostic) 发现问题时调用此方法。 |
| 方法详细信息 |
|---|
void report(Diagnostic<? extends S> diagnostic)
diagnostic - 表示所发现问题的诊断
NullPointerException - 如果 diagnostic 参数为
null 并且该实现不能处理
null 参数