> There’s an alternative way to implement this: > > Casts to inline classes C can be translated to > #ldc C > #checkcast C And, the ldc can be hoisted statically if desired, to the top of the method, or even into a static initializer.