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