StigDeclarationEditing

Reference-name edits use Kotlin's rename processors; declaration moves use a single guarded source patch.

Functions

Link copied to clipboard
Link copied to clipboard
fun describeMove(target: KtNamedDeclaration, entityId: String, direction: DeclarationMoveDirection, sourceById: Map<String, KtNamedDeclaration>): ModelLifecycleCapability
Link copied to clipboard
fun describeRename(target: KtNamedDeclaration, entityId: String, sourceById: Map<String, KtNamedDeclaration>): ModelLifecycleCapability
Link copied to clipboard

Kotlin's native setup may open modal progress; invoke it on EDT outside a background read action.

Link copied to clipboard
fun prepareMove(target: KtNamedDeclaration, entityId: String, direction: DeclarationMoveDirection, sourceById: Map<String, KtNamedDeclaration>, expectedVersion: Long): EditPreparation
Link copied to clipboard
fun prepareRenameTarget(target: KtNamedDeclaration, entityId: String, newIdentifier: String, sourceById: Map<String, KtNamedDeclaration>, expectedVersion: Long): RenameSetup
Link copied to clipboard

Native symbol usages and conflicts are searched in a fresh smart read action after EDT setup.