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, parseModernStream
canUpdateTarget, getCompilerOutputStyle, getInputFileEnding, getOutputFile, getOutputFileEnding, getPathString, getSourceFiles, getSourceFilesForSourceRoot, makeClassName, toStringArray
public java.util.List compile(org.codehaus.plexus.compiler.CompilerConfiguration config) throws org.codehaus.plexus.compiler.CompilerException
compile
in interface org.codehaus.plexus.compiler.Compiler
compile
in class org.codehaus.plexus.compiler.javac.JavacCompiler
org.codehaus.plexus.compiler.CompilerException
protected 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.CompilerException
protected 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.CompilerException
Copyright © 2012. All Rights Reserved.