zoukankan      html  css  js  c++  java
  • 介绍两个Eclipse插件: Implementors & Call Hierarchy

    介绍两个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中也已经集成有这个功能了。
  • 相关阅读:
    UVA 11235 (游程编码+ST算法)
    CodeForces 359D (数论+二分+ST算法)
    线性动态规划
    AC自动机
    KMP
    字典树
    Treap和名次树
    线段树
    最小生成树
    【VS】使用vs2017自带的诊断工具(Diagnostic Tools)诊断程序的内存问题
  • 原文地址:https://www.cnblogs.com/welhzh/p/4645601.html
Copyright © 2011-2022 走看看