void (@NotNull Project project, @NotNull PsiElement element, @NotNull ModPsiUpdater updater) { PsiLambdaExpression lambda = PsiTreeUtil.getParentOfType(element, PsiLambdaExpression.class); if (lambda == null) return; PsiMethodCallExpression call = PsiTreeUtil.getParentOfType(lambda, PsiMethodCallExpression.class); if (call == null || !"compute".equals(call.getMethodExpression().getReferenceName())) return; ExpressionUtils.bindCallTo(call, "computeIfPresent"); }