kotlin.reflect.full.companionObject

companionObject

val KClass<*>.companionObject: KClass<*>?

Platform and version requirements: JVM

Returns a KClass instance representing the companion object of a given class, or null if the class doesn't have a companion object.

© 2010–2017 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
登录查看完整内容