-
- Functional Interface:
- 这是一个功能接口,因此可以用作lambda表达式或方法引用的赋值目标。
@Deprecated(since="11", forRemoval=true) @FunctionalInterface public interface DiagnosticListener
Deprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.用于从Nashorn解析器接收诊断的接口。- 从以下版本开始:
- 9
-
-
方法摘要
所有方法 实例方法 抽象方法 弃用的方法 变量和类型 方法 描述 void
report(Diagnostic diagnostic)
不推荐使用,要删除:此API元素将在以后的版本中删除。每当发现解析问题时调用。
-
-
-
方法详细信息
-
report
void report(Diagnostic diagnostic)
Deprecated, for removal: This API element is subject to removal in a future version.每当发现解析问题时调用。- 参数
-
diagnostic
- additional information errors, warnings detected during parsing.
-
-