Example usage for org.aspectj.ajde.core AjCompiler AjCompiler

List of usage examples for org.aspectj.ajde.core AjCompiler AjCompiler

Introduction

In this page you can find the example usage for org.aspectj.ajde.core AjCompiler AjCompiler.

Prototype

public AjCompiler(String compilerId, ICompilerConfiguration compilerConfig,
        IBuildProgressMonitor buildProgressMonitor, IBuildMessageHandler buildMessageHandler) 

Source Link

Document

Creates a new AjCompiler for the given id, ICompilerConfiguration, IBuildProgressMonitor and IBuildMessageHandler.

Usage

From source file:org.eclipse.ajdt.internal.core.ajde.CoreCompilerFactory.java

License:Open Source License

protected AjCompiler createCompiler(IProject project) {
    AjCompiler compiler = new AjCompiler(project.getName(), new CoreCompilerConfiguration(project),
            new CoreBuildProgressMonitor(project), new CoreBuildMessageHandler());
    return compiler;
}

From source file:org.eclipse.ajdt.internal.ui.ajde.UICompilerFactory.java

License:Open Source License

public AjCompiler getCompilerForProject(IProject project) {
    if (compilerMap.get(project) != null) {
        return compilerMap.get(project);
    }// w  ww  . ja v  a  2s.  co m
    AjCompiler compiler = new AjCompiler(project.getName(), new UIComplierConfiguration(project),
            new UIBuildProgressMonitor(project), new UIMessageHandler(project));
    compilerMap.put(project, compiler);
    return compiler;
}