@Contract(pure = true)
  public static int getDepth(@NotNull PsiElement element, @Nullable PsiElement topLevel) {
    int depth = 0;
    PsiElement parent = element;
    while (parent != topLevel && parent != null) {
      depth++;
      parent = parent.getParent();
    }
    return depth;
  }
@Contract(pure = true)
  public static int getDepth(@NotNull PsiElement element, @Nullable PsiElement topLevel)