private static @NotNull Query<PsiReference> uniqueResults(@NotNull Query<? extends PsiReference> composite) {
    return new UniqueResultsQuery<>(composite, ReferenceDescriptor.MAPPER);
  }
private static @NotNull Query<PsiReference> uniqueResults(@NotNull Query<? extends PsiReference> composite)