@Retention(value=SOURCE) @Target(value={METHOD,CONSTRUCTOR,TYPE}) public @interface WorkerThread
Example:
@WorkerThread protected abstract FilterResults performFiltering(CharSequence constraint);