@Nullable
 private static String getProjectPath(final Project project) {
   final String path = project.getPresentableUrl();
   if (path == null) {
     return null;
   }
   final VirtualFile vFile = LocalFileSystem.getInstance().findFileByPath(path);
   return vFile != null ? vFile.getPath() : null;
 }
 private static List<String> convertToLocalPaths(VirtualFile[] files) {
   final List<String> paths = new ArrayList<String>();
   for (VirtualFile file : files) {
     if (file.isValid()) {
       paths.add(
           StringUtil.trimEnd(
               FileUtil.toSystemIndependentName(file.getPath()), JarFileSystem.JAR_SEPARATOR));
     }
   }
   return paths;
 }