void (@NotNull PsiLocalVariable var) { StreamModel model = createModel(var); if (model == null) return; PsiElement element = model.migration().migrate(var.getProject(), model.body(), model.tb()); MigrateToStreamFix.simplify(var.getProject(), element); }