declarationContainerFor

abstract fun declarationContainerFor(className: ClassName): KmDeclarationContainer

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

Return

the read KmDeclarationContainer from its metadata. If no class or facade file was found, this should throw an exception.

Parameters

className

The ClassName representation of the class.