@Override
  public PsiElement @NotNull [] getChildren() {
    checkValid();

    VirtualFile[] files = myFile.getChildren();
    ArrayList<PsiElement> children = new ArrayList<>(files.length);
    processChildren(element -> {
      children.add(element);
      return true;
    });

    return PsiUtilCore.toPsiElementArray(children);
  }
@Override
  public PsiElement @NotNull [] getChildren()