/** * Sets the {@code _exp} child of this {@link ANewObjectDesignatorIR} node. * @param value the new {@code _exp} child of this {@link ANewObjectDesignatorIR} node */ public void setExp(ANewExpIR value) { if (this._exp != null) { this._exp.parent(null); } if (value != null) { if (value.parent() != null) { value.parent().removeChild(value); } value.parent(this); } this._exp = value; }