Skip to content

KotlinModuleStateModificationEvent

This event signals that module's settings or structure are changing. The event is published in a write action before the module is updated or removed (see KotlinModuleStateModificationKind for specifics). This allows subscribers to access the module's properties and dependencies to invalidate or update caches.

See KotlinModificationEvent for important contracts common to all modification events.

Constructors

KotlinModuleStateModificationEvent

constructor(module: KaModule, modificationKind: KotlinModuleStateModificationKind)

Properties

modificationKind

module

Functions

equals

open operator override fun equals(other: Any?): Boolean

hashCode

open override fun hashCode(): Int