Project: JDT
Bug 89015 RefactoringSearchEngine2 should support granularity
Reported: 2005-03-24 13:17:48 | Status: resolved fixed

The old search engine only collected affected compilation units if only those where requested. The new one keeps every match in memory which for example is unnecessary for inline method. The new engine should support a granularity mode and you should check evey caller of getAffectedCompilationUnits to see which granularity mode is appropriate.

Files changed in fix:
org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/RefactoringSearchEngine2.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/TargetProvider.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveStaticMembersProcessor.java