import android.support.annotation.Nullable;
import android.support.annotation.MainThread;

package test {
  public class TestClass {
    method public void @Nullable @MainThread testMethod(@Nullable not_allowed.TestReturnType);
  }
}

