I am debugging a somewhat convoluted Java program with lots of large POJOS with complex dependencies between them. I find myself doing a lot of a.getB().getC().getD().getE().getF(). I need to find out how to get an object of type F given an object of type A without brute-forcing all possible combinations like these.
Perhaps this can be accomplished through autocomplete?
Alternatively, maybe I could somehow expand all variables in debugger and then search through them? (Tricky I understand because the variable graph can be arbitrarily complex, but perhaps I could only expand the first N layers?)
Or maybe there is an analysis tool for this purpose?