code: @SuppressWarnings("serial")
      public static <T> TypeToken<Stream<T>> streamOf(final TypeToken<T> type) {
          final TypeToken<Stream<T>> streamType = new TypeToken<Stream<T>>() {
              // no overriding needed.
          };
  
          final TypeParameter<T> elementType = new TypeParameter<T>() {
              // no overriding needed.
          };
  
          return streamType.where(elementType, type);
      }
docs: Creates specialized stream {@link TypeToken type token} for the given element {@link TypeToken type token}. Used
  to declare the expected stream response {@link TypeToken type token} in Riptide org.zalando.riptide.Route route} as follows:
  
  <pre>
  on(...).call(streamOf(resultTypeToken),...)
  </pre>
  
  @param <T> generic stream element type
  @param type element token type.
  @return stream token type.