docs: public ScanSpec withNameMap(Map<String, String> nameMap) {
          if (nameMap == null)
              this.nameMap = null;
          else
              this.nameMap = Collections.unmodifiableMap(new LinkedHashMap<String, String>(nameMap));
          return this;
      }