private static boolean containAdditions(@NotNull List<Change> changes) {
    return changes.stream().anyMatch(change -> change.getBeforeRevision() == null || change.isMoved() || change.isRenamed());
  }
private static boolean containAdditions(@NotNull List<Change> changes)