@Override
    public String createReplacement(CommentTracker ct) {
      PsiElementFactory factory = JavaPsiFacade.getElementFactory(myExpression.getProject());
      PsiExpression intermediate = makeIntermediateExpression(ct, factory);
      PsiExpression expression =
        myNegated ? factory.createExpressionFromText(BoolUtils.getNegatedExpressionText(intermediate, ct), myExpression) : intermediate;
      return "." + getOpName() + "(" + LambdaUtil.createLambda(myVariable, expression) + ")";
    }
@Override
    public String createReplacement(CommentTracker ct)