mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-12 20:15:55 +00:00
Add tests for Locked annotations
This commit is contained in:
25 files changed
+634
No files matched your search
@@ -0,0 +1,11 @@
|
||||
class LockedName {
|
||||
@lombok.experimental.Locked("basicLock") void test() {
|
||||
System.out.println("one");
|
||||
}
|
||||
@lombok.experimental.Locked.Read("rwLock") void test2() {
|
||||
System.out.println("two");
|
||||
}
|
||||
@lombok.experimental.Locked.Write("rwLock") void test3() {
|
||||
System.out.println("three");
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user