Module jdk.compiler

Interface ErroneousTree

所有超级接口:
DocTree, TextTree

public interface ErroneousTree extends TextTree
用于代表格式不正确的文本的树节点。
自从:
1.8
  • Nested Class Summary

    Nested classes/interfaces declared in interface com.sun.source.doctree.DocTree

    DocTree.Kind
  • Method Summary

    Modifier and Type
    Method
    Description
    返回一个诊断对象,提供有关主体文本错误原因的详细信息。

    Methods declared in interface com.sun.source.doctree.DocTree

    accept, getKind

    Methods declared in interface com.sun.source.doctree.TextTree

    getBody
  • Method Details

    • getDiagnostic

      Diagnostic<JavaFileObject> getDiagnostic()
      返回一个诊断对象,提供有关主体文本错误原因的详细信息。
      返回:
      一个诊断