docs: public PatternDescrBuilder<CollectDescrBuilder<P>> pattern( String type ) {
          PatternDescrBuilder<CollectDescrBuilder<P>> pattern = new PatternDescrBuilderImpl<CollectDescrBuilder<P>>( this,
                                                                                                                     type );
          descr.setInputPattern( pattern.getDescr() );
          return pattern;
      }