Community
Participate
Working Groups
public interface Chart { ... final class Util { ... public static void stringify(Map items) {...} ... } ... } public Class SomeOtherClass { ... public void createChart(...,Map items,...) { Chart.Util.stringify(items); ... } ... } When searching for references of stringify nothing is found. First noticed in M4.
I tried to reproduce, but it worked fine. Can you reproduce this in a new workspace? Or does it only happen in your old one?
I tried in the same workspace, but with new project. I copied just the interface and the referring class into the new project. The problem is not reproducible in the new project (that is the search finds the reference). However in the original project, the reference is still not being found. Perhaps a rebuild of the project would cure things. I have not done that yet in case you want to investigate this further...
How old is your workspace? I suspect your index files have become stale for some reason. We can try reindexing everything to see if the problem goes away.
The workspace itself is quite old (reaching back to 2.0). The project that contains the classes in questionhowever is pretty new (at most a few weeks). How would one go about this reindexing?
To force reindexing, go into the directory .metadata\.plugins\org.eclipse.jdt.core of your workspace and delete the .index files. When you restart your workspace, each index will be recreated.
I was having too many problems with M4, so I have moved back to M3. The search problem cannot be reproduced in M3. Let me know If you want me to try the reindexing in M4. Now that M4 is supported by the Sysdeo Tomcat plugin, I am going to try M4 again.
I think this is a case of your index files becoming out of date. If it reoccurs, please reopen the PR.