I would like to search for all inheritors of a given class in a given package.
I would like to use :
ClassInheritorsSearch.search(aClass, packageScope, true).findAll()
but I don't find the way to create a scope (class SearchScope, for the second parameter of the method search above) corresponding to the package containing the given class (from aClass of type PsiClass).
I am not interested in searching in the whole project, just in a given package of the project.
aClass.getUseScope() gives me a too large scope.