PsiElement result =
toArrayExpression.replace(elementFactory.createExpressionFromText(builder.toString(), toArrayExpression));
removeLoop(foreachStatement);
if(status != InitializerUsageStatus.AT_WANTED_PLACE) {
variable.delete();
<BUG>}
simplifyAndFormat(project, result);
return;</BUG>
}
}

PsiElement result =
toArrayExpression.replace(elementFactory.createExpressionFromText(builder.toString(), toArrayExpression));
removeLoop(foreachStatement);
if(status != InitializerUsageStatus.AT_WANTED_PLACE) {
variable.delete();
