Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 578239

Summary: Call hierarchy does not display its grandparent
Product: [Eclipse Project] JDT Reporter: Harry Nguyen <harrynguyen610>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: CLOSED INVALID QA Contact:
Severity: normal    
Priority: P3 CC: simeon.danailov.andreev
Version: 4.19   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
Example call hierarchy tree. none

Description Harry Nguyen CLA 2022-01-17 03:47:53 EST
This is not a bug. The call hierarchy of a method does display its parent. But not all of its trees. So I have to do it multiple times to get from Dao class to get to Controller. So I suggest finding more than just its immediate parent.
Comment 1 Simeon Andreev CLA 2023-03-14 04:12:21 EDT
Please give an example, the call hierarchy allows you to expand callers of a method to see what callers of callers are. And so on. Its a tree.

If you are expecting and missing grandparents, then there must be some bug and you'll need to provide a reproducer.
Comment 2 Simeon Andreev CLA 2023-03-14 04:17:36 EDT
Created attachment 288997 [details]
Example call hierarchy tree.
Comment 3 Simeon Andreev CLA 2023-03-15 16:58:09 EDT
Please explain what you mean, give an example and re-open.