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

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

Introduction

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

Prototype

public void clearLastState() 

Source Link

Document

Clear the incremental state associated with this AjCompiler from the IncrementalStateManager.

Usage

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

License:Open Source License

/**
 * No longer record the AjCompiler for the given project.
 *//*  ww  w  .  j av  a 2  s .co m*/
public void removeCompilerForProject(IProject project) {
    // firstly clean up any state associated with the compiler
    AjCompiler compiler = (AjCompiler) compilerMap.get(project);
    if (compiler != null) {
        compiler.clearLastState();
        // remove compiler from the map
        compilerMap.remove(project);
    }
}

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

License:Open Source License

public void removeCompilerForProject(IProject project) {
    // firstly clean up any state associated with the compiler
    AjCompiler compiler = (AjCompiler) compilerMap.get(project);
    if (compiler != null) {
        compiler.clearLastState();
        // remove compiler from the map
        compilerMap.remove(project);/*from w w w .  j av a  2 s  .  c o  m*/
    }
}