simplifyAndFormat(project, result);
return;
}
PsiExpression itemToAdd = methodCallExpression.getArgumentList().getExpressions()[0];
PsiType addedType = getAddedElementType(methodCallExpression);
<BUG>if (addedType == null) addedType = itemToAdd.getType();
operations.add(new StreamApiMigrationInspection.MapOp(itemToAdd, tb.getVariable(), addedType));

final StringBuilder builder = generateStream(iteratedValue, operations);</BUG>
final PsiExpression qualifierExpression = methodCallExpression.getMethodExpression().getQualifierExpression();

simplifyAndFormat(project, result);
return;
}
PsiExpression itemToAdd = methodCallExpression.getArgumentList().getExpressions()[0];
PsiType addedType = getAddedElementType(methodCallExpression);
if (addedType == null) addedType = itemToAdd.getType();
final StringBuilder builder =
generateStream(iteratedValue, new StreamApiMigrationInspection.MapOp(tb.getLastOperation(), itemToAdd, tb.getVariable(), addedType));
final PsiExpression qualifierExpression = methodCallExpression.getMethodExpression().getQualifierExpression();
