## Uses of Interface
javax.tools.DiagnosticListener

- Packages that use DiagnosticListener
  Package | Description
  --- | ---
  javax.tools | Provides interfaces for tools which can be invoked from a program, for example, compilers.

- - ### Uses of DiagnosticListener in javax.tools

    Classes in javax.tools that implement DiagnosticListener
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DiagnosticCollector<S>` Provides an easy way to collect diagnostics in a list.

    Methods in javax.tools with parameters of type DiagnosticListener
    Modifier and Type | Method and Description
    --- | ---
    `StandardJavaFileManager` | DocumentationTool.`getStandardFileManager(DiagnosticListener<? super JavaFileObject> diagnosticListener, Locale locale, Charset charset)` Gets a new instance of the standard file manager implementation for this tool.
    `StandardJavaFileManager` | JavaCompiler.`getStandardFileManager(DiagnosticListener<? super JavaFileObject> diagnosticListener, Locale locale, Charset charset)` Gets a new instance of the standard file manager implementation for this tool.
    `DocumentationTool.DocumentationTask` | DocumentationTool.`getTask(Writer out, JavaFileManager fileManager, DiagnosticListener<? super JavaFileObject> diagnosticListener, Class<?> docletClass, Iterable<String> options, Iterable<? extends JavaFileObject> compilationUnits)` Creates a future for a documentation task with the given components and arguments.
    `JavaCompiler.CompilationTask` | JavaCompiler.`getTask(Writer out, JavaFileManager fileManager, DiagnosticListener<? super JavaFileObject> diagnosticListener, Iterable<String> options, Iterable<String> classes, Iterable<? extends JavaFileObject> compilationUnits)` Creates a future for a compilation task with the given components and arguments.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2017, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.