@Documented
@Retention(value=CLASS)
@Target(value={METHOD,CONSTRUCTOR,TYPE,PARAMETER})
public @interface AnyThread
The main purpose of this method is to indicate that you believe a method can be called from any thread; static tools can then check that nothing you call from within this method or class have more strict threading requirements.
Example:
@AnyThread
public void deliverResult(D data) { ... }