enumerate derived class names of a given slice class

in Comments
Wondering if there is already an API to retrieve the list of type IDs of all derived SLICE classes for a given SLICE class?
For example, suppose one have a slice:
The list of "Food" "BakedFood" "Bread" can be returned by calling the API with type ID "food".
For example, suppose one have a slice:
class Food {};
class BakedFood extends Food {};
class Bread extends BakedFood{};
The list of "Food" "BakedFood" "Bread" can be returned by calling the API with type ID "food".
0
Comments