private @NotNull Element metaInfoToElement() {
    Element metaInfoElement = new Element(META_INFO_ELEMENT);
    List<String> sortedPropertyNames = new ArrayList<>(metaInfo.stringPropertyNames());
    sortedPropertyNames.sort(null);
    for (String propertyName : sortedPropertyNames) {
      String value = metaInfo.getProperty(propertyName);
      Element propertyInfo = new Element(PROPERTY_ELEMENT);
      propertyInfo.setAttribute(PROPERTY_NAME_ATTR, propertyName);
      propertyInfo.setText(value);
      metaInfoElement.addContent(propertyInfo);
    }
    return metaInfoElement;
  }
private @NotNull Element metaInfoToElement()