docs: protected void setNodeAttributes(Object node, Map attributes) {
          // set the properties
          //noinspection unchecked
          for (Map.Entry entry : (Set<Map.Entry>) attributes.entrySet()) {
              String property = entry.getKey().toString();
              Object value = entry.getValue();
              InvokerHelper.setProperty(node, property, value);
          }
      }