/** * Sets statement to execute if condition is true * @throws IllegalArgumentException if thenPart is {@code null} */ public void setThenPart(AstNode thenPart) { assertNotNull(thenPart); this.thenPart = thenPart; thenPart.setParent(this); }
/** * Sets if condition. * @throws IllegalArgumentException if {@code condition} is {@code null}. */ public void setCondition(AstNode condition) { assertNotNull(condition); this.condition = condition; condition.setParent(this); }
/** * Sets if condition. * @throws IllegalArgumentException if {@code condition} is {@code null}. */ public void setCondition(AstNode condition) { assertNotNull(condition); this.condition = condition; condition.setParent(this); }
/** * Sets statement to execute if condition is true * @throws IllegalArgumentException if thenPart is {@code null} */ public void setThenPart(AstNode thenPart) { assertNotNull(thenPart); this.thenPart = thenPart; thenPart.setParent(this); }
/** * Sets if condition. * @throws IllegalArgumentException if {@code condition} is {@code null}. */ public void setCondition(AstNode condition) { assertNotNull(condition); this.condition = condition; condition.setParent(this); }
/** * Sets statement to execute if condition is true * @throws IllegalArgumentException if thenPart is {@code null} */ public void setThenPart(AstNode thenPart) { assertNotNull(thenPart); this.thenPart = thenPart; thenPart.setParent(this); }
/** * Sets statement to execute if condition is true * @throws IllegalArgumentException if thenPart is {@code null} */ public void setThenPart(AstNode thenPart) { assertNotNull(thenPart); this.thenPart = thenPart; thenPart.setParent(this); }
/** * Sets if condition. * @throws IllegalArgumentException if {@code condition} is {@code null}. */ public void setCondition(AstNode condition) { assertNotNull(condition); this.condition = condition; condition.setParent(this); }