aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/SynchronizedName.java
blob: 91fd7ea74d4e39e55e1b00fbe361178cf207a273 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
class SynchronizedName {
	private Object read = new Object();
	private static Object READ = new Object();
	
	void test1() {
		synchronized (this.read) {
			System.out.println("one");
		}
	}
	void test4() {
		synchronized (this.READ) {
			System.out.println("four");
		}
	}
	void test5() {
		synchronized (this.read) {
			System.out.println("five");
		}
	}
}