## 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` | JavaCompiler.`getStandardFileManager(DiagnosticListener<? super JavaFileObject> diagnosticListener, Locale locale, Charset charset)` Gets a new instance of the standard file manager implementation for this tool.
    `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, 2019, Oracle and/or its affiliates. All rights reserved.