void (PsiLambdaExpression lambda, PsiExpression expr, LocalQuickFix fix) { holder.registerProblem(lambda, JavaBundle.message("inspection.excessive.lambda.message"), ProblemHighlightType.GENERIC_ERROR_OR_WARNING, new TextRange(0, expr.getStartOffsetInParent()), fix); }