| AnimRes |
Denotes that an integer parameter, field or method return value is expected
to be an anim resource reference (e.g.
|
| AnimatorRes |
Denotes that an integer parameter, field or method return value is expected
to be an animator resource reference (e.g.
|
| AnyRes |
Denotes that an integer parameter, field or method return value is expected
to be a resource reference of any type.
|
| ArrayRes |
Denotes that an integer parameter, field or method return value is expected
to be an array resource reference (e.g.
|
| AttrRes |
Denotes that an integer parameter, field or method return value is expected
to be an attribute reference (e.g.
|
| Bindable |
The Bindable annotation should be applied to any getter accessor method of an
Observable class.
|
| BinderThread |
Denotes that the annotated method should only be called on the binder thread.
|
| BindingAdapter |
BindingAdapter is applied to methods that are used to manipulate how values with expressions
are set to views.
|
| BindingConversion |
Annotate methods that are used to automatically convert from the expression type to the value
used in the setter.
|
| BindingMethod |
Used within an BindingMethods annotation to describe a renaming of an attribute to
the setter used to set that attribute.
|
| BindingMethods |
Used to enumerate attribute-to-setter renaming.
|
| BoolRes |
Denotes that an integer parameter, field or method return value is expected
to be a boolean resource reference.
|
| 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.
|
| ColorRes |
Denotes that an integer parameter, field or method return value is expected
to be a color resource reference (e.g.
|
| ContentRecommendation.ContentMaturity |
|
| ContentRecommendation.ContentPricing |
|
| ContentRecommendation.ContentStatus |
|
| ContentRecommendation.ContentType |
|
| ContentRecommendation.IntentType |
|
| CoordinatorLayout.DefaultBehavior |
Defines the default CoordinatorLayout.Behavior of a View class.
|
| Deprecated |
Annotation type used to mark program elements that should no longer be used
by programmers.
|
| DimenRes |
Denotes that an integer parameter, field or method return value is expected
to be a dimension resource reference (e.g.
|
| Documented |
Defines a meta-annotation for indicating that an annotation is documented and
considered part of the public API.
|
| DrawableRes |
Denotes that an integer parameter, field or method return value is expected
to be a drawable resource reference (e.g.
|
| FlakyTest |
This annotation can be used on an InstrumentationTestCase's
test methods.
|
| FloatRange |
Denotes that the annotated element should be a float or double in the given range
Example:
@FloatRange(from=0.0,to=1.0)
public float getAlpha() {
...
}
|
| FractionRes |
Denotes that an integer parameter, field or method return value is expected
to be a fraction resource reference.
|
| IdRes |
Denotes that an integer parameter, field or method return value is expected
to be an id resource reference (e.g.
|
| Inherited |
Defines a meta-annotation for indicating that an annotation is automatically
inherited.
|
| 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
Example:
@IntRange(from=0,to=255)
public int getAlpha() {
...
}
|
| IntegerRes |
Denotes that an integer parameter, field or method return value is expected
to be an integer resource reference (e.g.
|
| InterpolatorRes |
Denotes that an integer parameter, field or method return value is expected
to be an interpolator resource reference (e.g.
|
| JavascriptInterface |
Annotation that allows exposing methods to JavaScript.
|
| Keep |
Denotes that the annotated element should not be removed when
the code is minified at build time.
|
| LargeTest |
Marks a test that should run as part of the large tests.
|
| LayoutRes |
Denotes that an integer parameter, field or method return value is expected
to be a layout resource reference (e.g.
|
| MainThread |
Denotes that the annotated method should only be called on the main thread.
|
| MediumTest |
Marks a test that should run as part of the medium tests.
|
| MenuRes |
Denotes that an integer parameter, field or method return value is expected
to be a menu resource reference.
|
| 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.
|
| Override |
Annotation type used to mark methods that override a method declaration in a
superclass.
|
| PermissionChecker.PermissionResult |
|
| PluralsRes |
Denotes that an integer parameter, field or method return value is expected
to be a plurals resource reference.
|
| RawRes |
Denotes that an integer parameter, field or method return value is expected
to be a raw resource reference.
|
| RemoteViews.RemoteView |
This annotation indicates that a subclass of View is alllowed to be used
with the RemoteViews mechanism.
|
| Retention |
Defines a meta-annotation for determining the scope of retention for an
annotation.
|
| SafeVarargs |
Claims to the compiler that the annotation target does nothing potentially unsafe
to its varargs argument.
|
| Size |
Denotes that the annotated element should have a given size or length.
|
| SmallTest |
Marks a test that should run as part of the small tests.
|
| Smoke |
Marks a test that should run as part of the smoke tests.
|
| StringDef |
Denotes that the annotated String element, represents a logical
type and that its value should be one of the explicitly named constants.
|
| StringRes |
Denotes that an integer parameter, field or method return value is expected
to be a String resource reference (e.g.
|
| StyleRes |
Denotes that an integer parameter, field or method return value is expected
to be a style resource reference (e.g.
|
| StyleableRes |
Denotes that an integer parameter, field or method return value is expected
to be a styleable resource reference (e.g.
|
| Suppress |
Use this annotation on test classes or test methods that should not be included in a test
suite.
|
| SuppressLint |
Indicates that Lint should ignore the specified warnings for the annotated element.
|
| SuppressWarnings |
Annotation type used to indicate that the compiler should not issue the
specified warnings for the marked program element.
|
| Target |
Defines a meta-annotation for determining what ElementTypes an
annotation can be applied to.
|
| TargetApi |
Indicates that Lint should treat this type as targeting a given API level, no matter what the
project target is.
|
| TestTarget |
This @interface was deprecated
in API level 14.
Obsolete.
|
| TestTargetClass |
This @interface was deprecated
in API level 14.
Obsolete.
|
| TransitionRes |
Denotes that an integer parameter, field or method return value is expected
to be a transition resource reference.
|
| UiThread |
Denotes that the annotated method or constructor should only be called on the UI thread.
|
| UiThreadTest |
This annotation can be used on an InstrumentationTestCase's test methods.
|
| ViewDebug.CapturedViewProperty |
This annotation can be used to mark fields and methods to be dumped when
the view is captured.
|
| ViewDebug.ExportedProperty |
This annotation can be used to mark fields and methods to be dumped by
the view server.
|
| ViewDebug.FlagToString |
Defines a mapping from a flag to a String.
|
| ViewDebug.IntToString |
Defines a mapping from an int value to a String.
|
| 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.
|
| XmlRes |
Denotes that an integer parameter, field or method return value is expected
to be an XML resource reference.
|