void (@NotNull Project project, @NotNull PsiElement element, @NotNull ModPsiUpdater updater) { if (element instanceof PsiMethodReferenceExpression methodRef) { LambdaRefactoringUtil.convertMethodReferenceToLambda(methodRef, false, true); } }