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 Type
  Method
  Description
  `void`
  `compile(List<String> files, CompilationUnit cu)`
  Compiles the supplied Java source files into the context of the provided Groovy compilation unit.

- ## Method Details

  - ### compile

    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