/** * Return whether or not this expression tree represents a constant expression. * * @return Whether or not this expression tree represents a constant expression. */ public boolean isConstantExpression() { return (testCondition.isConstantExpression() && thenElseList.isConstantExpression()); }