Annotation Type | Description |
---|---|
GuardedBy |
The field (or other variable) to which this annotation is applied can
only be accessed when holding a particular lock, which may be a built-in
(synchronization) lock, or may be an explicit
Lock . |
GuardedByBottom |
The bottom of the guarded-by qualifier hierarchy.
|
GuardedByTop |
The top of the guarded-by qualifier hierarchy.
|
Holding |
Indicates that when the method is invoked, the given locks must be held
by the caller.
|