containerData

Creates a new ContainerData instance for a given declarationContainer.

Parameters

className

the ClassName of the target class to to read from.

declarationContainer

the source ImmutableKmDeclarationContainer to read from.

parentClassName

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

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