code: public void addAttributes(final Map<String, Object> attributes) {
          if (attributes != null) {
              for (final Map.Entry<String, Object> entry : attributes.entrySet()) {
                  addAttribute(entry.getKey(), entry.getValue());
              }
          }
      }
docs: Add attributes.
  
  @param attributes use attributes