@Contract(value = "-> new", pure = true)
  @NotNull Query<? extends TextOccurrence> buildOccurrenceQuery();
@Contract(value = "-> new", pure = true)
  @NotNull Query<? extends TextOccurrence> buildOccurrenceQuery()