Highlight Usages in File - Exit points

When I invoke Highlight Usages in File (Control Shift F7) on an exit point in a method (return or throw), some other exit points are getting highlighted. However, I can not figure out how is the scope determined since not all exit points are highlighted in all situations.
Can somebody shed the light on the rules of highlighting in this situation?
Also how can I make sure that all exit points in a method are highlighted?

Artem

2 comments
Comment actions Permalink

If not all exit points are highlighted it is a bug. A testcase to reproduce would be great.

0
Comment actions Permalink

Test case is at the following location.

http://jetbrains.net/jira/browse/IDEA-7693

Artem

0

Please sign in to leave a comment.