With Eclipse, given the following classes:
class Dao {
public void one() {}
public void two() {}
public void three() {}
}
class ServiceA {
Dao dao;
public void a() {
dao.one();
dao.two();
}
public void b() {
dao.one();
}
}
class ServiceB {
Dao dao;
public void z() {
dao.two();
dao.three();
}
}
... is it possible to see a list of all Dao
methods referenced from ServiceA
? I'm looking for one view that will show that ServiceA
uses one()
and two()
(don't mind it if one()
is listed twice).
I know how to see callers of one specific method. I really need a list of all methods referenced within a class. Think of legacy code orders of magnitude larger: dao and services that have tens (hundreds?) of methods. I don't feel like going through call hierarchy method by method.