asClassOrInterfaceOrObjectDeclaration

Deprecated

Will be removed in version 0.19.0

Replace with

sourceDeclaration?.asClassOrInterfaceOrObjectDeclaration()

Represents the class, interface or object declaration associated with this declaration.

Return

the class, interface or object declaration associated with this declaration.