void (@NotNull String shortName, @Nullable String keyName, String scopeName, @Nullable Project project) { final ToolsImpl tools = getTools(shortName, project); final var level = tools.getLevel(scopeName, project); if (keyName == null) { keyName = SeverityRegistrar.getSeverityRegistrar(project).getHighlightInfoTypeBySeverity(level.getSeverity()).getAttributesKey().getExternalName(); } String attributes = tools.getDefaultState().getTool().getDefaultEditorAttributes(); tools.setEditorAttributesKey(Objects.equals(attributes, keyName) ? null : keyName, scopeName); mySchemeState = SchemeState.POSSIBLY_CHANGED; }