public @NotNull List<VcsRef> getRefsAtRow(int row) {
    if (myVisiblePack.getRefs() instanceof RefsModel refsModel) {
      VirtualFile root = myVisiblePack.getRoot(row);
      int id = getId(row);
      if (root != null) {
        return refsModel.refsToCommit(root, id);
      }
      return refsModel.refsToCommit(id);
    }
    return Collections.emptyList();
  }
public @NotNull List<VcsRef> getRefsAtRow(int row)