void () { providedDictionaries.clear(); for (String dictionary : SpellCheckerManager.getBundledDictionaries()) { providedDictionaries.add(Pair.create(dictionary, true)); } runtimeDictionaries.clear(); for (String dictionary : ContainerUtil.map(SpellCheckerManager.getRuntimeDictionaries(), (it) -> it.getName())) { runtimeDictionaries.add(dictionary); providedDictionaries.add(Pair.create(dictionary, !settings.getRuntimeDisabledDictionariesNames().contains(dictionary))); } }