[kotlin] Move Declarations performance test: fixed after review + cosmetics.

GitOrigin-RevId: 2c48faeb7ecc5cbb48c01f37745fb8571cad8852
This commit is contained in:
Alexander Chernikov
2024-10-01 15:35:24 +03:00
committed by intellij-monorepo-bot
parent 845cac429c
commit c3ee09dca2

View File

@@ -17,6 +17,12 @@ import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.withContext
// Since we move Kotlin declarations, we have to add kotlin-compiler-common library to the module classpath.
/**
* The command moves declarations from one specified source file to another.
* Argument is serialized [MoveDeclarationsData] as json.
* NB: Different MoveHandlerDelegates are used to move declarations!
*/
class MoveKotlinDeclarationsCommand(text: String, line: Int) : PerformanceCommandCoroutineAdapter(text, line) {
companion object {
const val NAME = "moveDeclarations"