BlockStatement block = (BlockStatement)stmt;
stmt = block.getTail();
if (stmt != null && stmt.typeOf() == Statement.ST_TRY) {
trystmt = (TryStatement)stmt;
if (trystmt.hasFinally()) {
trystmt = block.replaceWithTry();
}
} else {
trystmt = block.replaceWithTry();
}
return trystmt;