aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before/SynchronizedName.java
blob: 7553a8ce9e026a7de5949dcb4e0ad5488555ce54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
class SynchronizedName {
	private Object read = new Object();
	private static Object READ = new Object();
	
	@lombok.Synchronized("read") void test1() {
		System.out.println("one");
	}
	@lombok.Synchronized("READ") void test4() {
		System.out.println("four");
	}	
	@lombok.Synchronized(value="read") void test5() {
		System.out.println("five");
	}
}