Module jdk.compiler

Interface ErroneousTree

  • All Superinterfaces:
    DocTree, TextTree

    public interface ErroneousTree
    extends TextTree
    A tree node to stand in for a malformed text
    Since:
    1.8
    • Method Detail

      • getDiagnostic

        Diagnostic<JavaFileObject> getDiagnostic()
        Returns a diagnostic object giving details about the reason the body text is in error.
        Returns:
        a diagnostic