public void visitCaseBlock(CaseBlock node) { for (ExpressionIterator exprIt = node.getCases().getIterator(); exprIt.hasNext(); ) { visit(exprIt.getNext()); } for (BlockStatementIterator stmtIt = node.getBlockStatements().getIterator(); stmtIt.hasNext(); ) { visit(stmtIt.getNext()); } }
public void visitBlock(Block node) { for (BlockStatementIterator it = node.getBlockStatements().getIterator(); it.hasNext(); ) { visit(it.getNext()); } }