protected StatementContainer getStatementContainer() {
return new ASTStatementList(ast.getFirstChild());
}
public ASCatchClause newCatchClause(String var, String type) {
LinkedListTree catchClause = ASTBuilder.newCatchClause(var, type);
LinkedListToken space = TokenBuilder.newSpace();
catchClause.getStartToken().beforeInsert(space);
catchClause.setStartToken(space);
if (finallyClause() == null) {
ast.addChildWithTokens(catchClause);
} else {
ast.addChildWithTokens(ast.getChildCount()-1, catchClause);
}