docs: public static List<ReferenceElement> getReferencesFromStanza(Stanza stanza) {
          List<ReferenceElement> references = new ArrayList<>();
          List<ExtensionElement> extensions = stanza.getExtensions(ReferenceElement.ELEMENT, ReferenceManager.NAMESPACE);
          for (ExtensionElement e : extensions) {
              references.add((ReferenceElement) e);
          }
          return references;
      }