介绍两个Eclipse插件: Implementors & Call Hierarchy

本文介绍两个在Eclipse调试与跟踪过程中的两个实用插件
他们都可以在 http://eclipse-tools.sourceforge.net/ ?下载
该网址还包含了另外两个项目,以及一份Eclipse的 reference card.

------------------------------------------------------------------

一: Implementors

插件功能:在eclipse中查找并定位类时,可以选择直接定位到接口或者定位到接口的实现。
使用方法:选择类(接口)或者类(接口)的方法,单击右键,选择Open Interface,直接定位到接口;选择Open Implementation,直接定位到实现类,如果有多个实现类就会出现一个选择框,选择具体的某个实现类。

插件介绍:

The Implementors plugins add the possibility to jump to the implementation of of an interface. Alternatively, you can jump to the interface of an implementation.

The jumping to implementation/interface works for plain Java files. In addition, when associating EJB deployment descriptors with a project, the plugin is made aware of the connection between the EJB interfaces and the implementation class, something which is not specified in the implementation class itself.

 

 

该插件是一个非常实用的插件。下面给出一个介绍如何使用它的链接: http://dev2dev.bea.com.cn/bbsdoc/20060124188.html


ps. Eclipse右键菜单中有两个选项,Open Type Hierarchy / Quick Type Hierarchy,? 功能与这个插件类似, 看来这个功能已经被集成到Eclipse中了。

------------------------------------------------------------------


二: Call Hierarchy

Call Hierarchy插件: 显示一个方法的调用层次,可以从中看到它被哪些方法调用了,以及它调用了哪些方法,是代码追踪比较实用的工具。Eclipse 3.1中也已经集成有这个功能了。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值