companionDeclaration

val KSClassDeclaration.companionDeclaration: KSClassDeclaration?(source)

Returns the companion object for this KSClassDeclaration or null if there is none.