Uses of Interface
javax.tools.Diagnostic
Packages that use 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
Methods in com.sun.source.doctree that return DiagnosticModifier 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
Methods in com.sun.source.util with parameters of type DiagnosticModifier and TypeMethodDescriptionDocTreeFactory.newErroneousTree
(String text, Diagnostic<JavaFileObject> diag) Creates a newErroneousTree
object, to represent some unparseable input. -
Uses of Diagnostic in javax.tools
Methods in javax.tools that return types with arguments of type DiagnosticModifier and TypeMethodDescriptionList
<Diagnostic<? extends S>> DiagnosticCollector.getDiagnostics()
Returns a list view of diagnostics collected by this object.Methods in javax.tools with parameters of type DiagnosticModifier and TypeMethodDescriptionvoid
DiagnosticCollector.report
(Diagnostic<? extends S> diagnostic) void
DiagnosticListener.report
(Diagnostic<? extends S> diagnostic) Invoked when a problem is found.