| Modifier and Type | Method and Description |
|---|---|
Compiler |
Compilation.compiler()
The compiler.
|
static Compiler |
Compiler.compiler(javax.tools.JavaCompiler javaCompiler)
Returns a
Compiler that uses a given JavaCompiler instance. |
static Compiler |
Compiler.javac()
Returns the
javac compiler. |
Compiler |
Compiler.withClasspathFrom(java.lang.ClassLoader classloader)
Uses the classpath from the passed on classloader (and its parents) for the compilation
instead of the system classpath.
|
Compiler |
Compiler.withOptions(java.lang.Iterable<?> options)
Passes command-line options to the compiler.
|
Compiler |
Compiler.withOptions(java.lang.Object... options)
Passes command-line options to the compiler.
|
Compiler |
Compiler.withProcessors(java.lang.Iterable<? extends javax.annotation.processing.Processor> processors)
Uses annotation processors during compilation.
|
Compiler |
Compiler.withProcessors(javax.annotation.processing.Processor... processors)
Uses annotation processors during compilation.
|
Copyright © 2013-2017. All Rights Reserved.