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.
|
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 © 2018. All rights reserved.