*/
public class HaxeTryCatchSurrounder extends HaxeManyStatementsSurrounder {
@NotNull
@Override
protected PsiElement doSurroundElements(PsiElement[] elements, PsiElement parent) {
final HaxeTryStatement tryStatement =
(HaxeTryStatement)HaxeElementGenerator.createStatementFromText(elements[0].getProject(), "try {\n} catch(a) {\n}");
addStatements(tryStatement.getBlockStatement(), elements);
return tryStatement;
}