The Developer Preview for Android 11 is now available; test it out and share your feedback.

android.support.test.annotation

Annotations

Beta Signifies that a public API (public class, method or field) is subject to incompatible changes, or even removal, in a future release. 
UiThreadTest Methods annotated with this annotation will be executed on the application's UI thread (or main thread).