void (@NotNull PsiMethodCallExpression call, String name) { holder.registerProblem( Objects.requireNonNull(call.getMethodExpression().getReferenceNameElement()), JavaBundle.message("inspection.stream.api.migration.can.be.replaced.with.call", name + "()"), new ReplaceWithCallFix(name)); }