A propose to introduce a new method, ElementUtilities.findSubTypes what would compute all known subtypes of given types, in all known source roots (that depend on the current source root).
Created attachment 97350 [details]
Created attachment 97352 [details]
Correct API diff.
Please review. Thanks.
Created attachment 111182 [details]
Comment on attachment 111182 [details]
I have added this attachment by mistake.