void (@NotNull HighlightSeverity severity) { HighlightDisplayLevel level = HighlightDisplayLevel.find(severity); myProfile.setErrorLevel(myDefaultDescriptor.getKey(), level, null, myProject); myEventDispatcher.getMulticaster().onSeverityChanged(severity); }