Community
Participate
Working Groups
Using the search engine to find all types (in a scope) has the advantage to avoid the creation of IType and ICompilation elements. The search result tells about if a type is a class or interface. I have now two cases were I would need add a type visibility filter (public /protected /private) 1. Operanize Import should only import visible types 2. in the JavaDoc frontend I use the serach engine to find all types, but have to filter out private, private/package ect...
Which API are you talking about ? IJavaSearchResultCollector is passed Java elements, thus containing modifiers.
it's the ITypeNameRequestor.
I see. Unfortunately, this is 1.0 API, and we cannot change them. We would have to deprecate, add new ones just for your convenience. This isn't going to happen, sorry.
You can add new flags to the search engine, to specify which types are reported. As it is currently possible to specify to see only classes or interfaces. ok to reopen?