} else if (myRes.getType() == IResource.PROJECT) { switch (delta.getKind()) { case IResourceDelta.REMOVED: IncrementalStateManager .removeIncrementalStateInformationFor(AspectJPlugin .getBuildConfigurationFile(myRes.getProject())); break; case IResourceDelta.CHANGED: if (!myRes.getProject().isOpen()) { IncrementalStateManager .removeIncrementalStateInformationFor(AspectJPlugin .getBuildConfigurationFile(myRes.getProject())); } break; }
	public boolean visit(IResourceDelta delta) {		IResource myRes = delta.getResource();		if (myRes.getType() == IResource.FILE) {			switch (delta.getKind()) {			case IResourceDelta.REMOVED:				AJCompilationUnitUtils						.removeFileFromModelAndCloseEditors((IFile) myRes);				AJDTUtils.refreshPackageExplorer();				break;			case IResourceDelta.ADDED:				AJCompilationUnitManager.INSTANCE						.getAJCompilationUnit((IFile) myRes);				AJDTUtils.refreshPackageExplorer();				break;			}		} else if (myRes.getType() == IResource.PROJECT) {			switch (delta.getKind()) {			case IResourceDelta.REMOVED:				IncrementalStateManager						.removeIncrementalStateInformationFor(AspectJPlugin								.getBuildConfigurationFile(myRes.getProject()));				break;			case IResourceDelta.CHANGED:				if (!myRes.getProject().isOpen()) {					IncrementalStateManager							.removeIncrementalStateInformationFor(AspectJPlugin									.getBuildConfigurationFile(myRes.getProject()));				}				break;			}		}		return true;	}