private void associateValue(FileId2ValueMapping<Value> mapping, Value value, int inputId) {
    if (mapping != null) {
      mapping.associateFileIdToValue(inputId, value);
    }
    else {
      addValue(inputId, value);
    }
  }
private void associateValue(FileId2ValueMapping<Value> mapping, Value value, int inputId)