@Target(value=METHOD) @Retention(value=SOURCE) public @interface Synchronized
For non-static methods, a field named $lock
is used, and for static methods,
$LOCK
is used. These will be generated if needed and if they aren't already present. The contents
of the fields will be serializable.
Complete documentation is found at the project lombok features page for @Synchronized.
public abstract String value
Copyright © 2009-2015 The Project Lombok Authors, licensed under the MIT licence.