Community
Participate
Working Groups
The method org.eclipse.jdt.core.search.SearchEngine.createHierarchyScope(IJavaProject, IType, boolean, boolean, WorkingCopyOwner) has been deprecated, but is still used in org.eclipse.pde.internal.ui.util.PDEJavaHelperUI
Created attachment 160418 [details] proposed patch This patch migrates to the new method createStrictHierarchyScope. Note, that the boolean arguments have different semantics (hence the renaming): Old flag noMemberTypes is now implicitly true (-> "strict") New flag includeFocusType: I'm explicitly passing false here, because that's how I'm reading the documentation: the specified class itself is not a valid value for a basedOn attribute. I didn't test the patch because I didn't succeed in building pde.ui in HEAD without pulling all of p2 into my workspace. (And sorry, while not working on p2 sources I don't feel like cluttering my workspace with gazillions of p2 projects). OTOH, the patch is pretty low risk. For your reference: the change in jdt.core is discussed in bug 295894.
Thanks for the fix.
Created attachment 160809 [details] mylyn/context/zip
> 20100303