asClassOrInterfaceDeclaration

Deprecated

Will be removed in version 0.19.0

Replace with

sourceDeclaration?.asClassOrInterfaceDeclaration()

Represents the class or interface declaration associated with this declaration.

Return

the class or interface declaration associated with this declaration.