Community
Participate
Working Groups
3.1 In a workspace that e.g. contains jdt.ui in source (and the rest external, referenced through the PDE container) open org.eclipse.jface.action / Action.class Select the field 'text' and search for references Over 170 references are found, most of them impossible: some are parameters or local variables of other classes. Note that 'text' is also a private method. It would be fine to only search in the current class.
I cannot reproduce this one. I've tried with 3.2 M3 and 3.1.1 in a brand new workspace with only o.e.jdt.ui project in it and only got 6 exact matches (those of 'text' getter and setter). I've performed searches on Workspace/Project/Hierarcht and always got same results as well. Have you changed anything to JavaSearch path in Plug-ins view?
I think when I filed the bug I succeeded to repoduce this with a fresh workspace, but now I tried with 20051115 and could not. But I still have the problem in the workspace I work with. So maybe the index I have in my workspace has some problems. It can't be very old as we update the binary plugins every week so the index of these files should rebuild. Let me know if it helps if I send you any files from my workspace. The workspace itself is very big. What for sure seems to me like a bug is that the full workspace is searched, but this is a private field.
Perhaps just give me the list of project you have in your wksp... Even if I can't reproduce it, I'll let this bug opened to try to optimize search in this case (not sure that search only in CU is the right solution as we can have reference to this field even outside but flagged as errors...)
Sounds similar to bug 119203... May you try with your workspace and reopen if not fixed? Thx *** This bug has been marked as a duplicate of 119203 ***