public static @NotNull @NlsSafe String getShortHash(@NotNull String hashString, int shortHashLength) {
    return hashString.substring(0, Math.min(shortHashLength, hashString.length()));
  }
public static @NotNull @NlsSafe String getShortHash(@NotNull String hashString, int shortHashLength)