Figure 2: Use the Surround With lookup list to enclose the bodies of the generated methods with synchronized{} blocks.
Back to Article