withPrimaryConstructor

List containing declarations that have primary constructor.

Return

A list containing declarations with primary constructor.