问题
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.
来源:https://stackoverflow.com/questions/9986870/accessing-eclipses-call-hierarchy-programmatically