public boolean clean(Map<ICompilerProject, Set<File>> invalidatedSWCFiles, Map<ICompilerProject, Set<ICompilationUnit>> cusToUpdate, final boolean clearFileScope)
{
IWorkspaceProfilingDelegate profilingDelegate = project.getWorkspace().getProfilingDelegate();
if (profilingDelegate != null)
profilingDelegate.operationStarted(this, Operation.INVALIDATE_CU);
project.removeDependencies(Collections.<ICompilationUnit>singletonList(this));
if (clearFileScope)
{