Uses of Interface
javax.tools.Diagnostic
Package
Description
Provides interfaces to represent documentation comments as abstract syntax
trees (AST).
Provides utilities for operations on abstract syntax trees (AST).
Provides interfaces for tools which can be invoked from a program,
for example, compilers.
-
Uses of Diagnostic in com.sun.source.doctree
Modifier and TypeMethodDescriptionErroneousTree.getDiagnostic()
Returns a diagnostic object giving details about the reason the body text is in error. -
Uses of Diagnostic in com.sun.source.util
Modifier and TypeMethodDescriptionDocTreeFactory.newErroneousTree
(String text, Diagnostic<JavaFileObject> diag) Creates a newErroneousTree
object, to represent some unparseable input. -
Uses of Diagnostic in javax.tools
Modifier and TypeMethodDescriptionList
<Diagnostic<? extends S>> DiagnosticCollector.getDiagnostics()
Returns a list view of diagnostics collected by this object.Modifier and TypeMethodDescriptionvoid
DiagnosticCollector.report
(Diagnostic<? extends S> diagnostic) void
DiagnosticListener.report
(Diagnostic<? extends S> diagnostic) Invoked when a problem is found.