void (@NotNull Element element) { configurations.clear(); historyConfigurations.clear(); final SmartList<Configuration> tmp = new SmartList<>(); readConfigurations(element, configurations, tmp); migrate(configurations); for (Configuration configuration : tmp) { addHistoryConfiguration(configuration); } Collections.reverse(historyConfigurations); }