APIdia Launch Partner
Top Description Methods
com.sun.source.doctree

public Interface ErroneousTree

extends TextTree
Known Direct Implementers
com.sun.tools.javac.tree.DCTree.DCErroneous
Imports
javax.tools.Diagnostic, .JavaFileObject

A tree node to stand in for malformed text.
Since
1.8

Method Summary

Modifier and TypeMethod and Description
public Diagnostic<JavaFileObject>

Returns:

a diagnostic
getDiagnostic
()

Returns a diagnostic object giving details about the reason the body text is in error.

Inherited from com.sun.source.doctree.TextTree:
getBody

Method Detail

getDiagnosticback to summary
public Diagnostic<JavaFileObject> getDiagnostic()

Returns a diagnostic object giving details about the reason the body text is in error.

Returns:Diagnostic<JavaFileObject>

a diagnostic