private static @NotNull JBIterable<FilePath> getSelectedPaths(@NotNull DataContext context) {
    JBIterable<FilePath> paths = VcsContextUtil.selectedFilePathsIterable(context);
    if (paths.isNotEmpty()) return paths;
    VirtualFile file = getEditorFile(context);
    if (file != null) return JBIterable.of(VcsUtil.getFilePath(file));
    return JBIterable.empty();
  }
private static @NotNull JBIterable<FilePath> getSelectedPaths(@NotNull DataContext context)