@Target(value={FIELD,METHOD}) @Retention(value=SOURCE) public @interface GuardedBy
An annotation that describes the monitor protecting the annotated field or method. For example, @GuardedBy("this")
specifies that the lock is the object in whose class the field or method is defined, while @GuardedBy("lock")
specifies that the method or field is guarded by a lock held in the "lock" field.
ThreadSafe,
NotThreadSafe,
Immutablepublic abstract String value
Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.