void (@NotNull Element childNode) { for (Element e : childNode.getChildren(OPTION_ELEMENT)) { String keyName = e.getAttributeValue(NAME_ATTR); Element valueElement = e.getChild(VALUE_ELEMENT); TextAttributes attr = valueElement != null ? myValueReader.read(TextAttributes.class, valueElement) : e.getAttributeValue(BASE_ATTRIBUTES_ATTR) != null ? INHERITED_ATTRS_MARKER : null; if (attr != null) { attributesMap.put(keyName, attr); } } }