private static @NotNull Set<@NlsSafe String> findHashes(@NotNull Project project,
                                                          @NotNull @NlsSafe String message) {
    Set<String> unresolvedHashes = new HashSet<>();
    formatTextWithLinks(project, message, (@NlsSafe var s) -> {
      unresolvedHashes.addAll(findHashes(s));
      return s;
    });
    return unresolvedHashes;
  }
private static @NotNull Set<@NlsSafe String> findHashes(@NotNull Project project,
                                                          @NotNull @NlsSafe String message)