Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[pdt-dev] Usage of SearchEngine.createSuperHierarchyScope()

Hi all,

i'm trying to search for all classes being or extending a specific class inside a user defined library.

Right now, this approach doesn't return any results:

IDLTKSearchScope projectScope = PHPModelUtils.createProjectSearchScope(scriptProject);
     IType[] types = PHPModelUtils.getTypes("baseClass", projectScope);

IDLTKSearchScope taskScope = SearchEngine.createSuperHierarchyScope(type);
     IType[] classes = PHPModelUtils.getAllClasses(taskScope);



Is there any recommended way to search for a class hierarchy ?


thanks !

-robert


Back to the top