A way to find all the ancestors(base classes) of some derived class?

In reply to Michael54:

There is nothing built into the UVM that does this, although there might be some function to aide in the development of your own functions that could do this.

But before anyone spends a lot of time trying to come up with a solution for you, it might help to explain what you intend to do with this information so we don’t end up with an XY problem.