首页 > 系统服务 > 详细

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

时间:2015-07-14 17:30:14      阅读:278      评论:0      收藏:0      [点我收藏+]

介绍两个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中也已经集成有这个功能了。

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

原文:http://www.cnblogs.com/welhzh/p/4645601.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!