void (PsiElement location) { if (location == null) { return; } final LocalQuickFix[] fix = createFixes(location); String description = StringUtil.notNullize(inspection.buildErrorString(location)); registerError(location, description, fix, ProblemHighlightType.GENERIC_ERROR_OR_WARNING); }