@NotNull
  public <R extends PsiElement> PsiQuery<R> ancestors(@NotNull final Class<R> type) {
    return ancestors(new PsiFilter<>(type));
  }
@NotNull
  public <R extends PsiElement> PsiQuery<R> ancestors(@NotNull final Class<R> type)