I have known recently there is a possibility in Java to make synchronized blocks nested, e.g.
class Example { private Object a = new Obje