Class EclipseCompiler
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.compiler.tool.EclipseCompiler
- All Implemented Interfaces:
JavaCompiler,OptionChecker,Tool
Implementation of a batch compiler that supports the jsr199
-
Nested Class Summary
Nested classes/interfaces inherited from interface javax.tools.JavaCompiler
JavaCompiler.CompilationTask -
Field Summary
FieldsModifier and TypeFieldDescriptionDiagnosticListener<? super JavaFileObject> static final RuntimeExceptionstatic final RuntimeException -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetStandardFileManager(DiagnosticListener<? super JavaFileObject> someDiagnosticListener, Locale locale, Charset charset) getTask(Writer out, JavaFileManager fileManager, DiagnosticListener<? super JavaFileObject> someDiagnosticListener, Iterable<String> options, Iterable<String> classes, Iterable<? extends JavaFileObject> compilationUnits) intisSupportedOption(String option) name()intrun(InputStream in, OutputStream out, OutputStream err, String... arguments)
-
Field Details
-
diagnosticListener
-
UNEXPECTED_CONTROL_FLOW
-
UNSUPPORTED_OPERATION
-
-
Constructor Details
-
EclipseCompiler
public EclipseCompiler()
-
-
Method Details
-
getSourceVersions
- Specified by:
getSourceVersionsin interfaceTool
-
getStandardFileManager
public StandardJavaFileManager getStandardFileManager(DiagnosticListener<? super JavaFileObject> someDiagnosticListener, Locale locale, Charset charset) - Specified by:
getStandardFileManagerin interfaceJavaCompiler
-
getTask
public JavaCompiler.CompilationTask getTask(Writer out, JavaFileManager fileManager, DiagnosticListener<? super JavaFileObject> someDiagnosticListener, Iterable<String> options, Iterable<String> classes, Iterable<? extends JavaFileObject> compilationUnits) - Specified by:
getTaskin interfaceJavaCompiler
-
isSupportedOption
- Specified by:
isSupportedOptionin interfaceOptionChecker
-
run
-
name
-