Eclipse plugin showing data hierarchy for Java classes
Java HTML
Switch branches/tags
Nothing to show
Clone or download
iloveeclipse Version 1.0.3 to fix icon issues with Eclipse 4.7
Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
Latest commit cbb2078 Feb 12, 2017

README.md

Data Hierarchy

Eclipse plugin showing data hierarchy for Java classes.

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

If you know 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.

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

This is of course a very rough estimation of the real data hierarchy, but works perfectly for a quick walk over data structures/dependencies during code reviews.

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

The project was originally hosted on code.google.com/p/datahierarchy