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.
Support development of the plugin!
My other plugins on EPIC:
Categories: Source Code Analyzer, Tools
Tags: visualization, code review, java, data hierarchy, code analysis
Additional Details
Eclipse Versions: 2024-09 (4.33), 2024-06 (4.32), 2024-03 (4.31), 2023-12 (4.30), 2023-09 (4.29), 2023-06 (4.28), 2023-03 (4.27), 2022-12 (4.26), 2022-09 (4.25), 2022-06 (4.24), 2022-03 (4.23), 2021-12 (4.22), 2021-09 (4.21), 2021-06 (4.20), 2021-03 (4.19), 2020-12 (4.18), 2020-09 (4.17), 2020-06 (4.16), 2020-03 (4.15)
Platform Support: Windows, Mac, Linux/GTK
Organization Name: Andrey Loskutov
Development Status: Production/Stable
Date Created: Thursday, May 7, 2009 - 10:06
License: EPL
Date Updated: Wednesday, July 17, 2024 - 02:35
Submitted by: Andrey Loskutov
Date | Ranking | Installs | Clickthroughs |
---|---|---|---|
September 2024 | 312/609 | 17 | 4 |
August 2024 | 395/641 | 13 | 15 |
July 2024 | 467/663 | 8 | 11 |
June 2024 | 414/681 | 14 | 10 |
May 2024 | 527/682 | 6 | 10 |
April 2024 | 541/687 | 5 | 10 |
March 2024 | 474/694 | 10 | 2 |
February 2024 | 441/687 | 13 | 9 |
January 2024 | 0/0 | 0 | 11 |
December 2023 | 477/671 | 8 | 10 |
November 2023 | 489/686 | 9 | 11 |
October 2023 | 517/673 | 8 | 10 |