val c = MyClass::class. 该引用是KClass 类型的值。 请注意,Kotlin 类引用与Java 类引用不同。要获得Java 类引用, 请在 KClass 实例上使用 .java 属性。
確定! 回上一頁