void (OptionsContainingConfigurable configurable, Element configurableElement) { Set<String> optionsPath = configurable.processListOptions(); Set<OptionDescription> result = new TreeSet<>(); wordsToOptionDescriptors(optionsPath, null, result); Map<String, Set<String>> optionsWithPaths = configurable.processListOptionsWithPaths(); for (String path : optionsWithPaths.keySet()) { wordsToOptionDescriptors(optionsWithPaths.get(path), path, result); } writeOptions(configurableElement, result); }