checkCast
open fun checkCast(caller: MethodHandles.Lookup, invokedName: String, type: MethodType, owner: String): CallSite
Bootstrap checkcast. The identity handle takes exactly that class, so asType from the call site's Object inserts checkcast's own check: null passes, anything else that is not an instance throws ClassCastException.