if (EXT_JAVA.equals(resource.getFileExtension())) {
if (false) {
		private boolean examineResource(IResource resource, int kindOfChange)			throws CoreException {			// reset project file to update			projectFile = null;			switch (resource.getType()) {				case IResource.ROOT :					// further investigation of resource delta needed					return true;				case IResource.PROJECT :					if (!resource.exists()) {						// project deleted no further investigation needed						return false;					}					if (((IProject) resource).hasNature(WO_APPLICATION_NATURE)						|| ((IProject) resource).hasNature(WO_FRAMEWORK_NATURE)) {						// resource change concerns to webobjects project						// -> visit childs						return true;					} // no webobjects project					return false;				case IResource.FOLDER :					if (needsProjectFileUpdate(kindOfChange)) {						if (EXT_FRAMEWORK.equals(resource.getFileExtension())							|| EXT_WOA.equals(resource.getFileExtension())) {							// no further examination needed							return false;						}						if (EXT_COMPONENT							.equals(resource.getFileExtension())) {							updateProjectFile(								kindOfChange,								resource,								COMPONENTS_ID,								resource.getParent().getFile(									new Path(PROJECT_FILE_NAME)));						} else if (							EXT_EOMODEL.equals(resource.getFileExtension())) {							updateProjectFile(								kindOfChange,								resource,								RESOURCES_ID,								resource.getParent().getFile(									new Path(PROJECT_FILE_NAME)));						} else if (							EXT_SUBPROJECT.equals(								resource.getFileExtension())) {							updateProjectFile(								kindOfChange,								resource,								SUBPROJECTS_ID,								resource.getParent().getFile(									new Path(PROJECT_FILE_NAME)));						}					}					// further examination of resource delta needed					return true;				case IResource.FILE :					if (needsProjectFileUpdate(kindOfChange)) {						// this file must be an webobjects project file						QualifiedName resourceQualifier = null;						// files with java extension are located in src folders						// the relating project file is determined through the						// name of the src folder containing the java file						if (EXT_JAVA.equals(resource.getFileExtension())) {							// determine project file							IResource parent = resource;							IPath projectFilePath = new Path(PROJECT_FILE_NAME);							while ((parent = parent.getParent())								!= resource.getProject()) {								if (EXT_SRC.equals(parent.getFileExtension())									&& parent instanceof IContainer) {									// determine name of project file container									// (remove ".src" extension from resource containing									// changed java file									final String projectFileContainerName =										parent.getName().substring(											0,											parent.getName().length()												- (EXT_SRC.length() + 1));									// search for project file									IResourceVisitor projectFileFinder =										new IResourceVisitor() {										private IContainer projectFileContainer;										public boolean visit(IResource resource) {											if ((resource.getType()												== IResource.FOLDER												|| resource.getType()													== IResource.PROJECT)												&& resource.getName().equals(													projectFileContainerName)) {												projectFileContainer =													(IContainer) resource;												projectFile =													projectFileContainer														.getFile(														new Path(PROJECT_FILE_NAME));												if (projectFile.exists()) {													// file found													return false;												} else {													// continue search														projectFile = null;													return true;												}											}											return true;										}									};									resource.getProject().accept(										projectFileFinder);									if (projectFile == null										&& resource											.getProject()											.getFile(projectFilePath)											.exists()) {										// try to find application project file										projectFile =											resource.getProject().getFile(												projectFilePath);									}								}							}							updateProjectFile(								kindOfChange,								resource,								CLASSES_ID,								projectFile);						} else if (							EXT_API.equals(resource.getFileExtension())								|| EXT_STRINGS.equals(									resource.getFileExtension())) {							updateProjectFile(								kindOfChange,								resource,								RESOURCES_ID,								resource.getParent().getFile(									new Path(PROJECT_FILE_NAME)));						}						//return false;					}			}			return false;		}