Structural Search on interfaces
How do I find all instances of 'new XYX' where XYX implements some interface 'ABC' ?
Ive been playing with SSR dialog options for about 30 mins, and my search just isnt finding anything.
I tried: new $interfaceType$
and set the variable 'interfaceType' to be com.test.ABC, and clicked the "apply to hierarchy" button, but Im not getting any matches. I know there should be some.
Please sign in to leave a comment.
it should be like following:
new $interfaceType$()
you might need to add (optional) parameters
new $interfaceType$($params$) where params has 0..unlimited bound
Nick Pratt wrote:
--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
Many thanks!
Maxim
Since this issue seems to have been caused by an invalid search syntax, is there any way that the bad search could have been highlighted?
Also, could you add this example to the supplied templates (along with any others that you have encountered) - having more examples for this feature surely can't hurt.
Thanks again