@Documented
@Retention(value=RUNTIME)
@Target(value={METHOD,CONSTRUCTOR,TYPE,PARAMETER})
public @interface UiThread
Slow methods.
If the annotated element is a class, then all methods in the class should be called on the UI thread.
If the annotated element is a method parameter, e.g. a Runnable, it means the callback
will be invoked on the UI thread.
AnyThread