ClassDecoratorContext

sealed external interface ClassDecoratorContext<Class : JsClass<*>>(source)

Context provided to a class decorator.

Properties

Link copied to clipboard

The kind of element that was decorated.

Link copied to clipboard
Link copied to clipboard
abstract val name: String?

The name of the decorated class.

Functions

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

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