Bug 85010 - [navigation] Mark occurrences of synchronized blocks
Summary: [navigation] Mark occurrences of synchronized blocks
Status: ASSIGNED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.1   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-11 11:00 EST by John Arthorne CLA
Modified: 2009-08-02 09:13 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Arthorne CLA 2005-02-11 11:00:57 EST
Build: I20050209

Mark Occurrences is a great tool for getting a high level view of various
aspects of a compilation unit (field accesses, methods implementing interface,
etc).  One scenario where I frequently want such a high level view is when
reviewing thread safety of a class.  I would like to be able to select an
occurrence of the "synchronized" keyword, and see all occurrences of the keyword
in that file.  Ideally, I would like to be able to see only the synchronizations
on the same object, although this is not always possible (when synchronizing on
the return value of a method call, for example). However, the most common cases
are synchronization on "this", and synchronization on fields in the current
class, both of which should be straight-forward to detect.