aboutsummaryrefslogtreecommitdiff
path: root/test/delombok/resource/before/SynchronizedPlain.java
blob: 6f5f3b647d49b24e3d76b482c135447a8370deb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import lombok.Synchronized;
class SynchronizedPlain1 {
	@lombok.Synchronized void test() {
		System.out.println("one");
	}
	@Synchronized void test2() {
		System.out.println("two");
	}
}
class SynchronizedPlain2 {
	@lombok.Synchronized static void test() {
		System.out.println("three");
	}
	@Synchronized static void test2() {
		System.out.println("four");
	}
}