@SuppressWarnings("checkstyle:LineLength")
    public static <T_ROW> ColumnBuilder<T_ROW, T_ROW, Cell<T_ROW>> docRefColumnBuilder(
            final Function<T_ROW, DocRef> docRefExtractionFunction,
            final EventBus eventBus,
            final boolean allowLinkByName) {

        Objects.requireNonNull(docRefExtractionFunction);

        return new ColumnBuilder<T_ROW, T_ROW, Cell<T_ROW>>(
                Function.identity(),
                () -> new DocRefCell
                        .Builder<T_ROW>()
                        .eventBus(eventBus)
                        .docRefFunction(docRefExtractionFunction)
                        .allowLinkByName(allowLinkByName)
                        .build());
    }
A builder for creating a column for a {@link DocRef} with hover icons to copy the name of the doc
and to open the doc.

@param docRefExtractionFunction Function to extract a {@link DocRef} from the {@code T_ROW}.
@param <T_ROW>                  The row type
stroom-core-client/src/main/java/stroom/util/client/DataGridUtil.java