Package com.querydsl.codegen.utils
Class SimpleCompiler
java.lang.Object
com.querydsl.codegen.utils.SimpleCompiler
- All Implemented Interfaces:
JavaCompiler,OptionChecker,Tool
SimpleCompiler provides a convenience wrapper of the JavaCompiler interface
with automatic classpath generation
- Author:
- tiwe
-
Nested Class Summary
Nested classes/interfaces inherited from interface javax.tools.JavaCompiler
JavaCompiler.CompilationTask -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetStandardFileManager(DiagnosticListener<? super JavaFileObject> diagnosticListener, Locale locale, Charset charset) getTask(Writer out, JavaFileManager fileManager, DiagnosticListener<? super JavaFileObject> diagnosticListener, Iterable<String> options, Iterable<String> classes, Iterable<? extends JavaFileObject> compilationUnits) intisSupportedOption(String option) protected static booleanintrun(InputStream in, OutputStream out, OutputStream err, String... arguments)
-
Constructor Details
-
SimpleCompiler
public SimpleCompiler() -
SimpleCompiler
-
-
Method Details
-
isSureFireBooter
-
getClassPath
-
getSourceVersions
- Specified by:
getSourceVersionsin interfaceTool
-
getStandardFileManager
public StandardJavaFileManager getStandardFileManager(DiagnosticListener<? super JavaFileObject> diagnosticListener, Locale locale, Charset charset) - Specified by:
getStandardFileManagerin interfaceJavaCompiler
-
getTask
public JavaCompiler.CompilationTask getTask(Writer out, JavaFileManager fileManager, DiagnosticListener<? super JavaFileObject> diagnosticListener, Iterable<String> options, Iterable<String> classes, Iterable<? extends JavaFileObject> compilationUnits) - Specified by:
getTaskin interfaceJavaCompiler
-
isSupportedOption
- Specified by:
isSupportedOptionin interfaceOptionChecker
-
run
-