IFile userPrefsFile = getUserPreferencesFile(project); if (!userPrefsFile.exists()) {
IPath userPrefsFile = getUserPreferencesFile(project); File prefsFile = userPrefsFile.toFile(); if (!prefsFile.exists()) {
	public static void saveExtendedPreferences(IProject project, final ExtendedPreferences extendedPrefs)			throws CoreException, IOException {		// Make the new extended preferences current for the project		project.setSessionProperty(SESSION_PROPERTY_EXTENDEDPREFS, extendedPrefs);				IFile userPrefsFile = getUserPreferencesFile(project);		if (!userPrefsFile.exists()) {			throw new IOException("User preferences file not present yet. Save UserPreferences first.");		}				File prefsFile = userPrefsFile.getLocation().toFile();				extendedPrefs.write(prefsFile);		userPrefsFile.refreshLocal(IResource.DEPTH_INFINITE, null);	}