} else if (node instanceof Block) {
return ((Block) node).getStatements();
} else {
final List innerBlockStatements = new ArrayList();
// Lets traverse to see inner blocks.
ASTVisitor visitor = new ASTVisitor() {
@Override
public boolean visit(Expression s) throws Exception {
if (s instanceof Block) {
List tStatements = ((Block) s).getStatements();
innerBlockStatements.addAll(tStatements);