Package org.codehaus.groovy.tools.javac
Interface JavaCompiler
- All Known Implementing Classes:
JavacJavaCompiler
public interface JavaCompiler
Strategy interface for compiling Java sources during Groovy joint
compilation.
-
Method Summary
Modifier and TypeMethodDescriptionvoidcompile(List<String> files, CompilationUnit cu) Compiles the supplied Java source files into the context of the provided Groovy compilation unit.
-
Method Details
-
compile
Compiles the supplied Java source files into the context of the provided Groovy compilation unit.- Parameters:
files- the Java source files to compilecu- the owning Groovy compilation unit
-