private void ensureInputIdIsntAssociatedWithAnotherValue(int inputId, Value value, boolean isDirect) {
    if (myPresentInputIds != null) {
      Object normalizedValue = wrapValue(value);
      Object previousValue = myPresentInputIds.put(inputId, normalizedValue);
      myUpdateOps.add(new UpdateOp(isDirect ? UpdateOp.Type.ADD_DIRECT : UpdateOp.Type.ADD, inputId, normalizedValue));
      if (previousValue != null && !previousValue.equals(normalizedValue)) {
        LOG.error("Can't add value '" + normalizedValue + "'; input id " + inputId + " is already present in:\n" + getDebugMessage());
      }
    }
  }
private void ensureInputIdIsntAssociatedWithAnotherValue(int inputId, Value value, boolean isDirect)