Interface ICompilerFactory
- All Known Implementing Classes:
DefaultCompilerFactory
public interface ICompilerFactory
A factory used to produce a compiler to compile the Java files.
-
Method Summary
Modifier and TypeMethodDescriptionnewCompiler(INameEnvironment environment, IErrorHandlingPolicy policy, CompilerConfiguration compilerConfig, ICompilerRequestor requestor, IProblemFactory problemFactory, CompilationProgress compilationProgress) Create a new compiler using the given name environment and compiler options.
-
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 packagespolicy- - the error handling policycompilerConfig- - the configuration to control the compiler behaviorrequestor- - the requestor to receive and persist compilation resultsproblemFactory- - the factory to create problem descriptorscompilationProgress- - the CompilationProgress to be used- Returns:
- the new compiler instance
- See Also:
-