hcengineering/platform-0.2

extendsOfClass returns class extends and the class itself

BykhovDenis opened this issue · 1 comments

extendsOfClass returns class extends and the class itself. I think it must return only extends, or maybe it must has additional parameter as flag.

It is by construction since it builds a map by traversing getClassHierarchy() results and it return class and it's parent classes.

Also I've used it like all classes what implements _class. So itself is also used.

We could have a separate public methods in case it will be required.