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

Bug 444068

Summary: [call hierarchy] open call hierarchy shows calls inside a method
Product: [Eclipse Project] JDT Reporter: woodii - <holz14>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: CLOSED INVALID QA Contact:
Severity: normal    
Priority: P3 CC: daniel_megert, noopur_gupta
Version: 4.4   
Target Milestone: ---   
Hardware: PC   
OS: Windows 8   
Whiteboard:
Attachments:
Description Flags
output of "open call hierarchy" none

Description woodii - CLA 2014-09-15 05:08:25 EDT
Created attachment 247058 [details]
output of "open call hierarchy"

Hi,

when i press "open call hierarchy" on a method it displays the content inside the method and not the calling methods

e.g.

public EType getColType(int colIndex)
{
	if (colIndex > columnMetaData.size())
		return null;
	return columnMetaData.get(colIndex).getType();
}

i get the output displayed in the attached file
and not the places where this function is called
Comment 1 woodii - CLA 2014-09-16 03:18:00 EDT
works again after deleting my workspacesettings (:
Comment 2 Noopur Gupta CLA 2014-09-17 08:37:10 EDT
Attached screenshot shows "Calls from 'getColType(int)'".
You would have selected "Callee Hierarchy" (instead of "Caller Hierarchy") in the view menu of Call Hierarchy view.
Comment 3 woodii - CLA 2014-09-18 02:55:31 EDT
ohh thanks noopur.
I didn't mentioned that you can switch the view to callee hierarchy ;)

i was just suprised that the output wasn't the expected one.