Skip to content

containingClassOrObject

The class or object that declares this declaration as a member (including constructors and nested classes), or null if it is not a class member — for example, a member function's parameter or local, or a property accessor.

The containing class for the body.

Note: it bypasses KtCompanionBlock.

The containing class for the companion block.