support .class guard (IDEA-169707)

This commit is contained in:
Anna.Kozlova
2017-03-21 17:21:27 +01:00
parent a862d1694f
commit 4184796590
3 changed files with 28 additions and 9 deletions
@@ -0,0 +1,10 @@
import javax.annotation.concurrent.GuardedBy;
class GuardedByDemo {
@GuardedBy("GuardedByDemo.class")
static final long foo = 23;
synchronized static void bar() {
long a = foo;
}
}