docs: public void set(Element element) {
          if (element == null) {
              throw new NullPointerException("element == null");
          }
  
          CstString pairName = new CstString(element.getName());
          Constant pairValue = Element.toConstant(element.getValue());
          NameValuePair nameValuePair = new NameValuePair(pairName, pairValue);
          elements.put(element.getName(), nameValuePair);
      }