| Annotation Type | Description |
|---|---|
| GuardedBy |
Indicates that the annotated element should be used only while holding the specified lock.
|
| LazyInit |
Use this annotation on any static or field that will be initialized lazily, where races yield no
semantic difference in the code (as, for example, is the case with
String.hashCode()). |
| LockMethod |
The method to which this annotation is applied acquires one or more locks.
|
| UnlockMethod |
The method to which this annotation is applied releases one or more locks.
|
Copyright © 2021. All rights reserved.