Eclipse IDE - Open Call Hierarchy is empty/broken

前端 未结 12 1174
难免孤独
难免孤独 2020-12-17 08:06

What should I do, if the \"Open Call Hierarchy\" is broken (empty for every method in a project)? It only shows the name of the method I wanted to see the call hierarchy fo

相关标签:
12条回答
  • 2020-12-17 08:14

    In my case it seemed my workspace was contaminated.

    Opening/closing projects and starting with clean did not fix. I had to start off a new workspace.

    Fedora 20, Eclipse Kepler.

    0 讨论(0)
  • 2020-12-17 08:16

    Also, you can try to delete the workspace and get it recreated. Make sure all your projects are backed up.

    0 讨论(0)
  • 2020-12-17 08:19

    In my case I was trying to get the call hierarchy of a method in the derived class of an abstract class. The requested method was declared abstract in the base class. When I opened the call hierarchy directly on the abstract method instead of the implemented one, everything worked well. (Eclipse Neon).

    0 讨论(0)
  • 2020-12-17 08:26

    When you go to the eclipse bug report for this issue, somebody says, you should install over the Market place the Java 12 support.
    When I installed it, it was working properly again

    0 讨论(0)
  • 2020-12-17 08:26

    If the call Hierarchy is not opening, it might be because of the project is not imported as a java project, rather it would be displayed in the file stucture. You may want to enable the project facet through:

    right click on the project -> project facet.  
    

    If you dont see anything listed, you need

    configure the project facet -> Apply -> ok. 
    
    0 讨论(0)
  • 2020-12-17 08:27

    I also tried the suggestions above, as well as the hint given here: http://mschrag.blogspot.co.at/2009/01/open-type-cant-find-your-class.html

    Nothing worked until today when I found out that I am a donkey... I once configured a filter in the "Call Hierarchy" view and so no entries were shown because filtered out. Once I removed / disabled the filter everything worked fine again.

    0 讨论(0)
提交回复
热议问题