public class AptCompiler
extends org.codehaus.plexus.compiler.javac.JavacCompiler
Compiler for APT.
In Maven, Compiler handles the actual compiler invocation.
| Constructor and Description |
|---|
AptCompiler() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List |
compile(org.codehaus.plexus.compiler.CompilerConfiguration config) |
protected java.util.List |
compileInProcess(java.lang.String[] args)
Compile the java sources in the current JVM, without calling an external executable,
using
com.sun.tools.javac.Main class |
protected java.util.List |
compileOutOfProcess(org.codehaus.plexus.compiler.CompilerConfiguration config,
java.lang.String executable,
java.lang.String[] args) |
buildCompilerArguments, createCommandLine, parseModernError, parseModernStreamcanUpdateTarget, getCompilerOutputStyle, getInputFileEnding, getOutputFile, getOutputFileEnding, getPathString, getSourceFiles, getSourceFilesForSourceRoot, makeClassName, toStringArraypublic java.util.List compile(org.codehaus.plexus.compiler.CompilerConfiguration config)
throws org.codehaus.plexus.compiler.CompilerException
compile in interface org.codehaus.plexus.compiler.Compilercompile in class org.codehaus.plexus.compiler.javac.JavacCompilerorg.codehaus.plexus.compiler.CompilerExceptionprotected java.util.List compileInProcess(java.lang.String[] args)
throws org.codehaus.plexus.compiler.CompilerException
com.sun.tools.javac.Main classargs - arguments for the compiler as they would be used in the command line javacorg.codehaus.plexus.compiler.CompilerExceptionprotected java.util.List compileOutOfProcess(org.codehaus.plexus.compiler.CompilerConfiguration config,
java.lang.String executable,
java.lang.String[] args)
throws org.codehaus.plexus.compiler.CompilerException
org.codehaus.plexus.compiler.CompilerExceptionCopyright © 2012. All Rights Reserved.