ProjectHelper.getProjectSourceFolder( (IProject) parentResource).getFile(
wolipsJavaProject .getClasspathAccessor() .getProjectSourceFolder() .getFile(
	private void createNewProjectResource(		String fileName,		String fileTemplateId,		IResource parentResource,		IProgressMonitor monitor)		throws InvocationTargetException {		boolean isJavaFile =			fileName != null				&& fileName.endsWith("." + IWOLipsPluginConstants.EXT_JAVA);		IFile fileToCreate = null;		switch (parentResource.getType()) {			case IResource.PROJECT :				if (isJavaFile) {					// add java file to source folder					fileToCreate =						ProjectHelper.getProjectSourceFolder(							(IProject) parentResource).getFile(							new Path(fileName));				} else {					// add wo resource file					fileToCreate =						((IProject) parentResource).getFile(fileName);				}				try {					fileCreator().create(						fileToCreate,						fileTemplateId,						new SubProgressMonitor(monitor, 1));				} catch (InvocationTargetException e) {					// a this stage of project creation no project file exists					// throw only non-missing project file exceptions					//if (!(e.getTargetException() instanceof WOProjectFileUpdater.MissingProjectFileException)) {					throw e;					//}				}				break;			case IResource.FOLDER :				if (isJavaFile) {					// add java file to source folder					fileToCreate =						ProjectHelper.getSubprojectSourceFolder(							(IFolder) parentResource,							true).getFile(							fileName);				} else {					// add wo resource file					fileToCreate = ((IFolder) parentResource).getFile(fileName);				}				fileCreator().create(					fileToCreate,					fileTemplateId,					new SubProgressMonitor(monitor, 1));				break;			default :				throw new InvocationTargetException(					new Exception("Wrong parent resource - check validation"));		}	}