public static void writeExternal(final @Nullable Element element, final @Nullable PathMappingSettings mappings) {
    if (element == null || mappings == null || mappings.isEmpty()) {
      return;
    }
    element.addContent(XmlSerializer.serialize(mappings));
  }
public static void writeExternal(final @Nullable Element element, final @Nullable PathMappingSettings mappings)