private static @NotNull Pair<String, String> indexKey(Element e) {
      return Pair.create(e.getName(), e.getAttributeValue("name"));
    }
private static @NotNull Pair<String, String> indexKey(Element e)