Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 1.28 KB

README.md

File metadata and controls

23 lines (14 loc) · 1.28 KB

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