code: public static OriginIdElement getOriginId(Message message) {
          return message.getExtension(OriginIdElement.ELEMENT, StableUniqueStanzaIdManager.NAMESPACE);
      }
docs: Return the origin-id element of a message or null, if absent.
  
  @param message message
  @return origin-id element