SSR
Admittedly, I'm a newbie to the Structural Search & Replace feature in Irida,
but I'm having some problems. I'm searching for any static initializers
in my code.
The template
static {
$Statement$;
}
where $Statement$ is set to unlimited isn't finding anything. In fact, I
ended up opening a class that I knew had one, and searched for the exact
text (in SSR) and still didn't find it. Am I missing something completely
basic and fundamental here, or is something wrong. Thanks.
Tobin
Please sign in to leave a comment.
Hi,
SSR understands only fixed patterns: e.g. expr, statement, class,
javadoc, so search for static initializers should be with pattern like
class $SomeClass$ {
static { $Statement$; }
}
Tobin Juday wrote:
--
Maxim Mossienko
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
Ahhh, that's what I was missing. Thanks Maxim.
Tobin