mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
support .class guard (IDEA-169707)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user