java.lang.Object
io.helidon.codegen.compiler.Compiler

public final class Compiler extends Object
A javac based compiler for in-process compilation.
  • Method Details

    • compile

      public static void compile(CompilerOptions options, Path... sourceFiles) throws CodegenException
      Compile the provided source files.
      Parameters:
      options - compilation options
      sourceFiles - source files to compile
      Throws:
      CodegenException - in case the compilation fails