Community
Participate
Working Groups
I20040921-2000-gtk I deprecated a protected method specifying an implementation class rather than an interface, and forwarded the old method to the new one. (from TemplateCompletionProcessor, note Region vs. IRegion): ========== snip ========== protected ICompletionProposal createProposal(Template t, TemplateContext c, Region r, int rel { return createProposal(t, c, (IRegion) r, rel); } protected ICompletionProposal createProposal(Template t, TemplateContext c, IRegion r, int rel) { return new TemplateProposal(t, c, r, null, rel); } =========================== Search and the the Call Hierarchy find that the forwarding call in the first method is a reference to the first *and* to the second method. It should just find the second one.
Fixed. Search does not find any match for first (Region) method reference. [jdt-core-internal] See patch file put in bug 70827 for changes. Test case added in JavaSearchTests
Verified for 3.1M3 with build I20041102