Package: org.codehaus.groovy.tools.javac

## [Java] Interface JavaCompiler

-     public interface JavaCompiler

  Strategy interface for compiling Java sources during Groovy joint compilation.

- - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `public void` | `compile(List<String> files, CompilationUnit cu)` Compiles the supplied Java source files into the context of the provided Groovy compilation unit.

- - ### Method Detail

    - #### public void compile(List<String> files, CompilationUnit cu)

      Compiles the supplied Java source files into the context of the provided Groovy compilation unit.

      Parameters:
        `files` - the Java source files to compile
        `cu` - the owning Groovy compilation unit