import Ġkotlin . reflect . K Class Ċ import Ġkotlin . test .* Ċ class ĠM Ċ fun Ġcheck ( x : ĠK Class < *> ): ĠUnit Ġ{ Ċ assertEquals ( x , Ġx . java . kotlin ) Ċ assertEquals ( x . hashCode (), Ġx . java . kotlin . hashCode ()) Ċ assertEquals ( x . java . toString () Ġ+ Ġ" Ġ( Kotlin Ġreflection Ġis Ġnot Ġavailable )", Ġx . toString ()) Ċ } Ċ fun Ġbox (): ĠString Ġ{ Ċ check (( M )? :: class ) Ċ check ( String :: class ) Ċ check ( Error :: class ) Ċ check ( Int :: class ) Ċ check ( java . lang . Integer :: class ) Ċ check ( Mutable List :: class ) Ċ check ( Array < String >:: class ) Ċ return Ġ" OK " Ċ }