IProject project = context.get(IProject.class);
if (kind == IncrementalProjectBuilder.CLEAN_BUILD || kind == IncrementalProjectBuilder.FULL_BUILD) {
AopReferenceModelMarkerUtils.deleteProblemMarkers(project);
((AopReferenceModel) Activator.getModel()).removeProject(JdtUtils.getJavaProject(project));
}
Job job = new AopReferenceModelBuilderJob(project, AopReferenceModelUtils
.getAffectedFilesFromBeansConfig(affectedResources), affectedResources);
job.schedule();
}
monitor.done();
}