ProblemDescriptor (@NotNull InspectionManager manager, @NotNull PsiIdentifier identifier, boolean isOnTheFly) { return manager.createProblemDescriptor( identifier, JavaBundle.message("inspection.parameter.can.be.local.problem.descriptor"), true, ProblemHighlightType.GENERIC_ERROR_OR_WARNING, isOnTheFly, new ConvertParameterToLocalQuickFix() ); }