My favorite funny function in the Android source is android.os.Handler.runWithScissors() [1] - but (unfortunately) it is not part of the public API.
[1] https://android.googlesource.com/platform/frameworks/base/+/...
I was looking for this in TFA. Sad it wasn't included, as it's one of my favorites.
> @hide This method is prone to abuse and should probably not be in the API. If we ever do make it part of the API, we might want to rename it to something less funny like runUnsafe().
:D