@Contract(value = "_ -> new", pure = true)
  <T> @NotNull Query<? extends T> buildQuery(@NotNull LeafOccurrenceMapper<T> mapper);
@Contract(value = "_ -> new", pure = true)
  <T> @NotNull Query<? extends T> buildQuery(@NotNull LeafOccurrenceMapper<T> mapper)