return;</BUG>
}
}
}
String replacement = "if(" + streamText + "){" + statement.getText() + "}";
<BUG>PsiElement result = foreachStatement.replace(elementFactory.createStatementFromText(replacement, foreachStatement));

simplifyAndFormat(project, result);
}</BUG>
}

ExpressionUtils.isLiteral(rValue, Boolean.FALSE)) {
replacement = "!"+streamText;
} else {
replacement = streamText + "?" + rValue.getText() + ":" + initializer.getText();
}
return replaceInitializer(foreachStatement, var, initializer, replacement, status);
}
}
}
String replacement = "if(" + streamText + "){" + statement.getText() + "}";
return foreachStatement.replace(elementFactory.createStatementFromText(replacement, foreachStatement));
}
