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