docs: protected void setAttachmentsInternal(Map<String, ? extends Attachment> attachments) {
          if (attachments != null) {
              // this awkward looking way of doing things is to avoid marking the map as being
              // modified
              HashMap<String, Attachment> m = new HashMap<String, Attachment>();
              for (Map.Entry<String, ? extends Attachment> att : attachments.entrySet()) {
                  m.put(att.getKey(), att.getValue());
              }
              this.attachments = SimpleChangeNotifyingMap.wrap(m);
          }
      }