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.