docs: public void setAttribute(String key, Object value) {
  
          if (m_attributes == null) {
              m_attributes = new HashMap<String, Object>(4);
          }
          m_attributes.put(key, value);
      }