@Override
      public PsiDirectory @NotNull [] getDirectories() {
        PsiDirectory psiDirectory = getOrChooseDirectory();
        return psiDirectory == null ? PsiDirectory.EMPTY_ARRAY : new PsiDirectory[]{psiDirectory};
      }
@Override
      public PsiDirectory @NotNull [] getDirectories()