Description:
The synchronized modifier on methods can sometimes cause confusion during maintenance as well as during debugging. This rule therefore recommends using synchronized statements as replacements instead.
Example:
class UOSM {
public synchronized void method () {
// do something
}
}