Community
Participate
Working Groups
I have a number of test and example projects open in my workspace. I then open Workbench.class (referenced from one of the projects Plug-in Dependencies lists). When I click on the private method org.eclipse.ui.internal.Workbench.initializeSourcePriorities() and do CTRL+ALT+H it shows up in the Call Hierarchy view, but expanding to see the callers reveals an empty list. PW
Not a new problem in M4, happens with M3 build as well.
Search also doesn't find the reference but the AST is correct (Mark/Find Occurrences works). I suspect this never worked (tried 3.2 and it's broken there too). It also doesn't work if I import the required projects as binary projects. However, importing them as source fixes the issue. Simple Test Case: 1. start new workspace 2. import 'org.eclipse.ui.workbench' as binary plug-in 3. open Workbench.initializeSourcePriorities() in the editor 4. search reference or open Call Hierarchy on it ==> no references The test case works if 'org.eclipse.ui.workbench' is imported as source (either from target or CVS).
This is similar to bug 151389 *** This bug has been marked as a duplicate of bug 151389 ***
Calls from anonymous functions are missing. There is a problem correlating the source to the appropriate model element of the anonymous class file, causing this problem. Need to fix this correlation.