void (@NotNull UIState state) { XmlSerializerUtil.copyBean(state, this); if (!migrated) { final PropertiesComponent properties = PropertiesComponent.getInstance(); filtersVisible = properties.getBoolean("structural.search.filters.visible", true); existingTemplatesVisible = properties.getBoolean("structural.search.templates.visible", true); pinned = properties.getBoolean("structural.seach.pinned", false); properties.unsetValue("structural.search.filters.visible"); properties.unsetValue("structural.search.templates.visible"); properties.unsetValue("structural.seach.pinned"); properties.unsetValue("structural.search.shorten.fqn"); properties.unsetValue("structural.search.reformat"); properties.unsetValue("structural.search.use.static.import"); migrated = true; } }