mirror of
https://github.com/tiennm99/lombok.git
synced 2026-05-28 00:26:04 +00:00
refactored the tests to prepare running ecj as well as delombok.
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
//ignore
|
||||
class SynchronizedName {
|
||||
private Object read = new Object();
|
||||
private static Object READ = new Object();
|
||||
|
||||
@lombok.Synchronized("read") void test1() {
|
||||
System.out.println("one");
|
||||
}
|
||||
@lombok.Synchronized("write") void test2() {
|
||||
System.out.println("two");
|
||||
}
|
||||
@lombok.Synchronized("read") static void test3() {
|
||||
System.out.println("three");
|
||||
}
|
||||
@lombok.Synchronized("READ") void test4() {
|
||||
System.out.println("four");
|
||||
}
|
||||
@lombok.Synchronized(value="read") void test5() {
|
||||
System.out.println("five");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user