setPrototypeOf

fun <T : Any> setPrototypeOf(o: T, proto: Any?): T(source)