public final class JavacTool extends Object implements JavaCompiler
This is NOT part of any supported API. 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.
JavaCompiler.CompilationTask
Constructor and Description |
---|
JavacTool()
Deprecated.
|
@Deprecated public JavacTool()
create()
or the
service provider mechanism.JavaCompiler
,
ToolProvider
,
create()
public static JavacTool create()
public JavacFileManager getStandardFileManager(DiagnosticListener<? super JavaFileObject> diagnosticListener, Locale locale, Charset charset)
getStandardFileManager
in interface JavaCompiler
public JavacTask getTask(Writer out, JavaFileManager fileManager, DiagnosticListener<? super JavaFileObject> diagnosticListener, Iterable<String> options, Iterable<String> classes, Iterable<? extends JavaFileObject> compilationUnits)
getTask
in interface JavaCompiler
public JavacTask getTask(Writer out, JavaFileManager fileManager, DiagnosticListener<? super JavaFileObject> diagnosticListener, Iterable<String> options, Iterable<String> classes, Iterable<? extends JavaFileObject> compilationUnits, Context context)
public static void processOptions(Context context, JavaFileManager fileManager, Iterable<String> options)
public int run(InputStream in, OutputStream out, OutputStream err, String... arguments)
public Set<SourceVersion> getSourceVersions()
getSourceVersions
in interface Tool
public int isSupportedOption(String option)
isSupportedOption
in interface OptionChecker
Copyright © 2017 earcam. All rights reserved.