Find usages - scope: return values
Hi,
Is there a way to get a list of methods in my project that returns a specific class or interface? Something similar to this: http://ashkelon.sourceforge.net/screenshots/hbm-session-crossref.png (Ashkelon).
-Tomas
请先登录再写评论。
Hello Tomas,
T> Is there a way to get a list of methods in my project that returns a
T> specific class or interface? Something similar to this:
T> http://ashkelon.sourceforge.net/screenshots/hbm-session-crossref.png
T> (Ashkelon).
Yes, you can use Structural Search for this.
--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
Thanks! I copied an existing template, "methods of the class", and edited the $ReturnType$ variable.
It works fine, although it's a little clumsy to use. When I want to repeat the search for another class, I have to (1) press ctrlshifts to open the structural search dialog, (2) select "copy existing template", (3) browse to my previously saved template, and (4) edit the $ReturnType$ variable to match the class I'd like to find.
I'd wish this was just as simple as Find Usage (alt+f7)