void (PsiMethod method, ProblemsHolder holder) { if (REPORT_NULLS_PASSED_TO_NOT_NULL_PARAMETER && holder.isOnTheFly()) { for (PsiParameter parameter : NullParameterConstraintChecker.checkMethodParameters(method)) { PsiIdentifier name = parameter.getNameIdentifier(); if (name != null) { holder.registerProblem(name, JavaAnalysisBundle.message("dataflow.method.fails.with.null.argument"), ProblemHighlightType.GENERIC_ERROR_OR_WARNING, createNavigateToNullParameterUsagesFix(parameter)); } } } }