docs: @SuppressWarnings("HiddenField")
    public BaseWindowedBolt withTimestampExtractor(TimestampExtractor timestampExtractor) {
      if (timestampExtractor == null) {
        throw new IllegalArgumentException("Timestamp extractor cannot be set to null");
      }
      if (this.timestampExtractor != null) {
        throw new IllegalArgumentException(
            "Window is already configured with a timestamp " + "extractor: " + timestampExtractor);
      }
      this.timestampExtractor = timestampExtractor;
      return this;
    }