KotlinModuleStateModificationEvent¶
class KotlinModuleStateModificationEvent(val module: KaModule, val modificationKind: KotlinModuleStateModificationKind) : KotlinModificationEvent
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)