toPrimaryConstructor

inline fun FirClassSymbol<*>.toPrimaryConstructor(session: FirSession, key: GeneratedDeclarationKey, block: FirPrimaryConstructorBuilder.(FirClassSymbol<*>) -> Unit = {}): FirConstructor
inline fun FirClassSymbol<*>.toPrimaryConstructor(session: FirSession, origin: FirDeclarationOrigin, block: FirPrimaryConstructorBuilder.(FirClassSymbol<*>) -> Unit = {}): FirConstructor