void (@NotNull PsiLambdaExpression lambdaExpression) { final PsiElement body = lambdaExpression.getBody(); final PsiExpression singleExpression = RedundantLambdaCodeBlockInspection.isCodeBlockRedundant(body); if (singleExpression != null) { body.replace(singleExpression); } }