SeverityRegistrar (@Nullable Project project) { return project == null ? InspectionProfileManager.getInstance().getSeverityRegistrar() : InspectionProfileManager.getInstance(project).getCurrentProfile().getProfileManager().getSeverityRegistrar(); }