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.
Note: Data Hierarchy plugin requires JDK 1.5 or newer to run!
Please use Eclipse update
manager to install this plugin.
Go to "Help -> Software Updates -> Find
and Install... -> Search for new features to install -> Next -> New
Go to "Help -> Install new Software... -> Work with:"
and use the http://andrei.gmxhome.de/eclipse/ as
Browse source code
At the end, you should see something like this:
Select a class or package in the Package Explorer, right click and choose " Open Data Hierarchy" action.
Select a class or package in the Package Explorer, press <ctrl> + 3, then type "Open Data Hierarchy", then <enter>
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.
Please send comments to
Open issues / Report new issues
Note: see the newest updates on
Data Hierarchy Github project page.
New in version 1.0.2 (Eclipse 3.6 - 4.5) [01.05.2015]
New in version 1.0.1 (Eclipse 3.6 - 4.4) [24.06.2014]
New in version 1.0.0 (Eclipse 3.5 - 3.6) [30.05.2010]
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]
Some project statistics by OpenHub