I'm using Android Annotations library and there is @UIThread annotation, which takes an optional argument propagation. I always use this annotation with REUSE value of this parameter:
@UiThread(propagation = UiThread.Propagation.REUSE)
void doSomething() {
}
So can I make somehow my own annoation @UIThreadReuse which would extend the @UIThread annotation and pass REUSE as a parameter? So I could just write like this:
@UiThreadReuse
void doSomething() {
}