| Summary: | [search] Search of an overriden method string in an inner class doesn't return any references | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Jay Arthanareeswaran <jarthana> |
| Component: | Core | Assignee: | JDT Core Triaged <jdt-core-triaged> |
| Status: | CLOSED WONTFIX | QA Contact: | Satyam Kandula <satyam.kandula> |
| Severity: | normal | ||
| Priority: | P3 | CC: | amj87.iitr, stephan.herrmann |
| Version: | 3.8 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | stalebug | ||
This happens for inner classes only. It should have been there since long. This is atleast reproducible in 3.5. This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug. If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie. |
Use the following code: package p2; public class A { class B extends A { @Override long k(){ return 0; } } long k(){ return 0; } public long m(){ return new A().k(); } } 1. Open the Search -> Java dialog and enter p2.A.B.k() as the search string. 2. Select options "method" and "references" and click Search. The search returns zero results. However, selecting the method in the editor and doing a Ctrl+Shift+G shows the appropriate result.