classFor

fun ClassInspector.classFor(className: ClassName): KmClass

Looks up other classes, such as for nested members. Note that this class would always be Kotlin, so Metadata can be relied on for this.

Return

the read KmClass from its metadata. If no class was found, this should throw an exception.

Parameters

className

The ClassName representation of the class.