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