@NotNull
  @Override
  public List<OrderEntry> getOrderEntries(@NotNull VirtualFile fileOrDir) {
    checkAvailability();
    if (myProject.isDefault()) return Collections.emptyList();
    WorkspaceFileInternalInfo fileInfo = myWorkspaceFileIndex.getFileInfo(fileOrDir, true, true, true, true, false);
    WorkspaceFileSetWithCustomData<?> fileSet = fileInfo.findFileSet(data -> true);
    if (fileSet == null) return Collections.emptyList();
    return getRootIndex().getOrderEntries(fileSet.getRoot());
  }
@NotNull
  @Override
  public List<OrderEntry> getOrderEntries(@NotNull VirtualFile fileOrDir)