I'm trying to find a case in a codebase where the implementation of an interface method invokes another method.
So I have an interface, "WizardSectionSwitchHandler" with a method "onWizardSectionSwitch( Integer section )". I want to find an implementation of that that invokes another method, "setEnabled" on an object that implements "HasEnabled", although that method will likely include other code. Is that something I can search for using Structural Search?
It's easy for me to find calls of "setEnabled" and methods that implement the interface method "onWizardSectionSwitch", but combining the two is hard, and I still struggle to make Structural Search do what I want. I often feel like Structural Search could help me find things, and yet when I try, I usually fail. ;)