@NonNls
  public String toString() {
    final Type type = getType();
    return switch (type) {
      case NEW -> "A: " + myAfterRevision;
      case DELETED -> "D: " + myBeforeRevision;
      case MOVED -> "M: " + myBeforeRevision + " -> " + myAfterRevision;
      default -> "M: " + myAfterRevision;
    };
  }
@NonNls
  public String toString()