void (@NotNull Element state) { for (Element previewRec : state.getChildren(PREVIEW_RECORD_TAG)) { String key = previewRec.getAttributeValue(EDITORCONFIG_FILE_ATTR); String value = previewRec.getAttributeValue(PREVIEW_FILE_ATTR); if (key != null && value != null) { myPreviewMap.put(key, value); } } }