code: @SuppressWarnings("unchecked")
  	private void emitWindowContents(W window, ACC contents) throws Exception {
  		timestampedCollector.setAbsoluteTimestamp(window.maxTimestamp());
  		processContext.window = window;
  		userFunction.process(triggerContext.key, window, processContext, contents, timestampedCollector);
  	}
docs: Emits the contents of the given window using the {@link InternalWindowFunction}.