public void visit(WhenClause whenClause) throws Exception { if (whenClause == null) return; if (whenClause.getWhenExpression() != null) whenClause.getWhenExpression().accept(this); if (whenClause.getThenExpression() != null) whenClause.getThenExpression().accept(this); }