Path rootDir) {
IPath rootDir) {
	private String classpathEntryToFrameworkEntry(		IClasspathEntry entry,		Path rootDir) {		String toReturn = null;		IPath pathToConvert;		// determine if entry's path begins with rootDir		if ((entry.getPath().segmentCount() > rootDir.segmentCount())			&& entry				.getPath()				.removeLastSegments(					entry.getPath().segmentCount() - rootDir.segmentCount())				.equals(rootDir)) {			/*			if (entry.getPath().matchingFirstSegments(rootDir)			== rootDir.segmentCount()) {			*/			// remove root dir from path, remove device and make relative			pathToConvert =				entry					.getPath()					.removeFirstSegments(rootDir.segmentCount())					.setDevice(null)					.makeRelative();			for (int i = 0; i < pathToConvert.segmentCount(); i++) {				if (pathToConvert.segment(i).endsWith(".framework")) {					// remove segments after framework					pathToConvert =						pathToConvert.removeLastSegments(							pathToConvert.segmentCount() - i - 1);					toReturn = pathToConvert.toOSString();					break;				}			}		}		return toReturn;	}