Project: JDT
Bug 78387 [search] Missing API to specify scope in search engine
Reported: 2004-11-11 09:40:17 | Status: resolved wontfix

Currently, there is no way to pass a search scope to the following methods in SearchEngine: - searchDeclarationsOfAccessedFields - searchDeclarationsOfReferencedTypes - searchDeclarationsOfSentMessages In order to handle visibility issues during refactoring, we must search for all referenced members, but are not interested in occurrences in system libraries. We must be able to either provide an include mask or the search scope itself.

Files changed in fix:
org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MemberVisibilityAdjustor.java