if (!entry.getPath().toOSString().startsWith(rootDir))
if (!entry.getPath().toString().startsWith(rootDir))
	private String classpathEntryToFrameworkEntry(		IClasspathEntry entry,		String rootDir) {		String toReturn = null;		IPath pathToConvert;		// determine if entry's path begins with rootDir		if (!entry.getPath().toOSString().startsWith(rootDir))			return null;		/*		if (entry.getPath().matchingFirstSegments(rootDir)		== rootDir.segmentCount()) {		*/		// remove root dir from path, remove device and make relative		pathToConvert = entry.getPath();		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;			}		}		if (toReturn != null) {			toReturn = toReturn.substring(rootDir.length());			if (toReturn.startsWith("/") || toReturn.startsWith("\\"))				toReturn = toReturn.substring(1);		}		return toReturn;	}