code: public void setLabelNames(List<String> labels) {
          if (labels == null) {
              this.labels = null;
              return;
          }
          this.labels = new ArrayList<>(labels);
      }
docs: Set the label names, for printing via {@link #stats()}