Home | Eclipse plugins -> Data Hierarchy
+Andrey | About

Eclipse ready

Data Hierarchy plugin for Eclipse

The question I very often have is: which objects (recursively) are loaded in memory if a particular object is created?

If you know the Call Hierarchy plugin, you will find the Data Hierarchy very similar. It searches selected Java classes for declared fields, and starting with the found "Data" it recursively looks for fields which are declared on found classes ("Hierarchy"). At the end you can see kind of "Data Hierarchy" tree.

Please note, that the plugin can not detect reflection based data, data inside non-generic collections, data which is stored as "Object" etc.

This is a very rough estimation of the real data hierarchy, but works perfectly for a quick walk over the data structures/dependencies for code reviews. Note: for a full and precise analysis you have to use profiler!

Additionally plugin allows to restrict the search for static fields only.

This programm is free, see copyright.

Installation

Note: Data Hierarchy plugin requires JDK 1.5 or newer to run!

Please use Eclipse update manager to install this plugin.

Eclipse 3.4:

Go to "Help -> Software Updates -> Find and Install... -> Search for new features to install -> Next -> New Remote Site..."

Eclipse 3.5:

Go to "Help -> Install new Software... -> Work with:"

and use the http://andrei.gmxhome.de/eclipse/ as url.

Manual download

Here

Browse source code

Usage

    1. Select a class or package in the Package Explorer, right click and choose " Open Data Hierarchy" action.

    2. Select a class or package in the Package Explorer, press <ctrl> + 3, then type "Open Data Hierarchy", then <enter>

    3. Go to Window->Preferences->General->Keys. Change "Filters" to show unbound commands. Type <Open Data Hierarchy> in the filter. Bind the command to preferred key sequence. Now you can select a class or package in the Package Explorer and use your own shortcut to open Data Hierarchy view.

    At the end, you should see something like this:
AnyEdit import/export working sets wizards

 

Feedback

Please send comments to loskutov

Open issues / Report new issues

Vote for Data Hierarchy at Eclipse Marketplace
or add Data Hierarchy to your stack at Ohloh
Support development of the plugin:

History

New in version 1.0.0 (Eclipse 3.5 - 3.6) [30.05.2010]

  • Minor fixes. Updated EPL notice and support links.

New in version 0.0.3 (Eclipse 3.4) [28.06.2009]

  • Fixed issue #1: "Data from base classes could be included in hierarchy"

  • Added type/field caching for faster searches on recurrent data

  • Search uses now all available processors

  • Added "Search Again" (F5) action, which uses current selection

  • Added "Focus on 'Selection'" action , which uses current selection

  • Added workaround for JDT bug 237200

  • Different bug fixes

New in version 0.0.2 (Eclipse 3.4) [05.05.2009]

  • First public version

Some project statistics by Ohloh

Last changed at: 29.05.10 21:26