void (@NotNull Element state) { myState = XmlSerializer.deserialize(state, State.class); try { migrateOldShelfInfo(state, false); migrateOldShelfInfo(state, true); } catch (IOException e) { LOG.error(e); } }