I try to extract relevant information from a bundled object in Java. This object has a structure:
String name;
Array setOfOrders;
Each element in setOfOrders has
int orderID;
String orderName;
List<BuildingBlock> listOfBlocks;
each BuildingBlock has
String shortName;
String fullName;
String blockID;
Array<Element> elements;
I tried looking into the source code, but the branches seem endless. I tried using debugging mode in NetBeans, but every third variable (setOfOrders, listOfBlocks, elements) just keeps expanding. This feels like trying to find which folders take space on your disk. With Explorer it takes forever, while some disk analyzers show a clear map of space usage.
So, what is the best way to analyze a bundled variable? Should I just expand it fully and search recognizable data structure? Is there command (I cannot ask for a tool, but I can ask for an IDE command, right?) to represent the structure of a variable? Should I rely on getters and setters?