Map buildCache = new HashMap(); CleanVisitor cleanVisitor = new CleanVisitor(builderWrappers, monitor, buildCache); this.notifyBuilderBuildStarted(new HashSet(), IncrementalProjectBuilder.CLEAN_BUILD, new HashMap(), monitor, buildCache, builderWrappers); cleanVisitor.buildStarted(project); try { project.accept(cleanVisitor); } finally { cleanVisitor.visitingDone(); }
	protected void clean(IProgressMonitor monitor) throws CoreException {		IProject project = this.getProject();		IProjectAdapter projectAdapter = (IProjectAdapter) project				.getAdapter(IProjectAdapter.class);		IBuildAdapter buildAdapter = projectAdapter.getBuildAdapter();		if (buildAdapter != null) {			buildAdapter.clean(monitor);		}		Map buildCache = new HashMap();		CleanVisitor cleanVisitor = new CleanVisitor(builderWrappers, monitor,				buildCache);		this.notifyBuilderBuildStarted(new HashSet(),				IncrementalProjectBuilder.CLEAN_BUILD, new HashMap(), monitor,				buildCache, builderWrappers);		cleanVisitor.buildStarted(project);		try {			project.accept(cleanVisitor);		} finally {			cleanVisitor.visitingDone();		}	}