if (resource.getName().endsWith("~")) { return false; }
	private final boolean examineResource(IResource resource, int kindOfChange) {		if (this.buildRequired) {			return false;		}		// see bugreport #708385		if (!resource.isAccessible() && kindOfChange != IResourceDelta.REMOVED)			return false;		// reset project file to update		switch (resource.getType()) {		case IResource.ROOT:			// further investigation of resource delta needed			return true;		case IResource.PROJECT:			this.project = (Project) resource.getAdapter(Project.class);			return true;		case IResource.FOLDER:			String extension = resource.getFileExtension();			if (extension != null) {				if (extension.equals("framework") || extension.equals("woa")						|| extension.equals("xcode")						|| extension.equals("xcodeproj")) {					return false;				}			}			if (resource.getName().equals("build")					|| resource.getName().equals("dist")					|| resource.getName().equals("target")) {				return false;			}			if (resource.getName().equals(".svn")					|| resource.getName().equals("CVS")) {				return false;			}			if (this.project.matchesResourcesPattern(resource)					|| this.project.matchesWOAppResourcesPattern(resource)					|| this.project.matchesClassesPattern(resource)) {				this.buildRequired = true;				return false;			}			// further examination of resource delta needed			return true;		case IResource.FILE:			if (needsUpdate(kindOfChange)) {				if (".project".equals(resource.getName())						|| "PB.project".equals(resource.getName())						|| ".classpath".equals(resource.getName())						|| "Makefile".equals(resource.getName())						|| resource.getName().startsWith("ant.")) {					return false;				} else if (resource.getName().endsWith(".java")						|| this.project.matchesResourcesPattern(resource)						|| this.project.matchesWOAppResourcesPattern(resource)						|| this.project.matchesClassesPattern(resource)) {					this.buildRequired = true;					return false;				}			}		}		return false;	}