containerData

abstract fun containerData(declarationContainer: KmDeclarationContainer, className: ClassName, parentClassName: ClassName?): ContainerData

Creates a new ContainerData instance for a given declarationContainer.

Parameters

declarationContainer

the source KmDeclarationContainer to read from.

className

the ClassName of the target class to to read from.

parentClassName

the parent ClassName name if declarationContainer is nested, inner, or is a companion object.