structural search and replace question

i'm trying to use SSR to find all implementations of method isPermitted which use the class X. i can get the first part with:

class $Class$ {
$RetType$ isPermitted($ParameterType$ $Parameter$);
}

but i can't figure out how to narrow that down to usages of X. is this possible?

1 comment
Comment actions Permalink

Hi,

You can search in 'Previous Search Results' scope [having selected usage
view to contain results of isPermitted search] for
$A$ that have X as text or expr type constraint, depending on what you
are looking for: type or field/method usages

Ilya K wrote:

i'm trying to use SSR to find all implementations of method isPermitted which use the class X. i can get the first part with:

class $Class$ {
$RetType$ isPermitted($ParameterType$ $Parameter$);
}

but i can't figure out how to narrow that down to usages of X. is this possible?



--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0

Please sign in to leave a comment.