asInterfaceOrObjectDeclaration

Deprecated

Will be removed in version 0.19.0

Replace with

sourceDeclaration?.asInterfaceOrObjectDeclaration()

Represents the interface or object declaration associated with this declaration.

Return

the interface or object declaration associated with this declaration.