| AnyThread |
Denotes that the annotated method can be called from any thread (e.g.
|
| CallSuper |
Denotes that any overriding methods should invoke this method as well.
|
| CheckResult |
Denotes that the annotated method returns a result that it typically is
an error to ignore.
|
| ColorInt |
Denotes that the annotated element represents a packed color
int, AARRGGBB.
|
| FloatRange |
Denotes that the annotated element should be a float or double in the given range
|
| GLThread |
Denotes that the annotated method should only be called on the GL thread.
|
| GuardedBy |
Denotes that the annotated method or field can only be accessed when holding the referenced lock.
|
| IntDef |
Denotes that the annotated element of integer type, represents
a logical type and that its value should be one of the explicitly
named constants.
|
| IntRange |
Denotes that the annotated element should be an int or long in the given range
|
| Lifecycle |
Denotes the method MUST be called at certain lifecyle of Activity or Fragment.
|
| MainThread |
Denotes that the annotated method should only be called on the main thread.
|
| NonNull |
Denotes that a parameter, field or method return value can never be null.
|
| Nullable |
Denotes that a parameter, field or method return value can be null.
|
| RequiresApi |
Denotes that the annotated element should only be called on the given API level
or higher.
|
| RequiresPermission |
Denotes that the annotated element requires (or may require) one or more permissions.
|
| RequiresPermission.Read |
Specifies that the given permission is required for read operations.
|
| RequiresPermission.Write |
Specifies that the given permission is required for write operations.
|
| VisibleForTesting |
Denotes that the class, method or field has its visibility relaxed, so that it is more widely
visible than otherwise necessary to make code testable.
|
| WorkerThread |
Denotes that the annotated method should only be called on a worker thread.
|