| Annotation Type | Description |
|---|---|
| AnyThread |
Indicates that the target method may be called on any thread, including the UI thread (by the
platform or other IDE components), so should not call any
Slow methods. |
| GuardedBy |
Indicates that the target field or method should only be accessed
with the specified lock being held.
|
| Immutable |
Indicates that the target class to which this annotation is applied
is immutable.
|
| Slow |
Indicates that the target method is potentially blocking as it might make I/O calls or block on
locks.
|
| UiThread |
Indicates that the target method should only be called on the UI thread.
|