Uses of Interface
javax.tools.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 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 Description StandardJavaFileManager
DocumentationTool. getStandardFileManager(DiagnosticListener<? super JavaFileObject> diagnosticListener, Locale locale, Charset charset)
Returns a new instance of the standard file manager implementation for this tool.StandardJavaFileManager
JavaCompiler. getStandardFileManager(DiagnosticListener<? super JavaFileObject> diagnosticListener, Locale locale, Charset charset)
Returns 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.