@SafeVarargs
  @Contract(pure = true)
  public static @NotNull <T extends PsiElement> Collection<T> collectElementsOfType(@Nullable PsiElement element,
                                                                                    @NotNull Class<T> @NotNull ... classes) {
    return findChildrenOfAnyType(element, false, classes);
  }
@SafeVarargs
  @Contract(pure = true)
  public static @NotNull <T extends PsiElement> Collection<T> collectElementsOfType(@Nullable PsiElement element,
                                                                                    @NotNull Class<T> @NotNull ... classes)