|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface DisassemblerTool
This class is intended to be put in javax.tools.
This is NOT part of any API supported by Sun Microsystems. If you write code that depends on this, you do so at your own risk. This code and its internal interfaces are subject to change or deletion without notice.
DiagnosticListener,
Diagnostic,
JavaFileManager| Nested Class Summary | |
|---|---|
static interface |
DisassemblerTool.DisassemblerTask
Interface representing a future for a disassembly task. |
| Method Summary | |
|---|---|
StandardJavaFileManager |
getStandardFileManager(DiagnosticListener<? super JavaFileObject> diagnosticListener,
java.util.Locale locale,
java.nio.charset.Charset charset)
Gets a new instance of the standard file manager implementation for this tool. |
DisassemblerTool.DisassemblerTask |
getTask(java.io.Writer out,
JavaFileManager fileManager,
DiagnosticListener<? super JavaFileObject> diagnosticListener,
java.lang.Iterable<java.lang.String> options,
java.lang.Iterable<java.lang.String> classes)
Creates a future for a disassembly task with the given components and arguments. |
| Methods inherited from interface javax.tools.Tool |
|---|
getSourceVersions, run |
| Methods inherited from interface javax.tools.OptionChecker |
|---|
isSupportedOption |
| Method Detail |
|---|
DisassemblerTool.DisassemblerTask getTask(java.io.Writer out,
JavaFileManager fileManager,
DiagnosticListener<? super JavaFileObject> diagnosticListener,
java.lang.Iterable<java.lang.String> options,
java.lang.Iterable<java.lang.String> classes)
If a file manager is provided, it must be able to handle all
locations defined in StandardLocation.
out - a Writer for additional output from the compiler;
use System.err if nullfileManager - a file manager; if null use the
compiler's standard filemanagerdiagnosticListener - a diagnostic listener; if null use the compiler's default method for reporting
diagnosticsoptions - compiler options, null means no optionsclasses - class names (for annotation processing), null means no class namescompilationUnits - the compilation units to compile, null means no compilation units
java.lang.RuntimeException - if an unrecoverable error
occurred in a user supplied component. The
cause will be the error in
user code.
java.lang.IllegalArgumentException - if any of the given
compilation units are of other kind than
source
StandardJavaFileManager getStandardFileManager(DiagnosticListener<? super JavaFileObject> diagnosticListener,
java.util.Locale locale,
java.nio.charset.Charset charset)
The standard file manager will be automatically reopened if
it is accessed after calls to flush or close.
The standard file manager must be usable with other tools.
diagnosticListener - a diagnostic listener for non-fatal
diagnostics; if null use the compiler's default method
for reporting diagnosticslocale - the locale to apply when formatting diagnostics;
null means the default locale.charset - the character set used for decoding bytes; if
null use the platform default
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||