@NotNull List<@NotNull Path> chosenPaths() {
    if (myShowPathBar && myPathBarActive) {
      var path = typedPath();
      return path != null ? List.of(path) : List.of();
    }
    else if (myList.getSelectedObjects().isEmpty()) {
      return myCurrentDirectory != null ? List.of(myCurrentDirectory) : List.of();
    }
    else {
      return myList.getSelectedObjects().stream()
        .filter(r -> r.selectable)
        .map(r -> r.path)
        .filter(Objects::nonNull)
        .collect(Collectors.toList());
    }
  }
@NotNull List<@NotNull Path> chosenPaths()