/** * Sets the condition argument of this unary value operator. * * @param condition * The (new) condition argument for this operator, must not be <tt>null</tt>. */ public void setCondition(ValueExpr condition) { assert condition != null : "arg must not be null"; condition.setParentNode(this); this.condition = condition; }
/** * Sets the right argument of this binary value operator. * * @param rightArg * The (new) right argument for this operator, must not be <tt>null</tt>. */ public void setRightArg(ValueExpr rightArg) { assert rightArg != null : "rightArg must not be null"; rightArg.setParentNode(this); this.rightArg = rightArg; }
/** * @param result * The result to set. */ public void setResult(ValueExpr result) { result.setParentNode(this); this.result = result; }
/** * @param alternative * The alternative to set. */ public void setAlternative(ValueExpr alternative) { alternative.setParentNode(this); this.alternative = alternative; }
public void setExpr(ValueExpr expr) { assert expr != null : "expr must not be null"; expr.setParentNode(this); this.expr = expr; }
public void setArg(ValueExpr arg) { assert arg != null : "arg must not be null"; arg.setParentNode(this); this.arg = arg; }
/** * Sets the argument of this unary value operator. * * @param arg * The (new) argument for this operator, must not be <tt>null</tt>. */ public void setArg(ValueExpr arg) { assert arg != null : "arg must not be null"; arg.setParentNode(this); this.arg = arg; }
public void setCondition(ValueExpr condition) { if (condition != null) { condition.setParentNode(this); } this.condition = condition; }
public void setExpr(ValueExpr expr) { assert expr != null : "expr must not be null"; expr.setParentNode(this); this.expr = expr; }
public void setArg(ValueExpr arg) { assert arg != null : "arg must not be null"; arg.setParentNode(this); this.arg = arg; }
/** * @param result * The result to set. */ public void setResult(ValueExpr result) { result.setParentNode(this); this.result = result; }
/** * @param alternative * The alternative to set. */ public void setAlternative(ValueExpr alternative) { alternative.setParentNode(this); this.alternative = alternative; }
/** * Sets the left argument of this binary value operator. * * @param leftArg * The (new) left argument for this operator, must not be <tt>null</tt>. */ public void setLeftArg(ValueExpr leftArg) { assert leftArg != null : "leftArg must not be null"; leftArg.setParentNode(this); this.leftArg = leftArg; }
public void setCondition(ValueExpr condition) { assert condition != null : "condition must not be null"; condition.setParentNode(this); this.condition = condition; }
public void setExpr(ValueExpr expr) { assert expr != null : "expr must not be null"; expr.setParentNode(this); this.expr = expr; }
/** * Sets the left argument of this binary value operator. * * @param leftArg * The (new) left argument for this operator, must not be <tt>null</tt>. */ public void setLeftArg(ValueExpr leftArg) { assert leftArg != null : "leftArg must not be null"; leftArg.setParentNode(this); this.leftArg = leftArg; }
public void addArg(ValueExpr arg) { assert arg != null : "arg must not be null"; args.add(arg); arg.setParentNode(this); }
public void addArg(ValueExpr arg) { assert arg != null : "arg must not be null"; args.add(arg); arg.setParentNode(this); }
public void addArgument(ValueExpr arg) { if (args == null) { args = new ArrayList<>(); } args.add(arg); arg.setParentNode(this); }
public void addArgument(ValueExpr arg) { if (args == null) { args = new ArrayList<ValueExpr>(); } args.add(arg); arg.setParentNode(this); }