boolean (String ideaUrl, String eclipseUrl) { final String path = VfsUtilCore.urlToPath(eclipseUrl); if (ideaUrl.contains(path)) { return true; } else { final String relativeToModulePath = EPathCommonUtil.getRelativeToModulePath(path); final int relativeIdx = relativeToModulePath != null ? ideaUrl.indexOf(relativeToModulePath) : -1; if (relativeIdx != -1) { final String pathToProjectFile = VfsUtilCore.urlToPath(ideaUrl.substring(0, relativeIdx)); if (Comparing.strEqual(EPathCommonUtil.getRelativeModuleName(path), EclipseProjectFinder.findProjectName(pathToProjectFile))) { return true; } } } return false; }