@Override
  public PsiElement @NotNull [] getChildren() {
    return myIndex == myPackages.length -1? myDirectory.getChildren() : new PsiElement[] {new PackagePrefixFileSystemItemImpl(myDirectory, myIndex + 1, myPackages)};
  }
@Override
  public PsiElement @NotNull [] getChildren()