Search code examples
eclipseeclipse-plugincall-hierarchy

Accessing Eclipse's call hierarchy programmatically


I need to programmatically generate a call graph as part of an Eclipse plugin. I know Eclipse has the built-in Open Call Hierarchy function available, but I haven't been able to find a way to access it as part of plugin development. Does anybody know how to do this using Eclipse's call hierarchy or with another similar tool?

Thanks


Solution

  • You may be able to use org.eclipse.jdt.internal.corext.callhierarchy.CallHierarchy and other types in the same package.