以编程方式访问Eclipse的调用层次结构 [英] Accessing Eclipse's call hierarchy programmatically

查看:430
本文介绍了以编程方式访问Eclipse的调用层次结构的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要以编程方式生成一个调用图形作为Eclipse插件的一部分。我知道Eclipse具有可用的内置Open Call Hierarchy功能,但是我未能找到一种方法来访问它作为插件开发的一部分。有没有人知道如何使用Eclipse的调用层次结构或其他类似的工具?

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?

谢谢

推荐答案

您可以在同一个软件包中使用org.eclipse.jdt.internal.corext.callhierarchy.CallHierarchy和其他类型。

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

这篇关于以编程方式访问Eclipse的调用层次结构的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆