mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-06 03:21:12 +07:00
[kotlin] Move Declarations performance test: fixed after review + cosmetics.
GitOrigin-RevId: 2c48faeb7ecc5cbb48c01f37745fb8571cad8852
This commit is contained in:
committed by
intellij-monorepo-bot
parent
845cac429c
commit
c3ee09dca2
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user