Annotation Type | Description |
---|---|
GuardedBy |
The field or method that this annotation is attached to can only be accessed when holding a
particular lock.
|
Immutable |
The class this method is attached to is immutable.
|
NotThreadSafe |
The class this annotation is attached to should be not be assumed to be thread-safe.
|
ObtainsLockDirectly |
The method that this annotation is attached to will directly synchronized on some lock
during its course of execution.
|
ObtainsLockIndirectly |
The method that this annotation is attached to will indirectly synchronized on some
lock (i.e.
|
ThreadSafe |
The class this annotation is attached may be assumed thread-safe.
|
ToDelete |
Marker interface for classes that are slated for deletion
|