I'm trying to find all calls to JButton.setToolTipText(), but I don't want to find calls to JComponent.setToolTipText() in general.
So, if I have
JComponent c = new JButton();
JLabel l = new JLabel();
JButton b = new JButton();
I'd like to find b.setToolTipText() only.
How can I do this with Structural Search? Any help is very much appreciated!