code: @Deprecated
      public static void recordOperationSteps(final OperationContext context, final List<ModelNode> operations,
                                                         final List<ModelNode> responses) throws OperationFailedException {
          assert responses.isEmpty() || operations.size() == responses.size();
  
          boolean responsesProvided = !responses.isEmpty();
  
          LinkedHashMap<Integer, ModelNode> operationMap = new LinkedHashMap<>();
          Map<Integer, ModelNode> responseMap  = new LinkedHashMap<>();
          int i = 0;
          for (ModelNode op : operations) {
              operationMap.put(i, op);
              if (responsesProvided) {
                  ModelNode response = responses.get(i);
                  assert response != null : "No response provided for " + i;
                  responseMap.put(i, response);
              }
              i++;
          }
          recordOperationSteps(context, operationMap, responseMap, OperationHandlerResolver.DEFAULT, false, true);
  
          if (!responsesProvided) {
              responses.addAll(responseMap.values());
          }
      }
docs: Adds a step to the given {@link OperationContext} for each operation included in the given {@code operations} list, either
  using for each step a response node provided in the {@code responses} list, or if the {@code responses} list is empty,
  creating them and storing them in the {@code responses} list. The response objects are not tied into the overall response
  to the operation associated with {@code context}. It is the responsibility of the caller to do that.
  
  @param context the {@code OperationContext}. Cannot be {@code null}
  @param operations the list of operations, each element of which must be a proper OBJECT type model node with a structure describing an operation
  @param responses  a list of response nodes to use for each operation, each element of which corresponds to the operation in the equivalent position
  in the {@code operations} list. Cannot be {@code null} but may be empty in which case this method will
  create the response nodes and add them to this list.
  @throws OperationFailedException if there is a problem registering a step for any of the operations
  
  @deprecated Do not use. Will be removed.