Structural search question

I am trying to locate all classes in my project that extend from classes in one of my libraries.

For example, I would want to find the following:

class Foo extends atg.SomeClass {
}

class Bar extends atg.deeper.SomeOtherClass {
}

but not:

class FooBar extends meredith.MyProjectClass {
}

where the atg packages are in my library and the meredith classes are in my project.

Can I use structural search to do this?

Thanks!

Todd Breiholz
Meredith Corporation

1 comment
Comment actions Permalink

Hi,

It should (class $A$ extends $B$ {}, set text constraint as regular
expression for the classes you interested)

Todd Breiholz wrote:

I am trying to locate all classes in my project that extend from classes in one of my libraries.

For example, I would want to find the following:

class Foo extends atg.SomeClass {
}

class Bar extends atg.deeper.SomeOtherClass {
}

but not:

class FooBar extends meredith.MyProjectClass {
}

where the atg packages are in my library and the meredith classes are in my project.

Can I use structural search to do this?

Thanks!

Todd Breiholz
Meredith Corporation



--
Maxim Mossienko
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

0

Please sign in to leave a comment.