## Uses of Interface
javax.tools.Diagnostic

Packages that use Diagnostic
javax.tools: Provides interfaces for tools which can be invoked from a program, for example, compilers.

### Uses of Diagnostic in javax.tools

Methods in javax.tools that return types with arguments of type Diagnostic
`List<Diagnostic<? extends S>>` DiagnosticCollector.`getDiagnostics()` Gets a list view of diagnostics collected by this object.

Methods in javax.tools with parameters of type Diagnostic
`void` DiagnosticCollector.`report(Diagnostic<? extends S> diagnostic)`
`void` DiagnosticListener.`report(Diagnostic<? extends S> diagnostic)` Invoked when a problem is found.