private static void addToPythonPath(VirtualFile file, Collection<String> pathList) {
    if (file.getFileSystem() instanceof JarFileSystem) {
      final VirtualFile realFile = JarFileSystem.getInstance().getVirtualFileForJar(file);
      if (realFile != null) {
        addIfNeeded(realFile, pathList);
      }
    }
    else if (file.isDirectory()) {
      addIfNeeded(file, pathList);
    }
  }
private static void addToPythonPath(VirtualFile file, Collection<String> pathList)