private static @NlsSafe String formatNumber(long value) {
    if (value == Long.MAX_VALUE) return "Long.MAX_VALUE";
    if (value == Long.MAX_VALUE - 1) return "Long.MAX_VALUE-1";
    if (value == Long.MIN_VALUE) return "Long.MIN_VALUE";
    if (value == Long.MIN_VALUE + 1) return "Long.MIN_VALUE+1";
    if (value == Integer.MAX_VALUE) return "Integer.MAX_VALUE";
    if (value == Integer.MAX_VALUE - 1) return "Integer.MAX_VALUE-1";
    if (value == Integer.MIN_VALUE) return "Integer.MIN_VALUE";
    if (value == Integer.MIN_VALUE + 1) return "Integer.MIN_VALUE+1";
    return String.valueOf(value);
  }
private static @NlsSafe String formatNumber(long value)