Interface ICompilerFactory

All Known Implementing Classes:
DefaultCompilerFactory

public interface ICompilerFactory
A factory used to produce a compiler to compile the Java files.
  • Method Details

    • newCompiler

      Compiler newCompiler(INameEnvironment environment, IErrorHandlingPolicy policy, CompilerConfiguration compilerConfig, ICompilerRequestor requestor, IProblemFactory problemFactory, CompilationProgress compilationProgress)
      Create a new compiler using the given name environment and compiler options.
      Parameters:
      environment - - the type system environment used for resolving types and packages
      policy - - the error handling policy
      compilerConfig - - the configuration to control the compiler behavior
      requestor - - the requestor to receive and persist compilation results
      problemFactory - - the factory to create problem descriptors
      compilationProgress - - the CompilationProgress to be used
      Returns:
      the new compiler instance
      See Also: