private void associateValueOptimizely(FileId2ValueMapping<Value> mapping,
                                        Value value,
                                        ChangeBufferingList changeBufferingList,
                                        int inputId) {
    if (changeBufferingList != null) {
      ensureInputIdIsntAssociatedWithAnotherValue(inputId, value, true);
      changeBufferingList.add(inputId);
      if (mapping != null) {
        mapping.associateFileIdToValueSkippingContainer(inputId, value);
      }
    }
    else {
      if (mapping != null) {
        mapping.associateFileIdToValue(inputId, value);
      }
      else {
        addValue(inputId, value);
      }
    }
  }
private void associateValueOptimizely(FileId2ValueMapping<Value> mapping,
                                        Value value,
                                        ChangeBufferingList changeBufferingList,
                                        int inputId)