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