void (PsiLambdaExpression lambda, @NlsSafe String displayReplacement, @NlsSafe String replacement) { holder.registerProblem(lambda, JavaAnalysisBundle.message("inspection.can.be.replaced.with.message", displayReplacement), new ReplaceWithFunctionCallFix(replacement, displayReplacement)); }