| Summary: | cannot navigate to private methods in anonymous classes | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Nikolay Metchev <nikolaymetchev> |
| Component: | Core | Assignee: | Jerome Lanneluc <jerome_lanneluc> |
| Status: | RESOLVED WORKSFORME | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | markus.kell.r |
| Version: | 3.0 | ||
| Target Milestone: | 3.0 M5 | ||
| Hardware: | PC | ||
| OS: | Windows 2000 | ||
| Whiteboard: | |||
| Bug Depends on: | 19839 | ||
| Bug Blocks: | |||
SelectionEngine works good. But SelectionRequestor cannot return result because there is no java element for an anonymous type. does this work now ? works for me in M4 Verified this also works with latest. Closing. |
-------------------------------------------------------- public class Test2 { private final A field = new A() { public void methodA() { methodB(); <--- place cursor on this method } private void methodB() { } }; public interface A { public void methodA(); } } -------------------------------------------------------- if you place the cursor on the invocation of methodB() and press F3 you get "bing" and are not taken to the declaration of the method!