Is there a trick in structural search and replace to make assertions about inheritence relationships? For example, can I find all classes that implement a particular interface? I don't mean directly via "implements" but via inheritence from a parent that implements the interface or via a superinterface of an implemented interface, etc.? Are those kinds of things possible?
It seems like this would take the form of ANDing and ORing conditions together... or something like that. But I don't see anything like that.