| 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.withClasspath(java.lang.Iterable<java.io.File> classPath)
Uses the given classpath for the compilation instead of the system classpath.
|
Compiler |
Compiler.withClasspathFrom(java.lang.ClassLoader classloader)
Deprecated.
prefer
withClasspath(Iterable). This method only supports URLClassLoader and the default system classloader, and Files are usually a more
natural way to expression compilation classpaths than class loaders. |
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-2019. All Rights Reserved.