@NotNull
  public static <T extends PsiElement> PsiQuery<T> createFromQueries(@NotNull final List<? extends PsiQuery<? extends T>> queriesWithElements) {
    final Set<T> result = new LinkedHashSet<>();
    queriesWithElements.forEach(o -> result.addAll(o.getElements()));
    return new PsiQuery<>(new ArrayList<>(result));
  }
@NotNull
  public static <T extends PsiElement> PsiQuery<T> createFromQueries(@NotNull final List<? extends PsiQuery<? extends T>> queriesWithElements)