Accessing Eclipse's call hierarchy programmati

2019-05-22 06:56发布

问题:

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

回答1:

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