private static @Nullable TextRange lambdaRange(@NotNull PsiLambdaExpression lambdaExpression) {
    PsiElement body = lambdaExpression.getBody();
    return body instanceof PsiCodeBlock ? body.getTextRange() : null;
  }
private static @Nullable TextRange lambdaRange(@NotNull PsiLambdaExpression lambdaExpression)