private static StreamEx<OperationRecord> allOperations(List<OperationRecord> operations) {
      return StreamEx.of(operations)
        .flatMap(or -> or.myOperation.nestedOperations().append(or));
    }
private static StreamEx<OperationRecord> allOperations(List<OperationRecord> operations)