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