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

1 comment
Comment actions Permalink

try this:

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

0

Please sign in to leave a comment.