restoreComments(foreachStatement, body);
<BUG>PsiElement result = foreachStatement.replace(elementFactory.createStatementFromText(
</BUG>
stream + ".ifPresent(" + LambdaUtil.createLambda(tb.getVariable(), expression) + ");", foreachStatement));
<BUG>simplifyAndFormat(project, result);
return;</BUG>
}
PsiExpression lValue = assignment.getLExpression();
<BUG>if (!(lValue instanceof PsiReferenceExpression)) return;
</BUG>
PsiElement element = ((PsiReferenceExpression)lValue).resolve();

restoreComments(foreachStatement, body);
return foreachStatement.replace(elementFactory.createStatementFromText(
stream + ".ifPresent(" + LambdaUtil.createLambda(tb.getVariable(), expression) + ");", foreachStatement));
}
PsiExpression lValue = assignment.getLExpression();
if (!(lValue instanceof PsiReferenceExpression)) return null;
