finding all derived class given parent class

Hi

I want to find all the derived classes from a package or source path. is there any API in openApi that can do this, any examples of useage...

thanks

0
1 comment
Avatar
Permanently deleted user

try this:

SearchScope scope = GlobalSearchScope.packageScope(yourPackage, true); ClassInheritorsSearch query = ClassInheritorsSearch.search(yourClass, scope); ]]>

0

Please sign in to leave a comment.