void (@NotNull PsiElement root, @NotNull FileHighlightingSetting level) { HighlightingSettingsPerFile component = HighlightingSettingsPerFile.getInstance(root.getProject()); if (component == null) return; component.setHighlightingSettingForRoot(root, level); }