boolean (@NotNull Project project, Editor editor, PsiFile file) { InspectionProfileImpl profile = InspectionProjectProfileManager.getInstance(project).getCurrentProfile(); HighlightSeverity usedSeverity = profile.getErrorLevel(HighlightDisplayKey.find(myShortName), file).getSeverity(); return usedSeverity.compareTo(HighlightSeverity.INFORMATION) > 0; }