Find static method invocations

Hi,

Please help me with next problem - I have a class X in a library, there are a lot of places throughout the code where X's static methods are invoked. I want to find all such palces, so I placed caret on that class name (there are no soreces available, it was decomplied by IntelliJ) and ran Alt+F7 with all except "Skip results tabe..." checkboxes selected. It found all the classes where X is used but with only one occurrence in each - the import line. Despite places of static method invocations are highlited in the found classes they are not shown in "Found usages" tree. Is there any way to get them there? Probably some structural search?

Best regards, Eugene.

Message was edited by: Yevgen Bushuyev

5 comments
Comment actions Permalink

The dialog which is shown when you invoke Alt-F7 on a class has a "Find usages of methods" checkbox. Checking it should make it do what you need.

0
Comment actions Permalink

Unfortunately it does not.

0
Comment actions Permalink

Still can't get it working. Should I file a bug? Is there any other settings to try?

Best regards, Eugene.

0
Comment actions Permalink

Ok, got it with SSR MyClass.$MethodCall$($Parameter$)

0
Comment actions Permalink

1) cursor on method
2) alt+f7
3) happyness

0

Please sign in to leave a comment.