docs: public void setName(String name) {
          name = name == null ? null : name.trim();
          if (name == null || "".equals(name))
              throw new IllegalArgumentException("invalid label name");
          this.name = name;
      }