public void visitSwitch(SwitchStatement statement) { statement.getExpression().visit(this); for (CaseStatement caseStatement : statement.getCaseStatements()) { caseStatement.visit(this); } statement.getDefaultStatement().visit(this); }
public void visitCaseStatement(CaseStatement statement) { statement.getExpression().visit(this); statement.getCode().visit(this); }