Uses of Interface
javax.tools.Diagnostic
Packages that use Diagnostic
包
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 Diagnostic修饰符和类方法DescriptionErroneousTree.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 Diagnostic修饰符和类方法DescriptionDocTreeFactory.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 Diagnostic修饰符和类方法DescriptionList
<Diagnostic<? extends S>> DiagnosticCollector.getDiagnostics()
Returns a list view of diagnostics collected by this object.Methods in javax.tools with parameters of type Diagnostic修饰符和类方法Descriptionvoid
DiagnosticCollector.report
(Diagnostic<? extends S> diagnostic) void
DiagnosticListener.report
(Diagnostic<? extends S> diagnostic) Invoked when a problem is found.