I often meet following problem:
I have following code:
void rootMethod(){
C c = method1(a,b);
method2(c);
}
C looks like this:
class C{
Type1 param1;
Type2 param2;
}
I want to find all places where inside method2
and all methods are invoked in this method(recursively in deep) uses c.param1
field.
UPDATE