S
- 此侦听器接收的诊断使用的源对象的类型
public interface DiagnosticListener<S>
Modifier and Type | Method and Description |
---|---|
void |
report(Diagnostic<? extends S> diagnostic)
当发现问题时调用。
|
void report(Diagnostic<? extends S> diagnostic)
diagnostic
- 代表发现问题的诊断
NullPointerException
- 如果诊断参数是
null
,并且实现不能处理
null
参数
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.