asClassOrObjectDeclaration

Deprecated

Will be removed in version 0.19.0

Replace with

sourceDeclaration?.asClassOrObjectDeclaration()

Represents the class or object declaration associated with this declaration.

Return

the class or object declaration associated with this declaration.