lastConfigFile = this.configFile;
this.configFile = configFile;
if (!fresh) {
// Check if we need to dig out an old incremental state
if (!configFile.equals(lastConfigFile)) {
AjState correctStateForConfig = IncrementalStateManager.retrieveStateFor(configFile);
if (correctStateForConfig==null) fresh = true; // have to full build
else {
compilerAdapter.setState(correctStateForConfig);
AsmManager.getDefault().setRelationshipMap(correctStateForConfig.getRelationshipMap());
AsmManager.getDefault().setHierarchy(correctStateForConfig.getStructureModel());
}
}
}
if (fresh) {
this.compilerAdapter.nextBuildFresh();