Community
Participate
Working Groups
Build Identifier: Version: 3.8.0 Build id: I20120125-1800 Take, for instance, CallHierarchyContentProvider.getChildren(). It has some calls to fManager.getChilderen(). Eclipse does not navigate to the definition despite it can open the DeferredTreeContentManager, the class of fManager. Reproducible: Always
This does not happen in 3.7
(In reply to comment #0) > Take, for instance, CallHierarchyContentProvider.getChildren(). It has some > calls to fManager.getChilderen(). Eclipse does not navigate to the definition > despite it can open the DeferredTreeContentManager, the class of fManager. How are you trying to navigate - Open Declaration (F3) ? Or something else ? PS: F3 works for me.
I tried F2/F3, mouse hyperlinking - nothing works. It looks like it cannot resolve the method. But it does not report the error either. And, I think it is a bug, therefore. This situation is quite often. For instance, I just Opened CallHierarchyLabelProvider.getStyledText(Object element) and cannot jump to super.getStyledText(wrapper.getMember()), at line 106. Though, clicking 'super', editor opens the super-class. Similarly, I cannot navigate to wrapper.getMember(), though it jumps to the wrapper. To reproduce, open CallHierarchyLabelProvider in a new workspace. You will need org.eclipse.jdt.ui_3.8.0.v20120125-1408.jar with org.eclipse.jdt.ui.source_3.8.0.v20120125-1408.jar. It sufficient to add org.eclipse.jdt.core_3.8.1.v20120125-1544.jar into Build Path to resolve the problem. But in other cases, like with my plugin, this is not sufficient.
This happens if the code you're browsing is from an indirect dependency of a project. See bug 73957 comment 50 onwards for an analysis. *** This bug has been marked as a duplicate of bug 73957 ***