ClassDecoratorContext

Context provided to a class decorator.

Properties

Link copied to clipboard
abstract external val kind: DecoratorContextKind.class

The kind of element that was decorated.

Link copied to clipboard
abstract external val metadata: DecoratorMetadata
Link copied to clipboard
abstract external val name: String?

The name of the decorated class.

Functions

Link copied to clipboard
abstract external fun addInitializer(initializer: () -> Unit)

Adds a callback to be invoked after the class definition has been finalized.