@Override
    public @Nullable PsiElement parent(@NotNull PsiElement node) {
      return node instanceof PsiFile ? null : node.getParent();
    }
@Override
    public @Nullable PsiElement parent(@NotNull PsiElement node)