diff --git a/platform/statistics/test/com/intellij/internal/statistic/TestStatisticsEventLogger.kt b/platform/statistics/test/com/intellij/internal/statistic/TestStatisticsEventLogger.kt index 195cb6be9975..ba3bbb556660 100644 --- a/platform/statistics/test/com/intellij/internal/statistic/TestStatisticsEventLogger.kt +++ b/platform/statistics/test/com/intellij/internal/statistic/TestStatisticsEventLogger.kt @@ -6,7 +6,7 @@ import com.jetbrains.fus.reporting.model.lion3.LogEvent import java.util.concurrent.CompletableFuture import java.util.concurrent.Executor -class TestStatisticsEventLogger(private val session: String = "testSession", +open class TestStatisticsEventLogger(private val session: String = "testSession", private val build: String = "999.999", private val bucket: String = "1", private val recorderVersion: String = "1") : StatisticsEventLogger { diff --git a/plugins/kotlin/code-insight/inspections-shared/tests/testData/quickfix/redundantSemicolon/afterImport.kt b/plugins/kotlin/code-insight/inspections-shared/tests/testData/quickfix/redundantSemicolon/afterImport.kt index 4c037808b4d3..0de73fb8dcff 100644 --- a/plugins/kotlin/code-insight/inspections-shared/tests/testData/quickfix/redundantSemicolon/afterImport.kt +++ b/plugins/kotlin/code-insight/inspections-shared/tests/testData/quickfix/redundantSemicolon/afterImport.kt @@ -3,3 +3,6 @@ import kotlin.*; fun foo() { } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.quickFix.DeletePsiElementOfInterestFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.quickFix.DeletePsiElementOfInterestFix diff --git a/plugins/kotlin/code-insight/inspections-shared/tests/testData/quickfix/redundantSemicolon/afterImport.kt.after b/plugins/kotlin/code-insight/inspections-shared/tests/testData/quickfix/redundantSemicolon/afterImport.kt.after index 471225144f31..75848819d247 100644 --- a/plugins/kotlin/code-insight/inspections-shared/tests/testData/quickfix/redundantSemicolon/afterImport.kt.after +++ b/plugins/kotlin/code-insight/inspections-shared/tests/testData/quickfix/redundantSemicolon/afterImport.kt.after @@ -3,3 +3,6 @@ import kotlin.* fun foo() { } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.quickFix.DeletePsiElementOfInterestFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.quickFix.DeletePsiElementOfInterestFix diff --git a/plugins/kotlin/code-insight/inspections-shared/tests/testData/quickfix/redundantSemicolon/afterStatement.kt b/plugins/kotlin/code-insight/inspections-shared/tests/testData/quickfix/redundantSemicolon/afterStatement.kt index 863f6485d946..42f911c91fb1 100644 --- a/plugins/kotlin/code-insight/inspections-shared/tests/testData/quickfix/redundantSemicolon/afterStatement.kt +++ b/plugins/kotlin/code-insight/inspections-shared/tests/testData/quickfix/redundantSemicolon/afterStatement.kt @@ -5,4 +5,6 @@ fun foo() { } fun a(){} -fun b(){} \ No newline at end of file +fun b(){} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.quickFix.DeletePsiElementOfInterestFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.quickFix.DeletePsiElementOfInterestFix diff --git a/plugins/kotlin/code-insight/inspections-shared/tests/testData/quickfix/redundantSemicolon/afterStatement.kt.after b/plugins/kotlin/code-insight/inspections-shared/tests/testData/quickfix/redundantSemicolon/afterStatement.kt.after index 3f87dbad534c..710e0841c20f 100644 --- a/plugins/kotlin/code-insight/inspections-shared/tests/testData/quickfix/redundantSemicolon/afterStatement.kt.after +++ b/plugins/kotlin/code-insight/inspections-shared/tests/testData/quickfix/redundantSemicolon/afterStatement.kt.after @@ -5,4 +5,6 @@ fun foo() { } fun a(){} -fun b(){} \ No newline at end of file +fun b(){} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.quickFix.DeletePsiElementOfInterestFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.quickFix.DeletePsiElementOfInterestFix diff --git a/plugins/kotlin/compiler-plugins/kotlinx-serialization/tests/testData/quickfix/DefaultFormat.kt b/plugins/kotlin/compiler-plugins/kotlinx-serialization/tests/testData/quickfix/DefaultFormat.kt index 93f3cc25cc0b..b8066e2ef38b 100644 --- a/plugins/kotlin/compiler-plugins/kotlinx-serialization/tests/testData/quickfix/DefaultFormat.kt +++ b/plugins/kotlin/compiler-plugins/kotlinx-serialization/tests/testData/quickfix/DefaultFormat.kt @@ -5,3 +5,5 @@ import kotlinx.serialization.json.* fun foo() { Json {}.encodeToString(Any()) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.compilerPlugin.kotlinxSerialization.quickfixes.JsonRedundantDefaultQuickFix \ No newline at end of file diff --git a/plugins/kotlin/compiler-plugins/kotlinx-serialization/tests/testData/quickfix/DefaultFormat.kt.after b/plugins/kotlin/compiler-plugins/kotlinx-serialization/tests/testData/quickfix/DefaultFormat.kt.after index 3ff3fed7a526..b788b2678321 100644 --- a/plugins/kotlin/compiler-plugins/kotlinx-serialization/tests/testData/quickfix/DefaultFormat.kt.after +++ b/plugins/kotlin/compiler-plugins/kotlinx-serialization/tests/testData/quickfix/DefaultFormat.kt.after @@ -5,3 +5,5 @@ import kotlinx.serialization.json.* fun foo() { Json.encodeToString(Any()) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.compilerPlugin.kotlinxSerialization.quickfixes.JsonRedundantDefaultQuickFix \ No newline at end of file diff --git a/plugins/kotlin/compiler-plugins/kotlinx-serialization/tests/testData/quickfix/DefaultFormatWithAlias.kt b/plugins/kotlin/compiler-plugins/kotlinx-serialization/tests/testData/quickfix/DefaultFormatWithAlias.kt index 377090c85a25..b9fba0ade741 100644 --- a/plugins/kotlin/compiler-plugins/kotlinx-serialization/tests/testData/quickfix/DefaultFormatWithAlias.kt +++ b/plugins/kotlin/compiler-plugins/kotlinx-serialization/tests/testData/quickfix/DefaultFormatWithAlias.kt @@ -6,3 +6,5 @@ import kotlinx.serialization.json.Json as Alias fun foo() { Alias {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.compilerPlugin.kotlinxSerialization.quickfixes.JsonRedundantDefaultQuickFix \ No newline at end of file diff --git a/plugins/kotlin/compiler-plugins/kotlinx-serialization/tests/testData/quickfix/DefaultFormatWithAlias.kt.after b/plugins/kotlin/compiler-plugins/kotlinx-serialization/tests/testData/quickfix/DefaultFormatWithAlias.kt.after index b6691cbf8cd8..3b0634668bd1 100644 --- a/plugins/kotlin/compiler-plugins/kotlinx-serialization/tests/testData/quickfix/DefaultFormatWithAlias.kt.after +++ b/plugins/kotlin/compiler-plugins/kotlinx-serialization/tests/testData/quickfix/DefaultFormatWithAlias.kt.after @@ -6,3 +6,5 @@ import kotlinx.serialization.json.Json as Alias fun foo() { Alias } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.compilerPlugin.kotlinxSerialization.quickfixes.JsonRedundantDefaultQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/test/org/jetbrains/kotlin/idea/quickfix/AbstractQuickFixTest.kt b/plugins/kotlin/idea/tests/test/org/jetbrains/kotlin/idea/quickfix/AbstractQuickFixTest.kt index 2b6d4a67b99b..44159757dd13 100644 --- a/plugins/kotlin/idea/tests/test/org/jetbrains/kotlin/idea/quickfix/AbstractQuickFixTest.kt +++ b/plugins/kotlin/idea/tests/test/org/jetbrains/kotlin/idea/quickfix/AbstractQuickFixTest.kt @@ -10,7 +10,11 @@ import com.intellij.codeInsight.intention.impl.CachedIntentions import com.intellij.codeInsight.intention.impl.ShowIntentionActionsHandler import com.intellij.codeInspection.SuppressableProblemGroup import com.intellij.codeInspection.ex.QuickFixWrapper +import com.intellij.internal.statistic.eventLog.StatisticsEventLoggerProvider +import com.intellij.openapi.Disposable import com.intellij.openapi.command.CommandProcessor +import com.intellij.openapi.extensions.LoadingOrder +import com.intellij.openapi.util.Disposer import com.intellij.openapi.util.io.FileUtil import com.intellij.openapi.util.text.StringUtil import com.intellij.openapi.vfs.CharsetToolkit @@ -18,6 +22,7 @@ import com.intellij.rt.execution.junit.FileComparisonFailure import com.intellij.testFramework.LightProjectDescriptor import com.intellij.testFramework.PsiTestUtil import com.intellij.testFramework.UsefulTestCase +import com.intellij.util.io.write import com.intellij.util.ui.UIUtil import junit.framework.TestCase import org.jetbrains.kotlin.idea.caches.resolve.ResolveInDispatchThreadException @@ -25,6 +30,7 @@ import org.jetbrains.kotlin.idea.caches.resolve.forceCheckForResolveInDispatchTh import org.jetbrains.kotlin.idea.codeinsight.api.classic.quickfixes.QuickFixActionBase import org.jetbrains.kotlin.idea.core.script.ScriptConfigurationManager import org.jetbrains.kotlin.idea.facet.KotlinFacet +import org.jetbrains.kotlin.idea.statistic.FilterableTestStatisticsEventLoggerProvider import org.jetbrains.kotlin.idea.test.* import org.jetbrains.kotlin.psi.KtFile import org.junit.Assert @@ -57,8 +63,38 @@ abstract class AbstractQuickFixTest : KotlinLightCodeInsightFixtureTestCase(), Q } } + private var statisticDisposable: Disposable? = null + protected var statisticsEventLoggerProvider: FilterableTestStatisticsEventLoggerProvider? = null + private var actionHint: ActionHint? = null + + override fun setUp() { + super.setUp() + val newDisposable = Disposer.newDisposable(testRootDisposable, "statisticTestDisposable") + statisticDisposable = newDisposable + + val loggerProvider = FilterableTestStatisticsEventLoggerProvider("FUS") { it == "called" } + statisticsEventLoggerProvider = loggerProvider + StatisticsEventLoggerProvider.EP_NAME.point.registerExtension( + loggerProvider, + LoadingOrder.FIRST, + newDisposable + ) + } + + override fun tearDown() { + runAll( + { + actionHint = null + statisticDisposable?.let(Disposer::dispose) + statisticDisposable = null + }, + { super.tearDown() }, + ) + } + protected open fun doTest(beforeFileName: String) { - val beforeFileText = FileUtil.loadFile(File(beforeFileName)) + val beforeFile = File(beforeFileName) + val beforeFileText = FileUtil.loadFile(beforeFile) InTextDirectivesUtils.checkIfMuted(beforeFileText) withCustomCompilerOptions(beforeFileText, project, module) { loadScriptConfiguration() @@ -69,6 +105,7 @@ abstract class AbstractQuickFixTest : KotlinLightCodeInsightFixtureTestCase(), Q doKotlinQuickFixTest(beforeFileName) checkForUnexpectedErrors() + checkFusEvents(beforeFile, beforeFileText) PsiTestUtil.checkPsiStructureWithCommit(file, PsiTestUtil::checkPsiMatchesTextIgnoringNonCode) } finally { myFixture.disableInspections(*inspections) @@ -76,6 +113,49 @@ abstract class AbstractQuickFixTest : KotlinLightCodeInsightFixtureTestCase(), Q } } + private fun checkFusEvents(file: File, fileText: String) { + val calledEventIds = statisticsEventLoggerProvider!!.getLoggedEvents() + .map { it.event } + .filter { + it.id == "called" + } + .map { + it.data["id"] + } + val applyQuickFix = applyQuickFix() + if (actionHint?.shouldPresent() == false || !applyQuickFix) { + assertTrue("no `called` event should happen: $calledEventIds", calledEventIds.isEmpty()) + return + } + val calledId = calledEventIds.singleOrNull() as? String ?: error("single `called` event is expected: $calledEventIds") + + val fusDirectiveName = if (isFirPlugin) { + "FUS_K2_QUICKFIX_NAME" + } else { + "FUS_QUICKFIX_NAME" + } + + val quickFixName = InTextDirectivesUtils.findStringWithPrefixes(fileText, "// $fusDirectiveName:") + if (quickFixName.isNullOrEmpty()) { + val expected = """ + |$fileText + |// $fusDirectiveName: $calledId + """.trimMargin() + throw FileComparisonFailure( + "expected to find quickfix `called` id", fileText, expected, file.toString() + ) + } + + if (calledId != quickFixName) { + throw FileComparisonFailure( + "expected to find quickfix `called` id", + fileText, + fileText.replace("// $fusDirectiveName: $quickFixName", "// $fusDirectiveName: $calledId"), + file.toString() + ) + } + } + override fun getProjectDescriptor(): LightProjectDescriptor = if ("createfromusage" in testDataDirectory.path.toLowerCase()) { // TODO: WTF @@ -170,12 +250,13 @@ abstract class AbstractQuickFixTest : KotlinLightCodeInsightFixtureTestCase(), Q } private fun applyAction(contents: String, fileName: String) { - val actionHint = ActionHint.parse(myFixture.file, contents.replace("\${file}", fileName, ignoreCase = true)) - val intention = findActionWithText(actionHint.expectedText) - if (actionHint.shouldPresent()) { + val hint = ActionHint.parse(myFixture.file, contents.replace("\${file}", fileName, ignoreCase = true)) + actionHint = hint + val intention = findActionWithText(hint.expectedText) + if (hint.shouldPresent()) { if (intention == null) { fail( - "Action with text '" + actionHint.expectedText + "' not found\nAvailable actions:\n" + + "Action with text '" + hint.expectedText + "' not found\nAvailable actions:\n" + myFixture.availableIntentions.joinToString(separator = "\n") { "// \"${it.text}\" \"true\"" }) return } @@ -201,8 +282,7 @@ abstract class AbstractQuickFixTest : KotlinLightCodeInsightFixtureTestCase(), Q } } - val applyQuickFix = (InTextDirectivesUtils.findStringWithPrefixes(myFixture.file.text, "// $APPLY_QUICKFIX_DIRECTIVE: ") - ?: "true").toBoolean() + val applyQuickFix = applyQuickFix() val stubComparisonFailure: ComparisonFailure? if (applyQuickFix) { stubComparisonFailure = try { @@ -218,10 +298,10 @@ abstract class AbstractQuickFixTest : KotlinLightCodeInsightFixtureTestCase(), Q UIUtil.dispatchAllInvocationEvents() if (!shouldBeAvailableAfterExecution()) { - var action = findActionWithText(actionHint.expectedText) + var action = findActionWithText(hint.expectedText) action = if (action == null) null else IntentionActionDelegate.unwrap(action) assertNull( - "Action '${actionHint.expectedText}' (${action?.javaClass}) is still available after its invocation in test " + fileName, + "Action '${hint.expectedText}' (${action?.javaClass}) is still available after its invocation in test " + fileName, action ) } @@ -233,10 +313,12 @@ abstract class AbstractQuickFixTest : KotlinLightCodeInsightFixtureTestCase(), Q stubComparisonFailure?.let { throw it } } else { - assertNull("Action with text ${actionHint.expectedText} is present, but should not", intention) + assertNull("Action with text ${hint.expectedText} is present, but should not", intention) } } + private fun applyQuickFix() = InTextDirectivesUtils.getPrefixedBoolean(myFixture.file.text, "$APPLY_QUICKFIX_DIRECTIVE:") != false + protected open fun getAfterFileName(beforeFileName: String): String { return File(beforeFileName).name + ".after" } diff --git a/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractFunctionInNonAbstractClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractFunctionInNonAbstractClass.kt index 28353b1fff91..bef27ab07f21 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractFunctionInNonAbstractClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractFunctionInNonAbstractClass.kt @@ -2,3 +2,6 @@ class A() { abstract fun foo() {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractFunctionInNonAbstractClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractFunctionInNonAbstractClass.kt.after index edc2ca91704a..8822c76d1690 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractFunctionInNonAbstractClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractFunctionInNonAbstractClass.kt.after @@ -2,3 +2,6 @@ class A() { fun foo() {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractFunctionWithBody.kt b/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractFunctionWithBody.kt index 19d80291b371..03eaa822d186 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractFunctionWithBody.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractFunctionWithBody.kt @@ -3,4 +3,5 @@ abstract class A() { abstract fun foo() {} } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveFunctionBodyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractFunctionWithBody.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractFunctionWithBody.kt.after index cbce64565120..339491f78225 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractFunctionWithBody.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractFunctionWithBody.kt.after @@ -3,4 +3,5 @@ abstract class A() { abstract fun foo() } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveFunctionBodyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractFunctionWithBody2.kt b/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractFunctionWithBody2.kt index 5758dec56347..d1ee89bb67bb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractFunctionWithBody2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractFunctionWithBody2.kt @@ -3,4 +3,5 @@ abstract class A() { abstract fun foo() : Any { return "a" } } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveFunctionBodyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractFunctionWithBody2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractFunctionWithBody2.kt.after index 3a03846b6858..d1daba40f73b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractFunctionWithBody2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractFunctionWithBody2.kt.after @@ -3,4 +3,5 @@ abstract class A() { abstract fun foo() : Any } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveFunctionBodyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractFunctionWithBody3.kt b/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractFunctionWithBody3.kt index c803d15f8621..92120939171a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractFunctionWithBody3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractFunctionWithBody3.kt @@ -3,4 +3,5 @@ abstract class A() { abstract fun foo() : Any = 1 } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveFunctionBodyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractFunctionWithBody3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractFunctionWithBody3.kt.after index 3a03846b6858..d1daba40f73b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractFunctionWithBody3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractFunctionWithBody3.kt.after @@ -3,4 +3,5 @@ abstract class A() { abstract fun foo() : Any } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveFunctionBodyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractFunctionWithBodyWithComments.kt b/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractFunctionWithBodyWithComments.kt index 58ac318c7df6..410a9e36a6ce 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractFunctionWithBodyWithComments.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractFunctionWithBodyWithComments.kt @@ -5,4 +5,5 @@ abstract class A() { } } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveFunctionBodyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractFunctionWithBodyWithComments.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractFunctionWithBodyWithComments.kt.after index 10d4da72d8c2..e3642d605b91 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractFunctionWithBodyWithComments.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractFunctionWithBodyWithComments.kt.after @@ -3,4 +3,5 @@ abstract class A() { abstract fun foo() /*1*/ } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveFunctionBodyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractFunctionWithBodyWithComments2.kt b/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractFunctionWithBodyWithComments2.kt index 31bbbbe9c871..46ae4d275a22 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractFunctionWithBodyWithComments2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractFunctionWithBodyWithComments2.kt @@ -4,4 +4,5 @@ abstract class A() { { "" /*2*/ } // 3 } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveFunctionBodyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractFunctionWithBodyWithComments2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractFunctionWithBodyWithComments2.kt.after index b5cbb23f0a90..50780664a430 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractFunctionWithBodyWithComments2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractFunctionWithBodyWithComments2.kt.after @@ -4,4 +4,5 @@ abstract class A() { abstract fun foo() // 3 } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveFunctionBodyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyInNonAbstractClass1.kt b/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyInNonAbstractClass1.kt index 0b4e86bfe1e5..7ecf027c76d3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyInNonAbstractClass1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyInNonAbstractClass1.kt @@ -2,3 +2,6 @@ class A() { abstract var i : Int } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyInNonAbstractClass1.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyInNonAbstractClass1.kt.after index d847caf85e23..445287b5916c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyInNonAbstractClass1.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyInNonAbstractClass1.kt.after @@ -2,3 +2,6 @@ abstract class A() { abstract var i : Int } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyInNonAbstractClass2.kt b/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyInNonAbstractClass2.kt index cdb5a47b594d..f9ca6428c8df 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyInNonAbstractClass2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyInNonAbstractClass2.kt @@ -2,3 +2,6 @@ class A() { abstract var i : Int = 0 } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyInNonAbstractClass2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyInNonAbstractClass2.kt.after index 773ad489ec7a..049b56328824 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyInNonAbstractClass2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyInNonAbstractClass2.kt.after @@ -2,3 +2,6 @@ class A() { var i : Int = 0 } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyInNonAbstractClass3.kt b/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyInNonAbstractClass3.kt index ca64a4e54b09..489bfdea4f5a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyInNonAbstractClass3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyInNonAbstractClass3.kt @@ -2,3 +2,6 @@ public class A() { abstract var i : Int } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyInNonAbstractClass3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyInNonAbstractClass3.kt.after index 6ae6136242b5..f7cd1e233353 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyInNonAbstractClass3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyInNonAbstractClass3.kt.after @@ -2,3 +2,6 @@ public abstract class A() { abstract var i : Int } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyInPrimaryConstructorParameters.kt b/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyInPrimaryConstructorParameters.kt index cfb081250c71..469931ee9722 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyInPrimaryConstructorParameters.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyInPrimaryConstructorParameters.kt @@ -1,2 +1,4 @@ // "Make 'i' not abstract" "true" -class A(abstract val i: Int) {} \ No newline at end of file +class A(abstract val i: Int) {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyInPrimaryConstructorParameters.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyInPrimaryConstructorParameters.kt.after index 8bb9648d6fa0..4ab0d90c157c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyInPrimaryConstructorParameters.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyInPrimaryConstructorParameters.kt.after @@ -1,2 +1,4 @@ // "Make 'i' not abstract" "true" -class A(val i: Int) {} \ No newline at end of file +class A(val i: Int) {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyNotInClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyNotInClass.kt index 5b6b7265b293..6bf08e21ace7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyNotInClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyNotInClass.kt @@ -1,2 +1,5 @@ // "Make 'i' not abstract" "true" abstract val i: Int = 1 + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyNotInClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyNotInClass.kt.after index dd128ae0d0b6..dbeb81b6fc54 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyNotInClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyNotInClass.kt.after @@ -1,2 +1,5 @@ // "Make 'i' not abstract" "true" val i: Int = 1 + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyWIthInitializer2.kt b/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyWIthInitializer2.kt index 8e807d7c1560..dba1edb1f1c6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyWIthInitializer2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyWIthInitializer2.kt @@ -3,4 +3,5 @@ abstract class A { abstract var i = 0 } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemovePartsFromPropertyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyWIthInitializer2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyWIthInitializer2.kt.after index 9f5892e15e82..76cc135ed54e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyWIthInitializer2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyWIthInitializer2.kt.after @@ -3,4 +3,5 @@ abstract class A { abstract var i: Int } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemovePartsFromPropertyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyWIthInitializer3.kt b/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyWIthInitializer3.kt index 354013e5e611..1fe400840668 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyWIthInitializer3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyWIthInitializer3.kt @@ -3,4 +3,5 @@ abstract class A { abstract var i: Int = 0 } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemovePartsFromPropertyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyWIthInitializer3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyWIthInitializer3.kt.after index 06e3e4fabd4e..3131ee99242f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyWIthInitializer3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyWIthInitializer3.kt.after @@ -3,4 +3,5 @@ abstract class A { abstract var i: Int } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemovePartsFromPropertyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyWithGetter1.kt b/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyWithGetter1.kt index d276aeb57156..d2e00986cfad 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyWithGetter1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyWithGetter1.kt @@ -3,3 +3,6 @@ class B { abstract val i: Int = 0 get() = field } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyWithGetter1.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyWithGetter1.kt.after index 95bdf7a46a53..41263f797e94 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyWithGetter1.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyWithGetter1.kt.after @@ -3,3 +3,6 @@ class B { val i: Int = 0 get() = field } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyWithGetter2.kt b/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyWithGetter2.kt index b926f7264dcf..61414504a7d2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyWithGetter2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyWithGetter2.kt @@ -3,4 +3,5 @@ abstract class B { abstract val i = 0 get() = field } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemovePartsFromPropertyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyWithGetter2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyWithGetter2.kt.after index 94519ae7e172..72154a3e64e7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyWithGetter2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyWithGetter2.kt.after @@ -2,4 +2,5 @@ abstract class B { abstract val i: Int } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemovePartsFromPropertyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyWithInitializer1.kt b/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyWithInitializer1.kt index c56a70cde06b..ad8e1609dbd6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyWithInitializer1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyWithInitializer1.kt @@ -2,3 +2,6 @@ class A { abstract var i = 0 } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyWithInitializer1.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyWithInitializer1.kt.after index 01d5197a882d..e8890fb4561c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyWithInitializer1.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyWithInitializer1.kt.after @@ -2,3 +2,6 @@ class A { var i = 0 } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyWithSetter.kt b/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyWithSetter.kt index cdfb4051f39e..0990e4ce2b73 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyWithSetter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyWithSetter.kt @@ -3,3 +3,6 @@ class B { abstract var j: Int = 0 set(v: Int) {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyWithSetter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyWithSetter.kt.after index cd83c943c585..88acd0315fd6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyWithSetter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/abstract/abstractPropertyWithSetter.kt.after @@ -3,3 +3,6 @@ class B { var j: Int = 0 set(v: Int) {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/abstract/mustBeInitializedOrBeAbstract.kt b/plugins/kotlin/idea/tests/testData/quickfix/abstract/mustBeInitializedOrBeAbstract.kt index 1e580e0c92b5..4f3da22253ac 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/abstract/mustBeInitializedOrBeAbstract.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/abstract/mustBeInitializedOrBeAbstract.kt @@ -2,3 +2,6 @@ abstract class A() { var i : Int } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/abstract/mustBeInitializedOrBeAbstract.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/abstract/mustBeInitializedOrBeAbstract.kt.after index 4f5c47a41300..a7176481542f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/abstract/mustBeInitializedOrBeAbstract.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/abstract/mustBeInitializedOrBeAbstract.kt.after @@ -2,3 +2,6 @@ abstract class A() { abstract var i : Int } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/abstract/mustBeInitializedOrBeAbstractInFinalClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/abstract/mustBeInitializedOrBeAbstractInFinalClass.kt index 41e9d0c07e58..f1fd8b96dbe4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/abstract/mustBeInitializedOrBeAbstractInFinalClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/abstract/mustBeInitializedOrBeAbstractInFinalClass.kt @@ -2,3 +2,6 @@ class A() { var i : Int } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/abstract/mustBeInitializedOrBeAbstractInFinalClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/abstract/mustBeInitializedOrBeAbstractInFinalClass.kt.after index 4f5c47a41300..a7176481542f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/abstract/mustBeInitializedOrBeAbstractInFinalClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/abstract/mustBeInitializedOrBeAbstractInFinalClass.kt.after @@ -2,3 +2,6 @@ abstract class A() { abstract var i : Int } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/abstract/mustBeInitializedOrBeAbstractInOpenClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/abstract/mustBeInitializedOrBeAbstractInOpenClass.kt index 9e70f1c15281..aa30d6dfe068 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/abstract/mustBeInitializedOrBeAbstractInOpenClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/abstract/mustBeInitializedOrBeAbstractInOpenClass.kt @@ -2,3 +2,6 @@ open class A() { var i : Int } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/abstract/mustBeInitializedOrBeAbstractInOpenClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/abstract/mustBeInitializedOrBeAbstractInOpenClass.kt.after index 4f5c47a41300..a7176481542f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/abstract/mustBeInitializedOrBeAbstractInOpenClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/abstract/mustBeInitializedOrBeAbstractInOpenClass.kt.after @@ -2,3 +2,6 @@ abstract class A() { abstract var i : Int } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/abstract/mustBeInitializedOrBeAbstractInSealedClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/abstract/mustBeInitializedOrBeAbstractInSealedClass.kt index acde93f08240..ecbfae7f73bc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/abstract/mustBeInitializedOrBeAbstractInSealedClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/abstract/mustBeInitializedOrBeAbstractInSealedClass.kt @@ -2,3 +2,6 @@ sealed class A() { fun i() : Int } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/abstract/mustBeInitializedOrBeAbstractInSealedClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/abstract/mustBeInitializedOrBeAbstractInSealedClass.kt.after index f80634358e09..a0f6077bb4d0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/abstract/mustBeInitializedOrBeAbstractInSealedClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/abstract/mustBeInitializedOrBeAbstractInSealedClass.kt.after @@ -2,3 +2,6 @@ sealed class A() { abstract fun i() : Int } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/abstract/mustBeInitializedOrFinalOrAbstract.kt b/plugins/kotlin/idea/tests/testData/quickfix/abstract/mustBeInitializedOrFinalOrAbstract.kt index 19c38f9619bb..c5e7772b1af4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/abstract/mustBeInitializedOrFinalOrAbstract.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/abstract/mustBeInitializedOrFinalOrAbstract.kt @@ -10,3 +10,6 @@ open class Foo { x = "" } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/abstract/mustBeInitializedOrFinalOrAbstract.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/abstract/mustBeInitializedOrFinalOrAbstract.kt.after index d1eb422983d1..926616dc2dca 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/abstract/mustBeInitializedOrFinalOrAbstract.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/abstract/mustBeInitializedOrFinalOrAbstract.kt.after @@ -10,3 +10,6 @@ abstract class Foo { x = "" } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/abstract/mustBeInitializedOrFinalOrAbstractWarning.kt b/plugins/kotlin/idea/tests/testData/quickfix/abstract/mustBeInitializedOrFinalOrAbstractWarning.kt index 19c38f9619bb..c5e7772b1af4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/abstract/mustBeInitializedOrFinalOrAbstractWarning.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/abstract/mustBeInitializedOrFinalOrAbstractWarning.kt @@ -10,3 +10,6 @@ open class Foo { x = "" } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/abstract/mustBeInitializedOrFinalOrAbstractWarning.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/abstract/mustBeInitializedOrFinalOrAbstractWarning.kt.after index d1eb422983d1..926616dc2dca 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/abstract/mustBeInitializedOrFinalOrAbstractWarning.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/abstract/mustBeInitializedOrFinalOrAbstractWarning.kt.after @@ -10,3 +10,6 @@ abstract class Foo { x = "" } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/abstract/nonAbstractFunctionWithNoBody.kt b/plugins/kotlin/idea/tests/testData/quickfix/abstract/nonAbstractFunctionWithNoBody.kt index 0e070005a498..bf1d039f7ea6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/abstract/nonAbstractFunctionWithNoBody.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/abstract/nonAbstractFunctionWithNoBody.kt @@ -2,3 +2,6 @@ class A() { fun foo() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionBodyFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionBodyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/abstract/nonAbstractFunctionWithNoBody.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/abstract/nonAbstractFunctionWithNoBody.kt.after index 59958ef927e5..83d6b965177f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/abstract/nonAbstractFunctionWithNoBody.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/abstract/nonAbstractFunctionWithNoBody.kt.after @@ -2,3 +2,6 @@ class A() { fun foo() {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionBodyFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionBodyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/abstract/nonMemberAbstractFunction.kt b/plugins/kotlin/idea/tests/testData/quickfix/abstract/nonMemberAbstractFunction.kt index de3cc215063c..d8ff13594a60 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/abstract/nonMemberAbstractFunction.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/abstract/nonMemberAbstractFunction.kt @@ -1,2 +1,5 @@ // "Make 'foo' not abstract" "true" abstract fun foo() {} + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/abstract/nonMemberAbstractFunction.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/abstract/nonMemberAbstractFunction.kt.after index b2cf07c1f9ed..e27305d0aed3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/abstract/nonMemberAbstractFunction.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/abstract/nonMemberAbstractFunction.kt.after @@ -1,2 +1,5 @@ // "Make 'foo' not abstract" "true" fun foo() {} + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/abstract/nonMemberFunctionNoBody.kt b/plugins/kotlin/idea/tests/testData/quickfix/abstract/nonMemberFunctionNoBody.kt index 0e52ec0679d2..060d110b1297 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/abstract/nonMemberFunctionNoBody.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/abstract/nonMemberFunctionNoBody.kt @@ -1,4 +1,5 @@ // "Add function body" "true" fun foo() -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionBodyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/abstract/nonMemberFunctionNoBody.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/abstract/nonMemberFunctionNoBody.kt.after index 7f2a5711c414..ad9137d8f76c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/abstract/nonMemberFunctionNoBody.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/abstract/nonMemberFunctionNoBody.kt.after @@ -1,4 +1,5 @@ // "Add function body" "true" fun foo() {} -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionBodyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/abstract/notImplementedMember.kt b/plugins/kotlin/idea/tests/testData/quickfix/abstract/notImplementedMember.kt index 52f3e98d658e..03ee6ccb29ab 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/abstract/notImplementedMember.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/abstract/notImplementedMember.kt @@ -4,4 +4,6 @@ interface I { } class A : I { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/abstract/notImplementedMember.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/abstract/notImplementedMember.kt.after index 07d309e41b4e..a111f516c0ff 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/abstract/notImplementedMember.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/abstract/notImplementedMember.kt.after @@ -4,4 +4,6 @@ interface I { } abstract class A : I { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/abstract/notImplementedMemberFromAbstractClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/abstract/notImplementedMemberFromAbstractClass.kt index f7b7b9de8d77..3d33afb02f27 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/abstract/notImplementedMemberFromAbstractClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/abstract/notImplementedMemberFromAbstractClass.kt @@ -4,4 +4,6 @@ abstract class A { } class B : A() { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/abstract/notImplementedMemberFromAbstractClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/abstract/notImplementedMemberFromAbstractClass.kt.after index e5586d14387f..9bbbb13afb5d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/abstract/notImplementedMemberFromAbstractClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/abstract/notImplementedMemberFromAbstractClass.kt.after @@ -4,4 +4,6 @@ abstract class A { } abstract class B : A() { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/abstract/replaceOpen.kt b/plugins/kotlin/idea/tests/testData/quickfix/abstract/replaceOpen.kt index 13f21216b92f..fcaf6c043d17 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/abstract/replaceOpen.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/abstract/replaceOpen.kt @@ -2,3 +2,6 @@ abstract class B() { open fun foo() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/abstract/replaceOpen.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/abstract/replaceOpen.kt.after index 6f9b5323658f..397d5e443f48 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/abstract/replaceOpen.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/abstract/replaceOpen.kt.after @@ -2,3 +2,6 @@ abstract class B() { abstract fun foo() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/basic1.kt b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/basic1.kt index 27e203178d5c..82753532499b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/basic1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/basic1.kt @@ -4,4 +4,5 @@ annotation class Foo class Test { fun foo(): @Foo Int = 1 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddAnnotationTargetFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/basic1.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/basic1.kt.after index b06950eadae2..fe33d8980703 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/basic1.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/basic1.kt.after @@ -5,4 +5,5 @@ annotation class Foo class Test { fun foo(): @Foo Int = 1 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddAnnotationTargetFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/basic2.kt b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/basic2.kt index add508efe7a4..b81f1856b57e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/basic2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/basic2.kt @@ -4,4 +4,5 @@ annotation class Foo @Foo -class Test \ No newline at end of file +class Test +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddAnnotationTargetFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/basic2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/basic2.kt.after index 70c630c413ce..03c2a0d998b9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/basic2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/basic2.kt.after @@ -4,4 +4,5 @@ annotation class Foo @Foo -class Test \ No newline at end of file +class Test +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddAnnotationTargetFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/basic3.kt b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/basic3.kt index 0fd024e6047f..7b1d05821f23 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/basic3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/basic3.kt @@ -4,4 +4,5 @@ annotation class Foo @Foo -class Test \ No newline at end of file +class Test +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddAnnotationTargetFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/basic3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/basic3.kt.after index 70c630c413ce..03c2a0d998b9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/basic3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/basic3.kt.after @@ -4,4 +4,5 @@ annotation class Foo @Foo -class Test \ No newline at end of file +class Test +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddAnnotationTargetFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/basic4.kt b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/basic4.kt index 736d7ccd91a1..503c76675856 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/basic4.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/basic4.kt @@ -6,4 +6,5 @@ annotation class Foo class Test { @Foo fun foo(): @Foo Int = 1 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddAnnotationTargetFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/basic4.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/basic4.kt.after index fe6389e13b6e..3ac1d8982d98 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/basic4.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/basic4.kt.after @@ -7,4 +7,5 @@ annotation class Foo class Test { @Foo fun foo(): @Foo Int = 1 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddAnnotationTargetFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/expression.kt b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/expression.kt index eaec17ae35f9..48c7869ff711 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/expression.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/expression.kt @@ -5,4 +5,5 @@ annotation class Foo fun test() { var v = 0 @Foo v++ -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddAnnotationTargetFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/expression.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/expression.kt.after index 8060c88cff41..0b6992409b79 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/expression.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/expression.kt.after @@ -6,4 +6,5 @@ annotation class Foo fun test() { var v = 0 @Foo v++ -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddAnnotationTargetFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/expression2.kt b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/expression2.kt index 2e359226df15..b7876035241a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/expression2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/expression2.kt @@ -4,4 +4,5 @@ annotation class Foo fun test() { var v = 0 @Foo v++ -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddAnnotationTargetFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/expression2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/expression2.kt.after index 8060c88cff41..0b6992409b79 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/expression2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/expression2.kt.after @@ -6,4 +6,5 @@ annotation class Foo fun test() { var v = 0 @Foo v++ -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddAnnotationTargetFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/expression3.kt b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/expression3.kt index 92c947c1e106..a4f7602fbbf8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/expression3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/expression3.kt @@ -5,4 +5,5 @@ annotation class Foo fun test() { var v = 0 @Foo v++ -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddAnnotationTargetFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/expression3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/expression3.kt.after index 8060c88cff41..0b6992409b79 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/expression3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/expression3.kt.after @@ -6,4 +6,5 @@ annotation class Foo fun test() { var v = 0 @Foo v++ -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddAnnotationTargetFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/file.kt b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/file.kt index 5097df57e7f6..3c97ef6b0405 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/file.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/file.kt @@ -3,4 +3,5 @@ package test @Target -annotation class Ann \ No newline at end of file +annotation class Ann +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddAnnotationTargetFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/file.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/file.kt.after index de7facea1455..0e730fe3265f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/file.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/file.kt.after @@ -3,4 +3,5 @@ package test @Target(AnnotationTarget.FILE) -annotation class Ann \ No newline at end of file +annotation class Ann +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddAnnotationTargetFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/hasAnnotationTarget1.kt b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/hasAnnotationTarget1.kt index fdbb47ae7b6f..37d768446975 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/hasAnnotationTarget1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/hasAnnotationTarget1.kt @@ -5,4 +5,5 @@ annotation class Foo class Test { fun foo(): @Foo Int = 1 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddAnnotationTargetFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/hasAnnotationTarget1.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/hasAnnotationTarget1.kt.after index c5c0cb192e89..6741ff3d2908 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/hasAnnotationTarget1.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/hasAnnotationTarget1.kt.after @@ -5,4 +5,5 @@ annotation class Foo class Test { fun foo(): @Foo Int = 1 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddAnnotationTargetFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/hasAnnotationTarget11.kt b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/hasAnnotationTarget11.kt index 5b90514c904b..0933594051f7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/hasAnnotationTarget11.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/hasAnnotationTarget11.kt @@ -5,4 +5,5 @@ annotation class Foo class Test { fun foo(): @Foo String = "" -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddAnnotationTargetFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/hasAnnotationTarget11.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/hasAnnotationTarget11.kt.after index 79ae9af8e060..4e789c424b6e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/hasAnnotationTarget11.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/hasAnnotationTarget11.kt.after @@ -5,4 +5,5 @@ annotation class Foo class Test { fun foo(): @Foo String = "" -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddAnnotationTargetFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/hasAnnotationTarget2.kt b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/hasAnnotationTarget2.kt index 04196cb4cb86..c3f45e609bb6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/hasAnnotationTarget2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/hasAnnotationTarget2.kt @@ -7,4 +7,5 @@ annotation class Foo class Test { @Foo fun foo(): @Foo Int = 1 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddAnnotationTargetFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/hasAnnotationTarget2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/hasAnnotationTarget2.kt.after index fe6389e13b6e..3ac1d8982d98 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/hasAnnotationTarget2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/hasAnnotationTarget2.kt.after @@ -7,4 +7,5 @@ annotation class Foo class Test { @Foo fun foo(): @Foo Int = 1 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddAnnotationTargetFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/hasAnnotationTarget21.kt b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/hasAnnotationTarget21.kt index 0ab5fab921c2..1743208a0b9e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/hasAnnotationTarget21.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/hasAnnotationTarget21.kt @@ -7,4 +7,5 @@ annotation class Foo class Test { @Foo fun foo(): @Foo String = "" -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddAnnotationTargetFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/hasAnnotationTarget21.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/hasAnnotationTarget21.kt.after index fd3434761102..1bbf2e1eafa6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/hasAnnotationTarget21.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/hasAnnotationTarget21.kt.after @@ -7,4 +7,5 @@ annotation class Foo class Test { @Foo fun foo(): @Foo String = "" -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddAnnotationTargetFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/noBackingField.kt b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/noBackingField.kt index 32485f8684ca..b485bb4a224b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/noBackingField.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/noBackingField.kt @@ -4,4 +4,5 @@ annotation class FieldAnn @FieldAnn -val x get() = 42 \ No newline at end of file +val x get() = 42 +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddAnnotationTargetFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/noBackingField.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/noBackingField.kt.after index 5b2756e08083..da6e24d2f8d7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/noBackingField.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/noBackingField.kt.after @@ -4,4 +4,5 @@ annotation class FieldAnn @FieldAnn -val x get() = 42 \ No newline at end of file +val x get() = 42 +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddAnnotationTargetFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/requiresOptIn/class.kt b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/requiresOptIn/class.kt index b87377ab7e69..153597763e0d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/requiresOptIn/class.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/requiresOptIn/class.kt @@ -8,4 +8,5 @@ class Test @RequiresOptIn @Target(AnnotationTarget.FIELD) -annotation class MyExperimentalAPI \ No newline at end of file +annotation class MyExperimentalAPI +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddAnnotationTargetFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/requiresOptIn/class.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/requiresOptIn/class.kt.after index 895fb7d435c4..6fcd752978cf 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/requiresOptIn/class.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/requiresOptIn/class.kt.after @@ -8,4 +8,5 @@ class Test @RequiresOptIn @Target(AnnotationTarget.FIELD, AnnotationTarget.CLASS) -annotation class MyExperimentalAPI \ No newline at end of file +annotation class MyExperimentalAPI +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddAnnotationTargetFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_delegate.kt b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_delegate.kt index 5691825f2ada..93abdfac5281 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_delegate.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_delegate.kt @@ -4,4 +4,5 @@ annotation class DelegateAnn @delegate:DelegateAnn -val foo by lazy { "" } \ No newline at end of file +val foo by lazy { "" } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddAnnotationTargetFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_delegate.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_delegate.kt.after index 3334f713ec4b..9e6aa0420725 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_delegate.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_delegate.kt.after @@ -4,4 +4,5 @@ annotation class DelegateAnn @delegate:DelegateAnn -val foo by lazy { "" } \ No newline at end of file +val foo by lazy { "" } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddAnnotationTargetFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_field.kt b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_field.kt index cc3c8fe00d31..6847c27252f3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_field.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_field.kt @@ -2,4 +2,5 @@ @Target annotation class FieldAnn -class Field(@field:FieldAnn val foo: String) \ No newline at end of file +class Field(@field:FieldAnn val foo: String) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddAnnotationTargetFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_field.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_field.kt.after index 3a891b7cc777..1c36a1627c3e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_field.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_field.kt.after @@ -2,4 +2,5 @@ @Target(AnnotationTarget.FIELD) annotation class FieldAnn -class Field(@field:FieldAnn val foo: String) \ No newline at end of file +class Field(@field:FieldAnn val foo: String) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddAnnotationTargetFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_field_member.kt b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_field_member.kt index 9271f910ded5..7d9a7c5899ab 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_field_member.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_field_member.kt @@ -6,4 +6,5 @@ annotation class Ann class Test { @field:Ann var foo = "" -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddAnnotationTargetFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_field_member.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_field_member.kt.after index 2d66ffcf9cb5..7e805b134e40 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_field_member.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_field_member.kt.after @@ -6,4 +6,5 @@ annotation class Ann class Test { @field:Ann var foo = "" -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddAnnotationTargetFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_field_toplevel.kt b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_field_toplevel.kt index 9fe6992bc3f7..d6fa1261a8c2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_field_toplevel.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_field_toplevel.kt @@ -4,4 +4,5 @@ annotation class Ann @field:Ann -var foo = "" \ No newline at end of file +var foo = "" +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddAnnotationTargetFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_field_toplevel.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_field_toplevel.kt.after index ad4b845bab43..9f096d57399b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_field_toplevel.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_field_toplevel.kt.after @@ -4,4 +4,5 @@ annotation class Ann @field:Ann -var foo = "" \ No newline at end of file +var foo = "" +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddAnnotationTargetFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_file.kt b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_file.kt index 414113fc3103..a9c0d9f8c0dc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_file.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_file.kt @@ -2,4 +2,5 @@ @file:FileAnn @Target -annotation class FileAnn \ No newline at end of file +annotation class FileAnn +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddAnnotationTargetFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_file.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_file.kt.after index dc58cda46045..9331d74b10ea 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_file.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_file.kt.after @@ -2,4 +2,5 @@ @file:FileAnn @Target(AnnotationTarget.FILE) -annotation class FileAnn \ No newline at end of file +annotation class FileAnn +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddAnnotationTargetFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_get.kt b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_get.kt index 3fd0e96a4e43..a17735b732ee 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_get.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_get.kt @@ -2,4 +2,5 @@ @Target annotation class GetAnn -class Get(@get:GetAnn val foo: String) \ No newline at end of file +class Get(@get:GetAnn val foo: String) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddAnnotationTargetFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_get.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_get.kt.after index e1160055f1b4..c32788c5bc5e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_get.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_get.kt.after @@ -2,4 +2,5 @@ @Target(AnnotationTarget.PROPERTY_GETTER) annotation class GetAnn -class Get(@get:GetAnn val foo: String) \ No newline at end of file +class Get(@get:GetAnn val foo: String) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddAnnotationTargetFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_param.kt b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_param.kt index 37e16fdac6b6..78a51f3d170d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_param.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_param.kt @@ -2,4 +2,5 @@ @Target annotation class ParamAnn -class Param(@param:ParamAnn val foo: String) \ No newline at end of file +class Param(@param:ParamAnn val foo: String) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddAnnotationTargetFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_param.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_param.kt.after index 7f1b9612de63..295885e94496 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_param.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_param.kt.after @@ -2,4 +2,5 @@ @Target(AnnotationTarget.VALUE_PARAMETER) annotation class ParamAnn -class Param(@param:ParamAnn val foo: String) \ No newline at end of file +class Param(@param:ParamAnn val foo: String) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddAnnotationTargetFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_property.kt b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_property.kt index 38757e0b65f3..243c9bdb9a02 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_property.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_property.kt @@ -2,4 +2,5 @@ @Target annotation class PropertyAnn -class Property(@property:PropertyAnn val foo: String) \ No newline at end of file +class Property(@property:PropertyAnn val foo: String) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddAnnotationTargetFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_property.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_property.kt.after index 8c1cab823b0e..d2ee43660b7a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_property.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_property.kt.after @@ -2,4 +2,5 @@ @Target(AnnotationTarget.PROPERTY) annotation class PropertyAnn -class Property(@property:PropertyAnn val foo: String) \ No newline at end of file +class Property(@property:PropertyAnn val foo: String) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddAnnotationTargetFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_receiver.kt b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_receiver.kt index 6e09bc8c4db8..49f6b58c59fe 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_receiver.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_receiver.kt @@ -5,3 +5,5 @@ class Foo annotation class ReceiverAnn fun @receiver:ReceiverAnn Foo.test() {} + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddAnnotationTargetFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_receiver.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_receiver.kt.after index a075ca395c60..983710d755ed 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_receiver.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_receiver.kt.after @@ -5,3 +5,5 @@ class Foo annotation class ReceiverAnn fun @receiver:ReceiverAnn Foo.test() {} + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddAnnotationTargetFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_set.kt b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_set.kt index 6efbedf41b13..73319616b219 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_set.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_set.kt @@ -2,4 +2,5 @@ @Target annotation class SetAnn -class Set(@set:SetAnn var foo: String) \ No newline at end of file +class Set(@set:SetAnn var foo: String) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddAnnotationTargetFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_set.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_set.kt.after index b6372f9d8aac..14c91a4fba65 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_set.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_set.kt.after @@ -2,4 +2,5 @@ @Target(AnnotationTarget.PROPERTY_SETTER) annotation class SetAnn -class Set(@set:SetAnn var foo: String) \ No newline at end of file +class Set(@set:SetAnn var foo: String) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddAnnotationTargetFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_setparam.kt b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_setparam.kt index 5b2cd2854e27..a52b459d5f39 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_setparam.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_setparam.kt @@ -6,4 +6,5 @@ class Bar { @setparam:SetParamAnn var foo = 1 set(value) {} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddAnnotationTargetFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_setparam.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_setparam.kt.after index 19b7be9cef9f..a7e80a5d7c2e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_setparam.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationTarget/use-site_setparam.kt.after @@ -6,4 +6,5 @@ class Bar { @setparam:SetParamAnn var foo = 1 set(value) {} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddAnnotationTargetFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationUseSiteTarget/delegate.kt b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationUseSiteTarget/delegate.kt index fd1d8a261f85..c9e2f7f602c1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationUseSiteTarget/delegate.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationUseSiteTarget/delegate.kt @@ -11,3 +11,5 @@ class Abcd { @Anno var a by Abcd() + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddAnnotationUseSiteTargetFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationUseSiteTarget/delegate.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationUseSiteTarget/delegate.kt.after index da42fad92f12..f1c2c843f88b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationUseSiteTarget/delegate.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationUseSiteTarget/delegate.kt.after @@ -11,3 +11,5 @@ class Abcd { @delegate:Anno var a by Abcd() + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddAnnotationUseSiteTargetFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationUseSiteTarget/get.kt b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationUseSiteTarget/get.kt index a2c8332091fd..3c792033ac21 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationUseSiteTarget/get.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationUseSiteTarget/get.kt @@ -4,3 +4,5 @@ annotation class Anno2 @Anno2 var b = 42 + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddAnnotationUseSiteTargetFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationUseSiteTarget/get.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationUseSiteTarget/get.kt.after index 41725c9ec17f..7586cd363a01 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationUseSiteTarget/get.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addAnnotationUseSiteTarget/get.kt.after @@ -4,3 +4,5 @@ annotation class Anno2 @get:Anno2 var b = 42 + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddAnnotationUseSiteTargetFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addConstructorParameterFromSuperTypeCall/backticks.kt b/plugins/kotlin/idea/tests/testData/quickfix/addConstructorParameterFromSuperTypeCall/backticks.kt index 4f8152fff97f..05d2b0498732 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addConstructorParameterFromSuperTypeCall/backticks.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addConstructorParameterFromSuperTypeCall/backticks.kt @@ -2,4 +2,5 @@ // DISABLE-ERRORS class `My class` open class A(`first param`: `My class`) -class B : A() \ No newline at end of file +class B : A() +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddConstructorParameterFromSuperTypeCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addConstructorParameterFromSuperTypeCall/backticks.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addConstructorParameterFromSuperTypeCall/backticks.kt.after index 079b5731fc71..3514febfbd49 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addConstructorParameterFromSuperTypeCall/backticks.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addConstructorParameterFromSuperTypeCall/backticks.kt.after @@ -2,4 +2,5 @@ // DISABLE-ERRORS class `My class` open class A(`first param`: `My class`) -class B(`first param`: `My class`) : A(`first param`) \ No newline at end of file +class B(`first param`: `My class`) : A(`first param`) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddConstructorParameterFromSuperTypeCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addConstructorParameterFromSuperTypeCall/basic.kt b/plugins/kotlin/idea/tests/testData/quickfix/addConstructorParameterFromSuperTypeCall/basic.kt index 2a403025f555..c88dd40d6f45 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addConstructorParameterFromSuperTypeCall/basic.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addConstructorParameterFromSuperTypeCall/basic.kt @@ -1,4 +1,5 @@ // "Add constructor parameter 'x'" "true" // DISABLE-ERRORS abstract class A(val x: Int, val y: String, val z: Long) -class B : A() \ No newline at end of file +class B : A() +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddConstructorParameterFromSuperTypeCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addConstructorParameterFromSuperTypeCall/basic.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addConstructorParameterFromSuperTypeCall/basic.kt.after index 0622a548ff40..bae2ed1e4249 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addConstructorParameterFromSuperTypeCall/basic.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addConstructorParameterFromSuperTypeCall/basic.kt.after @@ -1,4 +1,5 @@ // "Add constructor parameter 'x'" "true" // DISABLE-ERRORS abstract class A(val x: Int, val y: String, val z: Long) -class B(x: Int) : A(x) \ No newline at end of file +class B(x: Int) : A(x) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddConstructorParameterFromSuperTypeCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addConstructorParameterFromSuperTypeCall/basic2.kt b/plugins/kotlin/idea/tests/testData/quickfix/addConstructorParameterFromSuperTypeCall/basic2.kt index 6d4be74d7aa6..e8d89fdb98e2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addConstructorParameterFromSuperTypeCall/basic2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addConstructorParameterFromSuperTypeCall/basic2.kt @@ -1,4 +1,5 @@ // "Add constructor parameter 'x'" "true" // DISABLE-ERRORS abstract class A(val x: Int, val y: String, val z: Long) -class B() : A() \ No newline at end of file +class B() : A() +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddConstructorParameterFromSuperTypeCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addConstructorParameterFromSuperTypeCall/basic2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addConstructorParameterFromSuperTypeCall/basic2.kt.after index 0622a548ff40..bae2ed1e4249 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addConstructorParameterFromSuperTypeCall/basic2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addConstructorParameterFromSuperTypeCall/basic2.kt.after @@ -1,4 +1,5 @@ // "Add constructor parameter 'x'" "true" // DISABLE-ERRORS abstract class A(val x: Int, val y: String, val z: Long) -class B(x: Int) : A(x) \ No newline at end of file +class B(x: Int) : A(x) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddConstructorParameterFromSuperTypeCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addConstructorParameterFromSuperTypeCall/basic3.kt b/plugins/kotlin/idea/tests/testData/quickfix/addConstructorParameterFromSuperTypeCall/basic3.kt index f43bc273123f..e6bcde603a15 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addConstructorParameterFromSuperTypeCall/basic3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addConstructorParameterFromSuperTypeCall/basic3.kt @@ -1,4 +1,5 @@ // "Add constructor parameter 'y'" "true" // DISABLE-ERRORS abstract class A(val x: Int, val y: String, val z: Long) -class B(x: Int) : A(x) \ No newline at end of file +class B(x: Int) : A(x) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddConstructorParameterFromSuperTypeCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addConstructorParameterFromSuperTypeCall/basic3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addConstructorParameterFromSuperTypeCall/basic3.kt.after index 90b503af26d9..73e2b77afb0e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addConstructorParameterFromSuperTypeCall/basic3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addConstructorParameterFromSuperTypeCall/basic3.kt.after @@ -1,4 +1,5 @@ // "Add constructor parameter 'y'" "true" // DISABLE-ERRORS abstract class A(val x: Int, val y: String, val z: Long) -class B(x: Int, y: String) : A(x, y) \ No newline at end of file +class B(x: Int, y: String) : A(x, y) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddConstructorParameterFromSuperTypeCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addConstructorParameterFromSuperTypeCall/basic4.kt b/plugins/kotlin/idea/tests/testData/quickfix/addConstructorParameterFromSuperTypeCall/basic4.kt index ed7cb4b3f503..54557dac90b9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addConstructorParameterFromSuperTypeCall/basic4.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addConstructorParameterFromSuperTypeCall/basic4.kt @@ -1,3 +1,4 @@ // "Add constructor parameter 'z'" "true" abstract class A(val x: Int, val y: String, val z: Long) -class B(x: Int, y: String) : A(x, y) \ No newline at end of file +class B(x: Int, y: String) : A(x, y) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddConstructorParameterFromSuperTypeCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addConstructorParameterFromSuperTypeCall/basic4.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addConstructorParameterFromSuperTypeCall/basic4.kt.after index 8f681112f8b6..de4143642a15 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addConstructorParameterFromSuperTypeCall/basic4.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addConstructorParameterFromSuperTypeCall/basic4.kt.after @@ -1,3 +1,4 @@ // "Add constructor parameter 'z'" "true" abstract class A(val x: Int, val y: String, val z: Long) -class B(x: Int, y: String, z: Long) : A(x, y, z) \ No newline at end of file +class B(x: Int, y: String, z: Long) : A(x, y, z) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddConstructorParameterFromSuperTypeCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addConstructorParameterFromSuperTypeCall/generics.kt b/plugins/kotlin/idea/tests/testData/quickfix/addConstructorParameterFromSuperTypeCall/generics.kt index 3e58071fba71..53d2aef258b6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addConstructorParameterFromSuperTypeCall/generics.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addConstructorParameterFromSuperTypeCall/generics.kt @@ -1,3 +1,4 @@ // "Add constructor parameter 'foos'" "true" abstract class Foo(foos: List) -class Bar() : Foo() \ No newline at end of file +class Bar() : Foo() +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddConstructorParameterFromSuperTypeCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addConstructorParameterFromSuperTypeCall/generics.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addConstructorParameterFromSuperTypeCall/generics.kt.after index 592df7011cd0..0eb89c8bd28c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addConstructorParameterFromSuperTypeCall/generics.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addConstructorParameterFromSuperTypeCall/generics.kt.after @@ -1,3 +1,4 @@ // "Add constructor parameter 'foos'" "true" abstract class Foo(foos: List) -class Bar(foos: List) : Foo(foos) \ No newline at end of file +class Bar(foos: List) : Foo(foos) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddConstructorParameterFromSuperTypeCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addConstructorParameterFromSuperTypeCall/hasDifferentNameParameter.kt b/plugins/kotlin/idea/tests/testData/quickfix/addConstructorParameterFromSuperTypeCall/hasDifferentNameParameter.kt index f6afc6c518a9..df6b9989d117 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addConstructorParameterFromSuperTypeCall/hasDifferentNameParameter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addConstructorParameterFromSuperTypeCall/hasDifferentNameParameter.kt @@ -1,4 +1,5 @@ // "Add constructor parameter 'y'" "true" // DISABLE-ERRORS abstract class A(val x: Int, val y: String, val z: Long) -class B(a: Int, b: String, c: Long) : A(a) \ No newline at end of file +class B(a: Int, b: String, c: Long) : A(a) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddConstructorParameterFromSuperTypeCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addConstructorParameterFromSuperTypeCall/hasDifferentNameParameter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addConstructorParameterFromSuperTypeCall/hasDifferentNameParameter.kt.after index f4d685325b6f..a214ac02e877 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addConstructorParameterFromSuperTypeCall/hasDifferentNameParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addConstructorParameterFromSuperTypeCall/hasDifferentNameParameter.kt.after @@ -1,4 +1,5 @@ // "Add constructor parameter 'y'" "true" // DISABLE-ERRORS abstract class A(val x: Int, val y: String, val z: Long) -class B(a: Int, b: String, c: Long, y: String) : A(a, y) \ No newline at end of file +class B(a: Int, b: String, c: Long, y: String) : A(a, y) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddConstructorParameterFromSuperTypeCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addConstructorParameterFromSuperTypeCall/typeParameter.kt b/plugins/kotlin/idea/tests/testData/quickfix/addConstructorParameterFromSuperTypeCall/typeParameter.kt index af663f4be775..3a231817ce9e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addConstructorParameterFromSuperTypeCall/typeParameter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addConstructorParameterFromSuperTypeCall/typeParameter.kt @@ -1,3 +1,5 @@ // "Add constructor parameter 'x'" "true" abstract class Foo(x: T) class Boo : Foo() + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddConstructorParameterFromSuperTypeCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addConstructorParameterFromSuperTypeCall/typeParameter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addConstructorParameterFromSuperTypeCall/typeParameter.kt.after index 56d5eec4de23..0b66b4d80ac7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addConstructorParameterFromSuperTypeCall/typeParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addConstructorParameterFromSuperTypeCall/typeParameter.kt.after @@ -1,3 +1,5 @@ // "Add constructor parameter 'x'" "true" abstract class Foo(x: T) class Boo(x: String) : Foo(x) + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddConstructorParameterFromSuperTypeCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addConversionCall/toByte.kt b/plugins/kotlin/idea/tests/testData/quickfix/addConversionCall/toByte.kt index 3ef73af490c4..c589dd71341c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addConversionCall/toByte.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addConversionCall/toByte.kt @@ -4,4 +4,5 @@ fun takeByte(x: Byte) {} fun foo() { takeByte(1 + 1) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddConversionCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addConversionCall/toByte.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addConversionCall/toByte.kt.after index f5521622e4ad..9f76801e02b6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addConversionCall/toByte.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addConversionCall/toByte.kt.after @@ -4,4 +4,5 @@ fun takeByte(x: Byte) {} fun foo() { takeByte((1 + 1).toByte()) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddConversionCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addConversionCall/toByteExtraParenthesis.kt b/plugins/kotlin/idea/tests/testData/quickfix/addConversionCall/toByteExtraParenthesis.kt index 63883c28908b..512b63c88105 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addConversionCall/toByteExtraParenthesis.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addConversionCall/toByteExtraParenthesis.kt @@ -4,4 +4,5 @@ fun takeByte(x: Byte) {} fun foo() { takeByte(1 + (1 + 1)) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddConversionCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addConversionCall/toByteExtraParenthesis.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addConversionCall/toByteExtraParenthesis.kt.after index eb7d35fc4413..ee64cd3f7ed5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addConversionCall/toByteExtraParenthesis.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addConversionCall/toByteExtraParenthesis.kt.after @@ -4,4 +4,5 @@ fun takeByte(x: Byte) {} fun foo() { takeByte((1 + (1 + 1)).toByte()) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddConversionCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addConversionCall/toShort.kt b/plugins/kotlin/idea/tests/testData/quickfix/addConversionCall/toShort.kt index 863657e931c1..971c93ee6468 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addConversionCall/toShort.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addConversionCall/toShort.kt @@ -4,4 +4,5 @@ fun takeShort(x: Short) {} fun foo() { takeShort(1 + 1) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddConversionCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addConversionCall/toShort.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addConversionCall/toShort.kt.after index c0613ed376b6..5838f9f6babd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addConversionCall/toShort.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addConversionCall/toShort.kt.after @@ -4,4 +4,5 @@ fun takeShort(x: Short) {} fun foo() { takeShort((1 + 1).toShort()) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddConversionCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addCrossinline/basic.kt b/plugins/kotlin/idea/tests/testData/quickfix/addCrossinline/basic.kt index 9130caf75f8c..526f7b17599c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addCrossinline/basic.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addCrossinline/basic.kt @@ -11,3 +11,5 @@ inline fun bar(block: () -> Unit) { } } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddInlineModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addCrossinline/basic.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addCrossinline/basic.kt.after index 1cf4dfc0b1b0..45a0ab28bf8e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addCrossinline/basic.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addCrossinline/basic.kt.after @@ -11,3 +11,5 @@ inline fun bar(crossinline block: () -> Unit) { } } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddInlineModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addCrossinline/suspend.kt b/plugins/kotlin/idea/tests/testData/quickfix/addCrossinline/suspend.kt index 88175d93c488..b1b96dd0568a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addCrossinline/suspend.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addCrossinline/suspend.kt @@ -1,3 +1,4 @@ // "Add 'crossinline' to parameter 'x'" "true" -inline fun foo(x: suspend () -> Unit) {} \ No newline at end of file +inline fun foo(x: suspend () -> Unit) {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddInlineModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addCrossinline/suspend.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addCrossinline/suspend.kt.after index 6cc9cf74c32e..b01681ac23ad 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addCrossinline/suspend.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addCrossinline/suspend.kt.after @@ -1,3 +1,4 @@ // "Add 'crossinline' to parameter 'x'" "true" -inline fun foo(crossinline x: suspend () -> Unit) {} \ No newline at end of file +inline fun foo(crossinline x: suspend () -> Unit) {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddInlineModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addDataModifier/test1.kt b/plugins/kotlin/idea/tests/testData/quickfix/addDataModifier/test1.kt index c42253debfb1..26e83024b6e2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addDataModifier/test1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addDataModifier/test1.kt @@ -3,4 +3,5 @@ class Foo(val bar: String, var baz: Int) fun test() { var (bar, baz) = Foo("A", 1) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddDataModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addDataModifier/test1.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addDataModifier/test1.kt.after index e0cf499da011..ba6b2d127153 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addDataModifier/test1.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addDataModifier/test1.kt.after @@ -3,4 +3,5 @@ data class Foo(val bar: String, var baz: Int) fun test() { var (bar, baz) = Foo("A", 1) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddDataModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addDataModifier/test2.kt b/plugins/kotlin/idea/tests/testData/quickfix/addDataModifier/test2.kt index e208ba575ba0..505e77ae0858 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addDataModifier/test2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addDataModifier/test2.kt @@ -4,4 +4,5 @@ class Foo(val bar: String, var baz: Int) fun test() { val foo = Foo("A", 1) var (bar, baz) = foo -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddDataModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addDataModifier/test2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addDataModifier/test2.kt.after index 1cef42725b82..4cde1483bc9f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addDataModifier/test2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addDataModifier/test2.kt.after @@ -4,4 +4,5 @@ data class Foo(val bar: String, var baz: Int) fun test() { val foo = Foo("A", 1) var (bar, baz) = foo -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddDataModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addDataModifier/test3.kt b/plugins/kotlin/idea/tests/testData/quickfix/addDataModifier/test3.kt index 5d71b0d03d60..55f12c994f8c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addDataModifier/test3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addDataModifier/test3.kt @@ -6,4 +6,5 @@ fun test() { val list = listOf(Foo("A", 1)) list.forEach { (foo, bar) -> } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddDataModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addDataModifier/test3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addDataModifier/test3.kt.after index 99101ebe8ede..7b0b017d9144 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addDataModifier/test3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addDataModifier/test3.kt.after @@ -6,4 +6,5 @@ fun test() { val list = listOf(Foo("A", 1)) list.forEach { (foo, bar) -> } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddDataModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addDataModifier/test4.kt b/plugins/kotlin/idea/tests/testData/quickfix/addDataModifier/test4.kt index 77f91f7c6aeb..e429c4877fc7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addDataModifier/test4.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addDataModifier/test4.kt @@ -6,4 +6,5 @@ fun test() { val list = listOf(Foo("A", 1)) for ((foo, bar) in list) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddDataModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addDataModifier/test4.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addDataModifier/test4.kt.after index 2c6da59e2c67..62fb9a5dc863 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addDataModifier/test4.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addDataModifier/test4.kt.after @@ -6,4 +6,5 @@ fun test() { val list = listOf(Foo("A", 1)) for ((foo, bar) in list) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddDataModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addDataModifier/test5.kt b/plugins/kotlin/idea/tests/testData/quickfix/addDataModifier/test5.kt index 2e02b43cd7af..c074f96c82c1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addDataModifier/test5.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addDataModifier/test5.kt @@ -3,4 +3,5 @@ class Foo(private val bar: String, protected var baz: Int) { fun test() { var (bar, baz) = Foo("A", 1) } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddDataModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addDataModifier/test5.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addDataModifier/test5.kt.after index b3761069e0a9..fcef243c93a0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addDataModifier/test5.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addDataModifier/test5.kt.after @@ -3,4 +3,5 @@ data class Foo(private val bar: String, protected var baz: Int) { fun test() { var (bar, baz) = Foo("A", 1) } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddDataModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addDataModifier/test6.kt b/plugins/kotlin/idea/tests/testData/quickfix/addDataModifier/test6.kt index 21f8ce91d78a..42172d17ed34 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addDataModifier/test6.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addDataModifier/test6.kt @@ -5,4 +5,5 @@ class Foo(private val bar: String, protected var baz: Int) { var (bar, baz) = Foo("A", 1) } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddDataModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addDataModifier/test6.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addDataModifier/test6.kt.after index e55eb2fbe4e8..b2cbeacc131c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addDataModifier/test6.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addDataModifier/test6.kt.after @@ -5,4 +5,5 @@ data class Foo(private val bar: String, protected var baz: Int) { var (bar, baz) = Foo("A", 1) } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddDataModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addDataModifier/test7.kt b/plugins/kotlin/idea/tests/testData/quickfix/addDataModifier/test7.kt index e6954b4dca61..ad8c1e725530 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addDataModifier/test7.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addDataModifier/test7.kt @@ -3,4 +3,5 @@ class Foo(internal val bar: String, var baz: Int) fun test() { var (bar, baz) = Foo("A", 1) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddDataModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addDataModifier/test7.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addDataModifier/test7.kt.after index fac74f191bdf..28795b2a9463 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addDataModifier/test7.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addDataModifier/test7.kt.after @@ -3,4 +3,5 @@ data class Foo(internal val bar: String, var baz: Int) fun test() { var (bar, baz) = Foo("A", 1) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddDataModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addDefaultConstructor/expect.kt b/plugins/kotlin/idea/tests/testData/quickfix/addDefaultConstructor/expect.kt index d3f3f7207c7c..3241225dbed2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addDefaultConstructor/expect.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addDefaultConstructor/expect.kt @@ -5,3 +5,5 @@ expect open class A open class C : A() + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddDefaultConstructorFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addDefaultConstructor/expect.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addDefaultConstructor/expect.kt.after index 34d79cc04e9a..0b81785af904 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addDefaultConstructor/expect.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addDefaultConstructor/expect.kt.after @@ -5,3 +5,5 @@ expect open class A() open class C : A() + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddDefaultConstructorFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addDefaultConstructor/expectAnnotation.kt b/plugins/kotlin/idea/tests/testData/quickfix/addDefaultConstructor/expectAnnotation.kt index bf34c6d9b7d5..174e0287047a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addDefaultConstructor/expectAnnotation.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addDefaultConstructor/expectAnnotation.kt @@ -5,4 +5,5 @@ expect annotation class Foo @Foo -fun bar() {} \ No newline at end of file +fun bar() {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddDefaultConstructorFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addDefaultConstructor/expectAnnotation.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addDefaultConstructor/expectAnnotation.kt.after index 8788bd766c29..511d1773b1aa 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addDefaultConstructor/expectAnnotation.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addDefaultConstructor/expectAnnotation.kt.after @@ -5,4 +5,5 @@ expect annotation class Foo() @Foo -fun bar() {} \ No newline at end of file +fun bar() {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddDefaultConstructorFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addDefaultConstructor/expectAnnotation2.kt b/plugins/kotlin/idea/tests/testData/quickfix/addDefaultConstructor/expectAnnotation2.kt index 362c025915af..0c90dd219255 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addDefaultConstructor/expectAnnotation2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addDefaultConstructor/expectAnnotation2.kt @@ -5,4 +5,5 @@ expect annotation class Foo @Foo() -fun bar() {} \ No newline at end of file +fun bar() {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddDefaultConstructorFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addDefaultConstructor/expectAnnotation2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addDefaultConstructor/expectAnnotation2.kt.after index fefa35ea1b84..5fd8001f3390 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addDefaultConstructor/expectAnnotation2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addDefaultConstructor/expectAnnotation2.kt.after @@ -5,4 +5,5 @@ expect annotation class Foo() @Foo() -fun bar() {} \ No newline at end of file +fun bar() {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddDefaultConstructorFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addElseBranchToIf/error.kt b/plugins/kotlin/idea/tests/testData/quickfix/addElseBranchToIf/error.kt index 1575dc2008c5..64dd3a06baf1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addElseBranchToIf/error.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addElseBranchToIf/error.kt @@ -2,4 +2,5 @@ // ERROR: Unresolved reference: TODO fun foo(x: String?) { val a = if (x == null) 4 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddIfElseBranchFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addElseBranchToIf/error.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addElseBranchToIf/error.kt.after index 22513a2189f6..1bb37b759b2d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addElseBranchToIf/error.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addElseBranchToIf/error.kt.after @@ -2,4 +2,5 @@ // ERROR: Unresolved reference: TODO fun foo(x: String?) { val a = if (x == null) 4 else TODO() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddIfElseBranchFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addElseBranchToIf/errorWithBlock.kt b/plugins/kotlin/idea/tests/testData/quickfix/addElseBranchToIf/errorWithBlock.kt index 657313c56726..c2c558e45396 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addElseBranchToIf/errorWithBlock.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addElseBranchToIf/errorWithBlock.kt @@ -3,4 +3,5 @@ fun foo(x: String?) { val a = if (x == null) { 4 } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddIfElseBranchFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addElseBranchToIf/errorWithBlock.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addElseBranchToIf/errorWithBlock.kt.after index 18e70d6ba7c0..c26ba9dacbbf 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addElseBranchToIf/errorWithBlock.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addElseBranchToIf/errorWithBlock.kt.after @@ -5,4 +5,5 @@ fun foo(x: String?) { } else { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddIfElseBranchFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addElseBranchToIf/inElvis.kt b/plugins/kotlin/idea/tests/testData/quickfix/addElseBranchToIf/inElvis.kt index a22738e9d72e..cf6d33555a5c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addElseBranchToIf/inElvis.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addElseBranchToIf/inElvis.kt @@ -2,4 +2,5 @@ // ERROR: Unresolved reference: TODO fun foo(x: String?) { x ?: if (x == null) return -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddIfElseBranchFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addElseBranchToIf/inElvis.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addElseBranchToIf/inElvis.kt.after index a1703b69a004..607635a76142 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addElseBranchToIf/inElvis.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addElseBranchToIf/inElvis.kt.after @@ -2,4 +2,5 @@ // ERROR: Unresolved reference: TODO fun foo(x: String?) { x ?: if (x == null) return else TODO() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddIfElseBranchFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addElseBranchToIf/inElvisBlock.kt b/plugins/kotlin/idea/tests/testData/quickfix/addElseBranchToIf/inElvisBlock.kt index 708ed9a20d05..628bf105fd17 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addElseBranchToIf/inElvisBlock.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addElseBranchToIf/inElvisBlock.kt @@ -3,4 +3,5 @@ fun foo(x: String?) { x ?: if (x == null) { return } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddIfElseBranchFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addElseBranchToIf/inElvisBlock.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addElseBranchToIf/inElvisBlock.kt.after index 96b7c8937810..4191fdb33234 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addElseBranchToIf/inElvisBlock.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addElseBranchToIf/inElvisBlock.kt.after @@ -5,4 +5,5 @@ fun foo(x: String?) { } else { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddIfElseBranchFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addEmptyArgumentList/suspend.kt b/plugins/kotlin/idea/tests/testData/quickfix/addEmptyArgumentList/suspend.kt index 4913f7aa82e8..458a759afb43 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addEmptyArgumentList/suspend.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addEmptyArgumentList/suspend.kt @@ -3,4 +3,5 @@ fun suspend(fn: () -> Unit) {} fun callSuspend() { suspend { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddEmptyArgumentListFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addEmptyArgumentList/suspend.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addEmptyArgumentList/suspend.kt.after index 912a78fc97c4..2c0cc4ccd2d6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addEmptyArgumentList/suspend.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addEmptyArgumentList/suspend.kt.after @@ -3,4 +3,5 @@ fun suspend(fn: () -> Unit) {} fun callSuspend() { suspend() { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddEmptyArgumentListFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addEqEqTrue/simple.kt b/plugins/kotlin/idea/tests/testData/quickfix/addEqEqTrue/simple.kt index 36cb724a5cd2..c040d520e393 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addEqEqTrue/simple.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addEqEqTrue/simple.kt @@ -7,3 +7,5 @@ fun test(foo: Foo?) { if (foo?.bar()) { } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddEqEqTrueFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addEqEqTrue/simple.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addEqEqTrue/simple.kt.after index 0cf74078c189..3671885a569f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addEqEqTrue/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addEqEqTrue/simple.kt.after @@ -7,3 +7,5 @@ fun test(foo: Foo?) { if (foo?.bar() == true) { } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddEqEqTrueFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addEqEqTrue/simple2.kt b/plugins/kotlin/idea/tests/testData/quickfix/addEqEqTrue/simple2.kt index 2d3ac151e408..4360d7ecb45a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addEqEqTrue/simple2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addEqEqTrue/simple2.kt @@ -8,3 +8,5 @@ fun baz(b: Boolean) {} fun test(foo: Foo?) { baz(foo?.bar()) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddEqEqTrueFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addEqEqTrue/simple2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addEqEqTrue/simple2.kt.after index 986547bdcf8b..be5147b2c2dd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addEqEqTrue/simple2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addEqEqTrue/simple2.kt.after @@ -8,3 +8,5 @@ fun baz(b: Boolean) {} fun test(foo: Foo?) { baz(foo?.bar() == true) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddEqEqTrueFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/array.kt b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/array.kt index 8fa9b488bd76..250c4a1b38aa 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/array.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/array.kt @@ -2,4 +2,6 @@ fun foo(a: Array?): String { return a[0] -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/array.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/array.kt.after index 5e0883b5c17c..ac488c5c55c2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/array.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/array.kt.after @@ -2,4 +2,6 @@ fun foo(a: Array?): String { return a!![0] -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/array2.kt b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/array2.kt index 60bc77914d85..ac1eee657068 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/array2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/array2.kt @@ -2,4 +2,6 @@ fun foo(a: Array): String { return a[0] -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/array2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/array2.kt.after index 9df38f9e15ad..c8c8af2faf91 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/array2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/array2.kt.after @@ -2,4 +2,6 @@ fun foo(a: Array): String { return a[0]!! -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/array3.kt b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/array3.kt index 165b1e54af0b..a994a38c7e06 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/array3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/array3.kt @@ -2,4 +2,6 @@ fun foo(a: Array) { a[0].length -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/array3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/array3.kt.after index 17cf72814350..792ca1d8f01b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/array3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/array3.kt.after @@ -2,4 +2,6 @@ fun foo(a: Array) { a[0]!!.length -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/array4.kt b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/array4.kt index 3f56bb9c72f6..09c897afe733 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/array4.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/array4.kt @@ -4,4 +4,6 @@ fun foo(a: Array?): String { return a[0] -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/array4.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/array4.kt.after index dee96921e51b..74adda6e6599 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/array4.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/array4.kt.after @@ -4,4 +4,6 @@ fun foo(a: Array?): String { return a[0]!! -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/assignment.kt b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/assignment.kt index b48940ad6e5c..554f45c8099a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/assignment.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/assignment.kt @@ -5,3 +5,6 @@ var i = 0 fun foo(s: String?) { i = s.length } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/assignment.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/assignment.kt.after index 1127f9f6d5dc..43b87a04e6e3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/assignment.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/assignment.kt.after @@ -5,3 +5,6 @@ var i = 0 fun foo(s: String?) { i = s!!.length } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/assignmentToUnsafeCallExpression.kt b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/assignmentToUnsafeCallExpression.kt index 05d657e6c3cc..8980acdf0400 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/assignmentToUnsafeCallExpression.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/assignmentToUnsafeCallExpression.kt @@ -4,3 +4,6 @@ class A(var s: String) fun foo(a: A?) { a.s = "" } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/assignmentToUnsafeCallExpression.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/assignmentToUnsafeCallExpression.kt.after index dc16487f5841..7cdcce4cbed2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/assignmentToUnsafeCallExpression.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/assignmentToUnsafeCallExpression.kt.after @@ -4,3 +4,6 @@ class A(var s: String) fun foo(a: A?) { a!!.s = "" } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/functionReference.kt b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/functionReference.kt index a0f1a190e792..e44d82606aae 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/functionReference.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/functionReference.kt @@ -8,3 +8,5 @@ fun test(foo: Foo?) { } // TODO: Enable when FIR reports UNSAFE_CALL for function reference on nullable (currently UNRESOLVED_REFERENCE) /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/functionReference.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/functionReference.kt.after index f2ce9d61e0f4..d9e32ab605a6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/functionReference.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/functionReference.kt.after @@ -8,3 +8,5 @@ fun test(foo: Foo?) { } // TODO: Enable when FIR reports UNSAFE_CALL for function reference on nullable (currently UNRESOLVED_REFERENCE) /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/functionReference2.kt b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/functionReference2.kt index db0704a0d098..80c165063cd1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/functionReference2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/functionReference2.kt @@ -12,3 +12,5 @@ fun test(foo: Foo?) { } // TODO: Enable when FIR reports UNSAFE_CALL for function reference on nullable (currently UNRESOLVED_REFERENCE) /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/functionReference2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/functionReference2.kt.after index 3ff9ea4ef21c..5930bfe90f04 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/functionReference2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/functionReference2.kt.after @@ -12,3 +12,5 @@ fun test(foo: Foo?) { } // TODO: Enable when FIR reports UNSAFE_CALL for function reference on nullable (currently UNRESOLVED_REFERENCE) /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/functionReference3.kt b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/functionReference3.kt index 883c6d2699b2..c7c17fe278bb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/functionReference3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/functionReference3.kt @@ -8,3 +8,5 @@ fun Foo?.test() { } // TODO: Enable when FIR reports UNSAFE_CALL for function reference on nullable (currently UNRESOLVED_REFERENCE) /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/functionReference3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/functionReference3.kt.after index 228e5fede3a3..cbf0b76b959d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/functionReference3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/functionReference3.kt.after @@ -8,3 +8,5 @@ fun Foo?.test() { } // TODO: Enable when FIR reports UNSAFE_CALL for function reference on nullable (currently UNRESOLVED_REFERENCE) /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/implicit.kt b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/implicit.kt index ed029ac2894f..52f228847ec0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/implicit.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/implicit.kt @@ -2,4 +2,6 @@ fun String?.foo() { length -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/implicit.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/implicit.kt.after index 9b8283c14f3e..07240f4cc792 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/implicit.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/implicit.kt.after @@ -2,4 +2,6 @@ fun String?.foo() { this!!.length -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/implicit2.kt b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/implicit2.kt index d8d477668d49..5029b4430dda 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/implicit2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/implicit2.kt @@ -4,4 +4,6 @@ fun test(s: String?) { s.run { length } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/implicit2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/implicit2.kt.after index 43601082dd39..734d76bfb44a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/implicit2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/implicit2.kt.after @@ -4,4 +4,6 @@ fun test(s: String?) { s.run { this!!.length } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/implicit3.kt b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/implicit3.kt index c83c7a794eea..478d0ace8a55 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/implicit3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/implicit3.kt @@ -9,4 +9,6 @@ class Foo { fun baz(project: Project) {} class Project -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/implicit3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/implicit3.kt.after index c2289bd6403d..4ef6530d92bb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/implicit3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/implicit3.kt.after @@ -9,4 +9,6 @@ class Foo { fun baz(project: Project) {} class Project -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/implicitFunctionCall.kt b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/implicitFunctionCall.kt index a4a4b05318a2..c1b026150475 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/implicitFunctionCall.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/implicitFunctionCall.kt @@ -2,4 +2,6 @@ // WITH_STDLIB fun String?.foo() { toLowerCase() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/implicitFunctionCall.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/implicitFunctionCall.kt.after index 0b6de422dab8..4d8eb35fde93 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/implicitFunctionCall.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/implicitFunctionCall.kt.after @@ -2,4 +2,6 @@ // WITH_STDLIB fun String?.foo() { this!!.toLowerCase() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/infixCall.kt b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/infixCall.kt index 39b8006b9619..66b9b6e00cd5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/infixCall.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/infixCall.kt @@ -7,3 +7,6 @@ class SafeType { fun safeB(p: SafeType?) { val v = p op 42 } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/infixCall.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/infixCall.kt.after index 0849e2ee0693..38bd13aba53a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/infixCall.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/infixCall.kt.after @@ -7,3 +7,6 @@ class SafeType { fun safeB(p: SafeType?) { val v = p!! op 42 } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/iterable.kt b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/iterable.kt index 5301cd62e106..87c884d771d8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/iterable.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/iterable.kt @@ -4,3 +4,6 @@ fun foo() { for (i in test) { } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/iterable.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/iterable.kt.after index fd82e0d5ddfe..fd68e00d3bfd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/iterable.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/iterable.kt.after @@ -4,3 +4,6 @@ fun foo() { for (i in test!!) { } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/iterableDoesNotInheritIterableInterface.kt b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/iterableDoesNotInheritIterableInterface.kt index 217cce1350a1..76d67f41d6ef 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/iterableDoesNotInheritIterableInterface.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/iterableDoesNotInheritIterableInterface.kt @@ -7,3 +7,6 @@ fun foo() { val test: Some? = Some() for (i in test) { } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/iterableDoesNotInheritIterableInterface.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/iterableDoesNotInheritIterableInterface.kt.after index 68e9b442fa36..8b327e295af0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/iterableDoesNotInheritIterableInterface.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/iterableDoesNotInheritIterableInterface.kt.after @@ -7,3 +7,6 @@ fun foo() { val test: Some? = Some() for (i in test!!) { } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/iterableGeneric.kt b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/iterableGeneric.kt index 19dbf8a93184..f1a1fe4c288c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/iterableGeneric.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/iterableGeneric.kt @@ -3,3 +3,6 @@ fun ?> foo(c: T) { for (i in c) { } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/iterableGeneric.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/iterableGeneric.kt.after index 1f70bf434a0d..ae2a8080d436 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/iterableGeneric.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/iterableGeneric.kt.after @@ -3,3 +3,6 @@ fun ?> foo(c: T) { for (i in c!!) { } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/iterableInExtension.kt b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/iterableInExtension.kt index ef48644e4d83..0b43ed301947 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/iterableInExtension.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/iterableInExtension.kt @@ -9,3 +9,6 @@ class C { fun C.test() { for (s in list) {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/iterableInExtension.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/iterableInExtension.kt.after index ccc7952b734a..6cc7bcd7b38a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/iterableInExtension.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/iterableInExtension.kt.after @@ -9,3 +9,6 @@ class C { fun C.test() { for (s in list!!) {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/iterableWithBadIterator.fir.kt b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/iterableWithBadIterator.fir.kt index 746ec38c6b29..89ebcfe37002 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/iterableWithBadIterator.fir.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/iterableWithBadIterator.fir.kt @@ -8,3 +8,5 @@ fun foo() { val test: Some? = Some() for (i in test) { } } + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/iterableWithBadIterator.fir.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/iterableWithBadIterator.fir.kt.after index 02eda3ed5b32..09f5c0d0d96b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/iterableWithBadIterator.fir.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/iterableWithBadIterator.fir.kt.after @@ -8,3 +8,5 @@ fun foo() { val test: Some? = Some() for (i in test!!) { } } + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/normal.kt b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/normal.kt index 244e1995be9a..ac6cadbd42d3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/normal.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/normal.kt @@ -2,4 +2,6 @@ fun foo(a: String?) { a.length -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/normal.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/normal.kt.after index aa284cc474af..406a2a17f5ca 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/normal.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/normal.kt.after @@ -2,4 +2,6 @@ fun foo(a: String?) { a!!.length -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/normal2.kt b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/normal2.kt index a0aa985706c1..cd9c3fef6e03 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/normal2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/normal2.kt @@ -3,4 +3,6 @@ fun foo(a: String?) { a.toLowerCase() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/normal2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/normal2.kt.after index ea5a69c466c6..ee662cf84226 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/normal2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/normal2.kt.after @@ -3,4 +3,6 @@ fun foo(a: String?) { a!!.toLowerCase() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/nullInitializerWithUnstableSmartcast.kt b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/nullInitializerWithUnstableSmartcast.kt index 78b7ee6d605f..d9135b0a7af6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/nullInitializerWithUnstableSmartcast.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/nullInitializerWithUnstableSmartcast.kt @@ -8,4 +8,6 @@ open class MyClass { val s2: String = s } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/nullInitializerWithUnstableSmartcast.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/nullInitializerWithUnstableSmartcast.kt.after index d7fabe2ab20a..7c646616a387 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/nullInitializerWithUnstableSmartcast.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/nullInitializerWithUnstableSmartcast.kt.after @@ -8,4 +8,6 @@ open class MyClass { val s2: String = s!! } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/nullReceiver.kt b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/nullReceiver.kt index eb622ad8eef8..d42ba4a8ca60 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/nullReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/nullReceiver.kt @@ -5,4 +5,5 @@ fun foo(arg: String?) { if (arg == null) { arg.length } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/nullReceiver.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/nullReceiver.kt.after index 4446623f4fc6..d4c4acf33c87 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/nullReceiver.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/nullReceiver.kt.after @@ -5,4 +5,5 @@ fun foo(arg: String?) { if (arg == null) { arg!!.length } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/nullReceiverWithUnstableSmartcast.kt b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/nullReceiverWithUnstableSmartcast.kt index f1cfc60ecfec..fbc5cf0034d7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/nullReceiverWithUnstableSmartcast.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/nullReceiverWithUnstableSmartcast.kt @@ -12,4 +12,6 @@ open class MyClass { a.bar() } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/nullReceiverWithUnstableSmartcast.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/nullReceiverWithUnstableSmartcast.kt.after index f30cadb7c367..ed1ee3086c70 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/nullReceiverWithUnstableSmartcast.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/nullReceiverWithUnstableSmartcast.kt.after @@ -12,4 +12,6 @@ open class MyClass { a!!.bar() } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationBinary.kt b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationBinary.kt index b3cd5d91a0f6..cf079dc70e28 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationBinary.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationBinary.kt @@ -7,3 +7,6 @@ class SafeType { fun safeB(p: SafeType?) { val v = p + 42 } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationBinary.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationBinary.kt.after index 0c06ec7be966..3ebbe7406b50 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationBinary.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationBinary.kt.after @@ -7,3 +7,6 @@ class SafeType { fun safeB(p: SafeType?) { val v = p!! + 42 } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationDecrement.kt b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationDecrement.kt index 9a95c028788b..6847c5fde745 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationDecrement.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationDecrement.kt @@ -2,4 +2,6 @@ fun test() { var i: Int? = 0 i-- -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationDecrement.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationDecrement.kt.after index 942069a038eb..4549cf0522f8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationDecrement.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationDecrement.kt.after @@ -2,4 +2,6 @@ fun test() { var i: Int? = 0 i = i!! - 1 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationDivAssign.kt b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationDivAssign.kt index cfb51401794e..c22ef84ec38e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationDivAssign.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationDivAssign.kt @@ -5,3 +5,5 @@ fun test() { } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationDivAssign.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationDivAssign.kt.after index 5aac9a8e5005..16cf7f099b16 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationDivAssign.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationDivAssign.kt.after @@ -5,3 +5,5 @@ fun test() { } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationIn.kt b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationIn.kt index 1e36490ea366..92ed2b0abb76 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationIn.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationIn.kt @@ -3,4 +3,6 @@ fun foo(a: List?) { "x" in a -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationIn.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationIn.kt.after index 4159c9f7c633..ac8e27b68b19 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationIn.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationIn.kt.after @@ -3,4 +3,6 @@ fun foo(a: List?) { "x" in a!! -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationIncrement.kt b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationIncrement.kt index c837db7b3c51..299ea5a7e2ce 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationIncrement.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationIncrement.kt @@ -2,4 +2,6 @@ fun test() { var i: Int? = 0 i++ -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationIncrement.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationIncrement.kt.after index 4069ded8982c..1eb94bcaee54 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationIncrement.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationIncrement.kt.after @@ -2,4 +2,6 @@ fun test() { var i: Int? = 0 i = i!! + 1 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationMinusAssign.kt b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationMinusAssign.kt index 2e2ea898905b..72f3d296cd3c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationMinusAssign.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationMinusAssign.kt @@ -5,3 +5,5 @@ fun test() { } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationMinusAssign.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationMinusAssign.kt.after index 16945f6107fe..eb90107a951d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationMinusAssign.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationMinusAssign.kt.after @@ -5,3 +5,5 @@ fun test() { } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationPlusAssign.kt b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationPlusAssign.kt index 8205971d6fa4..34a12a88ee32 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationPlusAssign.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationPlusAssign.kt @@ -5,3 +5,5 @@ fun test() { } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationPlusAssign.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationPlusAssign.kt.after index db334d01f665..350ab2e33fe5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationPlusAssign.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationPlusAssign.kt.after @@ -5,3 +5,5 @@ fun test() { } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationPlusAssignOnMutableMap.kt b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationPlusAssignOnMutableMap.kt index 9eb7b5d3ad5b..304ef4d857c6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationPlusAssignOnMutableMap.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationPlusAssignOnMutableMap.kt @@ -6,3 +6,5 @@ fun test(map: MutableMap) { /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationPlusAssignOnMutableMap.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationPlusAssignOnMutableMap.kt.after index 6b6e3addc575..ec61756eba3d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationPlusAssignOnMutableMap.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationPlusAssignOnMutableMap.kt.after @@ -6,3 +6,5 @@ fun test(map: MutableMap) { /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationRemAssign.kt b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationRemAssign.kt index 65de5ae53c74..465770d30f24 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationRemAssign.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationRemAssign.kt @@ -5,3 +5,5 @@ fun test() { } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationRemAssign.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationRemAssign.kt.after index 49858cc64722..699d50a3d572 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationRemAssign.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationRemAssign.kt.after @@ -5,3 +5,5 @@ fun test() { } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationTimesAssign.kt b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationTimesAssign.kt index 8fddc3562743..1332c82dc2c7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationTimesAssign.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationTimesAssign.kt @@ -5,3 +5,5 @@ fun test() { } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationTimesAssign.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationTimesAssign.kt.after index 2033590d7c2b..6593e75e8ecf 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationTimesAssign.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationTimesAssign.kt.after @@ -5,3 +5,5 @@ fun test() { } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationUnary.kt b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationUnary.kt index 5d68ef20ca0a..eb4b8d582037 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationUnary.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationUnary.kt @@ -7,3 +7,6 @@ class SafeType { fun safeB(p: SafeType?) { val v = -p } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationUnary.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationUnary.kt.after index 8a09c7a14646..1ea97fd43e99 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationUnary.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/operationUnary.kt.after @@ -7,3 +7,6 @@ class SafeType { fun safeB(p: SafeType?) { val v = -p!! } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/assignmentRValue.kt b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/assignmentRValue.kt index 584df770e524..352b1c2c19c7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/assignmentRValue.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/assignmentRValue.kt @@ -2,4 +2,6 @@ fun test(s: String?) { var z: String = "" z = s -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/assignmentRValue.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/assignmentRValue.kt.after index daef7cb5d6e2..2c686a957309 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/assignmentRValue.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/assignmentRValue.kt.after @@ -2,4 +2,6 @@ fun test(s: String?) { var z: String = "" z = s!! -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/initializer.kt b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/initializer.kt index fc672c4ab7f1..d88714cac41d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/initializer.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/initializer.kt @@ -1,4 +1,6 @@ // "Add non-null asserted (!!) call" "true" fun test(s: String?) { val z: String = s -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/initializer.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/initializer.kt.after index 1113251ff32b..9ece1a508011 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/initializer.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/initializer.kt.after @@ -1,4 +1,6 @@ // "Add non-null asserted (!!) call" "true" fun test(s: String?) { val z: String = s!! -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/memberAccessInExtension.kt b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/memberAccessInExtension.kt index 60c9dfa539c0..2d9690a312a1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/memberAccessInExtension.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/memberAccessInExtension.kt @@ -10,3 +10,6 @@ fun C.test() { } fun other(s: String) {} + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/memberAccessInExtension.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/memberAccessInExtension.kt.after index f04af414a62a..1f363d7a770c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/memberAccessInExtension.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/memberAccessInExtension.kt.after @@ -10,3 +10,6 @@ fun C.test() { } fun other(s: String) {} + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/memberAccessInExtensionAsAssignmentRValue.kt b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/memberAccessInExtensionAsAssignmentRValue.kt index 8da6e31ef408..350841342e2d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/memberAccessInExtensionAsAssignmentRValue.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/memberAccessInExtensionAsAssignmentRValue.kt @@ -7,4 +7,6 @@ class C { fun C.test() { var z: String = "" z = s -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/memberAccessInExtensionAsAssignmentRValue.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/memberAccessInExtensionAsAssignmentRValue.kt.after index fd1852259b71..4a633af00a5a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/memberAccessInExtensionAsAssignmentRValue.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/memberAccessInExtensionAsAssignmentRValue.kt.after @@ -7,4 +7,6 @@ class C { fun C.test() { var z: String = "" z = s!! -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/memberAccessInExtensionAsInitializer.kt b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/memberAccessInExtensionAsInitializer.kt index 2a5b42d1dde2..089de93f2d82 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/memberAccessInExtensionAsInitializer.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/memberAccessInExtensionAsInitializer.kt @@ -6,4 +6,6 @@ class C { // Test for KTIJ-10052 fun C.test() { var z: String = s -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/memberAccessInExtensionAsInitializer.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/memberAccessInExtensionAsInitializer.kt.after index 62c6cd22e7d5..7cd4f2695444 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/memberAccessInExtensionAsInitializer.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/memberAccessInExtensionAsInitializer.kt.after @@ -6,4 +6,6 @@ class C { // Test for KTIJ-10052 fun C.test() { var z: String = s!! -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/qualifiedArgument.kt b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/qualifiedArgument.kt index 3b13c4738f3c..3cdede31c7b6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/qualifiedArgument.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/qualifiedArgument.kt @@ -10,4 +10,6 @@ class A { val a = A() a.bar(a.foo().single(), "Asd") } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/qualifiedArgument.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/qualifiedArgument.kt.after index 07fcb8a1d21a..1cef60893d36 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/qualifiedArgument.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/qualifiedArgument.kt.after @@ -10,4 +10,6 @@ class A { val a = A() a.bar(a.foo().single()!!, "Asd") } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/removeNullability.kt b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/removeNullability.kt index 6e23a0d48caf..916d40b556e7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/removeNullability.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/removeNullability.kt @@ -4,4 +4,6 @@ fun test() { other(s) } -fun other(s: String) {} \ No newline at end of file +fun other(s: String) {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/removeNullability.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/removeNullability.kt.after index 0b4386e127c0..01b464d9d474 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/removeNullability.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/removeNullability.kt.after @@ -4,4 +4,6 @@ fun test() { other(s!!) } -fun other(s: String) {} \ No newline at end of file +fun other(s: String) {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/removeNullabilityForGeneric.kt b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/removeNullabilityForGeneric.kt index 021504f1c8cf..169053482fd5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/removeNullabilityForGeneric.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/removeNullabilityForGeneric.kt @@ -5,4 +5,6 @@ fun test(t: T) { other(t) } -fun other(s: Any) {} \ No newline at end of file +fun other(s: Any) {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/removeNullabilityForGeneric.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/removeNullabilityForGeneric.kt.after index 92963bcabddf..1abe49b5ef39 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/removeNullabilityForGeneric.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/removeNullabilityForGeneric.kt.after @@ -5,4 +5,6 @@ fun test(t: T) { other(t!!) } -fun other(s: Any) {} \ No newline at end of file +fun other(s: Any) {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/removeNullabilityForSubclass.kt b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/removeNullabilityForSubclass.kt index b4acbcf88067..3a468fa9664f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/removeNullabilityForSubclass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/removeNullabilityForSubclass.kt @@ -11,4 +11,6 @@ fun test() { other(s) } -fun other(s: A) {} \ No newline at end of file +fun other(s: A) {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/removeNullabilityForSubclass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/removeNullabilityForSubclass.kt.after index d6bec0e21d70..2f6d584d35e7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/removeNullabilityForSubclass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/removeNullabilityForSubclass.kt.after @@ -11,4 +11,6 @@ fun test() { other(s!!) } -fun other(s: A) {} \ No newline at end of file +fun other(s: A) {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/smartcastImpossibleForArgument.kt b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/smartcastImpossibleForArgument.kt index 73d6543a1630..81c2360a8577 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/smartcastImpossibleForArgument.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/smartcastImpossibleForArgument.kt @@ -10,4 +10,6 @@ open class MyClass { } fun bar(s: String) {} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/smartcastImpossibleForArgument.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/smartcastImpossibleForArgument.kt.after index 53b27e523574..038796d7a7c6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/smartcastImpossibleForArgument.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/smartcastImpossibleForArgument.kt.after @@ -10,4 +10,6 @@ open class MyClass { } fun bar(s: String) {} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/smartcastImpossibleForReceiver.kt b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/smartcastImpossibleForReceiver.kt index d35929fdd0de..3f4d750e18a2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/smartcastImpossibleForReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/smartcastImpossibleForReceiver.kt @@ -17,4 +17,6 @@ open class MyClass { a.bar() } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/smartcastImpossibleForReceiver.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/smartcastImpossibleForReceiver.kt.after index 467769193a32..e083233d53f1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/smartcastImpossibleForReceiver.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addExclExclCall/typeMismatch/smartcastImpossibleForReceiver.kt.after @@ -17,4 +17,6 @@ open class MyClass { a!!.bar() } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addFunModifier/asFirstArgument.kt b/plugins/kotlin/idea/tests/testData/quickfix/addFunModifier/asFirstArgument.kt index 4c2054f2d15d..90d98378f569 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addFunModifier/asFirstArgument.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addFunModifier/asFirstArgument.kt @@ -8,3 +8,5 @@ fun foo(i: I, j: Int) {} fun test() { val x = foo(I {}, 2) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addFunModifier/asFirstArgument.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addFunModifier/asFirstArgument.kt.after index 2e942115b02d..f1a39466e5a2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addFunModifier/asFirstArgument.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addFunModifier/asFirstArgument.kt.after @@ -8,3 +8,5 @@ fun foo(i: I, j: Int) {} fun test() { val x = foo({}, 2) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addFunModifier/asLastArgument.kt b/plugins/kotlin/idea/tests/testData/quickfix/addFunModifier/asLastArgument.kt index 10a49d5502e8..85635d7cec72 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addFunModifier/asLastArgument.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addFunModifier/asLastArgument.kt @@ -8,3 +8,5 @@ fun foo(i: I) {} fun test() { val x = foo(I {}) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addFunModifier/asLastArgument.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addFunModifier/asLastArgument.kt.after index 8371a518da12..ac1a723560a9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addFunModifier/asLastArgument.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addFunModifier/asLastArgument.kt.after @@ -8,3 +8,5 @@ fun foo(i: I) {} fun test() { val x = foo {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addFunModifier/simple.kt b/plugins/kotlin/idea/tests/testData/quickfix/addFunModifier/simple.kt index 192ec8645ee9..85ece30861da 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addFunModifier/simple.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addFunModifier/simple.kt @@ -6,3 +6,5 @@ interface I { fun test() { val x = I {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addFunModifier/simple.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addFunModifier/simple.kt.after index 2eb03383a1b1..07c4ffccc0c6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addFunModifier/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addFunModifier/simple.kt.after @@ -6,3 +6,5 @@ fun interface I { fun test() { val x = I {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addGenericUpperBound/basic.kt b/plugins/kotlin/idea/tests/testData/quickfix/addGenericUpperBound/basic.kt index 2175d79f7642..c1e52028bb26 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addGenericUpperBound/basic.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addGenericUpperBound/basic.kt @@ -3,3 +3,5 @@ fun foo() = 1 fun bar() = foo>() + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddGenericUpperBoundFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addGenericUpperBound/basic.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addGenericUpperBound/basic.kt.after index cb40a6fa6a94..b42d004c3719 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addGenericUpperBound/basic.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addGenericUpperBound/basic.kt.after @@ -3,3 +3,5 @@ fun foo() = 1 fun bar() = foo() + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddGenericUpperBoundFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addGenericUpperBound/inferenceTwoParams.kt b/plugins/kotlin/idea/tests/testData/quickfix/addGenericUpperBound/inferenceTwoParams.kt index 3006bc6193b1..686882c149c0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addGenericUpperBound/inferenceTwoParams.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addGenericUpperBound/inferenceTwoParams.kt @@ -4,3 +4,5 @@ fun foo(x: T, y: U) = 1 fun bar(x: E, y: F) = foo(x, y) + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.HighPriorityMakeUpperBoundNonNullableFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addGenericUpperBound/inferenceTwoParams.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addGenericUpperBound/inferenceTwoParams.kt.after index e914aedf21df..dc3b8d715566 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addGenericUpperBound/inferenceTwoParams.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addGenericUpperBound/inferenceTwoParams.kt.after @@ -4,3 +4,5 @@ fun foo(x: T, y: U) = 1 fun bar(x: E, y: F) = foo(x, y) + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.HighPriorityMakeUpperBoundNonNullableFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addGenericUpperBound/paramAsBound.kt b/plugins/kotlin/idea/tests/testData/quickfix/addGenericUpperBound/paramAsBound.kt index 257ef2adbcd8..6d52343c9d52 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addGenericUpperBound/paramAsBound.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addGenericUpperBound/paramAsBound.kt @@ -3,3 +3,5 @@ fun foo() = 1 fun bar() = foo>() + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddGenericUpperBoundFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addGenericUpperBound/paramAsBound.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addGenericUpperBound/paramAsBound.kt.after index 5d2b2a4c2861..2aa9f4235859 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addGenericUpperBound/paramAsBound.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addGenericUpperBound/paramAsBound.kt.after @@ -3,3 +3,5 @@ fun foo() = 1 fun bar() = foo>() + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddGenericUpperBoundFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addGenericUpperBound/withinDeclaration.kt b/plugins/kotlin/idea/tests/testData/quickfix/addGenericUpperBound/withinDeclaration.kt index b52d1b679900..8e7acabbf23c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addGenericUpperBound/withinDeclaration.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addGenericUpperBound/withinDeclaration.kt @@ -2,3 +2,5 @@ class A fun bar(x: A>) {} + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddGenericUpperBoundFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addGenericUpperBound/withinDeclaration.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addGenericUpperBound/withinDeclaration.kt.after index f76cd7de5510..0365d07b827e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addGenericUpperBound/withinDeclaration.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addGenericUpperBound/withinDeclaration.kt.after @@ -2,3 +2,5 @@ class A fun bar(x: A>) {} + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddGenericUpperBoundFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/memberProperty.kt b/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/memberProperty.kt index f44e5880c67a..bb8faa62f128 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/memberProperty.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/memberProperty.kt @@ -1,4 +1,6 @@ // "Add initializer" "true" class A { val n: Int -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.InitializePropertyQuickFixFactory$AddInitializerFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/memberProperty.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/memberProperty.kt.after index bd491940f55a..39c64fff435c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/memberProperty.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/memberProperty.kt.after @@ -1,4 +1,6 @@ // "Add initializer" "true" class A { val n: Int = 0 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.InitializePropertyQuickFixFactory$AddInitializerFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/memberPropertyVarGetterOnly.kt b/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/memberPropertyVarGetterOnly.kt index 8c8d81eb23d3..d4c3e0df71ef 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/memberPropertyVarGetterOnly.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/memberPropertyVarGetterOnly.kt @@ -2,4 +2,6 @@ class A { var n: Int get() = 1 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.InitializePropertyQuickFixFactory$AddInitializerFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/memberPropertyVarGetterOnly.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/memberPropertyVarGetterOnly.kt.after index e58b884a71af..b2411280bf67 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/memberPropertyVarGetterOnly.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/memberPropertyVarGetterOnly.kt.after @@ -2,4 +2,6 @@ class A { var n: Int = 0 get() = 1 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.InitializePropertyQuickFixFactory$AddInitializerFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/memberPropertyVarSetterOnly.kt b/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/memberPropertyVarSetterOnly.kt index 988b1dc09448..d284f1652135 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/memberPropertyVarSetterOnly.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/memberPropertyVarSetterOnly.kt @@ -2,4 +2,6 @@ class A { var n: Int set(value: Int) {} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.InitializePropertyQuickFixFactory$AddInitializerFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/memberPropertyVarSetterOnly.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/memberPropertyVarSetterOnly.kt.after index 670dcf65b778..2c5479a8932e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/memberPropertyVarSetterOnly.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/memberPropertyVarSetterOnly.kt.after @@ -2,4 +2,6 @@ class A { var n: Int = 0 set(value: Int) {} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.InitializePropertyQuickFixFactory$AddInitializerFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/mustBeInitializedOrBeAbstract.kt b/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/mustBeInitializedOrBeAbstract.kt index 38f2c0fcd369..23c393a2b6ee 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/mustBeInitializedOrBeAbstract.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/mustBeInitializedOrBeAbstract.kt @@ -2,3 +2,6 @@ class Foo { var foo: Int } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.InitializePropertyQuickFixFactory$AddInitializerFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/mustBeInitializedOrBeAbstract.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/mustBeInitializedOrBeAbstract.kt.after index 9f4c93b26903..15113248f80a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/mustBeInitializedOrBeAbstract.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/mustBeInitializedOrBeAbstract.kt.after @@ -2,3 +2,6 @@ class Foo { var foo: Int = 0 } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.InitializePropertyQuickFixFactory$AddInitializerFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/mustBeInitializedOrBeFinal.kt b/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/mustBeInitializedOrBeFinal.kt index e46ddfb173a9..3e9306f31ed0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/mustBeInitializedOrBeFinal.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/mustBeInitializedOrBeFinal.kt @@ -9,3 +9,6 @@ open class Foo { foo = 2 } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.InitializePropertyQuickFixFactory$AddInitializerFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/mustBeInitializedOrBeFinal.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/mustBeInitializedOrBeFinal.kt.after index 0ed9c515c2e6..fbf34f7d336b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/mustBeInitializedOrBeFinal.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/mustBeInitializedOrBeFinal.kt.after @@ -9,3 +9,6 @@ open class Foo { foo = 2 } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.InitializePropertyQuickFixFactory$AddInitializerFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/mustBeInitializedOrBeFinalWarning.kt b/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/mustBeInitializedOrBeFinalWarning.kt index dd08c76dfab7..9433eccb166a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/mustBeInitializedOrBeFinalWarning.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/mustBeInitializedOrBeFinalWarning.kt @@ -9,3 +9,6 @@ open class Foo { foo = 2 } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.InitializePropertyQuickFixFactory$AddInitializerFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/mustBeInitializedOrBeFinalWarning.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/mustBeInitializedOrBeFinalWarning.kt.after index cb044efa071f..30f615b817da 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/mustBeInitializedOrBeFinalWarning.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/mustBeInitializedOrBeFinalWarning.kt.after @@ -9,3 +9,6 @@ open class Foo { foo = 2 } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.InitializePropertyQuickFixFactory$AddInitializerFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/mustBeInitializedOrFinalOrAbstract.kt b/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/mustBeInitializedOrFinalOrAbstract.kt index 7b43106f2264..970e9c46be51 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/mustBeInitializedOrFinalOrAbstract.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/mustBeInitializedOrFinalOrAbstract.kt @@ -10,3 +10,6 @@ open class Foo { x = "" } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.InitializePropertyQuickFixFactory$AddInitializerFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/mustBeInitializedOrFinalOrAbstract.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/mustBeInitializedOrFinalOrAbstract.kt.after index 52f0b89f58dd..35f8a929d7cb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/mustBeInitializedOrFinalOrAbstract.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/mustBeInitializedOrFinalOrAbstract.kt.after @@ -10,3 +10,6 @@ open class Foo { x = "" } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.InitializePropertyQuickFixFactory$AddInitializerFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/mustBeInitializedOrFinalOrAbstractWarning.kt b/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/mustBeInitializedOrFinalOrAbstractWarning.kt index 7b43106f2264..970e9c46be51 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/mustBeInitializedOrFinalOrAbstractWarning.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/mustBeInitializedOrFinalOrAbstractWarning.kt @@ -10,3 +10,6 @@ open class Foo { x = "" } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.InitializePropertyQuickFixFactory$AddInitializerFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/mustBeInitializedOrFinalOrAbstractWarning.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/mustBeInitializedOrFinalOrAbstractWarning.kt.after index 52f0b89f58dd..35f8a929d7cb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/mustBeInitializedOrFinalOrAbstractWarning.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/mustBeInitializedOrFinalOrAbstractWarning.kt.after @@ -10,3 +10,6 @@ open class Foo { x = "" } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.InitializePropertyQuickFixFactory$AddInitializerFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/mustBeInitializedWarning.kt b/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/mustBeInitializedWarning.kt index c46734d66d7d..6576994429ad 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/mustBeInitializedWarning.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/mustBeInitializedWarning.kt @@ -10,3 +10,6 @@ class Foo { x = "" } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.InitializePropertyQuickFixFactory$AddInitializerFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/mustBeInitializedWarning.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/mustBeInitializedWarning.kt.after index 3cac3f38e541..f26ade583c61 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/mustBeInitializedWarning.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/mustBeInitializedWarning.kt.after @@ -10,3 +10,6 @@ class Foo { x = "" } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.InitializePropertyQuickFixFactory$AddInitializerFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/topLevelProperty.kt b/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/topLevelProperty.kt index c4d322060d76..3a69568c8e86 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/topLevelProperty.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/topLevelProperty.kt @@ -1,2 +1,4 @@ // "Add initializer" "true" -val n: Int \ No newline at end of file +val n: Int +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.InitializePropertyQuickFixFactory$AddInitializerFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/topLevelProperty.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/topLevelProperty.kt.after index 3065ca025bb8..a9754b108333 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/topLevelProperty.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/topLevelProperty.kt.after @@ -1,2 +1,4 @@ // "Add initializer" "true" -val n: Int = 0 \ No newline at end of file +val n: Int = 0 +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.InitializePropertyQuickFixFactory$AddInitializerFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/topLevelPropertyVarClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/topLevelPropertyVarClass.kt index d489f562467a..f1a1c88131c4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/topLevelPropertyVarClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/topLevelPropertyVarClass.kt @@ -1,4 +1,6 @@ // "Add initializer" "true" // WITH_STDLIB class A -var label: A \ No newline at end of file +var label: A +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.InitializePropertyQuickFixFactory$AddInitializerFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/topLevelPropertyVarClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/topLevelPropertyVarClass.kt.after index 24c996c170cc..493a4183ddf9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/topLevelPropertyVarClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/topLevelPropertyVarClass.kt.after @@ -1,4 +1,6 @@ // "Add initializer" "true" // WITH_STDLIB class A -var label: A = TODO() \ No newline at end of file +var label: A = TODO() +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.InitializePropertyQuickFixFactory$AddInitializerFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/topLevelPropertyVarGetterOnly.kt b/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/topLevelPropertyVarGetterOnly.kt index 8b47850fbbd5..f97194f7b8c8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/topLevelPropertyVarGetterOnly.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/topLevelPropertyVarGetterOnly.kt @@ -1,3 +1,5 @@ // "Add initializer" "true" var n: Int - get() = 1 \ No newline at end of file + get() = 1 +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.InitializePropertyQuickFixFactory$AddInitializerFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/topLevelPropertyVarGetterOnly.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/topLevelPropertyVarGetterOnly.kt.after index d41f718aac2c..5e2ba67ef766 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/topLevelPropertyVarGetterOnly.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/topLevelPropertyVarGetterOnly.kt.after @@ -1,3 +1,5 @@ // "Add initializer" "true" var n: Int = 0 - get() = 1 \ No newline at end of file + get() = 1 +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.InitializePropertyQuickFixFactory$AddInitializerFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/topLevelPropertyVarSetterOnly.kt b/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/topLevelPropertyVarSetterOnly.kt index edddd4971d78..21872b96792a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/topLevelPropertyVarSetterOnly.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/topLevelPropertyVarSetterOnly.kt @@ -1,3 +1,5 @@ // "Add initializer" "true" var n: Int - set(value: Int) {} \ No newline at end of file + set(value: Int) {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.InitializePropertyQuickFixFactory$AddInitializerFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/topLevelPropertyVarSetterOnly.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/topLevelPropertyVarSetterOnly.kt.after index 394c3c525a1a..66281570e488 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/topLevelPropertyVarSetterOnly.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addInitializer/topLevelPropertyVarSetterOnly.kt.after @@ -1,3 +1,5 @@ // "Add initializer" "true" var n: Int = 0 - set(value: Int) {} \ No newline at end of file + set(value: Int) {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.InitializePropertyQuickFixFactory$AddInitializerFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addInline/basic.kt b/plugins/kotlin/idea/tests/testData/quickfix/addInline/basic.kt index 18b310bda601..ecb7c4c3b032 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addInline/basic.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addInline/basic.kt @@ -3,3 +3,5 @@ fun foo(crossinline body: () -> Unit) { } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddInlineToFunctionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addInline/basic.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addInline/basic.kt.after index 3ab02b7a9206..4f4ffd9eeefd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addInline/basic.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addInline/basic.kt.after @@ -3,3 +3,5 @@ inline fun foo(crossinline body: () -> Unit) { } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddInlineToFunctionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addInlineToReifiedFunctionFix/basic.kt b/plugins/kotlin/idea/tests/testData/quickfix/addInlineToReifiedFunctionFix/basic.kt index 1a614ff6c5e8..7b652c5c5488 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addInlineToReifiedFunctionFix/basic.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addInlineToReifiedFunctionFix/basic.kt @@ -2,4 +2,5 @@ fun <reified T> fn() { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddInlineToFunctionWithReifiedFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addInlineToReifiedFunctionFix/basic.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addInlineToReifiedFunctionFix/basic.kt.after index d26d5efa1fc2..6847e86b07b2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addInlineToReifiedFunctionFix/basic.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addInlineToReifiedFunctionFix/basic.kt.after @@ -2,4 +2,5 @@ inline fun fn() { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddInlineToFunctionWithReifiedFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addIsToWhenCondition/class.kt b/plugins/kotlin/idea/tests/testData/quickfix/addIsToWhenCondition/class.kt index ff6c719475ba..b45579e7fb0f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addIsToWhenCondition/class.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addIsToWhenCondition/class.kt @@ -6,4 +6,5 @@ fun test(a: Any) { when (a) { Foo -> {} } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddIsToWhenConditionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addIsToWhenCondition/class.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addIsToWhenCondition/class.kt.after index b4d68bfa8771..1223d7b572c7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addIsToWhenCondition/class.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addIsToWhenCondition/class.kt.after @@ -6,4 +6,5 @@ fun test(a: Any) { when (a) { is Foo -> {} } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddIsToWhenConditionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addJvmInline/genericParameter.kt b/plugins/kotlin/idea/tests/testData/quickfix/addJvmInline/genericParameter.kt index 2867593e31fc..6f777c4f1298 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addJvmInline/genericParameter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addJvmInline/genericParameter.kt @@ -2,3 +2,5 @@ // WITH_STDLIB // COMPILER_ARGUMENTS: -XXLanguage:+GenericInlineClassParameter value class VC(val i: Int) + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddJvmInlineAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addJvmInline/genericParameter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addJvmInline/genericParameter.kt.after index 539df8090cdb..cc6a7150d57d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addJvmInline/genericParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addJvmInline/genericParameter.kt.after @@ -3,3 +3,5 @@ // COMPILER_ARGUMENTS: -XXLanguage:+GenericInlineClassParameter @JvmInline value class VC(val i: Int) + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddJvmInlineAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addJvmInline/valueClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/addJvmInline/valueClass.kt index a5d2f555fca2..e8b6c6a2a4df 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addJvmInline/valueClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addJvmInline/valueClass.kt @@ -1,3 +1,4 @@ // "Add '@JvmInline' annotation" "true" // WITH_STDLIB -value class VC(val i: Int) \ No newline at end of file +value class VC(val i: Int) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddJvmInlineAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addJvmInline/valueClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addJvmInline/valueClass.kt.after index 8f507f215160..db56d076ceab 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addJvmInline/valueClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addJvmInline/valueClass.kt.after @@ -1,4 +1,5 @@ // "Add '@JvmInline' annotation" "true" // WITH_STDLIB @JvmInline -value class VC(val i: Int) \ No newline at end of file +value class VC(val i: Int) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddJvmInlineAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addJvmStaticAnnotation/function.kt b/plugins/kotlin/idea/tests/testData/quickfix/addJvmStaticAnnotation/function.kt index a642bc564a97..09859090c08c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addJvmStaticAnnotation/function.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addJvmStaticAnnotation/function.kt @@ -11,3 +11,5 @@ class B : A() { print(foo()) } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddJvmStaticAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addJvmStaticAnnotation/function.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addJvmStaticAnnotation/function.kt.after index 046a0ab03ae9..7cf2a923135c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addJvmStaticAnnotation/function.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addJvmStaticAnnotation/function.kt.after @@ -12,3 +12,5 @@ class B : A() { print(foo()) } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddJvmStaticAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addJvmStaticAnnotation/property.kt b/plugins/kotlin/idea/tests/testData/quickfix/addJvmStaticAnnotation/property.kt index 2f0cdeedc60a..f57640432305 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addJvmStaticAnnotation/property.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addJvmStaticAnnotation/property.kt @@ -11,3 +11,5 @@ class B : A() { print(foo) } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddJvmStaticAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addJvmStaticAnnotation/property.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addJvmStaticAnnotation/property.kt.after index 6a92e8758f99..e2c27294c669 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addJvmStaticAnnotation/property.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addJvmStaticAnnotation/property.kt.after @@ -12,3 +12,5 @@ class B : A() { print(foo) } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddJvmStaticAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addNewLineAfterAnnotations/basic.kt b/plugins/kotlin/idea/tests/testData/quickfix/addNewLineAfterAnnotations/basic.kt index 317c50070192..fddbbdbb7d81 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addNewLineAfterAnnotations/basic.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addNewLineAfterAnnotations/basic.kt @@ -8,3 +8,5 @@ fun foo(y: Int) { var x = 1 @Ann x += 2 } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddNewLineAfterAnnotationsFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addNewLineAfterAnnotations/basic.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addNewLineAfterAnnotations/basic.kt.after index 25a90c4217c7..1de4be8ed769 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addNewLineAfterAnnotations/basic.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addNewLineAfterAnnotations/basic.kt.after @@ -9,3 +9,5 @@ fun foo(y: Int) { @Ann x += 2 } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddNewLineAfterAnnotationsFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addNewLineAfterAnnotations/manyAnnotations.kt b/plugins/kotlin/idea/tests/testData/quickfix/addNewLineAfterAnnotations/manyAnnotations.kt index 3066a777a06f..e2cd40315d03 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addNewLineAfterAnnotations/manyAnnotations.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addNewLineAfterAnnotations/manyAnnotations.kt @@ -12,3 +12,5 @@ fun foo(y: Int) { var x = 1 @Ann @Ann2("") x += 2 } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddNewLineAfterAnnotationsFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addNewLineAfterAnnotations/manyAnnotations.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addNewLineAfterAnnotations/manyAnnotations.kt.after index c2ee2f95d1b6..114020cb95e1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addNewLineAfterAnnotations/manyAnnotations.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addNewLineAfterAnnotations/manyAnnotations.kt.after @@ -13,3 +13,5 @@ fun foo(y: Int) { @Ann @Ann2("") x += 2 } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddNewLineAfterAnnotationsFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addNewLineAfterAnnotations/poorlyFormattedExpression.kt b/plugins/kotlin/idea/tests/testData/quickfix/addNewLineAfterAnnotations/poorlyFormattedExpression.kt index d4ff9ca387cb..12208b1061c1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addNewLineAfterAnnotations/poorlyFormattedExpression.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addNewLineAfterAnnotations/poorlyFormattedExpression.kt @@ -8,3 +8,5 @@ fun foo(y: IntArray) { // Currently it calls reformatting of base expression, but it seems to be a minor issue @Ann y [ 0 + 9 * 4] = y[y [1]] } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddNewLineAfterAnnotationsFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addNewLineAfterAnnotations/poorlyFormattedExpression.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addNewLineAfterAnnotations/poorlyFormattedExpression.kt.after index 4908f452386d..50530a37bc80 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addNewLineAfterAnnotations/poorlyFormattedExpression.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addNewLineAfterAnnotations/poorlyFormattedExpression.kt.after @@ -9,3 +9,5 @@ fun foo(y: IntArray) { @Ann y[0 + 9 * 4] = y[y [1]] } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddNewLineAfterAnnotationsFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addNewLineAfterAnnotations/preserveComments.kt b/plugins/kotlin/idea/tests/testData/quickfix/addNewLineAfterAnnotations/preserveComments.kt index c0c69ca1e2e9..2c0901c313c4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addNewLineAfterAnnotations/preserveComments.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addNewLineAfterAnnotations/preserveComments.kt @@ -13,3 +13,5 @@ fun foo(y: Int) { @Ann // abc @Ann2("") /* abc2*/ x += 2 } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddNewLineAfterAnnotationsFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addNewLineAfterAnnotations/preserveComments.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addNewLineAfterAnnotations/preserveComments.kt.after index 70645773a13e..c127032c4dfc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addNewLineAfterAnnotations/preserveComments.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addNewLineAfterAnnotations/preserveComments.kt.after @@ -14,3 +14,5 @@ fun foo(y: Int) { @Ann2("") /* abc2*/ x += 2 } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddNewLineAfterAnnotationsFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addNoinline/basic.kt b/plugins/kotlin/idea/tests/testData/quickfix/addNoinline/basic.kt index d220aba9a506..3bacbc882808 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addNoinline/basic.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addNoinline/basic.kt @@ -1,3 +1,5 @@ // "Add 'noinline' to parameter 'block'" "true" inline fun foo(block: () -> Unit) = block + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddInlineModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addNoinline/basic.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addNoinline/basic.kt.after index df221ec7c967..e9d02fe8fc37 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addNoinline/basic.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addNoinline/basic.kt.after @@ -1,3 +1,5 @@ // "Add 'noinline' to parameter 'block'" "true" inline fun foo(noinline block: () -> Unit) = block + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddInlineModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addNoinline/extensionCalls.kt b/plugins/kotlin/idea/tests/testData/quickfix/addNoinline/extensionCalls.kt index 86e803fa3e4a..77876c9b1f0d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addNoinline/extensionCalls.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addNoinline/extensionCalls.kt @@ -4,3 +4,5 @@ inline fun inlineFun(lambda: () -> Unit) { lambda.let { } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddInlineModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addNoinline/extensionCalls.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addNoinline/extensionCalls.kt.after index cb2f0e019fab..803e58d885b2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addNoinline/extensionCalls.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addNoinline/extensionCalls.kt.after @@ -4,3 +4,5 @@ inline fun inlineFun(noinline lambda: () -> Unit) { lambda.let { } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddInlineModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addNoinline/suspend.kt b/plugins/kotlin/idea/tests/testData/quickfix/addNoinline/suspend.kt index 6bb379635948..ec1b5c788036 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addNoinline/suspend.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addNoinline/suspend.kt @@ -2,4 +2,5 @@ // TODO: remove it after coroutines are released // DISABLE-ERRORS -inline fun foo(x: suspend () -> Unit) {} \ No newline at end of file +inline fun foo(x: suspend () -> Unit) {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddInlineModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addNoinline/suspend.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addNoinline/suspend.kt.after index cb9fafe1bef1..b4072bb74d03 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addNoinline/suspend.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addNoinline/suspend.kt.after @@ -2,4 +2,5 @@ // TODO: remove it after coroutines are released // DISABLE-ERRORS -inline fun foo(noinline x: suspend () -> Unit) {} \ No newline at end of file +inline fun foo(noinline x: suspend () -> Unit) {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddInlineModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addNoinline/withCrossinline.kt b/plugins/kotlin/idea/tests/testData/quickfix/addNoinline/withCrossinline.kt index 016b048f38f4..ac7274f97eb1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addNoinline/withCrossinline.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addNoinline/withCrossinline.kt @@ -2,4 +2,5 @@ // WITH_STDLIB inline fun inlineFun(crossinline lambda: () -> Unit) { lambda.toString() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddInlineModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addNoinline/withCrossinline.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addNoinline/withCrossinline.kt.after index e60514f76c4b..c303ab4cedb0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addNoinline/withCrossinline.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addNoinline/withCrossinline.kt.after @@ -2,4 +2,5 @@ // WITH_STDLIB inline fun inlineFun(noinline lambda: () -> Unit) { lambda.toString() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddInlineModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addPropertyAccessors/val.kt b/plugins/kotlin/idea/tests/testData/quickfix/addPropertyAccessors/val.kt index 3446fcb063ce..1a5f7f23ee29 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addPropertyAccessors/val.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addPropertyAccessors/val.kt @@ -3,3 +3,6 @@ class Test { val x: Int } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.AddPropertyGetterIntention +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.AddAccessorsFactories$AddAccessorsQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addPropertyAccessors/val.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addPropertyAccessors/val.kt.after index 487e9c505956..1d638ede1bff 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addPropertyAccessors/val.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addPropertyAccessors/val.kt.after @@ -6,3 +6,6 @@ class Test { TODO() } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.AddPropertyGetterIntention +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.AddAccessorsFactories$AddAccessorsQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addPropertyAccessors/var.kt b/plugins/kotlin/idea/tests/testData/quickfix/addPropertyAccessors/var.kt index ee4c3dd42ade..5f44275c1fba 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addPropertyAccessors/var.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addPropertyAccessors/var.kt @@ -3,3 +3,6 @@ class Test { var x: Int } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.AddPropertyAccessorsIntention +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.AddAccessorsFactories$AddAccessorsQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addPropertyAccessors/var.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addPropertyAccessors/var.kt.after index 20cb5fe1ef52..1a6e4e0881b3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addPropertyAccessors/var.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addPropertyAccessors/var.kt.after @@ -7,3 +7,6 @@ class Test { } set(value) {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.AddPropertyAccessorsIntention +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.AddAccessorsFactories$AddAccessorsQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addPropertyAccessors/varHasGetter.kt b/plugins/kotlin/idea/tests/testData/quickfix/addPropertyAccessors/varHasGetter.kt index ead42a039e37..4de0d3d9dabc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addPropertyAccessors/varHasGetter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addPropertyAccessors/varHasGetter.kt @@ -4,4 +4,6 @@ class Test { get() { return 1 } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.AddPropertySetterIntention +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.AddAccessorsFactories$AddAccessorsQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addPropertyAccessors/varHasGetter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addPropertyAccessors/varHasGetter.kt.after index 8153f5e1411e..350fe81179a4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addPropertyAccessors/varHasGetter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addPropertyAccessors/varHasGetter.kt.after @@ -5,4 +5,6 @@ class Test { return 1 } set(value) {} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.AddPropertySetterIntention +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.AddAccessorsFactories$AddAccessorsQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addPropertyAccessors/varHasSetter.kt b/plugins/kotlin/idea/tests/testData/quickfix/addPropertyAccessors/varHasSetter.kt index fbf77a651daf..15128cca9450 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addPropertyAccessors/varHasSetter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addPropertyAccessors/varHasSetter.kt @@ -3,4 +3,6 @@ class Test { var x: Int set(value) {} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.AddPropertyGetterIntention +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.AddAccessorsFactories$AddAccessorsQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addPropertyAccessors/varHasSetter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addPropertyAccessors/varHasSetter.kt.after index 4ce392776249..9651046681e6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addPropertyAccessors/varHasSetter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addPropertyAccessors/varHasSetter.kt.after @@ -6,4 +6,6 @@ class Test { TODO() } set(value) {} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.AddPropertyGetterIntention +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.AddAccessorsFactories$AddAccessorsQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addReifiedToTypeParameterOfFunctionFix/doubleColonClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/addReifiedToTypeParameterOfFunctionFix/doubleColonClass.kt index e83d5a70004d..739ad0c410dd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addReifiedToTypeParameterOfFunctionFix/doubleColonClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addReifiedToTypeParameterOfFunctionFix/doubleColonClass.kt @@ -2,3 +2,5 @@ fun dereferenceClass(): Any = T::class + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddReifiedToTypeParameterOfFunctionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addReifiedToTypeParameterOfFunctionFix/doubleColonClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addReifiedToTypeParameterOfFunctionFix/doubleColonClass.kt.after index 52536badb905..f2e472f67413 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addReifiedToTypeParameterOfFunctionFix/doubleColonClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addReifiedToTypeParameterOfFunctionFix/doubleColonClass.kt.after @@ -2,3 +2,5 @@ inline fun dereferenceClass(): Any = T::class + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddReifiedToTypeParameterOfFunctionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addReifiedToTypeParameterOfFunctionFix/secondTypeParameter.kt b/plugins/kotlin/idea/tests/testData/quickfix/addReifiedToTypeParameterOfFunctionFix/secondTypeParameter.kt index 59b433c544da..c2b08fb86d7f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addReifiedToTypeParameterOfFunctionFix/secondTypeParameter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addReifiedToTypeParameterOfFunctionFix/secondTypeParameter.kt @@ -3,4 +3,5 @@ fun >, R> T.flatten(): Array { return this.flatMap { it.asIterable() }.toTypedArray() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddReifiedToTypeParameterOfFunctionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addReifiedToTypeParameterOfFunctionFix/secondTypeParameter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addReifiedToTypeParameterOfFunctionFix/secondTypeParameter.kt.after index f57f647d1d43..01bf30035288 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addReifiedToTypeParameterOfFunctionFix/secondTypeParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addReifiedToTypeParameterOfFunctionFix/secondTypeParameter.kt.after @@ -3,4 +3,5 @@ inline fun >, reified R> T.flatten(): Array { return this.flatMap { it.asIterable() }.toTypedArray() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddReifiedToTypeParameterOfFunctionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addReifiedToTypeParameterOfFunctionFix/toTypedArray.kt b/plugins/kotlin/idea/tests/testData/quickfix/addReifiedToTypeParameterOfFunctionFix/toTypedArray.kt index cfbb2470e739..7c3e0f94b63c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addReifiedToTypeParameterOfFunctionFix/toTypedArray.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addReifiedToTypeParameterOfFunctionFix/toTypedArray.kt @@ -3,4 +3,5 @@ fun Array>.flatten(): Array { return this.flatMap { it.asIterable() }.toTypedArray() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddReifiedToTypeParameterOfFunctionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addReifiedToTypeParameterOfFunctionFix/toTypedArray.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addReifiedToTypeParameterOfFunctionFix/toTypedArray.kt.after index 139b5168be63..acfd8ee6cb5f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addReifiedToTypeParameterOfFunctionFix/toTypedArray.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addReifiedToTypeParameterOfFunctionFix/toTypedArray.kt.after @@ -3,4 +3,5 @@ inline fun Array>.flatten(): Array { return this.flatMap { it.asIterable() }.toTypedArray() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddReifiedToTypeParameterOfFunctionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addReturnExpression/emptyBody.kt b/plugins/kotlin/idea/tests/testData/quickfix/addReturnExpression/emptyBody.kt index d2508f7edbba..2b1a1782c9c1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addReturnExpression/emptyBody.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addReturnExpression/emptyBody.kt @@ -1,4 +1,5 @@ // "Add 'return' expression" "true" // WITH_STDLIB fun test(): Boolean { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddReturnExpressionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addReturnExpression/emptyBody.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addReturnExpression/emptyBody.kt.after index 7b00957531c5..8c62921403eb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addReturnExpression/emptyBody.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addReturnExpression/emptyBody.kt.after @@ -2,4 +2,5 @@ // WITH_STDLIB fun test(): Boolean { return TODO("Provide the return value") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddReturnExpressionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addReturnExpression/simple.kt b/plugins/kotlin/idea/tests/testData/quickfix/addReturnExpression/simple.kt index d507819f1a9f..1a01f9503d9b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addReturnExpression/simple.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addReturnExpression/simple.kt @@ -5,4 +5,5 @@ fun test(): Boolean { } fun foo() { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddReturnExpressionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addReturnExpression/simple.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addReturnExpression/simple.kt.after index 945270792575..d3ecb258c0fa 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addReturnExpression/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addReturnExpression/simple.kt.after @@ -6,4 +6,5 @@ fun test(): Boolean { } fun foo() { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddReturnExpressionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addReturnToLastExpressionInFunction/simpleBoolean.kt b/plugins/kotlin/idea/tests/testData/quickfix/addReturnToLastExpressionInFunction/simpleBoolean.kt index 5449c709c069..fd3f332d0949 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addReturnToLastExpressionInFunction/simpleBoolean.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addReturnToLastExpressionInFunction/simpleBoolean.kt @@ -2,3 +2,5 @@ fun test(): Boolean { true } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddReturnToLastExpressionInFunctionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addReturnToLastExpressionInFunction/simpleBoolean.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addReturnToLastExpressionInFunction/simpleBoolean.kt.after index 9d8fe6b142be..1e2e978e0723 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addReturnToLastExpressionInFunction/simpleBoolean.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addReturnToLastExpressionInFunction/simpleBoolean.kt.after @@ -2,3 +2,5 @@ fun test(): Boolean { return true } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddReturnToLastExpressionInFunctionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addReturnToLastExpressionInFunction/subtype.kt b/plugins/kotlin/idea/tests/testData/quickfix/addReturnToLastExpressionInFunction/subtype.kt index 0f338f02c1de..945cc8f36b6f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addReturnToLastExpressionInFunction/subtype.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addReturnToLastExpressionInFunction/subtype.kt @@ -4,3 +4,5 @@ fun foo(): Any { true } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddReturnToLastExpressionInFunctionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addReturnToLastExpressionInFunction/subtype.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addReturnToLastExpressionInFunction/subtype.kt.after index 239c6cdeca43..c85767217d72 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addReturnToLastExpressionInFunction/subtype.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addReturnToLastExpressionInFunction/subtype.kt.after @@ -4,3 +4,5 @@ fun foo(): Any { return true } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddReturnToLastExpressionInFunctionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addReturnToUnusedLastExpressionInFunction/simpleBoolean.kt b/plugins/kotlin/idea/tests/testData/quickfix/addReturnToUnusedLastExpressionInFunction/simpleBoolean.kt index 2a6e243248e7..b95fef6da60c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addReturnToUnusedLastExpressionInFunction/simpleBoolean.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addReturnToUnusedLastExpressionInFunction/simpleBoolean.kt @@ -2,3 +2,5 @@ fun test(): Boolean { true } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddReturnToUnusedLastExpressionInFunctionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addReturnToUnusedLastExpressionInFunction/simpleBoolean.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addReturnToUnusedLastExpressionInFunction/simpleBoolean.kt.after index 14747681f225..6cb07ccccbad 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addReturnToUnusedLastExpressionInFunction/simpleBoolean.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addReturnToUnusedLastExpressionInFunction/simpleBoolean.kt.after @@ -2,3 +2,5 @@ fun test(): Boolean { return true } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddReturnToUnusedLastExpressionInFunctionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addReturnToUnusedLastExpressionInFunction/subtype.kt b/plugins/kotlin/idea/tests/testData/quickfix/addReturnToUnusedLastExpressionInFunction/subtype.kt index cb5bf47e62a0..a784cfb4a7d4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addReturnToUnusedLastExpressionInFunction/subtype.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addReturnToUnusedLastExpressionInFunction/subtype.kt @@ -4,3 +4,5 @@ fun foo(): Any { true } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddReturnToUnusedLastExpressionInFunctionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addReturnToUnusedLastExpressionInFunction/subtype.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addReturnToUnusedLastExpressionInFunction/subtype.kt.after index a951a2933dee..68ace7de3a09 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addReturnToUnusedLastExpressionInFunction/subtype.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addReturnToUnusedLastExpressionInFunction/subtype.kt.after @@ -4,3 +4,5 @@ fun foo(): Any { return true } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddReturnToUnusedLastExpressionInFunctionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addRunBeforeLambda/basic.kt b/plugins/kotlin/idea/tests/testData/quickfix/addRunBeforeLambda/basic.kt index 2d132c7fe698..05f1af359da9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addRunBeforeLambda/basic.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addRunBeforeLambda/basic.kt @@ -3,4 +3,5 @@ fun foo() { {} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddRunToLambdaFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addRunBeforeLambda/basic.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addRunBeforeLambda/basic.kt.after index b30b4fe2e82e..b3b1b709917f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addRunBeforeLambda/basic.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addRunBeforeLambda/basic.kt.after @@ -3,4 +3,5 @@ fun foo() { run {} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddRunToLambdaFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/basic.kt b/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/basic.kt index 01d368e95835..d87f687875d4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/basic.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/basic.kt @@ -5,4 +5,5 @@ fun foo() {} fun test() { foo() {} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddSemicolonBeforeLambdaExpressionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/basic.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/basic.kt.after index 711187494030..1f88fdd7fce9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/basic.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/basic.kt.after @@ -5,4 +5,5 @@ fun foo() {} fun test() { foo(); {} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddSemicolonBeforeLambdaExpressionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/chainedDotsEnd.kt b/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/chainedDotsEnd.kt index e10abd54c54e..358bb427e63e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/chainedDotsEnd.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/chainedDotsEnd.kt @@ -6,3 +6,5 @@ fun test() { foo() {"test"}.invoke().toString().toString() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddSemicolonBeforeLambdaExpressionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/chainedDotsEnd.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/chainedDotsEnd.kt.after index d7f092392cad..46c740d0a340 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/chainedDotsEnd.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/chainedDotsEnd.kt.after @@ -6,3 +6,5 @@ fun test() { foo(); {"test"}.invoke().toString().toString() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddSemicolonBeforeLambdaExpressionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/chainedDotsStart.kt b/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/chainedDotsStart.kt index 3df67cddd2df..b2e0572cbfe2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/chainedDotsStart.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/chainedDotsStart.kt @@ -4,3 +4,5 @@ fun test() { "test".toString().toString().toString() {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddSemicolonBeforeLambdaExpressionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/chainedDotsStart.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/chainedDotsStart.kt.after index 6b21e9f96c7c..2487180b950b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/chainedDotsStart.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/chainedDotsStart.kt.after @@ -4,3 +4,5 @@ fun test() { "test".toString().toString().toString(); {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddSemicolonBeforeLambdaExpressionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/chainedDotsStartEnd.kt b/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/chainedDotsStartEnd.kt index b34846bd3a96..2c0484d6a58c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/chainedDotsStartEnd.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/chainedDotsStartEnd.kt @@ -4,3 +4,5 @@ fun test() { "test".toString().toString().toString() {"test"}.invoke().toString().toString() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddSemicolonBeforeLambdaExpressionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/chainedDotsStartEnd.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/chainedDotsStartEnd.kt.after index 8f63100b0fa6..de729856fe8a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/chainedDotsStartEnd.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/chainedDotsStartEnd.kt.after @@ -4,3 +4,5 @@ fun test() { "test".toString().toString().toString(); {"test"}.invoke().toString().toString() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddSemicolonBeforeLambdaExpressionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/complex.kt b/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/complex.kt index 2e1fcb22697a..f8d45e888903 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/complex.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/complex.kt @@ -12,3 +12,5 @@ fun test { */ { { { foo() } } }.invoke()().invoke() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddSemicolonBeforeLambdaExpressionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/complex.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/complex.kt.after index 2e34e8931c91..e3c4f659d781 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/complex.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/complex.kt.after @@ -12,3 +12,5 @@ fun test { */ { { { foo() } } }.invoke()().invoke() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddSemicolonBeforeLambdaExpressionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/dotExpressionAndCallExpression.kt b/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/dotExpressionAndCallExpression.kt index 4f7b93408f4d..5f5afc5de24b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/dotExpressionAndCallExpression.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/dotExpressionAndCallExpression.kt @@ -7,4 +7,5 @@ fun test() { doSomething().foo() // comment and formatting { doSomething() }() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddSemicolonBeforeLambdaExpressionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/dotExpressionAndCallExpression.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/dotExpressionAndCallExpression.kt.after index 1836a34e6b9b..d09d2c8a9c9f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/dotExpressionAndCallExpression.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/dotExpressionAndCallExpression.kt.after @@ -7,4 +7,5 @@ fun test() { doSomething().foo(); // comment and formatting { doSomething() }() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddSemicolonBeforeLambdaExpressionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/multipleCallsEnd.kt b/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/multipleCallsEnd.kt index 8ef5e0d43a01..597d46be76a1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/multipleCallsEnd.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/multipleCallsEnd.kt @@ -7,3 +7,5 @@ fun test { // comment and formatting { { { foo() } } }()()() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddSemicolonBeforeLambdaExpressionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/multipleCallsEnd.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/multipleCallsEnd.kt.after index 9a1c9d362ec7..605746d66b41 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/multipleCallsEnd.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/multipleCallsEnd.kt.after @@ -7,3 +7,5 @@ fun test { // comment and formatting { { { foo() } } }()()() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddSemicolonBeforeLambdaExpressionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/multipleCallsStart.kt b/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/multipleCallsStart.kt index 6a393840a3c9..2c4e48e3ed7e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/multipleCallsStart.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/multipleCallsStart.kt @@ -7,3 +7,5 @@ fun test { // comment and formatting {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddSemicolonBeforeLambdaExpressionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/multipleCallsStart.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/multipleCallsStart.kt.after index c4822d941019..89c63114d0d0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/multipleCallsStart.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/multipleCallsStart.kt.after @@ -7,3 +7,5 @@ fun test { // comment and formatting {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddSemicolonBeforeLambdaExpressionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/multipleCallsStartEnd.kt b/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/multipleCallsStartEnd.kt index 2ea772b19ed4..53d0a0856fa5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/multipleCallsStartEnd.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/multipleCallsStartEnd.kt @@ -7,3 +7,5 @@ fun test { // comment and formatting { { { foo() } } }()()() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddSemicolonBeforeLambdaExpressionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/multipleCallsStartEnd.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/multipleCallsStartEnd.kt.after index 7abf0657aa90..fa9c7fe76bee 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/multipleCallsStartEnd.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/multipleCallsStartEnd.kt.after @@ -7,3 +7,5 @@ fun test { // comment and formatting { { { foo() } } }()()() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddSemicolonBeforeLambdaExpressionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/multipleLambdas.kt b/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/multipleLambdas.kt index 232bff4a8f52..28212ed9a223 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/multipleLambdas.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/multipleLambdas.kt @@ -10,3 +10,5 @@ fun test() { {} {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddSemicolonBeforeLambdaExpressionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/multipleLambdas.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/multipleLambdas.kt.after index c93fd6e0f1ba..7c4aa8d4f8af 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/multipleLambdas.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/multipleLambdas.kt.after @@ -10,3 +10,5 @@ fun test() { {} {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddSemicolonBeforeLambdaExpressionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/onlyDotBefore.kt b/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/onlyDotBefore.kt index 394e597a772f..922a998dadf4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/onlyDotBefore.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/onlyDotBefore.kt @@ -5,3 +5,5 @@ fun foo() { // comment and formatting {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddSemicolonBeforeLambdaExpressionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/onlyDotBefore.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/onlyDotBefore.kt.after index da8ad413adbd..02d3873e29a2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/onlyDotBefore.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/onlyDotBefore.kt.after @@ -5,3 +5,5 @@ fun foo() { // comment and formatting {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddSemicolonBeforeLambdaExpressionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/twoLambdasTwoInvokes.kt b/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/twoLambdasTwoInvokes.kt index 63bfa7574842..0db94b338de0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/twoLambdasTwoInvokes.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/twoLambdasTwoInvokes.kt @@ -5,3 +5,5 @@ fun foo() { // comment and formatting { "second" }.invoke() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddSemicolonBeforeLambdaExpressionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/twoLambdasTwoInvokes.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/twoLambdasTwoInvokes.kt.after index 339ff73642fd..c84af9c69254 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/twoLambdasTwoInvokes.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/twoLambdasTwoInvokes.kt.after @@ -5,3 +5,5 @@ fun foo() { // comment and formatting { "second" }.invoke() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddSemicolonBeforeLambdaExpressionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/withComments.kt b/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/withComments.kt index e67076b69149..ffe1ac122208 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/withComments.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/withComments.kt @@ -9,4 +9,5 @@ fun test() { */ // comment {} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddSemicolonBeforeLambdaExpressionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/withComments.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/withComments.kt.after index 9ab45266ed4f..e38689d3ee56 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/withComments.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addSemicolonBeforeLambdaExpression/withComments.kt.after @@ -9,4 +9,5 @@ fun test() { */ // comment {} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddSemicolonBeforeLambdaExpressionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/changeToStarProjection.kt b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/changeToStarProjection.kt index dba3453e3e62..e899d7719ec6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/changeToStarProjection.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/changeToStarProjection.kt @@ -2,3 +2,5 @@ public fun foo(a: Any) { a as List } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToStarProjectionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/changeToStarProjection.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/changeToStarProjection.kt.after index d98f10cf2fa1..65db6d174525 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/changeToStarProjection.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/changeToStarProjection.kt.after @@ -2,3 +2,5 @@ public fun foo(a: Any) { a as List<*> } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToStarProjectionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/changeToStarProjectionNullable.kt b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/changeToStarProjectionNullable.kt index 915ddab5cef8..901a0e0a1890 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/changeToStarProjectionNullable.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/changeToStarProjectionNullable.kt @@ -2,3 +2,5 @@ public fun foo(a: Any?) { a as Map<*, Int>? } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToStarProjectionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/changeToStarProjectionNullable.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/changeToStarProjectionNullable.kt.after index 7a5ce83fdb3b..c13ebc984c3c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/changeToStarProjectionNullable.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/changeToStarProjectionNullable.kt.after @@ -2,3 +2,5 @@ public fun foo(a: Any?) { a as Map<*, *>? } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToStarProjectionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/extensionReceiver3.kt b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/extensionReceiver3.kt index e2b22c7688a3..a847854f640a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/extensionReceiver3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/extensionReceiver3.kt @@ -3,4 +3,5 @@ fun test(a: Any) { (a as List).bar() } -fun List<*>.bar() {} \ No newline at end of file +fun List<*>.bar() {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToStarProjectionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/extensionReceiver3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/extensionReceiver3.kt.after index 187e762e8356..c5d6a9bac458 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/extensionReceiver3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/extensionReceiver3.kt.after @@ -3,4 +3,5 @@ fun test(a: Any) { (a as List<*>).bar() } -fun List<*>.bar() {} \ No newline at end of file +fun List<*>.bar() {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToStarProjectionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/extensionReceiver4.kt b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/extensionReceiver4.kt index 4f11b7c6c0b9..2f61520fdf6d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/extensionReceiver4.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/extensionReceiver4.kt @@ -3,4 +3,5 @@ fun test(a: Any) { (a as List).bar() } -fun List.bar() {} \ No newline at end of file +fun List.bar() {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToStarProjectionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/extensionReceiver4.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/extensionReceiver4.kt.after index 59405fa9e417..4688aca7bc9f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/extensionReceiver4.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/extensionReceiver4.kt.after @@ -3,4 +3,5 @@ fun test(a: Any) { (a as List<*>).bar() } -fun List.bar() {} \ No newline at end of file +fun List.bar() {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToStarProjectionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/extensionReceiver5.kt b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/extensionReceiver5.kt index 66468c5949dd..15503e765e97 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/extensionReceiver5.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/extensionReceiver5.kt @@ -3,4 +3,5 @@ fun test(a: Any) { (a as Map).bar() } -fun Map.bar() {} \ No newline at end of file +fun Map.bar() {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToStarProjectionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/extensionReceiver5.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/extensionReceiver5.kt.after index f390842b9271..a878d55d63a9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/extensionReceiver5.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/extensionReceiver5.kt.after @@ -3,4 +3,5 @@ fun test(a: Any) { (a as Map<*, *>).bar() } -fun Map.bar() {} \ No newline at end of file +fun Map.bar() {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToStarProjectionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/genericTypeParameter3.kt b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/genericTypeParameter3.kt index a4730578ecec..097c951eff3b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/genericTypeParameter3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/genericTypeParameter3.kt @@ -1,4 +1,5 @@ // "Change type arguments to <*>" "true" fun test(list: List<*>): List<*> { return list as List -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToStarProjectionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/genericTypeParameter3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/genericTypeParameter3.kt.after index c253f89fd6eb..8d1014bca70d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/genericTypeParameter3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/genericTypeParameter3.kt.after @@ -1,4 +1,5 @@ // "Change type arguments to <*>" "true" fun test(list: List<*>): List<*> { return list as List<*> -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToStarProjectionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/genericTypeParameter4.kt b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/genericTypeParameter4.kt index ad5fd5870b34..3e784b803f27 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/genericTypeParameter4.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/genericTypeParameter4.kt @@ -2,4 +2,5 @@ fun test(list: List<*>): List { list as List return list as List -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToStarProjectionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/genericTypeParameter4.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/genericTypeParameter4.kt.after index 49756cbe68b7..b33c5681e920 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/genericTypeParameter4.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/genericTypeParameter4.kt.after @@ -2,4 +2,5 @@ fun test(list: List<*>): List { list as List<*> return list as List -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToStarProjectionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/genericTypeParameter6.kt b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/genericTypeParameter6.kt index 023bc5a0e43b..e30375895c95 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/genericTypeParameter6.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/genericTypeParameter6.kt @@ -1,4 +1,5 @@ // "Change type arguments to <*>" "true" fun test6(list: List<*>) { val a: List<*> = list as List -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToStarProjectionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/genericTypeParameter6.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/genericTypeParameter6.kt.after index 6fba1ad0b893..a736bfb4a266 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/genericTypeParameter6.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/genericTypeParameter6.kt.after @@ -1,4 +1,5 @@ // "Change type arguments to <*>" "true" fun test6(list: List<*>) { val a: List<*> = list as List<*> -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToStarProjectionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/genericTypeParameter7.kt b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/genericTypeParameter7.kt index eddfa597cd4f..1ae11039ca2a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/genericTypeParameter7.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/genericTypeParameter7.kt @@ -1,4 +1,5 @@ // "Change type arguments to <*>" "true" fun test7(list: List<*>) { val a = list as List -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToStarProjectionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/genericTypeParameter7.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/genericTypeParameter7.kt.after index 93d10b77ec3a..50f0e208b225 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/genericTypeParameter7.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/genericTypeParameter7.kt.after @@ -1,4 +1,5 @@ // "Change type arguments to <*>" "true" fun test7(list: List<*>) { val a = list as List<*> -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToStarProjectionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/valueArgument3.kt b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/valueArgument3.kt index 0b877e9a9f30..4d4b56472e17 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/valueArgument3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/valueArgument3.kt @@ -3,4 +3,5 @@ fun test(a: Any) { foo(a as List) } -fun foo(list: List<*>) {} \ No newline at end of file +fun foo(list: List<*>) {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToStarProjectionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/valueArgument3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/valueArgument3.kt.after index 3f90b30da616..18577f253586 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/valueArgument3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/valueArgument3.kt.after @@ -3,4 +3,5 @@ fun test(a: Any) { foo(a as List<*>) } -fun foo(list: List<*>) {} \ No newline at end of file +fun foo(list: List<*>) {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToStarProjectionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/valueArgument4.kt b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/valueArgument4.kt index a159ff0d1e32..f1459ae336bc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/valueArgument4.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/valueArgument4.kt @@ -3,4 +3,5 @@ fun test(a: Any) { foo(a as List) } -fun foo(list: List) {} \ No newline at end of file +fun foo(list: List) {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToStarProjectionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/valueArgument4.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/valueArgument4.kt.after index 05eab31ffd31..b40174279ccf 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/valueArgument4.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/valueArgument4.kt.after @@ -3,4 +3,5 @@ fun test(a: Any) { foo(a as List<*>) } -fun foo(list: List) {} \ No newline at end of file +fun foo(list: List) {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToStarProjectionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/valueArgument5.kt b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/valueArgument5.kt index 86b4312a9eb0..2d68dc012dfd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/valueArgument5.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/valueArgument5.kt @@ -3,4 +3,5 @@ fun test(a: Any) { foo(a as Map) } -fun foo(map: Map) {} \ No newline at end of file +fun foo(map: Map) {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToStarProjectionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/valueArgument5.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/valueArgument5.kt.after index d7f7e21bf90b..42511285da96 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/valueArgument5.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/cast/valueArgument5.kt.after @@ -3,4 +3,5 @@ fun test(a: Any) { foo(a as Map<*, *>) } -fun foo(map: Map) {} \ No newline at end of file +fun foo(map: Map) {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToStarProjectionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/checkType/arrayInWhen.kt b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/checkType/arrayInWhen.kt index bf1c7575b5fe..441e2c6390b4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/checkType/arrayInWhen.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/checkType/arrayInWhen.kt @@ -3,3 +3,5 @@ fun test(a: Any) = when (a) { is Array -> 1 else -> 2 } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToStarProjectionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/checkType/arrayInWhen.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/checkType/arrayInWhen.kt.after index 8ea1dcd727e9..a169b0ae0dfc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/checkType/arrayInWhen.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/checkType/arrayInWhen.kt.after @@ -3,3 +3,5 @@ fun test(a: Any) = when (a) { is Array<*> -> 1 else -> 2 } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToStarProjectionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/checkType/changeToStarProjectionMultipleParameters.kt b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/checkType/changeToStarProjectionMultipleParameters.kt index cc2154886d3a..d9603639ebb8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/checkType/changeToStarProjectionMultipleParameters.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/checkType/changeToStarProjectionMultipleParameters.kt @@ -1,2 +1,3 @@ // "Change type arguments to <*, *>" "true" -fun isStringToIntMap(map : Any) = map is Map<String, Int> \ No newline at end of file +fun isStringToIntMap(map : Any) = map is Map<String, Int> +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToStarProjectionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/checkType/changeToStarProjectionMultipleParameters.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/checkType/changeToStarProjectionMultipleParameters.kt.after index 4474cedeb0aa..d2c51521bcee 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/checkType/changeToStarProjectionMultipleParameters.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/checkType/changeToStarProjectionMultipleParameters.kt.after @@ -1,2 +1,3 @@ // "Change type arguments to <*, *>" "true" -fun isStringToIntMap(map : Any) = map is Map<*, *> \ No newline at end of file +fun isStringToIntMap(map : Any) = map is Map<*, *> +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToStarProjectionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/checkType/changeToStarProjectionNullable.kt b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/checkType/changeToStarProjectionNullable.kt index 733ee1ca0ad9..750997ff6bb9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/checkType/changeToStarProjectionNullable.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/checkType/changeToStarProjectionNullable.kt @@ -1,2 +1,3 @@ // "Change type arguments to <*>" "true" -fun isStringList(list : Any) = list is List<String>? \ No newline at end of file +fun isStringList(list : Any) = list is List<String>? +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToStarProjectionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/checkType/changeToStarProjectionNullable.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/checkType/changeToStarProjectionNullable.kt.after index 244109a7a31b..bb002db7335d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/checkType/changeToStarProjectionNullable.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/checkType/changeToStarProjectionNullable.kt.after @@ -1,2 +1,3 @@ // "Change type arguments to <*>" "true" -fun isStringList(list : Any) = list is List<*>? \ No newline at end of file +fun isStringList(list : Any) = list is List<*>? +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToStarProjectionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/checkType/changeToStarProjectionSingleParameter.kt b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/checkType/changeToStarProjectionSingleParameter.kt index a980ff8a3b25..e750608ecb0d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/checkType/changeToStarProjectionSingleParameter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/checkType/changeToStarProjectionSingleParameter.kt @@ -1,2 +1,3 @@ // "Change type arguments to <*>" "true" -fun isStringList(list : Any?) = list is (List<String>) \ No newline at end of file +fun isStringList(list : Any?) = list is (List<String>) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToStarProjectionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/checkType/changeToStarProjectionSingleParameter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/checkType/changeToStarProjectionSingleParameter.kt.after index 32c03cded7da..5c78a5aac418 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/checkType/changeToStarProjectionSingleParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/checkType/changeToStarProjectionSingleParameter.kt.after @@ -1,2 +1,3 @@ // "Change type arguments to <*>" "true" -fun isStringList(list : Any?) = list is (List<*>) \ No newline at end of file +fun isStringList(list : Any?) = list is (List<*>) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToStarProjectionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/inner/inner1.kt b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/inner/inner1.kt index 2536ddd8d8ff..91cea5e08342 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/inner/inner1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/inner/inner1.kt @@ -2,4 +2,5 @@ class A { inner class B fun test(x: Any) = x is B -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddStartProjectionsForInnerClass \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/inner/inner1.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/inner/inner1.kt.after index d694c9717f4f..396ffb88b286 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/inner/inner1.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/inner/inner1.kt.after @@ -2,4 +2,5 @@ class A { inner class B fun test(x: Any) = x is B<*> -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddStartProjectionsForInnerClass \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/inner/inner2.kt b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/inner/inner2.kt index 884069cbcfef..c29213697f1a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/inner/inner2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/inner/inner2.kt @@ -2,4 +2,5 @@ class A { inner class B fun test(x: Any) = x is B -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddStartProjectionsForInnerClass \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/inner/inner2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/inner/inner2.kt.after index 23711bd6220d..4d1975f83a1c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/inner/inner2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/inner/inner2.kt.after @@ -2,4 +2,5 @@ class A { inner class B fun test(x: Any) = x is A<*>.B -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddStartProjectionsForInnerClass \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/inner/inner3.kt b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/inner/inner3.kt index ec1e0db614aa..10881609fcd1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/inner/inner3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/inner/inner3.kt @@ -6,4 +6,5 @@ class A { fun test(x: Any) = x is D } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddStartProjectionsForInnerClass \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/inner/inner3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/inner/inner3.kt.after index 68bec7467311..5c38ae30b2da 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/inner/inner3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/inner/inner3.kt.after @@ -6,4 +6,5 @@ class A { fun test(x: Any) = x is C<*>.D } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddStartProjectionsForInnerClass \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/inner/inner4.kt b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/inner/inner4.kt index 8ecf9f72b61e..14e249d6e129 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/inner/inner4.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/inner/inner4.kt @@ -6,4 +6,5 @@ class A { fun test(x: Any) = x is D } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddStartProjectionsForInnerClass \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/inner/inner4.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/inner/inner4.kt.after index fe280007084d..a94facfe087d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/inner/inner4.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/inner/inner4.kt.after @@ -6,4 +6,5 @@ class A { fun test(x: Any) = x is B<*>.C<*>.D } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddStartProjectionsForInnerClass \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/inner/inner5.kt b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/inner/inner5.kt index 930bee80fa88..bd19b0780d67 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/inner/inner5.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/inner/inner5.kt @@ -6,4 +6,5 @@ class A { } } fun test(x: Any) = x is B.C.D -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddStartProjectionsForInnerClass \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/inner/inner5.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/inner/inner5.kt.after index e42820fafa93..b8d48c515315 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/inner/inner5.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/inner/inner5.kt.after @@ -6,4 +6,5 @@ class A { } } fun test(x: Any) = x is B<*>.C<*>.D -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddStartProjectionsForInnerClass \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/inner/inner6.kt b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/inner/inner6.kt index 6c6c6dbc1e55..9a3cb430542f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/inner/inner6.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/inner/inner6.kt @@ -6,4 +6,5 @@ class A { } } fun test(x: Any) = x is B.C.D -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddStartProjectionsForInnerClass \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/inner/inner6.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/inner/inner6.kt.after index c279dbacad10..07c23d51b614 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/inner/inner6.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/inner/inner6.kt.after @@ -6,4 +6,5 @@ class A { } } fun test(x: Any) = x is B<*>.C<*>.D<*> -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddStartProjectionsForInnerClass \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/inner/inner7.kt b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/inner/inner7.kt index e4eef41f4565..983b4d2c6cc2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/inner/inner7.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/inner/inner7.kt @@ -6,4 +6,5 @@ class A { } } fun test(x: Any) = x is B.C.D -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddStartProjectionsForInnerClass \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/inner/inner7.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/inner/inner7.kt.after index 5f8b11617127..5a2fe88b2843 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/inner/inner7.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/inner/inner7.kt.after @@ -6,4 +6,5 @@ class A { } } fun test(x: Any) = x is B.C<*>.D -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddStartProjectionsForInnerClass \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/inner/inner8.kt b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/inner/inner8.kt index a30a987db5e5..373db8889d15 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/inner/inner8.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/inner/inner8.kt @@ -4,4 +4,5 @@ class A { inner class C fun test(x: Any) = x is C } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddStartProjectionsForInnerClass \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/inner/inner8.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/inner/inner8.kt.after index 7264eaffa121..effe96e8a63f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/inner/inner8.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/inner/inner8.kt.after @@ -4,4 +4,5 @@ class A { inner class C fun test(x: Any) = x is A<*, *>.B<*, *>.C<*, *> } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddStartProjectionsForInnerClass \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/qualifiedArrayList.kt b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/qualifiedArrayList.kt index 44b6749235f9..b90ad323e09a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/qualifiedArrayList.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/qualifiedArrayList.kt @@ -1,4 +1,5 @@ // "Add '<*>'" "true" public fun foo(a: Any) { a is java.util.ArrayList -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddStarProjectionsFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/qualifiedArrayList.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/qualifiedArrayList.kt.after index 8e2052ebe459..bf824335ad3d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/qualifiedArrayList.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/qualifiedArrayList.kt.after @@ -1,4 +1,5 @@ // "Add '<*>'" "true" public fun foo(a: Any) { a is java.util.ArrayList<*> -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddStarProjectionsFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/qualifiedList.kt b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/qualifiedList.kt index 1fa49853e076..ebb04b77e6df 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/qualifiedList.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/qualifiedList.kt @@ -1,4 +1,5 @@ // "Add '<*>'" "true" public fun foo(a: Any) { a is kotlin.collections.List -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddStarProjectionsFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/qualifiedList.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/qualifiedList.kt.after index 736ab99ab5c6..f003fe23b6ba 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/qualifiedList.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/qualifiedList.kt.after @@ -1,4 +1,5 @@ // "Add '<*>'" "true" public fun foo(a: Any) { a is kotlin.collections.List<*> -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddStarProjectionsFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/qualifiedMap.kt b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/qualifiedMap.kt index 1a19e2071529..5639c9b06ac9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/qualifiedMap.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/qualifiedMap.kt @@ -1,4 +1,5 @@ // "Add '<*, *>'" "true" public fun foo(a: Any) { a is kotlin.collections.Map -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddStarProjectionsFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/qualifiedMap.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/qualifiedMap.kt.after index 4b6d5d771f36..bc3d13f6be84 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/qualifiedMap.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/qualifiedMap.kt.after @@ -1,4 +1,5 @@ // "Add '<*, *>'" "true" public fun foo(a: Any) { a is kotlin.collections.Map<*, *> -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddStarProjectionsFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/unqualifiedList.kt b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/unqualifiedList.kt index 99918d240752..484ecf0db0f0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/unqualifiedList.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/unqualifiedList.kt @@ -1,4 +1,5 @@ // "Add '<*>'" "true" public fun foo(a: Any) { a is List -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddStarProjectionsFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/unqualifiedList.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/unqualifiedList.kt.after index 9f72a0770b7d..cac742bbd931 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/unqualifiedList.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/unqualifiedList.kt.after @@ -1,4 +1,5 @@ // "Add '<*>'" "true" public fun foo(a: Any) { a is List<*> -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddStarProjectionsFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/unqualifiedMap.kt b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/unqualifiedMap.kt index 3ae43ac89282..74f6254c289b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/unqualifiedMap.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/unqualifiedMap.kt @@ -1,4 +1,5 @@ // "Add '<*, *>'" "true" public fun foo(a: Any) { a is Map -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddStarProjectionsFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/unqualifiedMap.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/unqualifiedMap.kt.after index 21774dd88011..a7a93fa46f25 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/unqualifiedMap.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/unqualifiedMap.kt.after @@ -1,4 +1,5 @@ // "Add '<*, *>'" "true" public fun foo(a: Any) { a is Map<*, *> -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddStarProjectionsFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/when/qualifiedArrayList.kt b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/when/qualifiedArrayList.kt index 825f8ec4eff9..45cca1943eda 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/when/qualifiedArrayList.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/when/qualifiedArrayList.kt @@ -4,4 +4,5 @@ public fun foo(a: Any) { is java.util.ArrayList -> {} else -> {} } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddStarProjectionsFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/when/qualifiedArrayList.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/when/qualifiedArrayList.kt.after index 09f124cc65f3..dc858069c291 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/when/qualifiedArrayList.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/when/qualifiedArrayList.kt.after @@ -4,4 +4,5 @@ public fun foo(a: Any) { is java.util.ArrayList<*> -> {} else -> {} } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddStarProjectionsFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/when/qualifiedList.kt b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/when/qualifiedList.kt index c5adf7497a85..49f6e53eb906 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/when/qualifiedList.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/when/qualifiedList.kt @@ -4,4 +4,5 @@ public fun foo(a: Any) { is kotlin.collections.List -> {} else -> {} } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddStarProjectionsFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/when/qualifiedList.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/when/qualifiedList.kt.after index a40312252a4b..b0ee6272fb3c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/when/qualifiedList.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/when/qualifiedList.kt.after @@ -4,4 +4,5 @@ public fun foo(a: Any) { is kotlin.collections.List<*> -> {} else -> {} } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddStarProjectionsFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/when/qualifiedMap.kt b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/when/qualifiedMap.kt index 4b7276ae3b5f..d56ab427b71d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/when/qualifiedMap.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/when/qualifiedMap.kt @@ -4,4 +4,5 @@ public fun foo(a: Any) { is kotlin.collections.Map -> {} else -> {} } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddStarProjectionsFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/when/qualifiedMap.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/when/qualifiedMap.kt.after index 249a6c0f6812..7bafb650bc92 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/when/qualifiedMap.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/when/qualifiedMap.kt.after @@ -4,4 +4,5 @@ public fun foo(a: Any) { is kotlin.collections.Map<*, *> -> {} else -> {} } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddStarProjectionsFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/when/unqualifiedList.kt b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/when/unqualifiedList.kt index f19ca829ab62..7098f4db5970 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/when/unqualifiedList.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/when/unqualifiedList.kt @@ -4,4 +4,5 @@ public fun foo(a: Any) { is List -> {} else -> {} } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddStarProjectionsFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/when/unqualifiedList.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/when/unqualifiedList.kt.after index 100736491982..6518c4df6cf7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/when/unqualifiedList.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/when/unqualifiedList.kt.after @@ -4,4 +4,5 @@ public fun foo(a: Any) { is List<*> -> {} else -> {} } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddStarProjectionsFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/when/unqualifiedMap.kt b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/when/unqualifiedMap.kt index ccef96ef221a..0198a863fa43 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/when/unqualifiedMap.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/when/unqualifiedMap.kt @@ -4,4 +4,5 @@ public fun foo(a: Any) { is Map -> {} else -> {} } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddStarProjectionsFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/when/unqualifiedMap.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/when/unqualifiedMap.kt.after index e86203165703..ad089495af4e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/when/unqualifiedMap.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addStarProjections/when/unqualifiedMap.kt.after @@ -4,4 +4,5 @@ public fun foo(a: Any) { is Map<*, *> -> {} else -> {} } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddStarProjectionsFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addSuspend/fakeOverride.kt b/plugins/kotlin/idea/tests/testData/quickfix/addSuspend/fakeOverride.kt index 1bbc698197fd..34785e0833ac 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addSuspend/fakeOverride.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addSuspend/fakeOverride.kt @@ -43,4 +43,5 @@ open class C1 : B() { override fun foo(n: Int) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeSuspendInHierarchyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addSuspend/fakeOverride.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addSuspend/fakeOverride.kt.after index f39be6e02cd1..5a4bbea39d85 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addSuspend/fakeOverride.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addSuspend/fakeOverride.kt.after @@ -43,4 +43,5 @@ open class C1 : B() { override fun foo(n: Int) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeSuspendInHierarchyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addSuspend/fakeOverride2.kt b/plugins/kotlin/idea/tests/testData/quickfix/addSuspend/fakeOverride2.kt index 51b0e81f05cd..036dc94786fa 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addSuspend/fakeOverride2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addSuspend/fakeOverride2.kt @@ -43,4 +43,5 @@ open class C1 : B() { override fun foo(n: Int) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeSuspendInHierarchyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addSuspend/fakeOverride2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addSuspend/fakeOverride2.kt.after index f39be6e02cd1..5a4bbea39d85 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addSuspend/fakeOverride2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addSuspend/fakeOverride2.kt.after @@ -43,4 +43,5 @@ open class C1 : B() { override fun foo(n: Int) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeSuspendInHierarchyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addSuspend/middleClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/addSuspend/middleClass.kt index 9c0df5277670..26f470476016 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addSuspend/middleClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addSuspend/middleClass.kt @@ -47,4 +47,5 @@ open class C1 : B() { override fun foo(n: Int) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeSuspendInHierarchyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addSuspend/middleClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addSuspend/middleClass.kt.after index 56c3c6ae58bf..b3ec699ad384 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addSuspend/middleClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addSuspend/middleClass.kt.after @@ -47,4 +47,5 @@ open class C1 : B() { override fun foo(n: Int) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeSuspendInHierarchyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addSuspend/middleClass2.kt b/plugins/kotlin/idea/tests/testData/quickfix/addSuspend/middleClass2.kt index f6aa15ec494a..fcf63aee3908 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addSuspend/middleClass2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addSuspend/middleClass2.kt @@ -47,4 +47,5 @@ open class C1 : B() { override fun foo(n: Int) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeSuspendInHierarchyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addSuspend/middleClass2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addSuspend/middleClass2.kt.after index 56c3c6ae58bf..b3ec699ad384 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addSuspend/middleClass2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addSuspend/middleClass2.kt.after @@ -47,4 +47,5 @@ open class C1 : B() { override fun foo(n: Int) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeSuspendInHierarchyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addSuspend/nonOverridden.kt b/plugins/kotlin/idea/tests/testData/quickfix/addSuspend/nonOverridden.kt index 553278c9b022..3e1ea3820c11 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addSuspend/nonOverridden.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addSuspend/nonOverridden.kt @@ -47,4 +47,5 @@ open class C1 : B() { override fun foo(n: Int) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeSuspendInHierarchyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addSuspend/nonOverridden.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addSuspend/nonOverridden.kt.after index 56c3c6ae58bf..b3ec699ad384 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addSuspend/nonOverridden.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addSuspend/nonOverridden.kt.after @@ -47,4 +47,5 @@ open class C1 : B() { override fun foo(n: Int) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeSuspendInHierarchyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addSuspend/nonOverridden2.kt b/plugins/kotlin/idea/tests/testData/quickfix/addSuspend/nonOverridden2.kt index 37ef2d4840af..78c9a7738182 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addSuspend/nonOverridden2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addSuspend/nonOverridden2.kt @@ -47,4 +47,5 @@ open class C1 : B() { override fun foo(n: Int) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeSuspendInHierarchyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addSuspend/nonOverridden2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addSuspend/nonOverridden2.kt.after index 56c3c6ae58bf..b3ec699ad384 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addSuspend/nonOverridden2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addSuspend/nonOverridden2.kt.after @@ -47,4 +47,5 @@ open class C1 : B() { override fun foo(n: Int) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeSuspendInHierarchyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addTypeAnnotationToValueParameter/annotationWithArrayLiteralDouble.kt b/plugins/kotlin/idea/tests/testData/quickfix/addTypeAnnotationToValueParameter/annotationWithArrayLiteralDouble.kt index 13c17bd3e600..d06c52ccb6ff 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addTypeAnnotationToValueParameter/annotationWithArrayLiteralDouble.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addTypeAnnotationToValueParameter/annotationWithArrayLiteralDouble.kt @@ -1,4 +1,5 @@ // "Add type 'DoubleArray' to parameter 'value'" "true" // LANGUAGE_VERSION: 1.2 -annotation class CollectionDefault(val value = [1.0, 2.2]) \ No newline at end of file +annotation class CollectionDefault(val value = [1.0, 2.2]) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddTypeAnnotationToValueParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addTypeAnnotationToValueParameter/annotationWithArrayLiteralDouble.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addTypeAnnotationToValueParameter/annotationWithArrayLiteralDouble.kt.after index 9e25d2d6f606..2000c57eb072 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addTypeAnnotationToValueParameter/annotationWithArrayLiteralDouble.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addTypeAnnotationToValueParameter/annotationWithArrayLiteralDouble.kt.after @@ -1,4 +1,5 @@ // "Add type 'DoubleArray' to parameter 'value'" "true" // LANGUAGE_VERSION: 1.2 -annotation class CollectionDefault(val value: DoubleArray = [1.0, 2.2]) \ No newline at end of file +annotation class CollectionDefault(val value: DoubleArray = [1.0, 2.2]) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddTypeAnnotationToValueParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addTypeAnnotationToValueParameter/annotationWithArrayLiteralInt.kt b/plugins/kotlin/idea/tests/testData/quickfix/addTypeAnnotationToValueParameter/annotationWithArrayLiteralInt.kt index 7ff6ddf31577..6e156427e9cc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addTypeAnnotationToValueParameter/annotationWithArrayLiteralInt.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addTypeAnnotationToValueParameter/annotationWithArrayLiteralInt.kt @@ -1,4 +1,5 @@ // "Add type 'IntArray' to parameter 'value'" "true" // LANGUAGE_VERSION: 1.7 -annotation class CollectionDefault(val value = [1, 2]) \ No newline at end of file +annotation class CollectionDefault(val value = [1, 2]) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddTypeAnnotationToValueParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addTypeAnnotationToValueParameter/annotationWithArrayLiteralInt.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addTypeAnnotationToValueParameter/annotationWithArrayLiteralInt.kt.after index 197e3461c9a6..9b169bd3640c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addTypeAnnotationToValueParameter/annotationWithArrayLiteralInt.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addTypeAnnotationToValueParameter/annotationWithArrayLiteralInt.kt.after @@ -1,4 +1,5 @@ // "Add type 'IntArray' to parameter 'value'" "true" // LANGUAGE_VERSION: 1.7 -annotation class CollectionDefault(val value: IntArray = [1, 2]) \ No newline at end of file +annotation class CollectionDefault(val value: IntArray = [1, 2]) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddTypeAnnotationToValueParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addTypeAnnotationToValueParameter/annotationWithArrayLiteralString.kt b/plugins/kotlin/idea/tests/testData/quickfix/addTypeAnnotationToValueParameter/annotationWithArrayLiteralString.kt index 42bd6bbbaa6c..3cb9dcbce04e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addTypeAnnotationToValueParameter/annotationWithArrayLiteralString.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addTypeAnnotationToValueParameter/annotationWithArrayLiteralString.kt @@ -1,4 +1,5 @@ // "Add type 'Array' to parameter 'value'" "true" // LANGUAGE_VERSION: 1.2 -annotation class CollectionDefault(val value = ["alpha", "beta"]) \ No newline at end of file +annotation class CollectionDefault(val value = ["alpha", "beta"]) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddTypeAnnotationToValueParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addTypeAnnotationToValueParameter/annotationWithArrayLiteralString.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addTypeAnnotationToValueParameter/annotationWithArrayLiteralString.kt.after index b7c7d01a7981..d932d229864b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addTypeAnnotationToValueParameter/annotationWithArrayLiteralString.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addTypeAnnotationToValueParameter/annotationWithArrayLiteralString.kt.after @@ -1,4 +1,5 @@ // "Add type 'Array' to parameter 'value'" "true" // LANGUAGE_VERSION: 1.2 -annotation class CollectionDefault(val value: Array = ["alpha", "beta"]) \ No newline at end of file +annotation class CollectionDefault(val value: Array = ["alpha", "beta"]) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddTypeAnnotationToValueParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addTypeAnnotationToValueParameter/annotationWithVarargArrayLiteralDouble.kt b/plugins/kotlin/idea/tests/testData/quickfix/addTypeAnnotationToValueParameter/annotationWithVarargArrayLiteralDouble.kt index 4949972608c7..084a43ee90ac 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addTypeAnnotationToValueParameter/annotationWithVarargArrayLiteralDouble.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addTypeAnnotationToValueParameter/annotationWithVarargArrayLiteralDouble.kt @@ -1,4 +1,5 @@ // "Add type 'Double' to parameter 'value'" "true" // LANGUAGE_VERSION: 1.2 -annotation class CollectionDefault(vararg val value = [1.0, 2.2]) \ No newline at end of file +annotation class CollectionDefault(vararg val value = [1.0, 2.2]) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddTypeAnnotationToValueParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addTypeAnnotationToValueParameter/annotationWithVarargArrayLiteralDouble.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addTypeAnnotationToValueParameter/annotationWithVarargArrayLiteralDouble.kt.after index fce4361f21c6..f1d767195880 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addTypeAnnotationToValueParameter/annotationWithVarargArrayLiteralDouble.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addTypeAnnotationToValueParameter/annotationWithVarargArrayLiteralDouble.kt.after @@ -1,4 +1,5 @@ // "Add type 'Double' to parameter 'value'" "true" // LANGUAGE_VERSION: 1.2 -annotation class CollectionDefault(vararg val value: Double = [1.0, 2.2]) \ No newline at end of file +annotation class CollectionDefault(vararg val value: Double = [1.0, 2.2]) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddTypeAnnotationToValueParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addTypeAnnotationToValueParameter/annotationWithVarargArrayLiteralInt.kt b/plugins/kotlin/idea/tests/testData/quickfix/addTypeAnnotationToValueParameter/annotationWithVarargArrayLiteralInt.kt index 7059b7a83718..fe110073f83d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addTypeAnnotationToValueParameter/annotationWithVarargArrayLiteralInt.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addTypeAnnotationToValueParameter/annotationWithVarargArrayLiteralInt.kt @@ -1,4 +1,5 @@ // "Add type 'Int' to parameter 'value'" "true" // LANGUAGE_VERSION: 1.7 -annotation class CollectionDefault(vararg val value = [1, 2]) \ No newline at end of file +annotation class CollectionDefault(vararg val value = [1, 2]) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddTypeAnnotationToValueParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addTypeAnnotationToValueParameter/annotationWithVarargArrayLiteralInt.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addTypeAnnotationToValueParameter/annotationWithVarargArrayLiteralInt.kt.after index 7d78348beb2c..8bf1c9484e1f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addTypeAnnotationToValueParameter/annotationWithVarargArrayLiteralInt.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addTypeAnnotationToValueParameter/annotationWithVarargArrayLiteralInt.kt.after @@ -1,4 +1,5 @@ // "Add type 'Int' to parameter 'value'" "true" // LANGUAGE_VERSION: 1.7 -annotation class CollectionDefault(vararg val value: Int = [1, 2]) \ No newline at end of file +annotation class CollectionDefault(vararg val value: Int = [1, 2]) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddTypeAnnotationToValueParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addTypeAnnotationToValueParameter/annotationWithVarargArrayLiteralString.kt b/plugins/kotlin/idea/tests/testData/quickfix/addTypeAnnotationToValueParameter/annotationWithVarargArrayLiteralString.kt index 5d9d54a57c5f..73f28303f287 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addTypeAnnotationToValueParameter/annotationWithVarargArrayLiteralString.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addTypeAnnotationToValueParameter/annotationWithVarargArrayLiteralString.kt @@ -1,4 +1,5 @@ // "Add type 'String' to parameter 'value'" "true" // LANGUAGE_VERSION: 1.2 -annotation class CollectionDefault(vararg val value = ["alpha", "beta"]) \ No newline at end of file +annotation class CollectionDefault(vararg val value = ["alpha", "beta"]) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddTypeAnnotationToValueParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addTypeAnnotationToValueParameter/annotationWithVarargArrayLiteralString.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addTypeAnnotationToValueParameter/annotationWithVarargArrayLiteralString.kt.after index 2672353705e6..bb154387c616 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addTypeAnnotationToValueParameter/annotationWithVarargArrayLiteralString.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addTypeAnnotationToValueParameter/annotationWithVarargArrayLiteralString.kt.after @@ -1,4 +1,5 @@ // "Add type 'String' to parameter 'value'" "true" // LANGUAGE_VERSION: 1.2 -annotation class CollectionDefault(vararg val value: String = ["alpha", "beta"]) \ No newline at end of file +annotation class CollectionDefault(vararg val value: String = ["alpha", "beta"]) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddTypeAnnotationToValueParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addTypeAnnotationToValueParameter/annotationWithVarargDoubleArray.kt b/plugins/kotlin/idea/tests/testData/quickfix/addTypeAnnotationToValueParameter/annotationWithVarargDoubleArray.kt index d2274c2dcdeb..44a814684a01 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addTypeAnnotationToValueParameter/annotationWithVarargDoubleArray.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addTypeAnnotationToValueParameter/annotationWithVarargDoubleArray.kt @@ -1,3 +1,4 @@ // "Add type 'Double' to parameter 'value'" "true" -class CollectionDefault(vararg val value = doubleArrayOf(1.0, 2.2)) \ No newline at end of file +class CollectionDefault(vararg val value = doubleArrayOf(1.0, 2.2)) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddTypeAnnotationToValueParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addTypeAnnotationToValueParameter/annotationWithVarargDoubleArray.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addTypeAnnotationToValueParameter/annotationWithVarargDoubleArray.kt.after index 13c7ecfe5642..9bcb89bb6d9c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addTypeAnnotationToValueParameter/annotationWithVarargDoubleArray.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addTypeAnnotationToValueParameter/annotationWithVarargDoubleArray.kt.after @@ -1,3 +1,4 @@ // "Add type 'Double' to parameter 'value'" "true" -class CollectionDefault(vararg val value: Double = doubleArrayOf(1.0, 2.2)) \ No newline at end of file +class CollectionDefault(vararg val value: Double = doubleArrayOf(1.0, 2.2)) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddTypeAnnotationToValueParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addTypeAnnotationToValueParameter/annotationWithVarargIntArray.kt b/plugins/kotlin/idea/tests/testData/quickfix/addTypeAnnotationToValueParameter/annotationWithVarargIntArray.kt index 53a9fd09f0c4..5d306d1f4fcc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addTypeAnnotationToValueParameter/annotationWithVarargIntArray.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addTypeAnnotationToValueParameter/annotationWithVarargIntArray.kt @@ -1,3 +1,4 @@ // "Add type 'Int' to parameter 'value'" "true" -class CollectionDefault(vararg val value = intArrayOf(1, 2)) \ No newline at end of file +class CollectionDefault(vararg val value = intArrayOf(1, 2)) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddTypeAnnotationToValueParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addTypeAnnotationToValueParameter/annotationWithVarargIntArray.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addTypeAnnotationToValueParameter/annotationWithVarargIntArray.kt.after index 68729f77beab..aba5dc2b6951 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addTypeAnnotationToValueParameter/annotationWithVarargIntArray.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addTypeAnnotationToValueParameter/annotationWithVarargIntArray.kt.after @@ -1,3 +1,4 @@ // "Add type 'Int' to parameter 'value'" "true" -class CollectionDefault(vararg val value: Int = intArrayOf(1, 2)) \ No newline at end of file +class CollectionDefault(vararg val value: Int = intArrayOf(1, 2)) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddTypeAnnotationToValueParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addTypeAnnotationToValueParameter/simple.kt b/plugins/kotlin/idea/tests/testData/quickfix/addTypeAnnotationToValueParameter/simple.kt index 28faaa6b0e35..5ac73eb964bd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addTypeAnnotationToValueParameter/simple.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addTypeAnnotationToValueParameter/simple.kt @@ -1,3 +1,4 @@ // "Add type 'Int' to parameter 'bar'" "true" -class Foo(val bar = 10) \ No newline at end of file +class Foo(val bar = 10) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddTypeAnnotationToValueParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addTypeAnnotationToValueParameter/simple.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addTypeAnnotationToValueParameter/simple.kt.after index 78d210dbf926..f5f41a282b60 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addTypeAnnotationToValueParameter/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addTypeAnnotationToValueParameter/simple.kt.after @@ -1,3 +1,4 @@ // "Add type 'Int' to parameter 'bar'" "true" -class Foo(val bar: Int = 10) \ No newline at end of file +class Foo(val bar: Int = 10) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddTypeAnnotationToValueParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addUnsafeVarianceAnnotation/parameterType.kt b/plugins/kotlin/idea/tests/testData/quickfix/addUnsafeVarianceAnnotation/parameterType.kt index add75b0c57e2..93f5db587724 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addUnsafeVarianceAnnotation/parameterType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addUnsafeVarianceAnnotation/parameterType.kt @@ -1,4 +1,5 @@ // "Add '@UnsafeVariance' annotation" "true" interface Foo { fun bar(e: E) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addUnsafeVarianceAnnotation/parameterType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addUnsafeVarianceAnnotation/parameterType.kt.after index d78ea7cc13e9..bc56851dce19 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addUnsafeVarianceAnnotation/parameterType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addUnsafeVarianceAnnotation/parameterType.kt.after @@ -1,4 +1,5 @@ // "Add '@UnsafeVariance' annotation" "true" interface Foo { fun bar(e: @UnsafeVariance E) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addUnsafeVarianceAnnotation/returnType.kt b/plugins/kotlin/idea/tests/testData/quickfix/addUnsafeVarianceAnnotation/returnType.kt index 2e8d69373652..c22c2614b377 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addUnsafeVarianceAnnotation/returnType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addUnsafeVarianceAnnotation/returnType.kt @@ -1,4 +1,5 @@ // "Add '@UnsafeVariance' annotation" "true" interface Foo { fun bar(): E -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addUnsafeVarianceAnnotation/returnType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addUnsafeVarianceAnnotation/returnType.kt.after index 200203ee53f4..946401179f6e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addUnsafeVarianceAnnotation/returnType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addUnsafeVarianceAnnotation/returnType.kt.after @@ -1,4 +1,5 @@ // "Add '@UnsafeVariance' annotation" "true" interface Foo { fun bar(): @UnsafeVariance E -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addValVar/addVal.kt b/plugins/kotlin/idea/tests/testData/quickfix/addValVar/addVal.kt index 58283b6bb6f1..65125f5abf2a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addValVar/addVal.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addValVar/addVal.kt @@ -1,4 +1,5 @@ // "Add 'val' or 'var' to parameter 'x'" "true" data class Foo(x: Int, val y: Int) { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.AddValVarToConstructorParameterAction$QuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addValVar/addVal.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addValVar/addVal.kt.after index 28578d5e39c4..08bfc011a021 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addValVar/addVal.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addValVar/addVal.kt.after @@ -1,4 +1,5 @@ // "Add 'val' or 'var' to parameter 'x'" "true" data class Foo(val x: Int, val y: Int) { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.AddValVarToConstructorParameterAction$QuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addValVar/addValAfterVarArg.kt b/plugins/kotlin/idea/tests/testData/quickfix/addValVar/addValAfterVarArg.kt index aadc05664feb..b8cc5770c574 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addValVar/addValAfterVarArg.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addValVar/addValAfterVarArg.kt @@ -1,4 +1,5 @@ // "Add 'val' or 'var' to parameter 'x'" "true" class Foo(vararg x: Int, val y: Int) { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.AddValVarToConstructorParameterAction$Intention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addValVar/addValAfterVarArg.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addValVar/addValAfterVarArg.kt.after index 3a9a59963624..6b0665a935be 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addValVar/addValAfterVarArg.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addValVar/addValAfterVarArg.kt.after @@ -1,4 +1,5 @@ // "Add 'val' or 'var' to parameter 'x'" "true" class Foo(vararg val x: Int, val y: Int) { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.AddValVarToConstructorParameterAction$Intention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addValVar/annotation.kt b/plugins/kotlin/idea/tests/testData/quickfix/addValVar/annotation.kt index bb61cbd35738..fdb9c52b7114 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addValVar/annotation.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addValVar/annotation.kt @@ -1,2 +1,3 @@ // "Add 'val' to parameter 'x'" "true" -annotation class A(x: Int) \ No newline at end of file +annotation class A(x: Int) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.AddValVarToConstructorParameterAction$QuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addValVar/annotation.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addValVar/annotation.kt.after index 9a0f5633a793..ce6cfc12e69f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addValVar/annotation.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addValVar/annotation.kt.after @@ -1,2 +1,3 @@ // "Add 'val' to parameter 'x'" "true" -annotation class A(val x: Int) \ No newline at end of file +annotation class A(val x: Int) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.AddValVarToConstructorParameterAction$QuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addValVar/expectAnnotation.kt b/plugins/kotlin/idea/tests/testData/quickfix/addValVar/expectAnnotation.kt index f48ab0f17d0d..a0484c3bdd39 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addValVar/expectAnnotation.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addValVar/expectAnnotation.kt @@ -1,3 +1,4 @@ // "Add 'val' to parameter 'a'" "true" // ERROR: 'expect' and 'actual' declarations can be used only in multiplatform projects. Learn more about Kotlin Multiplatform: https://kotl.in/multiplatform-setup -expect annotation class A(a: Int) \ No newline at end of file +expect annotation class A(a: Int) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.AddValVarToConstructorParameterAction$QuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addValVar/expectAnnotation.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addValVar/expectAnnotation.kt.after index dc24cb8a8a61..5339567243e4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addValVar/expectAnnotation.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addValVar/expectAnnotation.kt.after @@ -1,3 +1,4 @@ // "Add 'val' to parameter 'a'" "true" // ERROR: 'expect' and 'actual' declarations can be used only in multiplatform projects. Learn more about Kotlin Multiplatform: https://kotl.in/multiplatform-setup -expect annotation class A(val a: Int) \ No newline at end of file +expect annotation class A(val a: Int) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.AddValVarToConstructorParameterAction$QuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addValVar/inline/basic.kt b/plugins/kotlin/idea/tests/testData/quickfix/addValVar/inline/basic.kt index 4b745733da13..3b2f667e22f6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addValVar/inline/basic.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addValVar/inline/basic.kt @@ -1,2 +1,3 @@ // "Add 'val' to parameter 'x'" "true" -inline class Foo(x: Int) \ No newline at end of file +inline class Foo(x: Int) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.AddValVarToConstructorParameterAction$QuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addValVar/inline/basic.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addValVar/inline/basic.kt.after index a9f47452ad09..545582d89876 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addValVar/inline/basic.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addValVar/inline/basic.kt.after @@ -1,2 +1,3 @@ // "Add 'val' to parameter 'x'" "true" -inline class Foo(val x: Int) \ No newline at end of file +inline class Foo(val x: Int) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.AddValVarToConstructorParameterAction$QuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addValVar/inline/var.kt b/plugins/kotlin/idea/tests/testData/quickfix/addValVar/inline/var.kt index c3b72914bdfb..c88c608c4f54 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addValVar/inline/var.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addValVar/inline/var.kt @@ -1,2 +1,3 @@ // "Change to 'val'" "true" -inline class Foo(var x: Int) \ No newline at end of file +inline class Foo(var x: Int) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.quickFix.ChangeVariableMutabilityFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addValVar/inline/var.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addValVar/inline/var.kt.after index 0469146c2eab..213af7a63676 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addValVar/inline/var.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addValVar/inline/var.kt.after @@ -1,2 +1,3 @@ // "Change to 'val'" "true" -inline class Foo(val x: Int) \ No newline at end of file +inline class Foo(val x: Int) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.quickFix.ChangeVariableMutabilityFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addValVar/value/basic.kt b/plugins/kotlin/idea/tests/testData/quickfix/addValVar/value/basic.kt index 005e1b97e712..2f403851e9fb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addValVar/value/basic.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addValVar/value/basic.kt @@ -1,4 +1,5 @@ // "Add 'val' to parameter 'x'" "true" // WITH_STDLIB @JvmInline -value class Foo(x: Int) \ No newline at end of file +value class Foo(x: Int) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.AddValVarToConstructorParameterAction$QuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addValVar/value/basic.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addValVar/value/basic.kt.after index 83550466033f..4f3d5d7aff36 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addValVar/value/basic.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addValVar/value/basic.kt.after @@ -1,4 +1,5 @@ // "Add 'val' to parameter 'x'" "true" // WITH_STDLIB @JvmInline -value class Foo(val x: Int) \ No newline at end of file +value class Foo(val x: Int) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.AddValVarToConstructorParameterAction$QuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addValVar/value/genericParameter.kt b/plugins/kotlin/idea/tests/testData/quickfix/addValVar/value/genericParameter.kt index 224a7032c739..9224bc8ad68c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addValVar/value/genericParameter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addValVar/value/genericParameter.kt @@ -3,3 +3,5 @@ // COMPILER_ARGUMENTS: -XXLanguage:+GenericInlineClassParameter @JvmInline value class Foo(x: T) + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.AddValVarToConstructorParameterAction$QuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addValVar/value/genericParameter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addValVar/value/genericParameter.kt.after index cb344fe5de93..bc1d580f9b80 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addValVar/value/genericParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addValVar/value/genericParameter.kt.after @@ -3,3 +3,5 @@ // COMPILER_ARGUMENTS: -XXLanguage:+GenericInlineClassParameter @JvmInline value class Foo(val x: T) + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.AddValVarToConstructorParameterAction$QuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addValVar/value/var.kt b/plugins/kotlin/idea/tests/testData/quickfix/addValVar/value/var.kt index 741a17d99aa0..a4f30b1d3b0c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addValVar/value/var.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addValVar/value/var.kt @@ -1,4 +1,5 @@ // "Change to 'val'" "true" // WITH_STDLIB @JvmInline -value class Foo(var x: Int) \ No newline at end of file +value class Foo(var x: Int) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.quickFix.ChangeVariableMutabilityFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addValVar/value/var.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addValVar/value/var.kt.after index c1b4a5f8ee56..25e16d4bad33 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addValVar/value/var.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addValVar/value/var.kt.after @@ -1,4 +1,5 @@ // "Change to 'val'" "true" // WITH_STDLIB @JvmInline -value class Foo(val x: Int) \ No newline at end of file +value class Foo(val x: Int) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.quickFix.ChangeVariableMutabilityFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addVarianceModifier/abstractIn.kt b/plugins/kotlin/idea/tests/testData/quickfix/addVarianceModifier/abstractIn.kt index e4d208560303..1f83fe2629e4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addVarianceModifier/abstractIn.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addVarianceModifier/abstractIn.kt @@ -1,4 +1,5 @@ // "Add 'in' variance" "true" abstract class AbstractIn<T>(private val foo: T) { fun bar(arg: T) = foo == arg -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.AddVarianceModifierInspection$AddVarianceFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addVarianceModifier/abstractIn.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addVarianceModifier/abstractIn.kt.after index 8b2ce6e97515..c4ed6bd5a046 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addVarianceModifier/abstractIn.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addVarianceModifier/abstractIn.kt.after @@ -1,4 +1,5 @@ // "Add 'in' variance" "true" abstract class AbstractIn(private val foo: T) { fun bar(arg: T) = foo == arg -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.AddVarianceModifierInspection$AddVarianceFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addVarianceModifier/abstractOut.kt b/plugins/kotlin/idea/tests/testData/quickfix/addVarianceModifier/abstractOut.kt index 3676829921af..7475240c5d21 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addVarianceModifier/abstractOut.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/addVarianceModifier/abstractOut.kt @@ -2,4 +2,5 @@ abstract class AbstractOut<T> { abstract val foo: T private var bar = foo -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.AddVarianceModifierInspection$AddVarianceFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/addVarianceModifier/abstractOut.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/addVarianceModifier/abstractOut.kt.after index 6352b61c8e7c..2c54af72325a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/addVarianceModifier/abstractOut.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/addVarianceModifier/abstractOut.kt.after @@ -2,4 +2,5 @@ abstract class AbstractOut { abstract val foo: T private var bar = foo -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.AddVarianceModifierInspection$AddVarianceFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/assignToProperty/inSecondaryConstructor.kt b/plugins/kotlin/idea/tests/testData/quickfix/assignToProperty/inSecondaryConstructor.kt index 0c0af3761b0c..464c8022d34b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/assignToProperty/inSecondaryConstructor.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/assignToProperty/inSecondaryConstructor.kt @@ -5,4 +5,5 @@ class Test { constructor(foo: Int) { foo = foo } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AssignToPropertyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/assignToProperty/inSecondaryConstructor.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/assignToProperty/inSecondaryConstructor.kt.after index af601fdaf9d1..81d2517023bd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/assignToProperty/inSecondaryConstructor.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/assignToProperty/inSecondaryConstructor.kt.after @@ -5,4 +5,5 @@ class Test { constructor(foo: Int) { this.foo = foo } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AssignToPropertyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/assignToProperty/qualifiedThis.kt b/plugins/kotlin/idea/tests/testData/quickfix/assignToProperty/qualifiedThis.kt index 318cff6c64b0..a6e689b2a2e9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/assignToProperty/qualifiedThis.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/assignToProperty/qualifiedThis.kt @@ -8,4 +8,5 @@ class Test { foo = foo } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AssignToPropertyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/assignToProperty/qualifiedThis.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/assignToProperty/qualifiedThis.kt.after index a874ba38087f..f76a571a4edf 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/assignToProperty/qualifiedThis.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/assignToProperty/qualifiedThis.kt.after @@ -8,4 +8,5 @@ class Test { this@Test.foo = foo } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AssignToPropertyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/assignToProperty/sameProperty.kt b/plugins/kotlin/idea/tests/testData/quickfix/assignToProperty/sameProperty.kt index 6f16568639ea..20031db4e6e2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/assignToProperty/sameProperty.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/assignToProperty/sameProperty.kt @@ -5,4 +5,5 @@ class Test { fun test(foo: Int) { foo = foo } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AssignToPropertyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/assignToProperty/sameProperty.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/assignToProperty/sameProperty.kt.after index 98b8e80d9048..ac93a4ff86f6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/assignToProperty/sameProperty.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/assignToProperty/sameProperty.kt.after @@ -5,4 +5,5 @@ class Test { fun test(foo: Int) { this.foo = foo } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AssignToPropertyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/assignToProperty/sameProperty2.kt b/plugins/kotlin/idea/tests/testData/quickfix/assignToProperty/sameProperty2.kt index d5a807025277..1b7d27db089f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/assignToProperty/sameProperty2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/assignToProperty/sameProperty2.kt @@ -5,4 +5,5 @@ class Test { fun test(foo: String) { foo = 2 } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AssignToPropertyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/assignToProperty/sameProperty2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/assignToProperty/sameProperty2.kt.after index 0fb31116a242..8c031f062054 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/assignToProperty/sameProperty2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/assignToProperty/sameProperty2.kt.after @@ -5,4 +5,5 @@ class Test { fun test(foo: String) { this.foo = 2 } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AssignToPropertyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/assignToProperty/sameProperty3.kt b/plugins/kotlin/idea/tests/testData/quickfix/assignToProperty/sameProperty3.kt index d2fe5f6e8d96..cba1f1568215 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/assignToProperty/sameProperty3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/assignToProperty/sameProperty3.kt @@ -3,4 +3,5 @@ class Test(var foo: Int) { fun test(foo: Int) { foo = foo } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AssignToPropertyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/assignToProperty/sameProperty3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/assignToProperty/sameProperty3.kt.after index 0821c2a30eb2..9cb84141007c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/assignToProperty/sameProperty3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/assignToProperty/sameProperty3.kt.after @@ -3,4 +3,5 @@ class Test(var foo: Int) { fun test(foo: Int) { this.foo = foo } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AssignToPropertyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/annotation.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/annotation.kt index ca8b5f466860..2e4daaacdb26 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/annotation.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/annotation.kt @@ -1,4 +1,5 @@ // "Import class 'TestOnly'" "true" @TestOnly -fun foo() {} \ No newline at end of file +fun foo() {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/annotation.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/annotation.kt.after index 9f80f9fff14a..89b38d1aadd7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/annotation.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/annotation.kt.after @@ -3,4 +3,5 @@ import org.jetbrains.annotations.TestOnly // "Import class 'TestOnly'" "true" @TestOnly -fun foo() {} \ No newline at end of file +fun foo() {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/annotationWithAnotherUnresolvedAnnotation.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/annotationWithAnotherUnresolvedAnnotation.kt index e02d88871c10..a02f95e001f2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/annotationWithAnotherUnresolvedAnnotation.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/annotationWithAnotherUnresolvedAnnotation.kt @@ -7,4 +7,5 @@ import org.intellij.lang.annotations.JdkConstants @Language @Language33 -val v: JdkConstants \ No newline at end of file +val v: JdkConstants +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/annotationWithAnotherUnresolvedAnnotation.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/annotationWithAnotherUnresolvedAnnotation.kt.after index c9021bd09443..c5398a16ebf6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/annotationWithAnotherUnresolvedAnnotation.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/annotationWithAnotherUnresolvedAnnotation.kt.after @@ -8,4 +8,5 @@ import org.intellij.lang.annotations.Language @Language @Language33 -val v: JdkConstants \ No newline at end of file +val v: JdkConstants +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/abstractExtensionSingleImport.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/abstractExtensionSingleImport.kt index 1ac4a2753fdc..238cc1073d54 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/abstractExtensionSingleImport.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/abstractExtensionSingleImport.kt @@ -14,3 +14,5 @@ object Obj : Base2() fun usage { 10.based() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/abstractExtensionSingleImport.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/abstractExtensionSingleImport.kt.after index 1a08cd558eda..af82b4cecf9e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/abstractExtensionSingleImport.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/abstractExtensionSingleImport.kt.after @@ -16,3 +16,5 @@ object Obj : Base2() fun usage { 10.based() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/companionObjectDeepInheritance.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/companionObjectDeepInheritance.kt index 5f89cafb3d81..45e49cf4b168 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/companionObjectDeepInheritance.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/companionObjectDeepInheritance.kt @@ -13,3 +13,5 @@ object TObject : T3() fun usage() { T1.foobar() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/companionObjectDeepInheritance.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/companionObjectDeepInheritance.kt.after index b4f42c0dcacd..b3e1105a8a50 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/companionObjectDeepInheritance.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/companionObjectDeepInheritance.kt.after @@ -15,3 +15,5 @@ object TObject : T3() fun usage() { T1.foobar() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/companionObjectExtensionFunctionInClassImportFromChildObject.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/companionObjectExtensionFunctionInClassImportFromChildObject.kt index cf2a8688ffb2..d565b85a73d3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/companionObjectExtensionFunctionInClassImportFromChildObject.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/companionObjectExtensionFunctionInClassImportFromChildObject.kt @@ -11,3 +11,5 @@ object TObject : T() fun usage() { T.foobar() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/companionObjectExtensionFunctionInClassImportFromChildObject.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/companionObjectExtensionFunctionInClassImportFromChildObject.kt.after index 3f3a9e9f272e..47b5a1b4aedf 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/companionObjectExtensionFunctionInClassImportFromChildObject.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/companionObjectExtensionFunctionInClassImportFromChildObject.kt.after @@ -13,3 +13,5 @@ object TObject : T() fun usage() { T.foobar() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/companionObjectExtensionFunctionInClassImportFromChildObjectNoClassName.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/companionObjectExtensionFunctionInClassImportFromChildObjectNoClassName.kt index 9deebe779053..b3dec87030d2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/companionObjectExtensionFunctionInClassImportFromChildObjectNoClassName.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/companionObjectExtensionFunctionInClassImportFromChildObjectNoClassName.kt @@ -11,3 +11,5 @@ object TObject : T() fun usage() { T.foobar() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/companionObjectExtensionFunctionInClassImportFromChildObjectNoClassName.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/companionObjectExtensionFunctionInClassImportFromChildObjectNoClassName.kt.after index 2d2548ba99b1..2a2b5ce68997 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/companionObjectExtensionFunctionInClassImportFromChildObjectNoClassName.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/companionObjectExtensionFunctionInClassImportFromChildObjectNoClassName.kt.after @@ -13,3 +13,5 @@ object TObject : T() fun usage() { T.foobar() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/companionObjectExtensionFunctionInUnrelatedClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/companionObjectExtensionFunctionInUnrelatedClass.kt index 1d917d519370..39eb901a2fe1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/companionObjectExtensionFunctionInUnrelatedClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/companionObjectExtensionFunctionInUnrelatedClass.kt @@ -14,3 +14,5 @@ object BObject : B() fun usage() { A.baz() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/companionObjectExtensionFunctionInUnrelatedClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/companionObjectExtensionFunctionInUnrelatedClass.kt.after index 3d3a4ab40ebe..a328e2ac4afd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/companionObjectExtensionFunctionInUnrelatedClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/companionObjectExtensionFunctionInUnrelatedClass.kt.after @@ -16,3 +16,5 @@ object BObject : B() fun usage() { A.baz() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/companionObjectExtensionFunctionInUnrelatedClassNamedCompanion.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/companionObjectExtensionFunctionInUnrelatedClassNamedCompanion.kt index 9539d0b9d41a..29bed60b4992 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/companionObjectExtensionFunctionInUnrelatedClassNamedCompanion.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/companionObjectExtensionFunctionInUnrelatedClassNamedCompanion.kt @@ -16,3 +16,5 @@ object BObject : B() fun usage() { A.baz() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/companionObjectExtensionFunctionInUnrelatedClassNamedCompanion.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/companionObjectExtensionFunctionInUnrelatedClassNamedCompanion.kt.after index f145ff997dc3..5f51505d92e5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/companionObjectExtensionFunctionInUnrelatedClassNamedCompanion.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/companionObjectExtensionFunctionInUnrelatedClassNamedCompanion.kt.after @@ -18,3 +18,5 @@ object BObject : B() fun usage() { A.baz() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/companionObjectExtensionFunctionTwoCandidatesA.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/companionObjectExtensionFunctionTwoCandidatesA.kt index 0849c0f8c3b8..e82510567f07 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/companionObjectExtensionFunctionTwoCandidatesA.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/companionObjectExtensionFunctionTwoCandidatesA.kt @@ -23,3 +23,5 @@ object QObject : Q() fun usage() { A.foo() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/companionObjectExtensionFunctionTwoCandidatesA.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/companionObjectExtensionFunctionTwoCandidatesA.kt.after index dd536db45e12..d61dd07170c7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/companionObjectExtensionFunctionTwoCandidatesA.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/companionObjectExtensionFunctionTwoCandidatesA.kt.after @@ -25,3 +25,5 @@ object QObject : Q() fun usage() { A.foo() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/companionObjectExtensionFunctionTwoCandidatesB.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/companionObjectExtensionFunctionTwoCandidatesB.kt index b3da62bee277..db1fe8b9edff 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/companionObjectExtensionFunctionTwoCandidatesB.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/companionObjectExtensionFunctionTwoCandidatesB.kt @@ -23,3 +23,5 @@ object QObject : Q() fun usage() { B.foo() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/companionObjectExtensionFunctionTwoCandidatesB.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/companionObjectExtensionFunctionTwoCandidatesB.kt.after index ddcc42d71f07..842723160fe1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/companionObjectExtensionFunctionTwoCandidatesB.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/companionObjectExtensionFunctionTwoCandidatesB.kt.after @@ -25,3 +25,5 @@ object QObject : Q() fun usage() { B.foo() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/genericClassSpecificTypeChild.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/genericClassSpecificTypeChild.kt index 8d0ef6cd5c91..6645a1adc071 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/genericClassSpecificTypeChild.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/genericClassSpecificTypeChild.kt @@ -10,3 +10,5 @@ object Obj : Base() fun usage() { "hello".genericExt() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/genericClassSpecificTypeChild.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/genericClassSpecificTypeChild.kt.after index a13f7071a98c..6d5c509e772d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/genericClassSpecificTypeChild.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/genericClassSpecificTypeChild.kt.after @@ -12,3 +12,5 @@ object Obj : Base() fun usage() { "hello".genericExt() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/genericExtensionFunction.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/genericExtensionFunction.kt index 5636ae71006e..1d827fff67e5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/genericExtensionFunction.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/genericExtensionFunction.kt @@ -10,3 +10,5 @@ object AObject : A() fun usage() { 10.ext() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/genericExtensionFunction.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/genericExtensionFunction.kt.after index ae6e3f1266df..0b70a35f546d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/genericExtensionFunction.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/genericExtensionFunction.kt.after @@ -12,3 +12,5 @@ object AObject : A() fun usage() { 10.ext() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/genericExtensionFunctionSubtype.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/genericExtensionFunctionSubtype.kt index 4a62f3419617..8ec313fb07a8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/genericExtensionFunctionSubtype.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/genericExtensionFunctionSubtype.kt @@ -13,3 +13,5 @@ open class C { } object CObject : C() + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/genericExtensionFunctionSubtype.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/genericExtensionFunctionSubtype.kt.after index a0525faf6be1..e42904705146 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/genericExtensionFunctionSubtype.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/genericExtensionFunctionSubtype.kt.after @@ -15,3 +15,5 @@ open class C { } object CObject : C() + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/genericExtensionFunctionTypeConstraint.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/genericExtensionFunctionTypeConstraint.kt index b1b706fd4bda..99cb487f5bd8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/genericExtensionFunctionTypeConstraint.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/genericExtensionFunctionTypeConstraint.kt @@ -10,3 +10,5 @@ object AObject : A() fun usage() { "hello".ext() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/genericExtensionFunctionTypeConstraint.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/genericExtensionFunctionTypeConstraint.kt.after index 936fba7cfc4c..41404a68acb3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/genericExtensionFunctionTypeConstraint.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/genericExtensionFunctionTypeConstraint.kt.after @@ -12,3 +12,5 @@ object AObject : A() fun usage() { "hello".ext() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/genericExtensionFunctionTypeConstraintVariable.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/genericExtensionFunctionTypeConstraintVariable.kt index 08e72a7ff3a5..c471d22e1695 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/genericExtensionFunctionTypeConstraintVariable.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/genericExtensionFunctionTypeConstraintVariable.kt @@ -11,3 +11,5 @@ fun usage() { val hello = "hi" hello.ext() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/genericExtensionFunctionTypeConstraintVariable.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/genericExtensionFunctionTypeConstraintVariable.kt.after index 2e0c42753d06..f28169cdb95c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/genericExtensionFunctionTypeConstraintVariable.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/genericExtensionFunctionTypeConstraintVariable.kt.after @@ -13,3 +13,5 @@ fun usage() { val hello = "hi" hello.ext() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/genericExtensionFunctionVariable.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/genericExtensionFunctionVariable.kt index f98fb0247301..ae8880c4ee88 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/genericExtensionFunctionVariable.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/genericExtensionFunctionVariable.kt @@ -11,3 +11,5 @@ fun usage() { val ten = 10 ten.ext() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/genericExtensionFunctionVariable.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/genericExtensionFunctionVariable.kt.after index 04df5bb5bf61..d073aed0b6e4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/genericExtensionFunctionVariable.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/genericExtensionFunctionVariable.kt.after @@ -13,3 +13,5 @@ fun usage() { val ten = 10 ten.ext() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/genericTypeExtension1.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/genericTypeExtension1.kt index 9c7bc9b04470..45e4e2cfa575 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/genericTypeExtension1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/genericTypeExtension1.kt @@ -11,3 +11,5 @@ object StringObj : Base() fun usage() { 10.ext() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/genericTypeExtension1.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/genericTypeExtension1.kt.after index befbca567353..5560016adde1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/genericTypeExtension1.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/genericTypeExtension1.kt.after @@ -13,3 +13,5 @@ object StringObj : Base() fun usage() { 10.ext() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/genericTypeExtension2.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/genericTypeExtension2.kt index de509cb85238..d400c22c89dd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/genericTypeExtension2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/genericTypeExtension2.kt @@ -11,3 +11,5 @@ object StringObj : Base() fun usage() { "".ext() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/genericTypeExtension2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/genericTypeExtension2.kt.after index 7b84ef365831..1408171bc8a3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/genericTypeExtension2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/genericTypeExtension2.kt.after @@ -13,3 +13,5 @@ object StringObj : Base() fun usage() { "".ext() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/intTypeExtensionFunction.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/intTypeExtensionFunction.kt index f13a38e0c8a2..fb03cacb7cfe 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/intTypeExtensionFunction.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/intTypeExtensionFunction.kt @@ -10,3 +10,5 @@ object AObject : A() fun usage() { 10.ext() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/intTypeExtensionFunction.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/intTypeExtensionFunction.kt.after index f503e8294e68..da609e3edd25 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/intTypeExtensionFunction.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/intTypeExtensionFunction.kt.after @@ -12,3 +12,5 @@ object AObject : A() fun usage() { 10.ext() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/intTypeExtensionFunctionCallChainVariable.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/intTypeExtensionFunctionCallChainVariable.kt index 7052ec2b4513..627820403792 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/intTypeExtensionFunctionCallChainVariable.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/intTypeExtensionFunctionCallChainVariable.kt @@ -13,3 +13,5 @@ fun usage() { val x = 10 f(x.toShort()).ext() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/intTypeExtensionFunctionCallChainVariable.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/intTypeExtensionFunctionCallChainVariable.kt.after index 4099f60144f5..28549aaff37d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/intTypeExtensionFunctionCallChainVariable.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/intTypeExtensionFunctionCallChainVariable.kt.after @@ -15,3 +15,5 @@ fun usage() { val x = 10 f(x.toShort()).ext() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/intTypeExtensionFunctionUnnecessaryCallChainLiteral.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/intTypeExtensionFunctionUnnecessaryCallChainLiteral.kt index 3b21f2287db3..f58906a33aa0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/intTypeExtensionFunctionUnnecessaryCallChainLiteral.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/intTypeExtensionFunctionUnnecessaryCallChainLiteral.kt @@ -10,3 +10,5 @@ object AObject : A() fun usage() { 14.toInt().ext() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/intTypeExtensionFunctionUnnecessaryCallChainLiteral.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/intTypeExtensionFunctionUnnecessaryCallChainLiteral.kt.after index 4dcf49753866..a74cc7af8fd1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/intTypeExtensionFunctionUnnecessaryCallChainLiteral.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/intTypeExtensionFunctionUnnecessaryCallChainLiteral.kt.after @@ -12,3 +12,5 @@ object AObject : A() fun usage() { 14.toInt().ext() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/intTypeExtensionFunctionUnnecessaryCallChainVariable.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/intTypeExtensionFunctionUnnecessaryCallChainVariable.kt index fcd2cce4e9ab..f0d97a90dc21 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/intTypeExtensionFunctionUnnecessaryCallChainVariable.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/intTypeExtensionFunctionUnnecessaryCallChainVariable.kt @@ -11,3 +11,5 @@ fun usage() { val x = 10 x.toInt().ext() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/intTypeExtensionFunctionUnnecessaryCallChainVariable.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/intTypeExtensionFunctionUnnecessaryCallChainVariable.kt.after index daa8a9aa0b36..e016e986bda0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/intTypeExtensionFunctionUnnecessaryCallChainVariable.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/intTypeExtensionFunctionUnnecessaryCallChainVariable.kt.after @@ -13,3 +13,5 @@ fun usage() { val x = 10 x.toInt().ext() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/intTypeExtensionFunctionVariable.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/intTypeExtensionFunctionVariable.kt index 35958d7ac42c..f91edbdc8fb2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/intTypeExtensionFunctionVariable.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/intTypeExtensionFunctionVariable.kt @@ -11,3 +11,5 @@ fun usage() { val x: Int = 12 x.ext() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/intTypeExtensionFunctionVariable.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/intTypeExtensionFunctionVariable.kt.after index 6d6cf8fba165..ea2bf03a00e6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/intTypeExtensionFunctionVariable.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/intTypeExtensionFunctionVariable.kt.after @@ -13,3 +13,5 @@ fun usage() { val x: Int = 12 x.ext() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/multipleReceiversSingleCandidate1.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/multipleReceiversSingleCandidate1.kt index 7abb4e6ba20c..9a4713dddea5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/multipleReceiversSingleCandidate1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/multipleReceiversSingleCandidate1.kt @@ -25,3 +25,5 @@ object CExtObject : CExt() fun usage(a: A, b: B, c: C) { a.run { b.run { c.extension() } } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/multipleReceiversSingleCandidate1.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/multipleReceiversSingleCandidate1.kt.after index 65587574e6d0..6ec92b06e10d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/multipleReceiversSingleCandidate1.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/multipleReceiversSingleCandidate1.kt.after @@ -27,3 +27,5 @@ object CExtObject : CExt() fun usage(a: A, b: B, c: C) { a.run { b.run { c.extension() } } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/multipleReceiversSingleCandidate2.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/multipleReceiversSingleCandidate2.kt index 59cb48d294c4..181f26f3e82d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/multipleReceiversSingleCandidate2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/multipleReceiversSingleCandidate2.kt @@ -25,3 +25,5 @@ object CExtObject : CExt() fun usage(a: A, b: B, c: C) { a.run { b.run { c.run { a.extension() } } } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/multipleReceiversSingleCandidate2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/multipleReceiversSingleCandidate2.kt.after index e0a1611b4a93..1e4a609f164d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/multipleReceiversSingleCandidate2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/multipleReceiversSingleCandidate2.kt.after @@ -27,3 +27,5 @@ object CExtObject : CExt() fun usage(a: A, b: B, c: C) { a.run { b.run { c.run { a.extension() } } } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/objectExtensionFunctionInClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/objectExtensionFunctionInClass.kt index 8ceda8e717a4..55ff9f20ab17 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/objectExtensionFunctionInClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/objectExtensionFunctionInClass.kt @@ -11,3 +11,5 @@ object BodyObject : Body() fun usage() { Obj.foo() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/objectExtensionFunctionInClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/objectExtensionFunctionInClass.kt.after index e2e7248074db..63e254f88ca6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/objectExtensionFunctionInClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/objectExtensionFunctionInClass.kt.after @@ -13,3 +13,5 @@ object BodyObject : Body() fun usage() { Obj.foo() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/regularFunction.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/regularFunction.kt index 49a55fbe351c..aa3ff9f3e6cb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/regularFunction.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/regularFunction.kt @@ -10,3 +10,5 @@ object RegObject : Reg() fun usage() { regularFun() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/regularFunction.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/regularFunction.kt.after index fb1ef6be77aa..2c643886e730 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/regularFunction.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/regularFunction.kt.after @@ -12,3 +12,5 @@ object RegObject : Reg() fun usage() { regularFun() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/regularProperty.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/regularProperty.kt index d762db072bc2..f61950d47a8f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/regularProperty.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/regularProperty.kt @@ -10,3 +10,5 @@ object RegObject : Reg() fun usage() { val x = regularProperty } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/regularProperty.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/regularProperty.kt.after index d85260f3dabb..7a03f863e877 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/regularProperty.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/regularProperty.kt.after @@ -12,3 +12,5 @@ object RegObject : Reg() fun usage() { val x = regularProperty } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/thisExtensionReceiver.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/thisExtensionReceiver.kt index 4837658f02cf..717b825fb63d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/thisExtensionReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/thisExtensionReceiver.kt @@ -10,3 +10,5 @@ object FooObject : Foo() fun Int.anotherExt() { ext() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/thisExtensionReceiver.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/thisExtensionReceiver.kt.after index 6aa5406176a4..f23d24c91197 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/thisExtensionReceiver.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/thisExtensionReceiver.kt.after @@ -12,3 +12,5 @@ object FooObject : Foo() fun Int.anotherExt() { ext() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/twoSupertypes1.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/twoSupertypes1.kt index 1bae5dd62ffe..670a25fa7fdf 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/twoSupertypes1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/twoSupertypes1.kt @@ -16,3 +16,5 @@ object ObjBase : Base(), SomeInterface fun usage(c: Other) { c.foo() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/twoSupertypes1.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/twoSupertypes1.kt.after index 03c25d72df7f..4d608c555ded 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/twoSupertypes1.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/twoSupertypes1.kt.after @@ -18,3 +18,5 @@ object ObjBase : Base(), SomeInterface fun usage(c: Other) { c.foo() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/twoSupertypes2.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/twoSupertypes2.kt index 0b782b44263e..6abd97b43d88 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/twoSupertypes2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/twoSupertypes2.kt @@ -16,3 +16,5 @@ object ObjBase : Base(), SomeInterface fun usage(c: Other) { c.defaultFun() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/twoSupertypes2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/twoSupertypes2.kt.after index 3ef3bb1b944f..c7952a635408 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/twoSupertypes2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/twoSupertypes2.kt.after @@ -18,3 +18,5 @@ object ObjBase : Base(), SomeInterface fun usage(c: Other) { c.defaultFun() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/typealiasExtension1.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/typealiasExtension1.kt index 1ebf363d1040..4cd33421ad24 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/typealiasExtension1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/typealiasExtension1.kt @@ -13,3 +13,5 @@ object FooObj : Foo() fun usage() { Obj.ext() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/typealiasExtension1.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/typealiasExtension1.kt.after index 33e48b0d40d6..ac8869f1afea 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/typealiasExtension1.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/typealiasExtension1.kt.after @@ -15,3 +15,5 @@ object FooObj : Foo() fun usage() { Obj.ext() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/typealiasExtension2.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/typealiasExtension2.kt index 2d58d3a62797..3701de2d2c61 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/typealiasExtension2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/typealiasExtension2.kt @@ -13,3 +13,5 @@ object FooObj : Foo() fun usage() { ObjAlias.ext() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/typealiasExtension2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/typealiasExtension2.kt.after index 4896d9d15e15..bb96f2daf74b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/typealiasExtension2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/typealiasExtension2.kt.after @@ -15,3 +15,5 @@ object FooObj : Foo() fun usage() { ObjAlias.ext() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/typealiasExtension3.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/typealiasExtension3.kt index 531fce121f59..f56af328567d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/typealiasExtension3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/typealiasExtension3.kt @@ -13,3 +13,5 @@ object FooObj : Foo() fun usage() { Obj.ext() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/typealiasExtension3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/typealiasExtension3.kt.after index 6aeaa396e85e..59e85df0a95a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/typealiasExtension3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/typealiasExtension3.kt.after @@ -15,3 +15,5 @@ object FooObj : Foo() fun usage() { Obj.ext() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/typealiasExtension4.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/typealiasExtension4.kt index c84fe4b07d4a..916d5dfff456 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/typealiasExtension4.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/typealiasExtension4.kt @@ -13,3 +13,5 @@ object FooObj : Foo() fun usage() { StrangeName.ext() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/typealiasExtension4.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/typealiasExtension4.kt.after index de257c740225..3e799c237651 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/typealiasExtension4.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/callablesDeclaredInClasses/typealiasExtension4.kt.after @@ -15,3 +15,5 @@ object FooObj : Foo() fun usage() { StrangeName.ext() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/companionObjectMemberExtensionFunctionImportWhenExplicitReceiverPresent.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/companionObjectMemberExtensionFunctionImportWhenExplicitReceiverPresent.kt index b8579915e371..b653492fe0da 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/companionObjectMemberExtensionFunctionImportWhenExplicitReceiverPresent.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/companionObjectMemberExtensionFunctionImportWhenExplicitReceiverPresent.kt @@ -9,4 +9,5 @@ class T { fun usage(t: T) { t.foobar() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/companionObjectMemberExtensionFunctionImportWhenExplicitReceiverPresent.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/companionObjectMemberExtensionFunctionImportWhenExplicitReceiverPresent.kt.after index 2dcd90a10c52..c0c11470ac3b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/companionObjectMemberExtensionFunctionImportWhenExplicitReceiverPresent.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/companionObjectMemberExtensionFunctionImportWhenExplicitReceiverPresent.kt.after @@ -11,4 +11,5 @@ class T { fun usage(t: T) { t.foobar() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/companionObjectMemberExtensionPropertyImportWhenExplicitReceiverPresent.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/companionObjectMemberExtensionPropertyImportWhenExplicitReceiverPresent.kt index 5c1bca637ea9..a7cead00da8a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/companionObjectMemberExtensionPropertyImportWhenExplicitReceiverPresent.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/companionObjectMemberExtensionPropertyImportWhenExplicitReceiverPresent.kt @@ -9,4 +9,5 @@ class T { fun usage(t: T) { t.foobar -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/companionObjectMemberExtensionPropertyImportWhenExplicitReceiverPresent.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/companionObjectMemberExtensionPropertyImportWhenExplicitReceiverPresent.kt.after index ce82f03ddd08..a074b6f4c60e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/companionObjectMemberExtensionPropertyImportWhenExplicitReceiverPresent.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/companionObjectMemberExtensionPropertyImportWhenExplicitReceiverPresent.kt.after @@ -11,4 +11,5 @@ class T { fun usage(t: T) { t.foobar -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/conflictWithClassIdentifier.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/conflictWithClassIdentifier.kt index 41c216028767..6a27aa6266f0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/conflictWithClassIdentifier.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/conflictWithClassIdentifier.kt @@ -4,4 +4,5 @@ class java fun test() { Arrays -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/conflictWithClassIdentifier.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/conflictWithClassIdentifier.kt.after index 4b60de6e1ea2..cec262343cf1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/conflictWithClassIdentifier.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/conflictWithClassIdentifier.kt.after @@ -6,4 +6,5 @@ class java fun test() { Arrays -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/conflictWithLocalIdentifier.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/conflictWithLocalIdentifier.kt index bf087fbc5c89..d430fde1733d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/conflictWithLocalIdentifier.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/conflictWithLocalIdentifier.kt @@ -4,4 +4,5 @@ fun test() { val java = 42 Arrays -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/conflictWithLocalIdentifier.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/conflictWithLocalIdentifier.kt.after index ab759a621d18..52ddc684934f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/conflictWithLocalIdentifier.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/conflictWithLocalIdentifier.kt.after @@ -6,4 +6,5 @@ import java.util.Arrays fun test() { val java = 42 Arrays -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/conflictWithTopLevelIdentifier.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/conflictWithTopLevelIdentifier.kt index 762f385be483..865a6f3499e6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/conflictWithTopLevelIdentifier.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/conflictWithTopLevelIdentifier.kt @@ -5,4 +5,5 @@ val java = 3 fun main(args: Array) { Arrays -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/conflictWithTopLevelIdentifier.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/conflictWithTopLevelIdentifier.kt.after index 0a30fdc7076a..db76940388dc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/conflictWithTopLevelIdentifier.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/conflictWithTopLevelIdentifier.kt.after @@ -7,4 +7,5 @@ val java = 3 fun main(args: Array) { Arrays -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/enumEntries.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/enumEntries.kt index 82c53983e05b..a8750885aa8b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/enumEntries.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/enumEntries.kt @@ -5,4 +5,5 @@ enum class ImportEnum { RED, GREEN, BLUE } -val v5 = BLUE \ No newline at end of file +val v5 = BLUE +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/enumEntries.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/enumEntries.kt.after index b244c3bd8a47..9dc66e055189 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/enumEntries.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/enumEntries.kt.after @@ -5,4 +5,5 @@ enum class ImportEnum { RED, GREEN, BLUE } -val v5 = ImportEnum.BLUE \ No newline at end of file +val v5 = ImportEnum.BLUE +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/enumEntriesJsRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/enumEntriesJsRuntime.kt index 46f91ac89929..d390ef67e546 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/enumEntriesJsRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/enumEntriesJsRuntime.kt @@ -11,4 +11,5 @@ class ImportClass { } } -val v5 = BLUE \ No newline at end of file +val v5 = BLUE +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/enumEntriesJsRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/enumEntriesJsRuntime.kt.after index fea420760ee9..d93fd98f0a2c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/enumEntriesJsRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/enumEntriesJsRuntime.kt.after @@ -13,4 +13,5 @@ class ImportClass { } } -val v5 = BLUE \ No newline at end of file +val v5 = BLUE +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importAliasLetAlreadyExists.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importAliasLetAlreadyExists.kt index 53d79980a2f4..4c6c21ea303a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importAliasLetAlreadyExists.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importAliasLetAlreadyExists.kt @@ -7,4 +7,5 @@ fun main() { 1.let { println(it) } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importAliasLetAlreadyExists.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importAliasLetAlreadyExists.kt.after index 5501050700de..b95212ab55ce 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importAliasLetAlreadyExists.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importAliasLetAlreadyExists.kt.after @@ -7,4 +7,5 @@ fun main() { 1.let1 { println(it) } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importFunctionWithMultipleReceivers.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importFunctionWithMultipleReceivers.kt index 73f6dd7894f3..77a428950fe0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importFunctionWithMultipleReceivers.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importFunctionWithMultipleReceivers.kt @@ -20,4 +20,5 @@ class C { companion object { fun foo() {} } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importFunctionWithMultipleReceivers.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importFunctionWithMultipleReceivers.kt.after index 2fa0081dd9b1..e0cdcbd07be3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importFunctionWithMultipleReceivers.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importFunctionWithMultipleReceivers.kt.after @@ -22,4 +22,5 @@ class C { companion object { fun foo() {} } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importKClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importKClass.kt index c4d3582b13f7..47d34e3b54f6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importKClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importKClass.kt @@ -2,3 +2,5 @@ // WITH_STDLIB fun foo(x: KClass) {} + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importKClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importKClass.kt.after index ebc7d78ee537..c252961c05c7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importKClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importKClass.kt.after @@ -4,3 +4,5 @@ import kotlin.reflect.KClass // WITH_STDLIB fun foo(x: KClass) {} + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importKProperty.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importKProperty.kt index 8f3a39b9bc75..02f37c5bface 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importKProperty.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importKProperty.kt @@ -2,3 +2,5 @@ // WITH_STDLIB fun foo(x: KProperty) {} + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importKProperty.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importKProperty.kt.after index 629c66a9e1a8..046d957a7c0b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importKProperty.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importKProperty.kt.after @@ -4,3 +4,5 @@ import kotlin.reflect.KProperty // WITH_STDLIB fun foo(x: KProperty) {} + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importKType.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importKType.kt index d79dc5cff769..7626a7c600a1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importKType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importKType.kt @@ -2,3 +2,5 @@ // WITH_STDLIB fun foo(x: KType) {} + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importKType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importKType.kt.after index e9c8a251b4e1..a5d2c986514c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importKType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importKType.kt.after @@ -4,3 +4,5 @@ import kotlin.reflect.KType // WITH_STDLIB fun foo(x: KType) {} + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importTypeOf.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importTypeOf.kt index a193017aa14e..bce48c5c1711 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importTypeOf.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importTypeOf.kt @@ -4,3 +4,5 @@ fun test() { typeOf() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importTypeOf.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importTypeOf.kt.after index 6f686e46f5e6..b4ef1d902d2e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importTypeOf.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/importTypeOf.kt.after @@ -6,3 +6,5 @@ import kotlin.reflect.typeOf fun test() { typeOf() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/inPrimaryConstructor.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/inPrimaryConstructor.kt index a36bc567017f..b675f90235a7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/inPrimaryConstructor.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/inPrimaryConstructor.kt @@ -1,4 +1,5 @@ // "Import class 'LinkedList'" "true" // RUNTIME_WITH_FULL_JDK -class LL(val list: LinkedList) \ No newline at end of file +class LL(val list: LinkedList) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/inPrimaryConstructor.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/inPrimaryConstructor.kt.after index 6de755b366d5..816679efc34b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/inPrimaryConstructor.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/inPrimaryConstructor.kt.after @@ -3,4 +3,5 @@ import java.util.LinkedList // "Import class 'LinkedList'" "true" // RUNTIME_WITH_FULL_JDK -class LL(val list: LinkedList) \ No newline at end of file +class LL(val list: LinkedList) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/kt21515/callableReferenceFromDeprecated.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/kt21515/callableReferenceFromDeprecated.kt index f9ec0c671f1b..2141f7977093 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/kt21515/callableReferenceFromDeprecated.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/kt21515/callableReferenceFromDeprecated.kt @@ -13,4 +13,5 @@ open class Bar { class Foo : Bar() { val a = FromBarCompanion::foo -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/kt21515/callableReferenceFromDeprecated.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/kt21515/callableReferenceFromDeprecated.kt.after index f9f1c88449d4..29ea48c15eb6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/kt21515/callableReferenceFromDeprecated.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/kt21515/callableReferenceFromDeprecated.kt.after @@ -13,4 +13,5 @@ open class Bar { class Foo : Bar() { val a = Companion.FromBarCompanion::foo -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/kt21515/classifierFromCompanionObjectDeprecationEnabled.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/kt21515/classifierFromCompanionObjectDeprecationEnabled.kt index 524aa52a85a3..aba67f17046e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/kt21515/classifierFromCompanionObjectDeprecationEnabled.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/kt21515/classifierFromCompanionObjectDeprecationEnabled.kt @@ -11,4 +11,5 @@ open class Bar { class Foo : Bar() { val a: FromBarCompanion? = null -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/kt21515/classifierFromCompanionObjectDeprecationEnabled.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/kt21515/classifierFromCompanionObjectDeprecationEnabled.kt.after index f37ba8d01965..ca838c24c04b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/kt21515/classifierFromCompanionObjectDeprecationEnabled.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/kt21515/classifierFromCompanionObjectDeprecationEnabled.kt.after @@ -11,4 +11,5 @@ open class Bar { class Foo : Bar() { val a: Companion.FromBarCompanion? = null -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/kt21515/constructorFromDeprecated.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/kt21515/constructorFromDeprecated.kt index 66370d456bcd..8b0894dd1aa5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/kt21515/constructorFromDeprecated.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/kt21515/constructorFromDeprecated.kt @@ -11,4 +11,5 @@ open class Bar { class Foo : Bar() { val a = FromBarCompanion() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/kt21515/constructorFromDeprecated.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/kt21515/constructorFromDeprecated.kt.after index 42e96eedf17c..e7c1b150a95f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/kt21515/constructorFromDeprecated.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/kt21515/constructorFromDeprecated.kt.after @@ -11,4 +11,5 @@ open class Bar { class Foo : Bar() { val a = Companion.FromBarCompanion() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/libraryPropertyJsRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/libraryPropertyJsRuntime.kt index 41887e7a0ef0..e3bb19935cd7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/libraryPropertyJsRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/libraryPropertyJsRuntime.kt @@ -6,3 +6,5 @@ package test fun foo() { localStorage } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/libraryPropertyJsRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/libraryPropertyJsRuntime.kt.after index 943fe35f26f7..c8e2ab31797e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/libraryPropertyJsRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/libraryPropertyJsRuntime.kt.after @@ -8,3 +8,5 @@ import kotlinx.browser.localStorage fun foo() { localStorage } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/libraryPropertyRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/libraryPropertyRuntime.kt index d34c7d79ab06..96c9f499ea85 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/libraryPropertyRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/libraryPropertyRuntime.kt @@ -6,3 +6,5 @@ package test fun foo() { asserter } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/libraryPropertyRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/libraryPropertyRuntime.kt.after index 21d47fd9ad7a..dbf83477706b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/libraryPropertyRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/libraryPropertyRuntime.kt.after @@ -8,3 +8,5 @@ import kotlin.test.asserter fun foo() { asserter } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/libraryTopLevelFunctionImportJsRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/libraryTopLevelFunctionImportJsRuntime.kt index bd057039aff5..250ba9efd577 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/libraryTopLevelFunctionImportJsRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/libraryTopLevelFunctionImportJsRuntime.kt @@ -5,3 +5,5 @@ package some fun testFun() { cos(0.0) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/libraryTopLevelFunctionImportJsRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/libraryTopLevelFunctionImportJsRuntime.kt.after index 268485bb75ab..39edb426c5a7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/libraryTopLevelFunctionImportJsRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/libraryTopLevelFunctionImportJsRuntime.kt.after @@ -7,3 +7,5 @@ import kotlin.math.cos fun testFun() { cos(0.0) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/libraryTopLevelFunctionImportRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/libraryTopLevelFunctionImportRuntime.kt index a07bd396edb2..815cf0e3e21f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/libraryTopLevelFunctionImportRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/libraryTopLevelFunctionImportRuntime.kt @@ -5,3 +5,5 @@ package some fun testFun() { measureNanoTime({}) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/libraryTopLevelFunctionImportRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/libraryTopLevelFunctionImportRuntime.kt.after index 3566bf2aaeb5..0329157e2508 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/libraryTopLevelFunctionImportRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/libraryTopLevelFunctionImportRuntime.kt.after @@ -7,3 +7,5 @@ import kotlin.system.measureNanoTime fun testFun() { measureNanoTime({}) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/multipleReceiversSingleCandidateExtensionInObject1.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/multipleReceiversSingleCandidateExtensionInObject1.kt index b5f5067eb798..99a90dc0a111 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/multipleReceiversSingleCandidateExtensionInObject1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/multipleReceiversSingleCandidateExtensionInObject1.kt @@ -21,3 +21,5 @@ object CExtObject { fun usage(a: A, b: B, c: C) { a.run { b.run { c.extension() } } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/multipleReceiversSingleCandidateExtensionInObject1.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/multipleReceiversSingleCandidateExtensionInObject1.kt.after index 6e2e49c67b2d..577bc44eef42 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/multipleReceiversSingleCandidateExtensionInObject1.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/multipleReceiversSingleCandidateExtensionInObject1.kt.after @@ -23,3 +23,5 @@ object CExtObject { fun usage(a: A, b: B, c: C) { a.run { b.run { c.extension() } } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/multipleReceiversSingleCandidateExtensionInObject2.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/multipleReceiversSingleCandidateExtensionInObject2.kt index ecaa8ff4cf92..97cb523e7b7c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/multipleReceiversSingleCandidateExtensionInObject2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/multipleReceiversSingleCandidateExtensionInObject2.kt @@ -21,3 +21,5 @@ object CExtObject { fun usage(a: A, b: B, c: C) { a.run { b.run { c.run { b.extension() } } } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/multipleReceiversSingleCandidateExtensionInObject2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/multipleReceiversSingleCandidateExtensionInObject2.kt.after index a2865704925b..d6268b01c2ab 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/multipleReceiversSingleCandidateExtensionInObject2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/multipleReceiversSingleCandidateExtensionInObject2.kt.after @@ -23,3 +23,5 @@ object CExtObject { fun usage(a: A, b: B, c: C) { a.run { b.run { c.run { b.extension() } } } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/multipleReceiversSingleCandidateExtensionInObject3.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/multipleReceiversSingleCandidateExtensionInObject3.kt index ebdc0cc45812..6ff5268f15b6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/multipleReceiversSingleCandidateExtensionInObject3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/multipleReceiversSingleCandidateExtensionInObject3.kt @@ -21,3 +21,5 @@ object CExtObject { fun usage(a: A, b: B, c: C) { a.run { b.run { c.run { a.extension() } } } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/multipleReceiversSingleCandidateExtensionInObject3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/multipleReceiversSingleCandidateExtensionInObject3.kt.after index aa6f645a348e..4905144d67eb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/multipleReceiversSingleCandidateExtensionInObject3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/multipleReceiversSingleCandidateExtensionInObject3.kt.after @@ -23,3 +23,5 @@ object CExtObject { fun usage(a: A, b: B, c: C) { a.run { b.run { c.run { a.extension() } } } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/notExcludedFromImportWhenInternalUse.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/notExcludedFromImportWhenInternalUse.kt index 941d3a81a3e5..42853789ac98 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/notExcludedFromImportWhenInternalUse.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/notExcludedFromImportWhenInternalUse.kt @@ -17,4 +17,5 @@ package kotlin fun some() { FunctionReference::class -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/notExcludedFromImportWhenInternalUse.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/notExcludedFromImportWhenInternalUse.kt.after index c941da4052a3..433fb39fcce4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/notExcludedFromImportWhenInternalUse.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/notExcludedFromImportWhenInternalUse.kt.after @@ -19,4 +19,5 @@ import kotlin.jvm.internal.FunctionReference fun some() { FunctionReference::class -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/objectMemberExtensionFunctionImportWhenExplicitReceiverPresent.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/objectMemberExtensionFunctionImportWhenExplicitReceiverPresent.kt index 96d02cadfdda..f097df1dbd31 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/objectMemberExtensionFunctionImportWhenExplicitReceiverPresent.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/objectMemberExtensionFunctionImportWhenExplicitReceiverPresent.kt @@ -23,4 +23,5 @@ object TopLevelObject4 { fun NotTT.usage(t: T) { t.foobar() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/objectMemberExtensionFunctionImportWhenExplicitReceiverPresent.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/objectMemberExtensionFunctionImportWhenExplicitReceiverPresent.kt.after index 23393ff28da4..3e998170af61 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/objectMemberExtensionFunctionImportWhenExplicitReceiverPresent.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/objectMemberExtensionFunctionImportWhenExplicitReceiverPresent.kt.after @@ -25,4 +25,5 @@ object TopLevelObject4 { fun NotTT.usage(t: T) { t.foobar() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/objectMemberExtensionFunctionWithGenericImportWhenExplicitReceiverPresent.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/objectMemberExtensionFunctionWithGenericImportWhenExplicitReceiverPresent.kt index af931c5189e8..3e418226667d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/objectMemberExtensionFunctionWithGenericImportWhenExplicitReceiverPresent.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/objectMemberExtensionFunctionWithGenericImportWhenExplicitReceiverPresent.kt @@ -9,4 +9,5 @@ object TopLevelObject1 { fun usage(t: T) { t.foobar() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/objectMemberExtensionFunctionWithGenericImportWhenExplicitReceiverPresent.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/objectMemberExtensionFunctionWithGenericImportWhenExplicitReceiverPresent.kt.after index 890621d159bf..ac6acdd81b08 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/objectMemberExtensionFunctionWithGenericImportWhenExplicitReceiverPresent.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/objectMemberExtensionFunctionWithGenericImportWhenExplicitReceiverPresent.kt.after @@ -11,4 +11,5 @@ object TopLevelObject1 { fun usage(t: T) { t.foobar() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/objectMemberExtensionPropertyImportWhenExplicitReceiverPresent.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/objectMemberExtensionPropertyImportWhenExplicitReceiverPresent.kt index 91d8dad8fb0b..a899823865c8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/objectMemberExtensionPropertyImportWhenExplicitReceiverPresent.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/objectMemberExtensionPropertyImportWhenExplicitReceiverPresent.kt @@ -23,4 +23,5 @@ object TopLevelObject4 { fun NotTT.usage(t: T) { t.foobar -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/objectMemberExtensionPropertyImportWhenExplicitReceiverPresent.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/objectMemberExtensionPropertyImportWhenExplicitReceiverPresent.kt.after index 47a8c1795f5f..2606761b3991 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/objectMemberExtensionPropertyImportWhenExplicitReceiverPresent.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/objectMemberExtensionPropertyImportWhenExplicitReceiverPresent.kt.after @@ -25,4 +25,5 @@ object TopLevelObject4 { fun NotTT.usage(t: T) { t.foobar -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/objectMemberExtensionPropertyWithGenericImportWhenExplicitReceiverPresent.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/objectMemberExtensionPropertyWithGenericImportWhenExplicitReceiverPresent.kt index a213a28da5ca..f4d0acce5c24 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/objectMemberExtensionPropertyWithGenericImportWhenExplicitReceiverPresent.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/objectMemberExtensionPropertyWithGenericImportWhenExplicitReceiverPresent.kt @@ -9,4 +9,5 @@ object TopLevelObject1 { fun usage(t: T) { t.foobar -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/objectMemberExtensionPropertyWithGenericImportWhenExplicitReceiverPresent.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/objectMemberExtensionPropertyWithGenericImportWhenExplicitReceiverPresent.kt.after index ba7cbf94ea39..8bacc076b7de 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/objectMemberExtensionPropertyWithGenericImportWhenExplicitReceiverPresent.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/objectMemberExtensionPropertyWithGenericImportWhenExplicitReceiverPresent.kt.after @@ -11,4 +11,5 @@ object TopLevelObject1 { fun usage(t: T) { t.foobar -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/sAMConstructorFromLambda.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/sAMConstructorFromLambda.kt index 963e8b0101af..a0e703bb0142 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/sAMConstructorFromLambda.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/sAMConstructorFromLambda.kt @@ -7,4 +7,5 @@ fun foo() { ArrayList(), Comparator { x: Int, y: Int -> x - y } ) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/sAMConstructorFromLambda.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/sAMConstructorFromLambda.kt.after index fefcf9c1b9ff..a5682b612394 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/sAMConstructorFromLambda.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/sAMConstructorFromLambda.kt.after @@ -8,4 +8,5 @@ fun foo() { ArrayList(), Comparator { x: Int, y: Int -> x - y } ) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/unresolvedReferenceInCall.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/unresolvedReferenceInCall.kt index 3f23acb58b95..0b933166a0c2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/unresolvedReferenceInCall.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/unresolvedReferenceInCall.kt @@ -14,4 +14,5 @@ class Test { fun test() { val t = Test() t.foo(ArrayList) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/unresolvedReferenceInCall.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/unresolvedReferenceInCall.kt.after index 9d3d178d60a0..9e5fb9295765 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/unresolvedReferenceInCall.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/unresolvedReferenceInCall.kt.after @@ -16,4 +16,5 @@ class Test { fun test() { val t = Test() t.foo(ArrayList) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ImportFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/nonPublic/internalFunction.kt b/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/nonPublic/internalFunction.kt index a29fd0916308..0a53fb66c04b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/nonPublic/internalFunction.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/nonPublic/internalFunction.kt @@ -7,4 +7,5 @@ class C { baz() } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/nonPublic/internalFunction.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/nonPublic/internalFunction.kt.after index db7b4d46be52..505549c7bd6f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/nonPublic/internalFunction.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/nonPublic/internalFunction.kt.after @@ -7,4 +7,5 @@ class C { baz() } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/nonPublic/internalFunction2.kt b/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/nonPublic/internalFunction2.kt index 1aa379442453..b78ada5481a3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/nonPublic/internalFunction2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/nonPublic/internalFunction2.kt @@ -7,4 +7,5 @@ class C { baz() } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/nonPublic/internalFunction2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/nonPublic/internalFunction2.kt.after index f30ec18c0ae3..b7a4e5dd752e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/nonPublic/internalFunction2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/nonPublic/internalFunction2.kt.after @@ -7,4 +7,5 @@ class C { baz() } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/nonPublic/internalFunction3.kt b/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/nonPublic/internalFunction3.kt index b4f2f2141c5c..f5658a38b482 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/nonPublic/internalFunction3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/nonPublic/internalFunction3.kt @@ -7,4 +7,5 @@ class C { baz() } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/nonPublic/internalFunction3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/nonPublic/internalFunction3.kt.after index b0cd5b92e9d2..57cbbf81ef77 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/nonPublic/internalFunction3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/nonPublic/internalFunction3.kt.after @@ -7,4 +7,5 @@ class C { baz() } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/nonPublic/privateProperty.kt b/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/nonPublic/privateProperty.kt index 15e55f5c2851..3292341d8caa 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/nonPublic/privateProperty.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/nonPublic/privateProperty.kt @@ -7,4 +7,5 @@ class C { baz() } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/nonPublic/privateProperty.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/nonPublic/privateProperty.kt.after index 80e29369abd8..91dcf6350820 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/nonPublic/privateProperty.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/nonPublic/privateProperty.kt.after @@ -7,4 +7,5 @@ class C { baz() } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/nonPublic/privateProperty2.kt b/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/nonPublic/privateProperty2.kt index 1ef678abd282..2f2d4e68a8b3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/nonPublic/privateProperty2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/nonPublic/privateProperty2.kt @@ -7,4 +7,5 @@ class C { baz() } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/nonPublic/privateProperty2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/nonPublic/privateProperty2.kt.after index fec00c6f937d..45d5db1b2753 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/nonPublic/privateProperty2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/nonPublic/privateProperty2.kt.after @@ -7,4 +7,5 @@ class C { baz() } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/nonPublic/privateProperty3.kt b/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/nonPublic/privateProperty3.kt index 1a965dfcf40b..052f99cf2cf9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/nonPublic/privateProperty3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/nonPublic/privateProperty3.kt @@ -7,4 +7,5 @@ class C { baz() } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/nonPublic/privateProperty3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/nonPublic/privateProperty3.kt.after index c6e3ceda1e8f..1229a23e14eb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/nonPublic/privateProperty3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/nonPublic/privateProperty3.kt.after @@ -7,4 +7,5 @@ class C { baz() } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/protected/infix.kt b/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/protected/infix.kt index 3242019d1944..bcee4e3321b3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/protected/infix.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/protected/infix.kt @@ -7,3 +7,5 @@ open class A { A() foo 8 } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/protected/infix.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/protected/infix.kt.after index 435e05e4c807..8b1635299f55 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/protected/infix.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/protected/infix.kt.after @@ -7,3 +7,5 @@ open class A { A() foo 8 } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/protected/protectedFunction.kt b/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/protected/protectedFunction.kt index d3e604f4669f..70d561be5295 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/protected/protectedFunction.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/protected/protectedFunction.kt @@ -6,3 +6,5 @@ open class Foo { protectedMethod() } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/protected/protectedFunction.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/protected/protectedFunction.kt.after index 4e6b85ec5632..bd6fe629705b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/protected/protectedFunction.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/protected/protectedFunction.kt.after @@ -6,3 +6,5 @@ open class Foo { protectedMethod() } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/protected/protectedFunction2.kt b/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/protected/protectedFunction2.kt index 4d5e08ba53b1..fb3e96c4b715 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/protected/protectedFunction2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/protected/protectedFunction2.kt @@ -8,3 +8,5 @@ open class Foo { return 42 } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/protected/protectedFunction2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/protected/protectedFunction2.kt.after index b4483879c48a..eb77026c4f7d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/protected/protectedFunction2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/protected/protectedFunction2.kt.after @@ -8,3 +8,5 @@ open class Foo { return 42 } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/protected/protectedFunction3.kt b/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/protected/protectedFunction3.kt index c10884837eb7..273f79c7369a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/protected/protectedFunction3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/protected/protectedFunction3.kt @@ -8,3 +8,5 @@ open class Foo { return 42 } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/protected/protectedFunction3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/protected/protectedFunction3.kt.after index 1feb71913ab8..d7d600281246 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/protected/protectedFunction3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/protected/protectedFunction3.kt.after @@ -8,3 +8,5 @@ open class Foo { return 42 } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/super/superFunction.kt b/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/super/superFunction.kt index 78695124b692..7bf514748a13 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/super/superFunction.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/super/superFunction.kt @@ -7,4 +7,5 @@ open class Derived : Base() { inline fun inlineFun() { super.baseFun("123") } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/super/superFunction.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/super/superFunction.kt.after index 81af0468f801..d346e7d3ca33 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/super/superFunction.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/super/superFunction.kt.after @@ -7,4 +7,5 @@ open class Derived : Base() { internal inline fun inlineFun() { super.baseFun("123") } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/super/superFunction2.kt b/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/super/superFunction2.kt index a2e87e0b1bba..f4b7e3bef6fe 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/super/superFunction2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/super/superFunction2.kt @@ -8,4 +8,5 @@ open class Derived : Base() { get() { super.baseFun("123") } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/super/superFunction2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/super/superFunction2.kt.after index ff9687e2747a..0baf7aba924a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/super/superFunction2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/super/superFunction2.kt.after @@ -8,4 +8,5 @@ open class Derived : Base() { get() { super.baseFun("123") } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/super/superFunction3.kt b/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/super/superFunction3.kt index f915e3ad819d..3df954c40487 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/super/superFunction3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/super/superFunction3.kt @@ -8,4 +8,5 @@ open class Derived : Base() { get() { super.baseFun("123") } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/super/superFunction3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/super/superFunction3.kt.after index f33c9d86d454..e6479842a5d0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/super/superFunction3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/callFromPublicInline/super/superFunction3.kt.after @@ -8,4 +8,5 @@ open class Derived : Base() { get() { super.baseFun("123") } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/canBeParameter/usedInDerivedClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/canBeParameter/usedInDerivedClass.kt index fdc257675a44..ac813e3f8527 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/canBeParameter/usedInDerivedClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/canBeParameter/usedInDerivedClass.kt @@ -3,4 +3,5 @@ open class Base(open val x: Int) { val y = x } -class Derived(y: Int) : Base(y) \ No newline at end of file +class Derived(y: Int) : Base(y) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.CanBeParameterInspection$RemoveValVarFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/canBeParameter/usedInDerivedClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/canBeParameter/usedInDerivedClass.kt.after index dd06fc978903..056499bba01b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/canBeParameter/usedInDerivedClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/canBeParameter/usedInDerivedClass.kt.after @@ -3,4 +3,5 @@ open class Base(x: Int) { val y = x } -class Derived(y: Int) : Base(y) \ No newline at end of file +class Derived(y: Int) : Base(y) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.CanBeParameterInspection$RemoveValVarFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/canBeParameter/usedInProperty.kt b/plugins/kotlin/idea/tests/testData/quickfix/canBeParameter/usedInProperty.kt index 1f6b90baef0c..464467bc010e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/canBeParameter/usedInProperty.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/canBeParameter/usedInProperty.kt @@ -1,4 +1,5 @@ // "Remove 'var' from parameter" "true" class UsedInProperty(var x: Int) { var y = x -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.CanBeParameterInspection$RemoveValVarFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/canBeParameter/usedInProperty.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/canBeParameter/usedInProperty.kt.after index f3e23a311c24..879181bb336f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/canBeParameter/usedInProperty.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/canBeParameter/usedInProperty.kt.after @@ -1,4 +1,5 @@ // "Remove 'var' from parameter" "true" class UsedInProperty(x: Int) { var y = x -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.CanBeParameterInspection$RemoveValVarFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/canBeParameter/usedPrivateInInitializer.kt b/plugins/kotlin/idea/tests/testData/quickfix/canBeParameter/usedPrivateInInitializer.kt index 598b3f390344..19bbd6e63fe7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/canBeParameter/usedPrivateInInitializer.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/canBeParameter/usedPrivateInInitializer.kt @@ -6,3 +6,5 @@ class UsedInProperty(private val x: Int) { y = x.toString() } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.CanBeParameterInspection$RemoveValVarFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/canBeParameter/usedPrivateInInitializer.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/canBeParameter/usedPrivateInInitializer.kt.after index d87fa1b3cadd..917a8443053d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/canBeParameter/usedPrivateInInitializer.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/canBeParameter/usedPrivateInInitializer.kt.after @@ -6,3 +6,5 @@ class UsedInProperty(x: Int) { y = x.toString() } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.CanBeParameterInspection$RemoveValVarFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/canBeParameter/usedVarArg.kt b/plugins/kotlin/idea/tests/testData/quickfix/canBeParameter/usedVarArg.kt index 72230964f5ac..e1b444b3e1ce 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/canBeParameter/usedVarArg.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/canBeParameter/usedVarArg.kt @@ -3,3 +3,5 @@ class Wrapper(vararg val x: Int) { val y = x } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.CanBeParameterInspection$RemoveValVarFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/canBeParameter/usedVarArg.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/canBeParameter/usedVarArg.kt.after index 7f0ba2385c47..33d254e55c10 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/canBeParameter/usedVarArg.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/canBeParameter/usedVarArg.kt.after @@ -3,3 +3,5 @@ class Wrapper(vararg x: Int) { val y = x } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.CanBeParameterInspection$RemoveValVarFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/canBePrimaryConstructorProperty/commentAfter.kt b/plugins/kotlin/idea/tests/testData/quickfix/canBePrimaryConstructorProperty/commentAfter.kt index 5bfa1936a5bb..0081f9c0d228 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/canBePrimaryConstructorProperty/commentAfter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/canBePrimaryConstructorProperty/commentAfter.kt @@ -1,4 +1,5 @@ // "Move to constructor" "true" class Complex(x: Int, y: Double, z: String) { val y: Double = y // Duplicating -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.MovePropertyToConstructorIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/canBePrimaryConstructorProperty/commentAfter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/canBePrimaryConstructorProperty/commentAfter.kt.after index df5c48087d32..1d389f3ed2b4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/canBePrimaryConstructorProperty/commentAfter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/canBePrimaryConstructorProperty/commentAfter.kt.after @@ -1,4 +1,5 @@ // "Move to constructor" "true" class Complex(x: Int, // Duplicating val y: Double, z: String) { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.MovePropertyToConstructorIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/canBePrimaryConstructorProperty/commentAhead.kt b/plugins/kotlin/idea/tests/testData/quickfix/canBePrimaryConstructorProperty/commentAhead.kt index d362c581f5db..ffcac4fc297b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/canBePrimaryConstructorProperty/commentAhead.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/canBePrimaryConstructorProperty/commentAhead.kt @@ -4,4 +4,5 @@ class Complex(x: Int, y: Double, z: String) { * Very complex field x */ val x = x -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.MovePropertyToConstructorIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/canBePrimaryConstructorProperty/commentAhead.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/canBePrimaryConstructorProperty/commentAhead.kt.after index af38e6283752..30f3a50aa5fc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/canBePrimaryConstructorProperty/commentAhead.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/canBePrimaryConstructorProperty/commentAhead.kt.after @@ -4,4 +4,5 @@ class Complex( * Very complex field x */ val x: Int, y: Double, z: String) { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.MovePropertyToConstructorIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/canBePrimaryConstructorProperty/protectedOpenVar.kt b/plugins/kotlin/idea/tests/testData/quickfix/canBePrimaryConstructorProperty/protectedOpenVar.kt index 7e35b63c8ef4..7aacbb555130 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/canBePrimaryConstructorProperty/protectedOpenVar.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/canBePrimaryConstructorProperty/protectedOpenVar.kt @@ -1,4 +1,5 @@ // "Move to constructor" "true" class Container(index: Int) { protected open var index = index -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.MovePropertyToConstructorIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/canBePrimaryConstructorProperty/protectedOpenVar.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/canBePrimaryConstructorProperty/protectedOpenVar.kt.after index c83e586dead6..2ca93b82102c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/canBePrimaryConstructorProperty/protectedOpenVar.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/canBePrimaryConstructorProperty/protectedOpenVar.kt.after @@ -1,3 +1,4 @@ // "Move to constructor" "true" class Container(protected open var index: Int) { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.MovePropertyToConstructorIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/canBePrimaryConstructorProperty/simple.kt b/plugins/kotlin/idea/tests/testData/quickfix/canBePrimaryConstructorProperty/simple.kt index d7cc8de7bb50..a7dcd91525a3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/canBePrimaryConstructorProperty/simple.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/canBePrimaryConstructorProperty/simple.kt @@ -1,4 +1,5 @@ // "Move to constructor" "true" class Correct(name: String) { val name: String = name -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.MovePropertyToConstructorIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/canBePrimaryConstructorProperty/simple.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/canBePrimaryConstructorProperty/simple.kt.after index fb5ae10ab773..5f095aaf64af 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/canBePrimaryConstructorProperty/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/canBePrimaryConstructorProperty/simple.kt.after @@ -1,3 +1,4 @@ // "Move to constructor" "true" class Correct(val name: String) { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.MovePropertyToConstructorIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/canBePrimaryConstructorProperty/vararg.kt b/plugins/kotlin/idea/tests/testData/quickfix/canBePrimaryConstructorProperty/vararg.kt index b16ffc9f8d38..afd9527b68ac 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/canBePrimaryConstructorProperty/vararg.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/canBePrimaryConstructorProperty/vararg.kt @@ -1,4 +1,5 @@ // "Move to constructor" "true" class A(vararg strings: String) { val strings = strings -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.MovePropertyToConstructorIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/canBePrimaryConstructorProperty/vararg.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/canBePrimaryConstructorProperty/vararg.kt.after index 9dac4474eaf6..4f5a5209f87f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/canBePrimaryConstructorProperty/vararg.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/canBePrimaryConstructorProperty/vararg.kt.after @@ -1,3 +1,4 @@ // "Move to constructor" "true" class A(vararg val strings: String) { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.MovePropertyToConstructorIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/castDueToProgressionResolveChange/constructorArgument.kt b/plugins/kotlin/idea/tests/testData/quickfix/castDueToProgressionResolveChange/constructorArgument.kt index f130fd5e1cd7..cb3086e76514 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/castDueToProgressionResolveChange/constructorArgument.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/castDueToProgressionResolveChange/constructorArgument.kt @@ -7,4 +7,5 @@ class SmartList { fun invoke() { SmartList(1..10) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OverloadResolutionChangeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/castDueToProgressionResolveChange/constructorArgument.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/castDueToProgressionResolveChange/constructorArgument.kt.after index 17f98ef70e26..488bb33490f7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/castDueToProgressionResolveChange/constructorArgument.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/castDueToProgressionResolveChange/constructorArgument.kt.after @@ -7,4 +7,5 @@ class SmartList { fun invoke() { SmartList((1..10) as Iterable) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OverloadResolutionChangeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/castDueToProgressionResolveChange/functionArgumentAsChar.kt b/plugins/kotlin/idea/tests/testData/quickfix/castDueToProgressionResolveChange/functionArgumentAsChar.kt index a77fd40b559b..1a11845c0681 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/castDueToProgressionResolveChange/functionArgumentAsChar.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/castDueToProgressionResolveChange/functionArgumentAsChar.kt @@ -5,4 +5,5 @@ fun append(xs: Collection<*>) {} fun invoke() { append('a'..'c') -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OverloadResolutionChangeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/castDueToProgressionResolveChange/functionArgumentAsChar.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/castDueToProgressionResolveChange/functionArgumentAsChar.kt.after index e857b51a2f5d..b3c18e9cc28a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/castDueToProgressionResolveChange/functionArgumentAsChar.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/castDueToProgressionResolveChange/functionArgumentAsChar.kt.after @@ -5,4 +5,5 @@ fun append(xs: Collection<*>) {} fun invoke() { append(('a'..'c') as Iterable) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OverloadResolutionChangeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/castDueToProgressionResolveChange/functionArgumentAsInt.kt b/plugins/kotlin/idea/tests/testData/quickfix/castDueToProgressionResolveChange/functionArgumentAsInt.kt index 5135724cf05d..3bc75518dea8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/castDueToProgressionResolveChange/functionArgumentAsInt.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/castDueToProgressionResolveChange/functionArgumentAsInt.kt @@ -5,4 +5,5 @@ fun append(xs: Collection<*>) {} fun invoke() { append(1..10) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OverloadResolutionChangeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/castDueToProgressionResolveChange/functionArgumentAsInt.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/castDueToProgressionResolveChange/functionArgumentAsInt.kt.after index a1f5153e5e0f..3122ada885a5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/castDueToProgressionResolveChange/functionArgumentAsInt.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/castDueToProgressionResolveChange/functionArgumentAsInt.kt.after @@ -5,4 +5,5 @@ fun append(xs: Collection<*>) {} fun invoke() { append((1..10) as Iterable) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OverloadResolutionChangeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/castDueToProgressionResolveChange/functionArgumentAsInt2.kt b/plugins/kotlin/idea/tests/testData/quickfix/castDueToProgressionResolveChange/functionArgumentAsInt2.kt index 7adde62ae77f..95e3252b1228 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/castDueToProgressionResolveChange/functionArgumentAsInt2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/castDueToProgressionResolveChange/functionArgumentAsInt2.kt @@ -5,4 +5,5 @@ fun append(y: String, xs: Collection<*>, z: Int) {} fun invoke() { append("", 1..10, 0) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OverloadResolutionChangeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/castDueToProgressionResolveChange/functionArgumentAsInt2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/castDueToProgressionResolveChange/functionArgumentAsInt2.kt.after index c80eea89c382..c3ca2f220131 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/castDueToProgressionResolveChange/functionArgumentAsInt2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/castDueToProgressionResolveChange/functionArgumentAsInt2.kt.after @@ -5,4 +5,5 @@ fun append(y: String, xs: Collection<*>, z: Int) {} fun invoke() { append("", (1..10) as Iterable, 0) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OverloadResolutionChangeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/castDueToProgressionResolveChange/functionArgumentAsLong.kt b/plugins/kotlin/idea/tests/testData/quickfix/castDueToProgressionResolveChange/functionArgumentAsLong.kt index 86b355d5c78f..d2a06e6a2557 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/castDueToProgressionResolveChange/functionArgumentAsLong.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/castDueToProgressionResolveChange/functionArgumentAsLong.kt @@ -5,4 +5,5 @@ fun append(xs: Collection<*>) {} fun invoke() { append(1L..10L) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OverloadResolutionChangeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/castDueToProgressionResolveChange/functionArgumentAsLong.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/castDueToProgressionResolveChange/functionArgumentAsLong.kt.after index 4885bc167f05..9fe7290a28ef 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/castDueToProgressionResolveChange/functionArgumentAsLong.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/castDueToProgressionResolveChange/functionArgumentAsLong.kt.after @@ -5,4 +5,5 @@ fun append(xs: Collection<*>) {} fun invoke() { append((1L..10L) as Iterable) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OverloadResolutionChangeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/castDueToProgressionResolveChange/functionArgumentAsUInt.kt b/plugins/kotlin/idea/tests/testData/quickfix/castDueToProgressionResolveChange/functionArgumentAsUInt.kt index b09c4fa43f6a..c5a0b178db69 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/castDueToProgressionResolveChange/functionArgumentAsUInt.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/castDueToProgressionResolveChange/functionArgumentAsUInt.kt @@ -6,4 +6,5 @@ fun append(xs: Collection<*>) {} fun invoke() { append(1U..5U) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OverloadResolutionChangeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/castDueToProgressionResolveChange/functionArgumentAsUInt.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/castDueToProgressionResolveChange/functionArgumentAsUInt.kt.after index 75759496153c..dc61d2af841d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/castDueToProgressionResolveChange/functionArgumentAsUInt.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/castDueToProgressionResolveChange/functionArgumentAsUInt.kt.after @@ -6,4 +6,5 @@ fun append(xs: Collection<*>) {} fun invoke() { append((1U..5U) as Iterable) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OverloadResolutionChangeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/castDueToProgressionResolveChange/functionArgumentAsULong.kt b/plugins/kotlin/idea/tests/testData/quickfix/castDueToProgressionResolveChange/functionArgumentAsULong.kt index afc1856ed209..4439884dcb47 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/castDueToProgressionResolveChange/functionArgumentAsULong.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/castDueToProgressionResolveChange/functionArgumentAsULong.kt @@ -6,4 +6,5 @@ fun append(xs: Collection<*>) {} fun invoke() { append(1UL..5UL) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OverloadResolutionChangeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/castDueToProgressionResolveChange/functionArgumentAsULong.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/castDueToProgressionResolveChange/functionArgumentAsULong.kt.after index 85ae2d466851..2c3381680887 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/castDueToProgressionResolveChange/functionArgumentAsULong.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/castDueToProgressionResolveChange/functionArgumentAsULong.kt.after @@ -6,4 +6,5 @@ fun append(xs: Collection<*>) {} fun invoke() { append((1UL..5UL) as Iterable) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OverloadResolutionChangeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/castDueToProgressionResolveChange/functionArgumentRangeTo.kt b/plugins/kotlin/idea/tests/testData/quickfix/castDueToProgressionResolveChange/functionArgumentRangeTo.kt index bc307a4d1d9c..237ac60217ea 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/castDueToProgressionResolveChange/functionArgumentRangeTo.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/castDueToProgressionResolveChange/functionArgumentRangeTo.kt @@ -5,4 +5,5 @@ fun append(xs: Collection<*>) {} fun invoke() { append(1.rangeTo(10)) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OverloadResolutionChangeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/castDueToProgressionResolveChange/functionArgumentRangeTo.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/castDueToProgressionResolveChange/functionArgumentRangeTo.kt.after index 580bf2954875..dc96a7246458 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/castDueToProgressionResolveChange/functionArgumentRangeTo.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/castDueToProgressionResolveChange/functionArgumentRangeTo.kt.after @@ -5,4 +5,5 @@ fun append(xs: Collection<*>) {} fun invoke() { append((1.rangeTo(10)) as Iterable) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OverloadResolutionChangeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/castDueToProgressionResolveChange/genericFunctionArgument.kt b/plugins/kotlin/idea/tests/testData/quickfix/castDueToProgressionResolveChange/genericFunctionArgument.kt index 2a27104a1a36..dcd6cc2b2d54 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/castDueToProgressionResolveChange/genericFunctionArgument.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/castDueToProgressionResolveChange/genericFunctionArgument.kt @@ -5,4 +5,5 @@ fun append(xs: Collection) {} fun invoke() { append(1.rangeTo(10)) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OverloadResolutionChangeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/castDueToProgressionResolveChange/genericFunctionArgument.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/castDueToProgressionResolveChange/genericFunctionArgument.kt.after index f1e23e1e6e89..b5e7823d80a9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/castDueToProgressionResolveChange/genericFunctionArgument.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/castDueToProgressionResolveChange/genericFunctionArgument.kt.after @@ -5,4 +5,5 @@ fun append(xs: Collection) {} fun invoke() { append((1.rangeTo(10)) as Iterable) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OverloadResolutionChangeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeObjectToClass/primaryConstructor.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeObjectToClass/primaryConstructor.kt index cc0aa87cf19b..dec757516b0f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeObjectToClass/primaryConstructor.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeObjectToClass/primaryConstructor.kt @@ -5,4 +5,5 @@ annotation class Ann @Ann object Foo(val s: String) : Any() { constructor() : this("") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeObjectToClassFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeObjectToClass/primaryConstructor.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeObjectToClass/primaryConstructor.kt.after index c02b190c1aea..d0d809d2e0a7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeObjectToClass/primaryConstructor.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeObjectToClass/primaryConstructor.kt.after @@ -5,4 +5,5 @@ annotation class Ann @Ann class Foo(val s: String) : Any() { constructor() : this("") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeObjectToClassFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeObjectToClass/secondaryConstructor.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeObjectToClass/secondaryConstructor.kt index efcf43aff127..933bedbfee03 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeObjectToClass/secondaryConstructor.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeObjectToClass/secondaryConstructor.kt @@ -5,4 +5,5 @@ annotation class Ann @Ann object Foo(val s: String) : Any() { constructor() : this("") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeObjectToClassFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeObjectToClass/secondaryConstructor.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeObjectToClass/secondaryConstructor.kt.after index c02b190c1aea..d0d809d2e0a7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeObjectToClass/secondaryConstructor.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeObjectToClass/secondaryConstructor.kt.after @@ -5,4 +5,5 @@ annotation class Ann @Ann class Foo(val s: String) : Any() { constructor() : this("") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeObjectToClassFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addConstructorParameter.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addConstructorParameter.kt index 9e648afa50d9..52928428711a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addConstructorParameter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addConstructorParameter.kt @@ -10,3 +10,5 @@ open class Base(var x: Int) { } open class Inherited(x: Int) : Base(1, 2.5) {} + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addConstructorParameter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addConstructorParameter.kt.after index de8e0e173394..3f9ff5cdb24d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addConstructorParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addConstructorParameter.kt.after @@ -10,3 +10,5 @@ open class Base(var x: Int, d: Double) { } open class Inherited(x: Int) : Base(1, 2.5) {} + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addConstructorParameterDataClassForConstantTypeMismatch.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addConstructorParameterDataClassForConstantTypeMismatch.kt index d07ae8f5c5c6..60aca8be95f9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addConstructorParameterDataClassForConstantTypeMismatch.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addConstructorParameterDataClassForConstantTypeMismatch.kt @@ -4,4 +4,5 @@ data class Foo(val name: String) fun test() { val foo = Foo(1, "name") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addConstructorParameterDataClassForConstantTypeMismatch.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addConstructorParameterDataClassForConstantTypeMismatch.kt.after index 7c026ef3fc33..ab768bb1f077 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addConstructorParameterDataClassForConstantTypeMismatch.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addConstructorParameterDataClassForConstantTypeMismatch.kt.after @@ -4,4 +4,5 @@ data class Foo(val name1: Int, val name: String) fun test() { val foo = Foo(1, "name") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addConstructorParameterForConstantTypeMismatch.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addConstructorParameterForConstantTypeMismatch.kt index b8fc6b5effd7..7b044c6fbdc0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addConstructorParameterForConstantTypeMismatch.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addConstructorParameterForConstantTypeMismatch.kt @@ -4,4 +4,5 @@ class Foo(val name: String) fun test() { val foo = Foo(1, "name") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addConstructorParameterForConstantTypeMismatch.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addConstructorParameterForConstantTypeMismatch.kt.after index c53504454f09..e70e4bcfce1a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addConstructorParameterForConstantTypeMismatch.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addConstructorParameterForConstantTypeMismatch.kt.after @@ -4,4 +4,5 @@ class Foo(name1: Int, val name: String) fun test() { val foo = Foo(1, "name") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addEnumConstructorParameter.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addEnumConstructorParameter.kt index c076b562605b..af5544e6d4ea 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addEnumConstructorParameter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addEnumConstructorParameter.kt @@ -3,4 +3,5 @@ enum class Foo { A("A"), B("B") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addEnumConstructorParameter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addEnumConstructorParameter.kt.after index d6343c711b28..8ad75b2835ee 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addEnumConstructorParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addEnumConstructorParameter.kt.after @@ -3,4 +3,5 @@ enum class Foo(s: String) { A("A"), B("B") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addEnumConstructorParameter2.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addEnumConstructorParameter2.kt index b774e4448cd2..a3a769eb7423 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addEnumConstructorParameter2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addEnumConstructorParameter2.kt @@ -3,4 +3,5 @@ enum class Foo { A("A"), B("B") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addEnumConstructorParameter2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addEnumConstructorParameter2.kt.after index d6343c711b28..8ad75b2835ee 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addEnumConstructorParameter2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addEnumConstructorParameter2.kt.after @@ -3,4 +3,5 @@ enum class Foo(s: String) { A("A"), B("B") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addEnumConstructorParameter3.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addEnumConstructorParameter3.kt index cc4296f65a0c..3aaf9f1374c8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addEnumConstructorParameter3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addEnumConstructorParameter3.kt @@ -6,4 +6,5 @@ enum class Foo(n: Int) { C(3, 4), D(), E -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addEnumConstructorParameter3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addEnumConstructorParameter3.kt.after index 0ca9754a4845..67695318ea7c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addEnumConstructorParameter3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addEnumConstructorParameter3.kt.after @@ -6,4 +6,5 @@ enum class Foo(n: Int, i: Int) { C(3, 4), D(, 2), E -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addEnumConstructorParameter4.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addEnumConstructorParameter4.kt index 01c79ec06f27..fe36503f9d6e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addEnumConstructorParameter4.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addEnumConstructorParameter4.kt @@ -6,4 +6,5 @@ enum class Foo { C(3, 4), D(), E -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addEnumConstructorParameter4.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addEnumConstructorParameter4.kt.after index f437d37b9811..8a85552aad5c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addEnumConstructorParameter4.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addEnumConstructorParameter4.kt.after @@ -6,4 +6,5 @@ enum class Foo(i: Int, i1: Int) { C(3, 4), D(1, 2), E(1, 2) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addEnumConstructorParameter5.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addEnumConstructorParameter5.kt index d603b2881c93..bbb108995f49 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addEnumConstructorParameter5.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addEnumConstructorParameter5.kt @@ -6,3 +6,5 @@ enum class Foo { C(), D, } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addEnumConstructorParameter5.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addEnumConstructorParameter5.kt.after index f899aecad399..6493c4bf84c2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addEnumConstructorParameter5.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addEnumConstructorParameter5.kt.after @@ -6,3 +6,5 @@ enum class Foo(i: Int) { C(1), D(1), } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addExtensionFunctionParameterForTypeMismatch.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addExtensionFunctionParameterForTypeMismatch.kt index 4aee89fb796e..eda596831bbf 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addExtensionFunctionParameterForTypeMismatch.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addExtensionFunctionParameterForTypeMismatch.kt @@ -5,4 +5,5 @@ private fun Foo.bar(s: String, i: Int) {} fun test(foo: Foo, b: Boolean) { foo.bar("", b, 0) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addExtensionFunctionParameterForTypeMismatch.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addExtensionFunctionParameterForTypeMismatch.kt.after index 1b9482225936..e51dd9f4a57e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addExtensionFunctionParameterForTypeMismatch.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addExtensionFunctionParameterForTypeMismatch.kt.after @@ -5,4 +5,5 @@ private fun Foo.bar(s: String, b: Boolean, i: Int) {} fun test(foo: Foo, b: Boolean) { foo.bar("", b, 0) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addForItParameter.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addForItParameter.kt index 60f7b48b4914..2136c9ac60e8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addForItParameter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addForItParameter.kt @@ -5,4 +5,5 @@ class Foo fun test(name: String) { name.also { Foo(it) } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addForItParameter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addForItParameter.kt.after index 048199ef6c75..b08f2e2dbcae 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addForItParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addForItParameter.kt.after @@ -5,4 +5,5 @@ class Foo(s: String) fun test(name: String) { name.also { Foo(it) } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameter.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameter.kt index 7c6018598dba..787e55706168 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameter.kt @@ -6,4 +6,5 @@ fun foo(x: Int) { foo(1); foo(1, 4); foo(2, 3, sdsd); -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameter.kt.after index 43ecbb9773bd..0dac9126755b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameter.kt.after @@ -6,4 +6,5 @@ fun foo(x: Int, i: Int) { foo(1, 4); foo(1, 4); foo(2, 3, sdsd); -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameter2.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameter2.kt index 3420791fb0ee..3d83c4cf3120 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameter2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameter2.kt @@ -7,4 +7,5 @@ fun caller() { called(setOf(1, 2, 3)) } -fun called() {} \ No newline at end of file +fun called() {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameter2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameter2.kt.after index 03bab1789b66..061f7b27413f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameter2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameter2.kt.after @@ -7,4 +7,5 @@ fun caller() { called(setOf(1, 2, 3)) } -fun called(of: Set) {} \ No newline at end of file +fun called(of: Set) {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameter3.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameter3.kt index 8944587082ca..1bdf8a8e41ba 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameter3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameter3.kt @@ -7,3 +7,5 @@ fun caller() { } fun called() {} + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameter3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameter3.kt.after index 1e3817e93e97..661b313eaef8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameter3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameter3.kt.after @@ -7,3 +7,5 @@ fun caller() { } fun called(of: Set) {} + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterAndChangeTypes.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterAndChangeTypes.kt index af26c7c7b5b9..38b146434530 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterAndChangeTypes.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterAndChangeTypes.kt @@ -7,4 +7,5 @@ fun foo(x: Int, i: Double) { foo(1, 2.5); foo(1.5, 4, 5, 6); foo(2, 3, sdsd); -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterAndChangeTypes.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterAndChangeTypes.kt.after index 3e2ef77d39ff..4ca43fa87522 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterAndChangeTypes.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterAndChangeTypes.kt.after @@ -7,4 +7,5 @@ fun foo(x: Double, i: Int, i1: Int, i2: Int) { foo(1, 2.5, 5, 6); foo(1.5, 4, 5, 6); foo(2, 3, sdsd); -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterAndChangeTypesWithReceiver.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterAndChangeTypesWithReceiver.kt index 4cb0e5024666..ffe9fc6d52a1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterAndChangeTypesWithReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterAndChangeTypesWithReceiver.kt @@ -4,4 +4,5 @@ fun String.withReceiver(i: Int) {} private fun test(s: String, q: Boolean) { s.withReceiver(q, 2) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterAndChangeTypesWithReceiver.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterAndChangeTypesWithReceiver.kt.after index 669b40e1a2d7..a6b7ea77617d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterAndChangeTypesWithReceiver.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterAndChangeTypesWithReceiver.kt.after @@ -4,4 +4,5 @@ fun String.withReceiver(i: Boolean, i1: Int) {} private fun test(s: String, q: Boolean) { s.withReceiver(q, 2) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForConstantTypeMismatch.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForConstantTypeMismatch.kt index 4cfba102d84e..9d4c270bbba8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForConstantTypeMismatch.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForConstantTypeMismatch.kt @@ -4,4 +4,5 @@ fun foo(name: String) = Unit fun test() { val foo = foo(1, "name") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForConstantTypeMismatch.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForConstantTypeMismatch.kt.after index 1a6848f342e0..aba718dea41e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForConstantTypeMismatch.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForConstantTypeMismatch.kt.after @@ -4,4 +4,5 @@ fun foo(name1: Int, name: String) = Unit fun test() { val foo = foo(1, "name") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForNullForNotnullType.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForNullForNotnullType.kt index 2eedde6fcd69..d53f5d8d71a7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForNullForNotnullType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForNullForNotnullType.kt @@ -3,4 +3,5 @@ fun foo(s : String) = Unit fun test() { foo(null, "") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForNullForNotnullType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForNullForNotnullType.kt.after index 4bb94a85b598..ed2ce504370c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForNullForNotnullType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForNullForNotnullType.kt.after @@ -3,4 +3,5 @@ fun foo(s1: Nothing?, s: String) = Unit fun test() { foo(null, "") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForReferencedArgument.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForReferencedArgument.kt index 0c25123363db..01854b42a8ad 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForReferencedArgument.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForReferencedArgument.kt @@ -4,4 +4,5 @@ fun foo() {} fun test(isObject: Boolean) { foo(isObject) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForReferencedArgument.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForReferencedArgument.kt.after index d8b08a69fb16..d88e2692d3d8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForReferencedArgument.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForReferencedArgument.kt.after @@ -4,4 +4,5 @@ fun foo(isObject: Boolean) {} fun test(isObject: Boolean) { foo(isObject) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForReferencedArgument2.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForReferencedArgument2.kt index b3da5f2020f9..ca40e34a0fea 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForReferencedArgument2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForReferencedArgument2.kt @@ -4,4 +4,5 @@ fun bar(isObject: Boolean) {} fun test(isObject: Boolean) { bar(true, isObject) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForReferencedArgument2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForReferencedArgument2.kt.after index 1035828dd059..78e9015b4cf4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForReferencedArgument2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForReferencedArgument2.kt.after @@ -4,4 +4,5 @@ fun bar(isObject: Boolean, isObject1: Boolean) {} fun test(isObject: Boolean) { bar(true, isObject) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForReferencedArgument3.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForReferencedArgument3.kt index 83e3c4c50a4d..b6b528d2a962 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForReferencedArgument3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForReferencedArgument3.kt @@ -4,4 +4,5 @@ fun foo() {} fun test(isObject: Boolean) { foo((isObject)) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForReferencedArgument3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForReferencedArgument3.kt.after index abf10b4f399c..952c3ff1b914 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForReferencedArgument3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForReferencedArgument3.kt.after @@ -4,4 +4,5 @@ fun foo(isObject: Boolean) {} fun test(isObject: Boolean) { foo((isObject)) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForReferencedArgument4.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForReferencedArgument4.kt index e5750dff29e9..9d61f2ce031d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForReferencedArgument4.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForReferencedArgument4.kt @@ -10,3 +10,5 @@ fun test() { } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForReferencedArgument4.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForReferencedArgument4.kt.after index 8c0f756790cd..c027511c56df 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForReferencedArgument4.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForReferencedArgument4.kt.after @@ -10,3 +10,5 @@ fun test() { } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForReferencedArgument5.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForReferencedArgument5.kt index a13510ad9f15..573661f52aaf 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForReferencedArgument5.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForReferencedArgument5.kt @@ -8,4 +8,5 @@ class Test { foo(field) return field } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForReferencedArgument5.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForReferencedArgument5.kt.after index b45d7ea1357e..f01cef7790c6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForReferencedArgument5.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForReferencedArgument5.kt.after @@ -8,4 +8,5 @@ class Test { foo(field) return field } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForTypeMismatch1.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForTypeMismatch1.kt index dbe7bd03f565..a66257acdf73 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForTypeMismatch1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForTypeMismatch1.kt @@ -4,4 +4,5 @@ fun foo(i1: Int, i2: Int, i3: Int, i4: Int) { fun test() { foo("", 2, 3, 4, 5) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForTypeMismatch1.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForTypeMismatch1.kt.after index a34e70071ffe..7be0caaab436 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForTypeMismatch1.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForTypeMismatch1.kt.after @@ -4,4 +4,5 @@ fun foo(i11: String, i1: Int, i2: Int, i3: Int, i4: Int) { fun test() { foo("", 2, 3, 4, 5) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForTypeMismatch2.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForTypeMismatch2.kt index 7682eebc7b76..503610d671b2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForTypeMismatch2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForTypeMismatch2.kt @@ -4,4 +4,5 @@ fun foo(i1: Int, i2: Int, i3: Int, i4: Int) { fun test() { foo(1, "", 3, 4, 5) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForTypeMismatch2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForTypeMismatch2.kt.after index 67140a712ca5..f5b3258eb74a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForTypeMismatch2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForTypeMismatch2.kt.after @@ -4,4 +4,5 @@ fun foo(i1: Int, i21: String, i2: Int, i3: Int, i4: Int) { fun test() { foo(1, "", 3, 4, 5) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForTypeMismatch3.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForTypeMismatch3.kt index f5504f477f8a..0f3fbc73429b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForTypeMismatch3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForTypeMismatch3.kt @@ -4,4 +4,5 @@ fun foo(i1: Int, i2: Int, i3: Int, i4: Int) { fun test() { foo(1, 2, "", 4, 5) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForTypeMismatch3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForTypeMismatch3.kt.after index 31130e6b3d77..4fd40a22dabb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForTypeMismatch3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForTypeMismatch3.kt.after @@ -4,4 +4,5 @@ fun foo(i1: Int, i2: Int, i31: String, i3: Int, i4: Int) { fun test() { foo(1, 2, "", 4, 5) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForTypeMismatch4.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForTypeMismatch4.kt index 577f60bc644c..4009c80e34b6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForTypeMismatch4.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForTypeMismatch4.kt @@ -4,4 +4,5 @@ fun foo(i1: Int, i2: Int, i3: Int, i4: Int) { fun test() { foo(1, 2, 3, "", 5) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForTypeMismatch4.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForTypeMismatch4.kt.after index 1e956c2bef90..4fb8d73a05ff 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForTypeMismatch4.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForTypeMismatch4.kt.after @@ -4,4 +4,5 @@ fun foo(i1: Int, i2: Int, i3: Int, i41: String, i4: Int) { fun test() { foo(1, 2, 3, "", 5) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForTypeMismatchWithLambdaArgument.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForTypeMismatchWithLambdaArgument.kt index 928eecfa5c75..de75a7551107 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForTypeMismatchWithLambdaArgument.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForTypeMismatchWithLambdaArgument.kt @@ -3,4 +3,5 @@ fun foo(f: () -> Unit) {} fun test() { foo("") {} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForTypeMismatchWithLambdaArgument.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForTypeMismatchWithLambdaArgument.kt.after index 641ad449538a..edcbff1bd9cd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForTypeMismatchWithLambdaArgument.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterForTypeMismatchWithLambdaArgument.kt.after @@ -3,4 +3,5 @@ fun foo(f1: String, f: () -> Unit) {} fun test() { foo("") {} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterLongNameRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterLongNameRuntime.kt index 6a3ddd3e31b9..1664530cc701 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterLongNameRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterLongNameRuntime.kt @@ -5,4 +5,5 @@ fun foo(x: Int) { foo(,); foo(1); foo(2, java.util.LinkedHashSet()); -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterLongNameRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterLongNameRuntime.kt.after index d7b0580aabc3..d6876fd7c367 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterLongNameRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterLongNameRuntime.kt.after @@ -7,4 +7,5 @@ fun foo(x: Int, linkedHashSet: LinkedHashSet) { foo(, LinkedHashSet()); foo(1, LinkedHashSet()); foo(2, java.util.LinkedHashSet()); -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterWithAnonymousFunction.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterWithAnonymousFunction.kt index 6943f88083d5..2c5ed71cc1a8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterWithAnonymousFunction.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterWithAnonymousFunction.kt @@ -3,4 +3,5 @@ fun baz() {} fun foo() { baz(fun(i: Int): String { return i.toString() }) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterWithAnonymousFunction.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterWithAnonymousFunction.kt.after index dcef78087132..8d9f94feca40 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterWithAnonymousFunction.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterWithAnonymousFunction.kt.after @@ -3,4 +3,5 @@ fun baz(function: (Int) -> String) {} fun foo() { baz(fun(i: Int): String { return i.toString() }) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterWithFunctionReference.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterWithFunctionReference.kt index 9ac71a536827..1ae2d83bef83 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterWithFunctionReference.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterWithFunctionReference.kt @@ -5,4 +5,5 @@ fun baz() {} fun foo() { baz(::bar) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterWithFunctionReference.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterWithFunctionReference.kt.after index c1853995fc83..04d3bb37055f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterWithFunctionReference.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterWithFunctionReference.kt.after @@ -5,4 +5,5 @@ fun baz(kFunction0: () -> Int) {} fun foo() { baz(::bar) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterWithLambda.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterWithLambda.kt index 639de4851ea4..c65b634544ee 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterWithLambda.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterWithLambda.kt @@ -3,4 +3,5 @@ fun baz() {} fun foo() { baz { i: Int -> i.toString() } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterWithLambda.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterWithLambda.kt.after index 34380aa32aee..85f3053f24c7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterWithLambda.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterWithLambda.kt.after @@ -3,4 +3,5 @@ fun baz(function: (Int) -> String) {} fun foo() { baz { i: Int -> i.toString() } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterWithSmartCast.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterWithSmartCast.kt index 77723ff2f439..336acfbcbd92 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterWithSmartCast.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterWithSmartCast.kt @@ -10,4 +10,5 @@ val subFoo: Foo = Foo.SubFoo() val bar = when(subFoo){ is Foo.SubFoo -> fooFun(subFoo) else -> 0 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterWithSmartCast.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterWithSmartCast.kt.after index e880b0b88338..3dfc89e1f8ad 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterWithSmartCast.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterWithSmartCast.kt.after @@ -10,4 +10,5 @@ val subFoo: Foo = Foo.SubFoo() val bar = when(subFoo){ is Foo.SubFoo -> fooFun(subFoo) else -> 0 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterWithSmartcastedArgument.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterWithSmartcastedArgument.kt index 5093d43fdcfa..91e7ae667b0e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterWithSmartcastedArgument.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterWithSmartcastedArgument.kt @@ -11,3 +11,5 @@ fun foobar(parent: Parent) { doSmthWithChild(parent, 123) } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterWithSmartcastedArgument.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterWithSmartcastedArgument.kt.after index 1d8b41676b23..4164528bed1c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterWithSmartcastedArgument.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterWithSmartcastedArgument.kt.after @@ -11,3 +11,5 @@ fun foobar(parent: Parent) { doSmthWithChild(parent, 123) } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterWithSuspendFunctionReference.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterWithSuspendFunctionReference.kt index 6ab939676b65..04948bdd9b14 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterWithSuspendFunctionReference.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterWithSuspendFunctionReference.kt @@ -5,4 +5,5 @@ suspend fun baz() {} suspend fun foo() { baz(::bar) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterWithSuspendFunctionReference.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterWithSuspendFunctionReference.kt.after index 8fcbc0551862..cc3913d30362 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterWithSuspendFunctionReference.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addFunctionParameterWithSuspendFunctionReference.kt.after @@ -5,4 +5,5 @@ suspend fun baz(kSuspendFunction0: suspend () -> Int) {} suspend fun foo() { baz(::bar) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addNothingReturnType.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addNothingReturnType.kt index 9671bc061dec..157be9598e4d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addNothingReturnType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addNothingReturnType.kt @@ -1,3 +1,4 @@ // "Specify return type explicitly" "true" // WITH_STDLIB -fun foo() = throw IllegalArgumentException() \ No newline at end of file +fun foo() = throw IllegalArgumentException() +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.SpecifyTypeExplicitlyIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addNothingReturnType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addNothingReturnType.kt.after index f75ae36d6163..666fcf7571d4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addNothingReturnType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addNothingReturnType.kt.after @@ -1,3 +1,4 @@ // "Specify return type explicitly" "true" // WITH_STDLIB -fun foo(): Nothing = throw IllegalArgumentException() \ No newline at end of file +fun foo(): Nothing = throw IllegalArgumentException() +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.SpecifyTypeExplicitlyIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addParameterToFakeOverride.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addParameterToFakeOverride.kt index ce178e18cc1d..92b4aff16375 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addParameterToFakeOverride.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addParameterToFakeOverride.kt @@ -16,4 +16,5 @@ interface ZZZZ : ZZZ { fun usage(z: ZZZ) { z.f(3) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addParameterToFakeOverride.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addParameterToFakeOverride.kt.after index 891f0eb8948e..48fb71106e2e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addParameterToFakeOverride.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/addParameterToFakeOverride.kt.after @@ -16,4 +16,5 @@ interface ZZZZ : ZZZ { fun usage(z: ZZZ) { z.f(3) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/changeAnnotationClassConstructor.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/changeAnnotationClassConstructor.kt index 8fe3d67d3f04..a877f085942d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/changeAnnotationClassConstructor.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/changeAnnotationClassConstructor.kt @@ -3,3 +3,5 @@ private annotation class AnnParClass(val p1: Int, val p2: Int) @AnnParClass(1, 2, 3) private val vac = 3 + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/changeAnnotationClassConstructor.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/changeAnnotationClassConstructor.kt.after index 0655705aadde..0f4170f09b1e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/changeAnnotationClassConstructor.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/changeAnnotationClassConstructor.kt.after @@ -3,3 +3,5 @@ private annotation class AnnParClass(val p1: Int, val p2: Int, val i: Int) @AnnParClass(1, 2, 3) private val vac = 3 + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/changeClassConstructor.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/changeClassConstructor.kt index 2481408a2291..eb52b6e94529 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/changeClassConstructor.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/changeClassConstructor.kt @@ -4,3 +4,5 @@ private class FooBar(val name: String) fun test() { val foo = FooBar(1, "name") } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/changeClassConstructor.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/changeClassConstructor.kt.after index 673fc679b1f4..5414aeace705 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/changeClassConstructor.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/changeClassConstructor.kt.after @@ -4,3 +4,5 @@ private class FooBar(val name: Int, s: String) fun test() { val foo = FooBar(1, "name") } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/changeDataClassConstructor.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/changeDataClassConstructor.kt index 9ab3afa5bc32..ac31d70f2125 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/changeDataClassConstructor.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/changeDataClassConstructor.kt @@ -4,3 +4,5 @@ private data class FooBar(val name: String) fun test() { val foo = FooBar(1, "name") } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/changeDataClassConstructor.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/changeDataClassConstructor.kt.after index 6ce6449ae5ef..1eb9291b226f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/changeDataClassConstructor.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/changeDataClassConstructor.kt.after @@ -4,3 +4,5 @@ private data class FooBar(val name: Int, val s: String) fun test() { val foo = FooBar(1, "name") } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/changeFunctionLiteralParameters1.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/changeFunctionLiteralParameters1.kt index 1d3b39987996..1f009e3bb2aa 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/changeFunctionLiteralParameters1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/changeFunctionLiteralParameters1.kt @@ -4,3 +4,5 @@ fun f(x: Int, y: Int, z : () -> Int) { f(1, 2, {x: Int, y: Int -> 42}); } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeFunctionLiteralSignatureFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/changeFunctionLiteralParameters1.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/changeFunctionLiteralParameters1.kt.after index 62028479040c..2bc6a1d976d4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/changeFunctionLiteralParameters1.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/changeFunctionLiteralParameters1.kt.after @@ -4,3 +4,5 @@ fun f(x: Int, y: Int, z : () -> Int) { f(1, 2, { 42}); } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeFunctionLiteralSignatureFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/changeFunctionLiteralParameters2.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/changeFunctionLiteralParameters2.kt index 3ca585d43c06..c2ab8b6d7d37 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/changeFunctionLiteralParameters2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/changeFunctionLiteralParameters2.kt @@ -4,3 +4,5 @@ fun f(x: Int, y: Int, z : (Int, Int?, Any) -> Int) { f(1, 2, {x: Int -> 42}); } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeFunctionLiteralSignatureFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/changeFunctionLiteralParameters2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/changeFunctionLiteralParameters2.kt.after index c17e2bc45bf6..37ae032be022 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/changeFunctionLiteralParameters2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/changeFunctionLiteralParameters2.kt.after @@ -4,3 +4,5 @@ fun f(x: Int, y: Int, z : (Int, Int?, Any) -> Int) { f(1, 2, { i: Int, i1: Int?, any: Any -> 42}); } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeFunctionLiteralSignatureFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/changeFunctionLiteralParameters3.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/changeFunctionLiteralParameters3.kt index 6f2ab59d0b30..cbd152aeb5ee 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/changeFunctionLiteralParameters3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/changeFunctionLiteralParameters3.kt @@ -5,3 +5,5 @@ fun f(x: Int, y: Int, z : () -> Int) { f(1, 2, {x: Int, y: Int -> x}); } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeFunctionLiteralSignatureFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/changeFunctionLiteralParameters4.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/changeFunctionLiteralParameters4.kt index ab548e7f0e5f..4fd8f9a96810 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/changeFunctionLiteralParameters4.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/changeFunctionLiteralParameters4.kt @@ -5,3 +5,5 @@ fun f(x: Int, y: Int, z : (Int, Int?, Any) -> Int) { f(1, 2, {x: Int -> x}); } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeFunctionLiteralSignatureFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/complexHierarchy.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/complexHierarchy.kt index 321ee884d280..9f7d6bf19e12 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/complexHierarchy.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/complexHierarchy.kt @@ -56,3 +56,5 @@ fun usage(o: OOOA) { fun usage(o: OOOB) { o.f(3) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/complexHierarchy.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/complexHierarchy.kt.after index 0ec0a828a641..c908440c8309 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/complexHierarchy.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/complexHierarchy.kt.after @@ -56,3 +56,5 @@ fun usage(o: OOOA) { fun usage(o: OOOB) { o.f(3, 12) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/complexHierarchyHead.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/complexHierarchyHead.kt index 84976f1cd528..29fda2e68371 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/complexHierarchyHead.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/complexHierarchyHead.kt @@ -56,3 +56,5 @@ fun usage(o: OOOA) { fun usage(o: OOOB) { o.f(3) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeFunctionSignatureFix$Companion$RemoveParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/complexHierarchyHead.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/complexHierarchyHead.kt.after index 47f96ccd121c..20fd2e6204bf 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/complexHierarchyHead.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/complexHierarchyHead.kt.after @@ -56,3 +56,5 @@ fun usage(o: OOOA) { fun usage(o: OOOB) { o.f() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeFunctionSignatureFix$Companion$RemoveParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/complexHierarchyTail.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/complexHierarchyTail.kt index edc9da7d797f..0b592c2cbf10 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/complexHierarchyTail.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/complexHierarchyTail.kt @@ -56,3 +56,5 @@ fun usage(o: OOOA) { fun usage(o: OOOB) { o.f(3, "asdv") } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/complexHierarchyTail.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/complexHierarchyTail.kt.after index 6e768cee396b..02e23afefe97 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/complexHierarchyTail.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/complexHierarchyTail.kt.after @@ -56,3 +56,5 @@ fun usage(o: OOOA) { fun usage(o: OOOB) { o.f(3, "asdv") } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/fixExtensionLambdaSignature.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/fixExtensionLambdaSignature.kt index 539df606f603..ea7325ed0897 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/fixExtensionLambdaSignature.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/fixExtensionLambdaSignature.kt @@ -6,4 +6,5 @@ fun foo(f: Int.(Int, Int) -> Int) { fun test() { foo { a: Int -> 0 } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeFunctionLiteralSignatureFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/fixExtensionLambdaSignature.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/fixExtensionLambdaSignature.kt.after index ce9a7dd847ed..2e2d08fca212 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/fixExtensionLambdaSignature.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/fixExtensionLambdaSignature.kt.after @@ -6,4 +6,5 @@ fun foo(f: Int.(Int, Int) -> Int) { fun test() { foo { i: Int, i1: Int -> 0 } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeFunctionLiteralSignatureFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/linearHierarchy.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/linearHierarchy.kt index 1e5dd0e25d57..53197f12c3db 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/linearHierarchy.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/linearHierarchy.kt @@ -23,3 +23,5 @@ fun usage(o: OO) { fun usage(o: OOO) { o.f(3) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/linearHierarchy.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/linearHierarchy.kt.after index 7fd95189c9e7..8c2fd90936e3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/linearHierarchy.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/linearHierarchy.kt.after @@ -23,3 +23,5 @@ fun usage(o: OO) { fun usage(o: OOO) { o.f(3, 12) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeConstructorParameter.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeConstructorParameter.kt index 8d205f303cfe..8bf1494b1777 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeConstructorParameter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeConstructorParameter.kt @@ -10,3 +10,5 @@ open class Base(var x: Int) { } open class Inherited(x: Int) : Base() {} + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeFunctionSignatureFix$Companion$RemoveParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeConstructorParameter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeConstructorParameter.kt.after index 6c40ec1d8dd5..48bf3d71c3c3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeConstructorParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeConstructorParameter.kt.after @@ -10,3 +10,5 @@ open class Base() { } open class Inherited(x: Int) : Base() {} + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeFunctionSignatureFix$Companion$RemoveParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeFunctionFirstParameter.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeFunctionFirstParameter.kt index 9c604b54b79b..7f8ac3a05479 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeFunctionFirstParameter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeFunctionFirstParameter.kt @@ -6,4 +6,5 @@ fun foo(x: Int, y: Int) { foo(1); foo(1, 2); foo(2, 3, sdsd); -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeFunctionSignatureFix$Companion$RemoveParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeFunctionFirstParameter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeFunctionFirstParameter.kt.after index cf636f4f4ecd..9851bb9909e0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeFunctionFirstParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeFunctionFirstParameter.kt.after @@ -6,4 +6,5 @@ fun foo(y: Int) { foo(1); foo(2); foo(2, 3, sdsd); -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeFunctionSignatureFix$Companion$RemoveParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeFunctionLastLambdaParameter.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeFunctionLastLambdaParameter.kt index 0ff2480091f0..c934026626ca 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeFunctionLastLambdaParameter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeFunctionLastLambdaParameter.kt @@ -2,3 +2,5 @@ fun doNotUse1(block: () -> Unit) {} fun useNotUse1() = doNotUse1 { } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUnusedFunctionParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeFunctionLastLambdaParameter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeFunctionLastLambdaParameter.kt.after index 0dae434aaaa7..da435ebf7c42 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeFunctionLastLambdaParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeFunctionLastLambdaParameter.kt.after @@ -2,3 +2,5 @@ fun doNotUse1() {} fun useNotUse1() = doNotUse1() + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUnusedFunctionParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeFunctionSecondParameter1.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeFunctionSecondParameter1.kt index 491563b5fcf6..cf00787c2f8b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeFunctionSecondParameter1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeFunctionSecondParameter1.kt @@ -6,4 +6,5 @@ fun foo(x: Int, y: Int) { foo(1); foo(1, 2); foo(2, 3, sdsd); -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeFunctionSignatureFix$Companion$RemoveParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeFunctionSecondParameter1.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeFunctionSecondParameter1.kt.after index 85ceb301e66e..f12253a16633 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeFunctionSecondParameter1.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeFunctionSecondParameter1.kt.after @@ -6,4 +6,5 @@ fun foo(x: Int) { foo(1); foo(1); foo(2, 3, sdsd); -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeFunctionSignatureFix$Companion$RemoveParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeFunctionSecondParameter2.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeFunctionSecondParameter2.kt index 2acbed4239a3..f6dc847318ce 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeFunctionSecondParameter2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeFunctionSecondParameter2.kt @@ -6,4 +6,5 @@ fun foo(x: Int, y: Int) { foo(1); foo(1, 2); foo(2, 3, sdsd); -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeFunctionSignatureFix$Companion$RemoveParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeFunctionSecondParameter2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeFunctionSecondParameter2.kt.after index 85ceb301e66e..f12253a16633 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeFunctionSecondParameter2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeFunctionSecondParameter2.kt.after @@ -6,4 +6,5 @@ fun foo(x: Int) { foo(1); foo(1); foo(2, 3, sdsd); -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeFunctionSignatureFix$Companion$RemoveParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeNamedParameter.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeNamedParameter.kt index 1336b8d32a02..a690a15fe751 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeNamedParameter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeNamedParameter.kt @@ -6,4 +6,5 @@ fun foo(x: Int, y: Int) { foo(y = 1); foo(1, 2); foo(2, 3, sdsd); -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeFunctionSignatureFix$Companion$RemoveParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeNamedParameter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeNamedParameter.kt.after index 52081e7d94af..024a07542471 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeNamedParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeNamedParameter.kt.after @@ -6,4 +6,5 @@ fun foo(y: Int) { foo(y = 1); foo(2); foo(2, 3, sdsd); -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeFunctionSignatureFix$Companion$RemoveParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeParameterFromExtension.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeParameterFromExtension.kt index df7af092482f..7861326530b2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeParameterFromExtension.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeParameterFromExtension.kt @@ -1,4 +1,5 @@ // "Remove parameter 'a'" "true" fun String.foo(a:Int = 0, b: Int) { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUnusedFunctionParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeParameterFromExtension.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeParameterFromExtension.kt.after index 9f00e5d56ad4..0aac06c89223 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeParameterFromExtension.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeParameterFromExtension.kt.after @@ -1,4 +1,5 @@ // "Remove parameter 'a'" "true" fun String.foo(b: Int) { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUnusedFunctionParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeParameterFromFakeOverride.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeParameterFromFakeOverride.kt index edff7da10e3f..c807333318e1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeParameterFromFakeOverride.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeParameterFromFakeOverride.kt @@ -16,4 +16,5 @@ interface ZZZZ : ZZZ { fun usage(z: ZZZ) { z.f() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeFunctionSignatureFix$Companion$RemoveParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeParameterFromFakeOverride.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeParameterFromFakeOverride.kt.after index 2dda06685124..3c035254a474 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeParameterFromFakeOverride.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeParameterFromFakeOverride.kt.after @@ -16,4 +16,5 @@ interface ZZZZ : ZZZ { fun usage(z: ZZZ) { z.f() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeFunctionSignatureFix$Companion$RemoveParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedConstructorParameterWithUsage.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedConstructorParameterWithUsage.kt index e59459e76ed0..308d5744abea 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedConstructorParameterWithUsage.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedConstructorParameterWithUsage.kt @@ -4,3 +4,5 @@ fun foo() { X("") } class X constructor(x: String) + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUnusedFunctionParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedConstructorParameterWithUsage.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedConstructorParameterWithUsage.kt.after index 09e0c5322e96..5686bb33f1e9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedConstructorParameterWithUsage.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedConstructorParameterWithUsage.kt.after @@ -4,3 +4,5 @@ fun foo() { X() } class X + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUnusedFunctionParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedExtensionParameter.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedExtensionParameter.kt index 38e2225facf4..5973742be11e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedExtensionParameter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedExtensionParameter.kt @@ -6,4 +6,5 @@ fun Int.f(x: Int) { fun test() { 1.f(2) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUnusedFunctionParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedExtensionParameter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedExtensionParameter.kt.after index 444b7982ec6a..bd81ffe95cd5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedExtensionParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedExtensionParameter.kt.after @@ -6,4 +6,5 @@ fun Int.f() { fun test() { 1.f() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUnusedFunctionParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedInternalConstructorParameter.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedInternalConstructorParameter.kt index 45180c56d5e5..1c134b79de5b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedInternalConstructorParameter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedInternalConstructorParameter.kt @@ -1,3 +1,4 @@ // "Remove parameter 'x'" "true" -class X internal constructor(x: String) \ No newline at end of file +class X internal constructor(x: String) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUnusedFunctionParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedInternalConstructorParameter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedInternalConstructorParameter.kt.after index 352daa46a12a..85f819b6fb20 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedInternalConstructorParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedInternalConstructorParameter.kt.after @@ -1,3 +1,4 @@ // "Remove parameter 'x'" "true" -class X internal constructor() \ No newline at end of file +class X internal constructor() +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUnusedFunctionParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameter.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameter.kt index f059da166023..eb020cb018b9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameter.kt @@ -8,3 +8,5 @@ fun f(x: Int, y: Int) { fun g(x: Int, y: Int) { f(x, y); } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUnusedFunctionParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameter.kt.after index 4be8e0a50093..8ddd0377cd33 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameter.kt.after @@ -8,3 +8,5 @@ fun f(y: Int) { fun g(x: Int, y: Int) { f(y); } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUnusedFunctionParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithComments.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithComments.kt index ceea0122de19..47cff8a9c6fe 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithComments.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithComments.kt @@ -10,4 +10,5 @@ fun test() { ) } -fun println(s: String) {} \ No newline at end of file +fun println(s: String) {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUnusedFunctionParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithComments.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithComments.kt.after index 225ab58adc5e..f4ddc5b3a771 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithComments.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithComments.kt.after @@ -9,4 +9,5 @@ fun test() { ) } -fun println(s: String) {} \ No newline at end of file +fun println(s: String) {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUnusedFunctionParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithComments2.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithComments2.kt index 0d0bdde9e265..ce4df824b30b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithComments2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithComments2.kt @@ -7,4 +7,5 @@ private fun test() { "bar", // bar comment "baz" // baz comment ) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUnusedFunctionParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithComments2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithComments2.kt.after index 86495371f93d..959e03822556 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithComments2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithComments2.kt.after @@ -7,4 +7,5 @@ private fun test() { "bar", // bar comment "baz" // baz comment ) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUnusedFunctionParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithComments3.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithComments3.kt index 8fe9a49e805e..ddd4b45865fb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithComments3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithComments3.kt @@ -7,4 +7,5 @@ private fun test() { "bar", // bar comment "baz" // baz comment ) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUnusedFunctionParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithComments3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithComments3.kt.after index 34d6fd2ad48c..2fa743f342bc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithComments3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithComments3.kt.after @@ -7,4 +7,5 @@ private fun test() { // bar comment "baz" // baz comment ) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUnusedFunctionParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithComments4.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithComments4.kt index 4e4f4b00e0ca..4e07dac74792 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithComments4.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithComments4.kt @@ -7,4 +7,5 @@ private fun test() { "bar", // bar comment "baz" // baz comment ) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUnusedFunctionParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithComments4.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithComments4.kt.after index 7f2ded818390..b062c8f1cc6a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithComments4.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithComments4.kt.after @@ -7,4 +7,5 @@ private fun test() { "bar" // bar comment // baz comment ) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUnusedFunctionParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithLongQualifier.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithLongQualifier.kt index 9c39be9e8597..159bec2263c9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithLongQualifier.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithLongQualifier.kt @@ -4,4 +4,5 @@ package com.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy.zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz class SomeVeryImportantClass -fun message(a: SomeVeryImportantClass, b: SomeVeryImportantClass, c: SomeVeryImportantClass) = Unit \ No newline at end of file +fun message(a: SomeVeryImportantClass, b: SomeVeryImportantClass, c: SomeVeryImportantClass) = Unit +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUnusedFunctionParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithLongQualifier.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithLongQualifier.kt.after index 5ee02aad3268..08db452d37e6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithLongQualifier.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithLongQualifier.kt.after @@ -4,4 +4,5 @@ package com.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy.zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz class SomeVeryImportantClass -fun message(b: SomeVeryImportantClass, c: SomeVeryImportantClass) = Unit \ No newline at end of file +fun message(b: SomeVeryImportantClass, c: SomeVeryImportantClass) = Unit +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUnusedFunctionParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithTypeParameter.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithTypeParameter.kt index d51fb1e2b88d..fb0a6f97ff4a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithTypeParameter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithTypeParameter.kt @@ -3,4 +3,5 @@ fun foo(x: X) {} fun test() { foo(x = 1) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUnusedFunctionParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithTypeParameter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithTypeParameter.kt.after index d7c51aa467aa..411a804993d2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithTypeParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithTypeParameter.kt.after @@ -3,4 +3,5 @@ fun foo() {} fun test() { foo() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUnusedFunctionParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithTypeParameter2.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithTypeParameter2.kt index 1e3b86a75967..4e58558e758e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithTypeParameter2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithTypeParameter2.kt @@ -3,4 +3,5 @@ fun foo(x: X, x2: X) {} fun test() { foo(x = 1, x2 = 2) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUnusedFunctionParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithTypeParameter2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithTypeParameter2.kt.after index 1a2a965dc0ff..85fbddd345ff 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithTypeParameter2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithTypeParameter2.kt.after @@ -3,4 +3,5 @@ fun foo(x2: X) {} fun test() { foo(x2 = 2) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUnusedFunctionParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithTypeParameter3.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithTypeParameter3.kt index c759a6906f66..138835089eda 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithTypeParameter3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithTypeParameter3.kt @@ -4,3 +4,5 @@ fun foo(x: X, y: Y) {} fun test() { foo(x = 1, y = 2) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUnusedFunctionParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithTypeParameter3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithTypeParameter3.kt.after index d188bf8c8d10..cd8e644518b1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithTypeParameter3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithTypeParameter3.kt.after @@ -4,3 +4,5 @@ fun foo(y: Y) {} fun test() { foo(y = 2) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUnusedFunctionParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithTypeParameter4.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithTypeParameter4.kt index 06c9dd1842d7..d5735827f8ea 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithTypeParameter4.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithTypeParameter4.kt @@ -1,4 +1,5 @@ // "Remove parameter 'x'" "true" class Bar { fun foo(x: X) {} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUnusedFunctionParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithTypeParameter4.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithTypeParameter4.kt.after index f2018079ca4d..0d6d9e44fd2a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithTypeParameter4.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithTypeParameter4.kt.after @@ -1,4 +1,5 @@ // "Remove parameter 'x'" "true" class Bar { fun foo() {} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUnusedFunctionParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithTypeParameter5.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithTypeParameter5.kt index 201e919c52d2..38cf4a544186 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithTypeParameter5.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithTypeParameter5.kt @@ -1,4 +1,5 @@ // "Remove parameter 'x'" "true" class Foo(x: X) -val foo = Foo(1) \ No newline at end of file +val foo = Foo(1) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUnusedFunctionParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithTypeParameter5.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithTypeParameter5.kt.after index a6470061943f..68cfe98a7843 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithTypeParameter5.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithTypeParameter5.kt.after @@ -1,4 +1,5 @@ // "Remove parameter 'x'" "true" class Foo -val foo = Foo() \ No newline at end of file +val foo = Foo() +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUnusedFunctionParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithTypeParameter6.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithTypeParameter6.kt index aea9b214a43d..a80e6d8e62f3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithTypeParameter6.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithTypeParameter6.kt @@ -4,3 +4,5 @@ class Foo { } val foo = Foo(1) + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUnusedFunctionParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithTypeParameter6.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithTypeParameter6.kt.after index 510a67c96a23..bd4b1cbb51e9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithTypeParameter6.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithTypeParameter6.kt.after @@ -4,3 +4,5 @@ class Foo { } val foo = Foo() + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUnusedFunctionParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithTypeParameter7.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithTypeParameter7.kt index 9537a260010f..7ed490f97f1c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithTypeParameter7.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithTypeParameter7.kt @@ -5,4 +5,5 @@ fun baz(x: TypeHolder) {} fun test(holder: TypeHolder) { baz(holder) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUnusedFunctionParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithTypeParameter7.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithTypeParameter7.kt.after index 8aa95e82d812..cff502e7995e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithTypeParameter7.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithTypeParameter7.kt.after @@ -5,4 +5,5 @@ fun baz() {} fun test(holder: TypeHolder) { baz() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUnusedFunctionParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithTypeParameterAndTypeConstraint.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithTypeParameterAndTypeConstraint.kt index fc66c516b8d5..bc32d4374738 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithTypeParameterAndTypeConstraint.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithTypeParameterAndTypeConstraint.kt @@ -3,4 +3,5 @@ fun foo(x: X) where X : Number {} fun test() { foo(1) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUnusedFunctionParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithTypeParameterAndTypeConstraint.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithTypeParameterAndTypeConstraint.kt.after index cee8ab2d1966..bd984c387695 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithTypeParameterAndTypeConstraint.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithTypeParameterAndTypeConstraint.kt.after @@ -3,4 +3,5 @@ fun foo() {} fun test() { foo() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUnusedFunctionParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithTypeParameterAndTypeConstraint2.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithTypeParameterAndTypeConstraint2.kt index b01711f8a666..d23706a212b9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithTypeParameterAndTypeConstraint2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithTypeParameterAndTypeConstraint2.kt @@ -4,3 +4,5 @@ fun bar(x: X, y: Y) where X : Number, Y : Number {} fun test() { bar(1, 2) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUnusedFunctionParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithTypeParameterAndTypeConstraint2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithTypeParameterAndTypeConstraint2.kt.after index a9d832196767..66d93dc71ca7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithTypeParameterAndTypeConstraint2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedParameterWithTypeParameterAndTypeConstraint2.kt.after @@ -4,3 +4,5 @@ fun bar(y: Y) where Y : Number {} fun test() { bar(2) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUnusedFunctionParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedPrimaryConstructorParameter.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedPrimaryConstructorParameter.kt index 22ccec67d4e4..2d1d5d2a1657 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedPrimaryConstructorParameter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedPrimaryConstructorParameter.kt @@ -1,3 +1,4 @@ // "Remove parameter 'a'" "true" -class Foo(a: String) \ No newline at end of file +class Foo(a: String) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUnusedFunctionParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedPrimaryConstructorParameter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedPrimaryConstructorParameter.kt.after index f855b30d2d5e..1f39896ad79c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedPrimaryConstructorParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedPrimaryConstructorParameter.kt.after @@ -1,3 +1,4 @@ // "Remove parameter 'a'" "true" -class Foo \ No newline at end of file +class Foo +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUnusedFunctionParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedPrimaryConstructorParameter2.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedPrimaryConstructorParameter2.kt index aa5a10c59dc2..f3b243a74756 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedPrimaryConstructorParameter2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedPrimaryConstructorParameter2.kt @@ -1,3 +1,4 @@ // "Remove parameter 'a'" "true" -class Foo(a: String, b: String) \ No newline at end of file +class Foo(a: String, b: String) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUnusedFunctionParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedPrimaryConstructorParameter2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedPrimaryConstructorParameter2.kt.after index e2442352883d..47202be24e18 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedPrimaryConstructorParameter2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedPrimaryConstructorParameter2.kt.after @@ -1,3 +1,4 @@ // "Remove parameter 'a'" "true" -class Foo(b: String) \ No newline at end of file +class Foo(b: String) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUnusedFunctionParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedPrimaryConstructorParameterWithComments.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedPrimaryConstructorParameterWithComments.kt index e303a6c2d84f..6d14d47a306e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedPrimaryConstructorParameterWithComments.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedPrimaryConstructorParameterWithComments.kt @@ -5,3 +5,5 @@ class A(//TODO Comment 1 a: Int //TODO Comment 3 ) //TODO Comment 4 + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUnusedFunctionParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedPrimaryConstructorParameterWithComments.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedPrimaryConstructorParameterWithComments.kt.after index ab33c5eabb28..ebb0d6790725 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedPrimaryConstructorParameterWithComments.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSignature/removeUnusedPrimaryConstructorParameterWithComments.kt.after @@ -4,3 +4,5 @@ class A(//TODO Comment 1 //TODO Comment 2 //TODO Comment 3 ) //TODO Comment 4 + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUnusedFunctionParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSuperTypeListEntryTypeArgument/propertyTypeMismatchOnOverride.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSuperTypeListEntryTypeArgument/propertyTypeMismatchOnOverride.kt index 8b859ccd176c..1e883241f4e9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSuperTypeListEntryTypeArgument/propertyTypeMismatchOnOverride.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSuperTypeListEntryTypeArgument/propertyTypeMismatchOnOverride.kt @@ -15,4 +15,5 @@ class Test : Foo(), Bar { override val bar1: Int = 3 override fun bar2(): Int = 4 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeSuperTypeListEntryTypeArgumentFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSuperTypeListEntryTypeArgument/propertyTypeMismatchOnOverride.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSuperTypeListEntryTypeArgument/propertyTypeMismatchOnOverride.kt.after index cc002528538a..ff6aa8071b5f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSuperTypeListEntryTypeArgument/propertyTypeMismatchOnOverride.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSuperTypeListEntryTypeArgument/propertyTypeMismatchOnOverride.kt.after @@ -15,4 +15,5 @@ class Test : Foo(), Bar { override val bar1: Int = 3 override fun bar2(): Int = 4 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeSuperTypeListEntryTypeArgumentFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSuperTypeListEntryTypeArgument/propertyTypeMismatchOnOverride2.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSuperTypeListEntryTypeArgument/propertyTypeMismatchOnOverride2.kt index ce9ad7d9b1a5..9161d4979c20 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSuperTypeListEntryTypeArgument/propertyTypeMismatchOnOverride2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSuperTypeListEntryTypeArgument/propertyTypeMismatchOnOverride2.kt @@ -15,4 +15,5 @@ class Test : Foo(), Bar { override val bar1 = 3L override fun bar2(): Int = 4 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeSuperTypeListEntryTypeArgumentFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSuperTypeListEntryTypeArgument/propertyTypeMismatchOnOverride2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSuperTypeListEntryTypeArgument/propertyTypeMismatchOnOverride2.kt.after index 3835d87df9b6..988d014e2af5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSuperTypeListEntryTypeArgument/propertyTypeMismatchOnOverride2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSuperTypeListEntryTypeArgument/propertyTypeMismatchOnOverride2.kt.after @@ -15,4 +15,5 @@ class Test : Foo(), Bar { override val bar1 = 3L override fun bar2(): Int = 4 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeSuperTypeListEntryTypeArgumentFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSuperTypeListEntryTypeArgument/returnTypeMismatchOnOverride.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSuperTypeListEntryTypeArgument/returnTypeMismatchOnOverride.kt index cd1c1d805659..68f747c09e4f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSuperTypeListEntryTypeArgument/returnTypeMismatchOnOverride.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSuperTypeListEntryTypeArgument/returnTypeMismatchOnOverride.kt @@ -15,4 +15,5 @@ class Test : Foo(), Bar { override val bar1: Int = 3 override fun bar2(): Int = 4 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeSuperTypeListEntryTypeArgumentFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSuperTypeListEntryTypeArgument/returnTypeMismatchOnOverride.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSuperTypeListEntryTypeArgument/returnTypeMismatchOnOverride.kt.after index c233b7f6d5b1..31c2edeb8f1c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSuperTypeListEntryTypeArgument/returnTypeMismatchOnOverride.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSuperTypeListEntryTypeArgument/returnTypeMismatchOnOverride.kt.after @@ -15,4 +15,5 @@ class Test : Foo(), Bar { override val bar1: Int = 3 override fun bar2(): Int = 4 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeSuperTypeListEntryTypeArgumentFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSuperTypeListEntryTypeArgument/returnTypeMismatchOnOverride2.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeSuperTypeListEntryTypeArgument/returnTypeMismatchOnOverride2.kt index 502fcc3e97ca..96d6b840d03b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSuperTypeListEntryTypeArgument/returnTypeMismatchOnOverride2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSuperTypeListEntryTypeArgument/returnTypeMismatchOnOverride2.kt @@ -15,4 +15,5 @@ class Test : Foo(), Bar { override val bar1: Int = 3 override fun bar2() = "4" -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeSuperTypeListEntryTypeArgumentFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeSuperTypeListEntryTypeArgument/returnTypeMismatchOnOverride2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeSuperTypeListEntryTypeArgument/returnTypeMismatchOnOverride2.kt.after index ef91df258039..4b9b62c48b12 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeSuperTypeListEntryTypeArgument/returnTypeMismatchOnOverride2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeSuperTypeListEntryTypeArgument/returnTypeMismatchOnOverride2.kt.after @@ -15,4 +15,5 @@ class Test : Foo(), Bar { override val bar1: Int = 3 override fun bar2() = "4" -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeSuperTypeListEntryTypeArgumentFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeToLabeledReturn/constantExpectedTypeMismatch.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeToLabeledReturn/constantExpectedTypeMismatch.kt index 11583616ee44..57b76bb36131 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeToLabeledReturn/constantExpectedTypeMismatch.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeToLabeledReturn/constantExpectedTypeMismatch.kt @@ -6,4 +6,5 @@ fun test() { if (i == 1) return 1 0 } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToLabeledReturnFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeToLabeledReturn/constantExpectedTypeMismatch.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeToLabeledReturn/constantExpectedTypeMismatch.kt.after index ff400c203469..750d2e2fdd9c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeToLabeledReturn/constantExpectedTypeMismatch.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeToLabeledReturn/constantExpectedTypeMismatch.kt.after @@ -6,4 +6,5 @@ fun test() { if (i == 1) return@foo 1 0 } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToLabeledReturnFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeToLabeledReturn/multipleInner.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeToLabeledReturn/multipleInner.kt index cf4bfabff37c..b76cc09e544f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeToLabeledReturn/multipleInner.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeToLabeledReturn/multipleInner.kt @@ -15,4 +15,5 @@ fun bar() { } return@foo 1 } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToLabeledReturnFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeToLabeledReturn/multipleInner.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeToLabeledReturn/multipleInner.kt.after index b197c5a9cbf4..2312075a24b9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeToLabeledReturn/multipleInner.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeToLabeledReturn/multipleInner.kt.after @@ -15,4 +15,5 @@ fun bar() { } return@foo 1 } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToLabeledReturnFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeToLabeledReturn/multipleOuter.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeToLabeledReturn/multipleOuter.kt index 8391d1099587..e553d77443db 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeToLabeledReturn/multipleOuter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeToLabeledReturn/multipleOuter.kt @@ -14,4 +14,5 @@ fun bar() { } return@foo 1 } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToLabeledReturnFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeToLabeledReturn/multipleOuter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeToLabeledReturn/multipleOuter.kt.after index b9d382230ab5..9770cb314248 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeToLabeledReturn/multipleOuter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeToLabeledReturn/multipleOuter.kt.after @@ -14,4 +14,5 @@ fun bar() { } return@foo 1 } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToLabeledReturnFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeToLabeledReturn/normal.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeToLabeledReturn/normal.kt index 5783350857e2..c388b0806076 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeToLabeledReturn/normal.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeToLabeledReturn/normal.kt @@ -6,4 +6,5 @@ fun bar() { foo { return 1 } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToLabeledReturnFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeToLabeledReturn/normal.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeToLabeledReturn/normal.kt.after index d447189b1fd2..1cf3f9f2f740 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeToLabeledReturn/normal.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeToLabeledReturn/normal.kt.after @@ -6,4 +6,5 @@ fun bar() { foo { return@foo 1 } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToLabeledReturnFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeToLabeledReturn/nullForNonnullType.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeToLabeledReturn/nullForNonnullType.kt index 4be6a69aebf3..2357bca9ad92 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeToLabeledReturn/nullForNonnullType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeToLabeledReturn/nullForNonnullType.kt @@ -8,4 +8,5 @@ fun test() { if (i == 1) return null 0 } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToLabeledReturnFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeToLabeledReturn/nullForNonnullType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeToLabeledReturn/nullForNonnullType.kt.after index 9ed80eed18fa..ff410ca84f96 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeToLabeledReturn/nullForNonnullType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeToLabeledReturn/nullForNonnullType.kt.after @@ -8,4 +8,5 @@ fun test() { if (i == 1) return@foo null 0 } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToLabeledReturnFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeToLabeledReturn/typeMismatch.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeToLabeledReturn/typeMismatch.kt index fbbafebbdd8e..579ebd460445 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeToLabeledReturn/typeMismatch.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeToLabeledReturn/typeMismatch.kt @@ -8,4 +8,5 @@ fun test() { if (i == 1) return baz() 0 } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToLabeledReturnFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeToLabeledReturn/typeMismatch.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeToLabeledReturn/typeMismatch.kt.after index 3609a802f40c..d3c4ff874104 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeToLabeledReturn/typeMismatch.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeToLabeledReturn/typeMismatch.kt.after @@ -8,4 +8,5 @@ fun test() { if (i == 1) return@foo baz() 0 } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToLabeledReturnFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeToMutableCollection/list.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeToMutableCollection/list.kt index 568b22b32d2d..d055d6d9ae0f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeToMutableCollection/list.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeToMutableCollection/list.kt @@ -3,4 +3,5 @@ fun main() { val list = listOf(1, 2, 3) list[1] = 10 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToMutableCollectionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeToMutableCollection/list.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeToMutableCollection/list.kt.after index e8dd6d5ef4bc..d8223d72ae85 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeToMutableCollection/list.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeToMutableCollection/list.kt.after @@ -3,4 +3,5 @@ fun main() { val list = mutableListOf(1, 2, 3) list[1] = 10 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToMutableCollectionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeToMutableCollection/list2.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeToMutableCollection/list2.kt index f5b235e5762c..762ffdfa8d58 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeToMutableCollection/list2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeToMutableCollection/list2.kt @@ -5,4 +5,5 @@ fun main() { list[1] = 10 } -fun foo() = listOf(1, 2, 3) \ No newline at end of file +fun foo() = listOf(1, 2, 3) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToMutableCollectionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeToMutableCollection/list2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeToMutableCollection/list2.kt.after index 724131ec5931..41ed6eccaa80 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeToMutableCollection/list2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeToMutableCollection/list2.kt.after @@ -5,4 +5,5 @@ fun main() { list[1] = 10 } -fun foo() = listOf(1, 2, 3) \ No newline at end of file +fun foo() = listOf(1, 2, 3) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToMutableCollectionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeToMutableCollection/map.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeToMutableCollection/map.kt index ff191951cf2d..17b7797da625 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeToMutableCollection/map.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeToMutableCollection/map.kt @@ -3,4 +3,5 @@ fun main() { val map = mapOf(1 to "a") map[2] = "b" -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToMutableCollectionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeToMutableCollection/map.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeToMutableCollection/map.kt.after index d4b13ed395b1..6b0a6d5c0fe8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeToMutableCollection/map.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeToMutableCollection/map.kt.after @@ -3,4 +3,5 @@ fun main() { val map = mutableMapOf(1 to "a") map[2] = "b" -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToMutableCollectionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeToMutableCollection/map2.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeToMutableCollection/map2.kt index 3f7290333cc6..0a7acbafc92a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeToMutableCollection/map2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeToMutableCollection/map2.kt @@ -5,4 +5,5 @@ fun main() { map[2] = "b" } -fun foo() = mapOf(1 to "a") \ No newline at end of file +fun foo() = mapOf(1 to "a") +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToMutableCollectionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeToMutableCollection/map2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeToMutableCollection/map2.kt.after index 2bcfc6ae2549..a4093d34da3b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeToMutableCollection/map2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeToMutableCollection/map2.kt.after @@ -5,4 +5,5 @@ fun main() { map[2] = "b" } -fun foo() = mapOf(1 to "a") \ No newline at end of file +fun foo() = mapOf(1 to "a") +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToMutableCollectionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeToUseSpreadOperator/mapOf.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeToUseSpreadOperator/mapOf.kt index e8016e326173..19ba77b92707 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeToUseSpreadOperator/mapOf.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeToUseSpreadOperator/mapOf.kt @@ -5,4 +5,5 @@ fun yourMapOf(vararg pairs: Pair) {} fun myMapOf(vararg pairs: Pair) { val myMap = yourMapOf(pairs) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToUseSpreadOperatorFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeToUseSpreadOperator/mapOf.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeToUseSpreadOperator/mapOf.kt.after index a93592bf9492..5a8da04ebdc6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeToUseSpreadOperator/mapOf.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeToUseSpreadOperator/mapOf.kt.after @@ -5,4 +5,5 @@ fun yourMapOf(vararg pairs: Pair) {} fun myMapOf(vararg pairs: Pair) { val myMap = yourMapOf(*pairs) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToUseSpreadOperatorFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeToUseSpreadOperator/multipleParams.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeToUseSpreadOperator/multipleParams.kt index 60f9becc6c50..b69f49061c98 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeToUseSpreadOperator/multipleParams.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeToUseSpreadOperator/multipleParams.kt @@ -3,3 +3,5 @@ fun foo(a: String, vararg x: String, b: Int) {} fun bar(array: Array) = foo("aaa", array, b = 1) + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToUseSpreadOperatorFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeToUseSpreadOperator/multipleParams.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeToUseSpreadOperator/multipleParams.kt.after index 9146f4824e07..2813ab1dde6a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeToUseSpreadOperator/multipleParams.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeToUseSpreadOperator/multipleParams.kt.after @@ -3,3 +3,5 @@ fun foo(a: String, vararg x: String, b: Int) {} fun bar(array: Array) = foo("aaa", *array, b = 1) + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToUseSpreadOperatorFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeToUseSpreadOperator/normal.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeToUseSpreadOperator/normal.kt index 82794f26e0aa..e6744b1746f8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeToUseSpreadOperator/normal.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeToUseSpreadOperator/normal.kt @@ -3,3 +3,5 @@ fun foo(vararg x: String) {} fun bar(y: Array) = foo(y) + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToUseSpreadOperatorFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeToUseSpreadOperator/normal.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeToUseSpreadOperator/normal.kt.after index eaa2b90b2c40..6cdb07905f42 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeToUseSpreadOperator/normal.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeToUseSpreadOperator/normal.kt.after @@ -3,3 +3,5 @@ fun foo(vararg x: String) {} fun bar(y: Array) = foo(*y) + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToUseSpreadOperatorFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeToUseSpreadOperator/stdlibMapOf.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeToUseSpreadOperator/stdlibMapOf.kt index 691879075fb9..ab270005032c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeToUseSpreadOperator/stdlibMapOf.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeToUseSpreadOperator/stdlibMapOf.kt @@ -3,4 +3,5 @@ fun myMapOf(vararg pairs: Pair) { val myMap = mapOf(pairs) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToUseSpreadOperatorFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeToUseSpreadOperator/stdlibMapOf.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeToUseSpreadOperator/stdlibMapOf.kt.after index 7ad15b3cf23d..588a89077b8e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeToUseSpreadOperator/stdlibMapOf.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeToUseSpreadOperator/stdlibMapOf.kt.after @@ -3,4 +3,5 @@ fun myMapOf(vararg pairs: Pair) { val myMap = mapOf(*pairs) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToUseSpreadOperatorFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeToUseSpreadOperator/vararg.kt b/plugins/kotlin/idea/tests/testData/quickfix/changeToUseSpreadOperator/vararg.kt index e9ace620840e..d1ece5223e58 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeToUseSpreadOperator/vararg.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeToUseSpreadOperator/vararg.kt @@ -3,3 +3,5 @@ fun foo(vararg x: String) {} fun bar(vararg y: String) = foo(y) + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToUseSpreadOperatorFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/changeToUseSpreadOperator/vararg.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/changeToUseSpreadOperator/vararg.kt.after index 41074db8aa14..053dea597da7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/changeToUseSpreadOperator/vararg.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/changeToUseSpreadOperator/vararg.kt.after @@ -3,3 +3,5 @@ fun foo(vararg x: String) {} fun bar(vararg y: String) = foo(*y) + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToUseSpreadOperatorFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/checkArguments/addNameToArgument/invokeOnString.kt b/plugins/kotlin/idea/tests/testData/quickfix/checkArguments/addNameToArgument/invokeOnString.kt index 71902f8fbaf1..5fc0665129ac 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/checkArguments/addNameToArgument/invokeOnString.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/checkArguments/addNameToArgument/invokeOnString.kt @@ -6,3 +6,5 @@ operator fun String.invoke(a: Int, b: Int) {} fun g() { ""(a = 1, 42) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddNameToArgumentFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/checkArguments/addNameToArgument/invokeOnString.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/checkArguments/addNameToArgument/invokeOnString.kt.after index 510e9e35550e..e951e56376be 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/checkArguments/addNameToArgument/invokeOnString.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/checkArguments/addNameToArgument/invokeOnString.kt.after @@ -6,3 +6,5 @@ operator fun String.invoke(a: Int, b: Int) {} fun g() { ""(a = 1, b = 42) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddNameToArgumentFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/checkArguments/addNameToArgument/mixedNamedAndPositionalArguments.kt b/plugins/kotlin/idea/tests/testData/quickfix/checkArguments/addNameToArgument/mixedNamedAndPositionalArguments.kt index 791ed76177c4..958fd5902f49 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/checkArguments/addNameToArgument/mixedNamedAndPositionalArguments.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/checkArguments/addNameToArgument/mixedNamedAndPositionalArguments.kt @@ -5,4 +5,5 @@ fun f(a: Int, b: String) {} fun g() { f(a = 10, "FOO") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddNameToArgumentFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/checkArguments/addNameToArgument/mixedNamedAndPositionalArguments.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/checkArguments/addNameToArgument/mixedNamedAndPositionalArguments.kt.after index 9d1b57dac9a5..91f3a4a69ea7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/checkArguments/addNameToArgument/mixedNamedAndPositionalArguments.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/checkArguments/addNameToArgument/mixedNamedAndPositionalArguments.kt.after @@ -5,4 +5,5 @@ fun f(a: Int, b: String) {} fun g() { f(a = 10, b = "FOO") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddNameToArgumentFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/checkArguments/addNameToArgument/mixedNamedAndPositionalArgumentsConstructor.kt b/plugins/kotlin/idea/tests/testData/quickfix/checkArguments/addNameToArgument/mixedNamedAndPositionalArgumentsConstructor.kt index e77c723f72a2..28548f3adfe4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/checkArguments/addNameToArgument/mixedNamedAndPositionalArgumentsConstructor.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/checkArguments/addNameToArgument/mixedNamedAndPositionalArgumentsConstructor.kt @@ -5,4 +5,5 @@ class A(a: Int, b: String) {} fun f() { A(a = 1, "FOO") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddNameToArgumentFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/checkArguments/addNameToArgument/mixedNamedAndPositionalArgumentsConstructor.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/checkArguments/addNameToArgument/mixedNamedAndPositionalArgumentsConstructor.kt.after index 70908929c05a..36f15d8cb206 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/checkArguments/addNameToArgument/mixedNamedAndPositionalArgumentsConstructor.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/checkArguments/addNameToArgument/mixedNamedAndPositionalArgumentsConstructor.kt.after @@ -5,4 +5,5 @@ class A(a: Int, b: String) {} fun f() { A(a = 1, b = "FOO") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddNameToArgumentFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/checkArguments/addNameToArgument/mixedNamedAndPositionalArgumentsMultiple.kt b/plugins/kotlin/idea/tests/testData/quickfix/checkArguments/addNameToArgument/mixedNamedAndPositionalArgumentsMultiple.kt index 80c7c68ee566..e70c2f4c9b43 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/checkArguments/addNameToArgument/mixedNamedAndPositionalArgumentsMultiple.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/checkArguments/addNameToArgument/mixedNamedAndPositionalArgumentsMultiple.kt @@ -5,4 +5,5 @@ fun f(a: Int, b: String = "b", c: String = "c") {} fun g() { f(a = 10, "FOO") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddNameToArgumentFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/checkArguments/addNameToArgument/mixedNamedAndPositionalArgumentsMultiple.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/checkArguments/addNameToArgument/mixedNamedAndPositionalArgumentsMultiple.kt.after index 15928a94e210..18c6c40053a1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/checkArguments/addNameToArgument/mixedNamedAndPositionalArgumentsMultiple.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/checkArguments/addNameToArgument/mixedNamedAndPositionalArgumentsMultiple.kt.after @@ -5,4 +5,5 @@ fun f(a: Int, b: String = "b", c: String = "c") {} fun g() { f(a = 10, b = "FOO") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddNameToArgumentFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/checkArguments/addNameToArgument/mixedNamedAndPositionalArgumentsSubtype.kt b/plugins/kotlin/idea/tests/testData/quickfix/checkArguments/addNameToArgument/mixedNamedAndPositionalArgumentsSubtype.kt index 2c10e783dda7..23ee54a2137e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/checkArguments/addNameToArgument/mixedNamedAndPositionalArgumentsSubtype.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/checkArguments/addNameToArgument/mixedNamedAndPositionalArgumentsSubtype.kt @@ -7,4 +7,5 @@ open class B : A() {} fun f(a: Int, b: A) {} fun g() { f(a=1, B()) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddNameToArgumentFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/checkArguments/addNameToArgument/mixedNamedAndPositionalArgumentsSubtype.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/checkArguments/addNameToArgument/mixedNamedAndPositionalArgumentsSubtype.kt.after index ef07497ce1eb..e912b54f46eb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/checkArguments/addNameToArgument/mixedNamedAndPositionalArgumentsSubtype.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/checkArguments/addNameToArgument/mixedNamedAndPositionalArgumentsSubtype.kt.after @@ -7,4 +7,5 @@ open class B : A() {} fun f(a: Int, b: A) {} fun g() { f(a=1, b = B()) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddNameToArgumentFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/checkArguments/addNameToArgument/mixedNamedAndPositionalArgumentsUsedNamed.kt b/plugins/kotlin/idea/tests/testData/quickfix/checkArguments/addNameToArgument/mixedNamedAndPositionalArgumentsUsedNamed.kt index b5ed62911409..af159bc348c8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/checkArguments/addNameToArgument/mixedNamedAndPositionalArgumentsUsedNamed.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/checkArguments/addNameToArgument/mixedNamedAndPositionalArgumentsUsedNamed.kt @@ -5,4 +5,5 @@ fun f(a: String, b: String) {} fun g() { f(a = "BAR", "FOO") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddNameToArgumentFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/checkArguments/addNameToArgument/mixedNamedAndPositionalArgumentsUsedNamed.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/checkArguments/addNameToArgument/mixedNamedAndPositionalArgumentsUsedNamed.kt.after index 3050434f79fb..5427b44d635d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/checkArguments/addNameToArgument/mixedNamedAndPositionalArgumentsUsedNamed.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/checkArguments/addNameToArgument/mixedNamedAndPositionalArgumentsUsedNamed.kt.after @@ -5,4 +5,5 @@ fun f(a: String, b: String) {} fun g() { f(a = "BAR", b = "FOO") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddNameToArgumentFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/checkArguments/addNameToArgument/mixedNamedAndPositionalArgumentsUsedPositional.kt b/plugins/kotlin/idea/tests/testData/quickfix/checkArguments/addNameToArgument/mixedNamedAndPositionalArgumentsUsedPositional.kt index 3400cf3dbc21..92dc83fdb01b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/checkArguments/addNameToArgument/mixedNamedAndPositionalArgumentsUsedPositional.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/checkArguments/addNameToArgument/mixedNamedAndPositionalArgumentsUsedPositional.kt @@ -5,4 +5,5 @@ fun f(a: String, x: Int, b: String) {} fun g() { f("BAR", x = 10, "FOO") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddNameToArgumentFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/checkArguments/addNameToArgument/mixedNamedAndPositionalArgumentsUsedPositional.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/checkArguments/addNameToArgument/mixedNamedAndPositionalArgumentsUsedPositional.kt.after index d36b2ce11553..48cb8208f001 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/checkArguments/addNameToArgument/mixedNamedAndPositionalArgumentsUsedPositional.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/checkArguments/addNameToArgument/mixedNamedAndPositionalArgumentsUsedPositional.kt.after @@ -5,4 +5,5 @@ fun f(a: String, x: Int, b: String) {} fun g() { f("BAR", x = 10, b = "FOO") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddNameToArgumentFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/checkArguments/nonVarargSpread.kt b/plugins/kotlin/idea/tests/testData/quickfix/checkArguments/nonVarargSpread.kt index 9dedc29bfce4..d749986b2319 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/checkArguments/nonVarargSpread.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/checkArguments/nonVarargSpread.kt @@ -9,4 +9,6 @@ fun join(x : Int, vararg a : String) : String { fun main(args : Array) { join(*1, "2") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemovePsiElementSimpleFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemovePsiElementSimpleFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/checkArguments/nonVarargSpread.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/checkArguments/nonVarargSpread.kt.after index e88ea016f23f..29329717cb94 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/checkArguments/nonVarargSpread.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/checkArguments/nonVarargSpread.kt.after @@ -9,4 +9,6 @@ fun join(x : Int, vararg a : String) : String { fun main(args : Array) { join(1, "2") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemovePsiElementSimpleFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemovePsiElementSimpleFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/conflictingImports/removeConflictingImport.kt b/plugins/kotlin/idea/tests/testData/quickfix/conflictingImports/removeConflictingImport.kt index 3573c0c86cd8..7d0df3d2dad2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/conflictingImports/removeConflictingImport.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/conflictingImports/removeConflictingImport.kt @@ -6,4 +6,6 @@ import java.util.HashMap as ArrayList fun foo(a : ArrayList) { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemovePsiElementSimpleFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemovePsiElementSimpleFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/conflictingImports/removeConflictingImport.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/conflictingImports/removeConflictingImport.kt.after index 41e60a2dc0c9..6bcc255cf0ce 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/conflictingImports/removeConflictingImport.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/conflictingImports/removeConflictingImport.kt.after @@ -5,4 +5,6 @@ import java.util.HashMap as ArrayList fun foo(a : ArrayList) { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemovePsiElementSimpleFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemovePsiElementSimpleFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/conflictingImports/removeDuplicateImport.kt b/plugins/kotlin/idea/tests/testData/quickfix/conflictingImports/removeDuplicateImport.kt index 4fa84d05c873..49174f4e0c34 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/conflictingImports/removeDuplicateImport.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/conflictingImports/removeDuplicateImport.kt @@ -2,4 +2,6 @@ package test import java.util.ArrayList -import java.util.ArrayList \ No newline at end of file +import java.util.ArrayList +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemovePsiElementSimpleFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemovePsiElementSimpleFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/conflictingImports/removeDuplicateImport.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/conflictingImports/removeDuplicateImport.kt.after index 483144d0754d..283a7726d184 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/conflictingImports/removeDuplicateImport.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/conflictingImports/removeDuplicateImport.kt.after @@ -2,3 +2,6 @@ package test import java.util.ArrayList + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemovePsiElementSimpleFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemovePsiElementSimpleFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/conflictingImports/removeDuplicateImportWithAlias.kt b/plugins/kotlin/idea/tests/testData/quickfix/conflictingImports/removeDuplicateImportWithAlias.kt index 42718a687eee..0e27ae867615 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/conflictingImports/removeDuplicateImportWithAlias.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/conflictingImports/removeDuplicateImportWithAlias.kt @@ -2,4 +2,6 @@ package test import java.util.ArrayList as foo -import java.util.ArrayList as foo \ No newline at end of file +import java.util.ArrayList as foo +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemovePsiElementSimpleFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemovePsiElementSimpleFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/conflictingImports/removeDuplicateImportWithAlias.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/conflictingImports/removeDuplicateImportWithAlias.kt.after index 1d130a4e2e75..5f45065117ff 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/conflictingImports/removeDuplicateImportWithAlias.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/conflictingImports/removeDuplicateImportWithAlias.kt.after @@ -2,3 +2,6 @@ package test import java.util.ArrayList as foo + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemovePsiElementSimpleFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemovePsiElementSimpleFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/convertCollectionLiteralToIntArrayOf/NestedClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/convertCollectionLiteralToIntArrayOf/NestedClass.kt index 73b3e8996d26..b3481fc7a18e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/convertCollectionLiteralToIntArrayOf/NestedClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/convertCollectionLiteralToIntArrayOf/NestedClass.kt @@ -8,3 +8,5 @@ annotation class Ann(val x: IntArray = [1, 2, 3]) { ] } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertCollectionLiteralToIntArrayOfFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/convertCollectionLiteralToIntArrayOf/NestedClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/convertCollectionLiteralToIntArrayOf/NestedClass.kt.after index f7720a675606..e0b10a0cc10f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/convertCollectionLiteralToIntArrayOf/NestedClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/convertCollectionLiteralToIntArrayOf/NestedClass.kt.after @@ -8,3 +8,5 @@ annotation class Ann(val x: IntArray = [1, 2, 3]) { ) } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertCollectionLiteralToIntArrayOfFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/convertCollectionLiteralToIntArrayOf/NestedObject.kt b/plugins/kotlin/idea/tests/testData/quickfix/convertCollectionLiteralToIntArrayOf/NestedObject.kt index bc52eca4f1a8..6c416d829100 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/convertCollectionLiteralToIntArrayOf/NestedObject.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/convertCollectionLiteralToIntArrayOf/NestedObject.kt @@ -8,3 +8,5 @@ annotation class Ann(val x: IntArray = [1, 2, 3]) { ] } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertCollectionLiteralToIntArrayOfFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/convertCollectionLiteralToIntArrayOf/NestedObject.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/convertCollectionLiteralToIntArrayOf/NestedObject.kt.after index 88e042676a7b..f58decec8873 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/convertCollectionLiteralToIntArrayOf/NestedObject.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/convertCollectionLiteralToIntArrayOf/NestedObject.kt.after @@ -8,3 +8,5 @@ annotation class Ann(val x: IntArray = [1, 2, 3]) { ) } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertCollectionLiteralToIntArrayOfFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/convertCollectionLiteralToIntArrayOf/companionObject.kt b/plugins/kotlin/idea/tests/testData/quickfix/convertCollectionLiteralToIntArrayOf/companionObject.kt index 2febcef58d62..cafdd16171e7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/convertCollectionLiteralToIntArrayOf/companionObject.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/convertCollectionLiteralToIntArrayOf/companionObject.kt @@ -8,3 +8,5 @@ annotation class Ann(val x: IntArray = [1, 2, 3]) { ] } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertCollectionLiteralToIntArrayOfFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/convertCollectionLiteralToIntArrayOf/companionObject.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/convertCollectionLiteralToIntArrayOf/companionObject.kt.after index 8e357e1198e2..652565ddd933 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/convertCollectionLiteralToIntArrayOf/companionObject.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/convertCollectionLiteralToIntArrayOf/companionObject.kt.after @@ -8,3 +8,5 @@ annotation class Ann(val x: IntArray = [1, 2, 3]) { ) } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertCollectionLiteralToIntArrayOfFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/convertIllegalEscapeToUnicodeEscape/formFeed.kt b/plugins/kotlin/idea/tests/testData/quickfix/convertIllegalEscapeToUnicodeEscape/formFeed.kt index 4a97a86e615e..55eae9ef1f63 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/convertIllegalEscapeToUnicodeEscape/formFeed.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/convertIllegalEscapeToUnicodeEscape/formFeed.kt @@ -1,2 +1,3 @@ // "Convert to unicode escape" "true" -val c = '\f' \ No newline at end of file +val c = '\f' +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertIllegalEscapeToUnicodeEscapeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/convertIllegalEscapeToUnicodeEscape/formFeed.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/convertIllegalEscapeToUnicodeEscape/formFeed.kt.after index 6f6048d0c8b2..ce0c4d5ddc7c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/convertIllegalEscapeToUnicodeEscape/formFeed.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/convertIllegalEscapeToUnicodeEscape/formFeed.kt.after @@ -1,2 +1,3 @@ // "Convert to unicode escape" "true" -val c = '\u000c' \ No newline at end of file +val c = '\u000c' +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertIllegalEscapeToUnicodeEscapeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/convertIllegalEscapeToUnicodeEscape/formFeedInStringTemplate.kt b/plugins/kotlin/idea/tests/testData/quickfix/convertIllegalEscapeToUnicodeEscape/formFeedInStringTemplate.kt index f816b3da503d..9f49326f4ae8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/convertIllegalEscapeToUnicodeEscape/formFeedInStringTemplate.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/convertIllegalEscapeToUnicodeEscape/formFeedInStringTemplate.kt @@ -1,2 +1,3 @@ // "Convert to unicode escape" "true" -val s = "abc \f xyz" \ No newline at end of file +val s = "abc \f xyz" +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertIllegalEscapeToUnicodeEscapeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/convertIllegalEscapeToUnicodeEscape/formFeedInStringTemplate.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/convertIllegalEscapeToUnicodeEscape/formFeedInStringTemplate.kt.after index ae04e04274cc..e1aabc210c12 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/convertIllegalEscapeToUnicodeEscape/formFeedInStringTemplate.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/convertIllegalEscapeToUnicodeEscape/formFeedInStringTemplate.kt.after @@ -1,2 +1,3 @@ // "Convert to unicode escape" "true" -val s = "abc \u000c xyz" \ No newline at end of file +val s = "abc \u000c xyz" +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertIllegalEscapeToUnicodeEscapeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/convertLateinitPropertyToNotNullDelegate/basic.kt b/plugins/kotlin/idea/tests/testData/quickfix/convertLateinitPropertyToNotNullDelegate/basic.kt index e1039d5430a7..62f342ba4085 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/convertLateinitPropertyToNotNullDelegate/basic.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/convertLateinitPropertyToNotNullDelegate/basic.kt @@ -1,3 +1,4 @@ // "Convert to notNull delegate" "true" // WITH_STDLIB -lateinit var x: Boolean \ No newline at end of file +lateinit var x: Boolean +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertLateinitPropertyToNotNullDelegateFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/convertLateinitPropertyToNotNullDelegate/basic.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/convertLateinitPropertyToNotNullDelegate/basic.kt.after index ff0b44fc490c..0cbb3996d468 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/convertLateinitPropertyToNotNullDelegate/basic.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/convertLateinitPropertyToNotNullDelegate/basic.kt.after @@ -2,4 +2,5 @@ import kotlin.properties.Delegates // "Convert to notNull delegate" "true" // WITH_STDLIB -var x by Delegates.notNull() \ No newline at end of file +var x by Delegates.notNull() +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertLateinitPropertyToNotNullDelegateFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/convertLateinitPropertyToNotNullDelegate/basic2.kt b/plugins/kotlin/idea/tests/testData/quickfix/convertLateinitPropertyToNotNullDelegate/basic2.kt index 03b6380af4c8..ad35797e20c1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/convertLateinitPropertyToNotNullDelegate/basic2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/convertLateinitPropertyToNotNullDelegate/basic2.kt @@ -1,3 +1,4 @@ // "Convert to notNull delegate" "true" // WITH_STDLIB -lateinit var x: Int \ No newline at end of file +lateinit var x: Int +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertLateinitPropertyToNotNullDelegateFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/convertLateinitPropertyToNotNullDelegate/basic2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/convertLateinitPropertyToNotNullDelegate/basic2.kt.after index 58f0a9fec8c5..933ee91c6cbc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/convertLateinitPropertyToNotNullDelegate/basic2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/convertLateinitPropertyToNotNullDelegate/basic2.kt.after @@ -2,4 +2,5 @@ import kotlin.properties.Delegates // "Convert to notNull delegate" "true" // WITH_STDLIB -var x by Delegates.notNull() \ No newline at end of file +var x by Delegates.notNull() +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertLateinitPropertyToNotNullDelegateFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/convertPropertyInitializerToGetter/val.kt b/plugins/kotlin/idea/tests/testData/quickfix/convertPropertyInitializerToGetter/val.kt index 0cd4e1793f92..0532cf326343 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/convertPropertyInitializerToGetter/val.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/convertPropertyInitializerToGetter/val.kt @@ -4,4 +4,5 @@ fun String.foo() = "bar" interface A { val name = "The quick brown fox jumps over the lazy dog".foo() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.ConvertPropertyInitializerToGetterIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/convertPropertyInitializerToGetter/val.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/convertPropertyInitializerToGetter/val.kt.after index 35291850dee9..01b92fa2c1d7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/convertPropertyInitializerToGetter/val.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/convertPropertyInitializerToGetter/val.kt.after @@ -5,4 +5,5 @@ fun String.foo() = "bar" interface A { val name: String get() = "The quick brown fox jumps over the lazy dog".foo() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.ConvertPropertyInitializerToGetterIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/convertPropertyInitializerToGetter/var.kt b/plugins/kotlin/idea/tests/testData/quickfix/convertPropertyInitializerToGetter/var.kt index 7c0b2ca3c1ce..99e125337d9f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/convertPropertyInitializerToGetter/var.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/convertPropertyInitializerToGetter/var.kt @@ -5,4 +5,5 @@ fun String.foo() = "bar" interface A { var name = "The quick brown fox jumps over the lazy dog".foo() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.ConvertPropertyInitializerToGetterIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/convertPropertyInitializerToGetter/var.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/convertPropertyInitializerToGetter/var.kt.after index 1af49b7d2aca..9ca8ce688613 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/convertPropertyInitializerToGetter/var.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/convertPropertyInitializerToGetter/var.kt.after @@ -7,4 +7,5 @@ interface A { var name: String get() = "The quick brown fox jumps over the lazy dog".foo() set(value) = TODO() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.ConvertPropertyInitializerToGetterIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/convertPropertyInitializerToGetter/varWithSetter.kt b/plugins/kotlin/idea/tests/testData/quickfix/convertPropertyInitializerToGetter/varWithSetter.kt index 5b661867dbf3..083a67795c47 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/convertPropertyInitializerToGetter/varWithSetter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/convertPropertyInitializerToGetter/varWithSetter.kt @@ -8,4 +8,5 @@ fun nop() { interface A { var name = "The quick brown fox jumps over the lazy dog".foo() set(value) = nop() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.ConvertPropertyInitializerToGetterIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/convertPropertyInitializerToGetter/varWithSetter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/convertPropertyInitializerToGetter/varWithSetter.kt.after index 402ede9b739c..4ab76513ad90 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/convertPropertyInitializerToGetter/varWithSetter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/convertPropertyInitializerToGetter/varWithSetter.kt.after @@ -9,4 +9,5 @@ interface A { var name: String get() = "The quick brown fox jumps over the lazy dog".foo() set(value) = nop() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.ConvertPropertyInitializerToGetterIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/convertToAnonymousObject/hasConcreateMember.kt b/plugins/kotlin/idea/tests/testData/quickfix/convertToAnonymousObject/hasConcreateMember.kt index 931dd42628a1..8a16bcdfe793 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/convertToAnonymousObject/hasConcreateMember.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/convertToAnonymousObject/hasConcreateMember.kt @@ -8,4 +8,5 @@ fun foo(i: I) {} fun test() { foo(I {}) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertToAnonymousObjectFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/convertToAnonymousObject/hasConcreateMember.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/convertToAnonymousObject/hasConcreateMember.kt.after index 059ee127fb42..709cc7fce143 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/convertToAnonymousObject/hasConcreateMember.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/convertToAnonymousObject/hasConcreateMember.kt.after @@ -12,4 +12,5 @@ fun test() { } }) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertToAnonymousObjectFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/convertToAnonymousObject/hasConcreateMember2.kt b/plugins/kotlin/idea/tests/testData/quickfix/convertToAnonymousObject/hasConcreateMember2.kt index 9fcd07d6c76f..704bb4fdbcbe 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/convertToAnonymousObject/hasConcreateMember2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/convertToAnonymousObject/hasConcreateMember2.kt @@ -14,3 +14,5 @@ fun foo(i: I) {} fun test() { foo(I {}) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertToAnonymousObjectFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/convertToAnonymousObject/hasConcreateMember2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/convertToAnonymousObject/hasConcreateMember2.kt.after index 9ce52f459e2e..4836369dd27a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/convertToAnonymousObject/hasConcreateMember2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/convertToAnonymousObject/hasConcreateMember2.kt.after @@ -18,3 +18,5 @@ fun test() { } }) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertToAnonymousObjectFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/convertToAnonymousObject/labeledReturn.kt b/plugins/kotlin/idea/tests/testData/quickfix/convertToAnonymousObject/labeledReturn.kt index cd6fd226e174..c5461d94e6af 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/convertToAnonymousObject/labeledReturn.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/convertToAnonymousObject/labeledReturn.kt @@ -8,3 +8,5 @@ fun test() { return@I "" } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertToAnonymousObjectFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/convertToAnonymousObject/labeledReturn.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/convertToAnonymousObject/labeledReturn.kt.after index b6522b8614ca..68182903fd25 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/convertToAnonymousObject/labeledReturn.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/convertToAnonymousObject/labeledReturn.kt.after @@ -10,3 +10,5 @@ fun test() { } } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertToAnonymousObjectFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/convertToAnonymousObject/lambdaInParentheses.kt b/plugins/kotlin/idea/tests/testData/quickfix/convertToAnonymousObject/lambdaInParentheses.kt index d68228bc4f63..ac5053c3b638 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/convertToAnonymousObject/lambdaInParentheses.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/convertToAnonymousObject/lambdaInParentheses.kt @@ -5,4 +5,5 @@ interface I { fun test() { val i = I({ "" }) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertToAnonymousObjectFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/convertToAnonymousObject/lambdaInParentheses.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/convertToAnonymousObject/lambdaInParentheses.kt.after index 593b1587be96..0d54814d6c70 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/convertToAnonymousObject/lambdaInParentheses.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/convertToAnonymousObject/lambdaInParentheses.kt.after @@ -9,4 +9,5 @@ fun test() { return "" } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertToAnonymousObjectFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/convertToAnonymousObject/parameter.kt b/plugins/kotlin/idea/tests/testData/quickfix/convertToAnonymousObject/parameter.kt index 4da470ab9be1..d8a6c1cde7d6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/convertToAnonymousObject/parameter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/convertToAnonymousObject/parameter.kt @@ -7,4 +7,5 @@ fun test() { I { 1 } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertToAnonymousObjectFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/convertToAnonymousObject/parameter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/convertToAnonymousObject/parameter.kt.after index c069e4354751..495601f92dcb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/convertToAnonymousObject/parameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/convertToAnonymousObject/parameter.kt.after @@ -9,4 +9,5 @@ fun test() { return 1 } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertToAnonymousObjectFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/convertToAnonymousObject/simple.kt b/plugins/kotlin/idea/tests/testData/quickfix/convertToAnonymousObject/simple.kt index 7affeccb9ac1..f27c682ad5d4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/convertToAnonymousObject/simple.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/convertToAnonymousObject/simple.kt @@ -5,4 +5,5 @@ interface I { fun test() { val i = I { "" } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertToAnonymousObjectFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/convertToAnonymousObject/simple.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/convertToAnonymousObject/simple.kt.after index 593b1587be96..0d54814d6c70 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/convertToAnonymousObject/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/convertToAnonymousObject/simple.kt.after @@ -9,4 +9,5 @@ fun test() { return "" } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertToAnonymousObjectFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/convertToAnonymousObject/typeArgument.kt b/plugins/kotlin/idea/tests/testData/quickfix/convertToAnonymousObject/typeArgument.kt index 69a556567673..1295f2798edd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/convertToAnonymousObject/typeArgument.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/convertToAnonymousObject/typeArgument.kt @@ -3,4 +3,5 @@ interface B { fun bar(x: T): U } -val b = B { "" } \ No newline at end of file +val b = B { "" } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertToAnonymousObjectFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/convertToAnonymousObject/typeArgument.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/convertToAnonymousObject/typeArgument.kt.after index 90a3726b8958..8187f0c042f5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/convertToAnonymousObject/typeArgument.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/convertToAnonymousObject/typeArgument.kt.after @@ -7,4 +7,5 @@ val b = object : B { override fun bar(x: Int): String { return "" } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertToAnonymousObjectFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/convertToAnonymousObject/typeArgument2.kt b/plugins/kotlin/idea/tests/testData/quickfix/convertToAnonymousObject/typeArgument2.kt index 2d954c725d06..66dacc20e20a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/convertToAnonymousObject/typeArgument2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/convertToAnonymousObject/typeArgument2.kt @@ -3,4 +3,5 @@ interface B { fun bar(a: Z, b: Y): X } -val b = B { a: Int, b: Long -> "" } \ No newline at end of file +val b = B { a: Int, b: Long -> "" } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertToAnonymousObjectFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/convertToAnonymousObject/typeArgument2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/convertToAnonymousObject/typeArgument2.kt.after index 6fabdbbf1a42..12058935db23 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/convertToAnonymousObject/typeArgument2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/convertToAnonymousObject/typeArgument2.kt.after @@ -7,4 +7,5 @@ val b = object : B { override fun bar(a: Int, b: Long): String { return "" } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertToAnonymousObjectFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/convertToAnonymousObject/unit.kt b/plugins/kotlin/idea/tests/testData/quickfix/convertToAnonymousObject/unit.kt index e4887d72fb6f..d53d351ebb6d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/convertToAnonymousObject/unit.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/convertToAnonymousObject/unit.kt @@ -10,4 +10,5 @@ fun test() { I { foo() } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertToAnonymousObjectFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/convertToAnonymousObject/unit.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/convertToAnonymousObject/unit.kt.after index 1bdfc511d144..1d417bdb2eac 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/convertToAnonymousObject/unit.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/convertToAnonymousObject/unit.kt.after @@ -12,4 +12,5 @@ fun test() { foo() } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertToAnonymousObjectFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/convertToBlockBody/simple.kt b/plugins/kotlin/idea/tests/testData/quickfix/convertToBlockBody/simple.kt index ecd8951c2255..6aaa88293dce 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/convertToBlockBody/simple.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/convertToBlockBody/simple.kt @@ -8,4 +8,6 @@ fun foo(): Int = when { else -> 3 } -fun bar() {} \ No newline at end of file +fun bar() {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertToBlockBodyFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertToBlockBodyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/convertToBlockBody/simple.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/convertToBlockBody/simple.kt.after index 62fc25f08c18..6b6e4b8e3df1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/convertToBlockBody/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/convertToBlockBody/simple.kt.after @@ -11,4 +11,6 @@ fun foo(): Int { } } -fun bar() {} \ No newline at end of file +fun bar() {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertToBlockBodyFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertToBlockBodyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/convertToIsArrayOfCall/arrayLhs.kt b/plugins/kotlin/idea/tests/testData/quickfix/convertToIsArrayOfCall/arrayLhs.kt index 694896926d10..65f7722f484b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/convertToIsArrayOfCall/arrayLhs.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/convertToIsArrayOfCall/arrayLhs.kt @@ -3,4 +3,5 @@ fun test(a: Array<*>) { if (a is Array) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertToIsArrayOfCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/convertToIsArrayOfCall/arrayLhs.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/convertToIsArrayOfCall/arrayLhs.kt.after index e337160596d7..9989f30a81e0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/convertToIsArrayOfCall/arrayLhs.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/convertToIsArrayOfCall/arrayLhs.kt.after @@ -3,4 +3,5 @@ fun test(a: Array<*>) { if (a.isArrayOf()) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertToIsArrayOfCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/convertToIsArrayOfCall/basic.kt b/plugins/kotlin/idea/tests/testData/quickfix/convertToIsArrayOfCall/basic.kt index 6c0ca76d1cd4..e388954303e1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/convertToIsArrayOfCall/basic.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/convertToIsArrayOfCall/basic.kt @@ -3,4 +3,5 @@ fun test(a: Any) { if (a is Array) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertToIsArrayOfCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/convertToIsArrayOfCall/basic.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/convertToIsArrayOfCall/basic.kt.after index 38bb9d26ff7b..03f2b2c9e7c8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/convertToIsArrayOfCall/basic.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/convertToIsArrayOfCall/basic.kt.after @@ -3,4 +3,5 @@ fun test(a: Any) { if (a is Array<*> && a.isArrayOf()) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertToIsArrayOfCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/convertToIsArrayOfCall/negatedArrayLhs.kt b/plugins/kotlin/idea/tests/testData/quickfix/convertToIsArrayOfCall/negatedArrayLhs.kt index 82fa3a35aeec..5e3af5d9ee50 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/convertToIsArrayOfCall/negatedArrayLhs.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/convertToIsArrayOfCall/negatedArrayLhs.kt @@ -3,4 +3,5 @@ fun test(a: Array<*>) { if (a !is Array) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertToIsArrayOfCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/convertToIsArrayOfCall/negatedArrayLhs.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/convertToIsArrayOfCall/negatedArrayLhs.kt.after index 8a118a2dc5c1..b2b26f45bae3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/convertToIsArrayOfCall/negatedArrayLhs.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/convertToIsArrayOfCall/negatedArrayLhs.kt.after @@ -3,4 +3,5 @@ fun test(a: Array<*>) { if (!a.isArrayOf()) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertToIsArrayOfCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/convertToIsArrayOfCall/negatedBasic.kt b/plugins/kotlin/idea/tests/testData/quickfix/convertToIsArrayOfCall/negatedBasic.kt index bf11813b5d09..d083035f1782 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/convertToIsArrayOfCall/negatedBasic.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/convertToIsArrayOfCall/negatedBasic.kt @@ -3,4 +3,5 @@ fun test(a: Any) { if (a !is Array) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertToIsArrayOfCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/convertToIsArrayOfCall/negatedBasic.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/convertToIsArrayOfCall/negatedBasic.kt.after index 94365195644f..7b57e0921213 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/convertToIsArrayOfCall/negatedBasic.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/convertToIsArrayOfCall/negatedBasic.kt.after @@ -3,4 +3,5 @@ fun test(a: Any) { if (!(a is Array<*> && a.isArrayOf())) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertToIsArrayOfCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/convertToIsArrayOfCall/negatedNullableArrayLhs.kt b/plugins/kotlin/idea/tests/testData/quickfix/convertToIsArrayOfCall/negatedNullableArrayLhs.kt index 5acd8c4c4408..6d7740b60a34 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/convertToIsArrayOfCall/negatedNullableArrayLhs.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/convertToIsArrayOfCall/negatedNullableArrayLhs.kt @@ -3,4 +3,5 @@ fun test(a: Array<*>?) { if (a !is Array) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertToIsArrayOfCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/convertToIsArrayOfCall/negatedNullableArrayLhs.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/convertToIsArrayOfCall/negatedNullableArrayLhs.kt.after index 2cb05bff5237..09b160ac0ebb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/convertToIsArrayOfCall/negatedNullableArrayLhs.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/convertToIsArrayOfCall/negatedNullableArrayLhs.kt.after @@ -3,4 +3,5 @@ fun test(a: Array<*>?) { if (a?.isArrayOf() != true) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertToIsArrayOfCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/convertToIsArrayOfCall/nullableArrayLhs.kt b/plugins/kotlin/idea/tests/testData/quickfix/convertToIsArrayOfCall/nullableArrayLhs.kt index 2336a284685b..362321578029 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/convertToIsArrayOfCall/nullableArrayLhs.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/convertToIsArrayOfCall/nullableArrayLhs.kt @@ -3,4 +3,5 @@ fun test(a: Array<*>?) { if (a is Array) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertToIsArrayOfCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/convertToIsArrayOfCall/nullableArrayLhs.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/convertToIsArrayOfCall/nullableArrayLhs.kt.after index 1c14a1a6f209..a797d68c057a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/convertToIsArrayOfCall/nullableArrayLhs.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/convertToIsArrayOfCall/nullableArrayLhs.kt.after @@ -3,4 +3,5 @@ fun test(a: Array<*>?) { if (a?.isArrayOf() == true) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertToIsArrayOfCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/annotationEntry/annotationNoBrackets.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/annotationEntry/annotationNoBrackets.kt index 8cd03d119f20..ad1ee05bf507 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/annotationEntry/annotationNoBrackets.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/annotationEntry/annotationNoBrackets.kt @@ -2,4 +2,5 @@ @foo(1, "2") fun test() { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix$LowPriorityCreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/annotationEntry/annotationNoBrackets.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/annotationEntry/annotationNoBrackets.kt.after index b84973676546..ad659cbe1940 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/annotationEntry/annotationNoBrackets.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/annotationEntry/annotationNoBrackets.kt.after @@ -5,3 +5,4 @@ } annotation class foo(val i: Int, val s: String) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix$LowPriorityCreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/annotationEntry/annotationNoParamList.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/annotationEntry/annotationNoParamList.kt index cd6b088cf6e5..dc3b94ba1a58 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/annotationEntry/annotationNoParamList.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/annotationEntry/annotationNoParamList.kt @@ -2,4 +2,5 @@ @[foo] fun test() { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix$LowPriorityCreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/annotationEntry/annotationNoParamList.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/annotationEntry/annotationNoParamList.kt.after index 8944ce5988f2..bfdd99f927ca 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/annotationEntry/annotationNoParamList.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/annotationEntry/annotationNoParamList.kt.after @@ -5,3 +5,4 @@ } annotation class foo +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix$LowPriorityCreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/annotationEntry/annotationNoParams.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/annotationEntry/annotationNoParams.kt index bac03a2791fd..1b65ad52673c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/annotationEntry/annotationNoParams.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/annotationEntry/annotationNoParams.kt @@ -2,4 +2,5 @@ @[foo()] fun test() { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix$LowPriorityCreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/annotationEntry/annotationNoParams.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/annotationEntry/annotationNoParams.kt.after index 4fcadc7e28d3..7ef71c0ec35c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/annotationEntry/annotationNoParams.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/annotationEntry/annotationNoParams.kt.after @@ -5,3 +5,4 @@ } annotation class foo +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix$LowPriorityCreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/annotationEntry/annotationWithParams.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/annotationEntry/annotationWithParams.kt index b7af5e907271..b30eba838794 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/annotationEntry/annotationWithParams.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/annotationEntry/annotationWithParams.kt @@ -2,4 +2,5 @@ @[foo(1, "2")] fun test() { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix$LowPriorityCreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/annotationEntry/annotationWithParams.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/annotationEntry/annotationWithParams.kt.after index 21a4ae54f02c..1dfa697c7d8d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/annotationEntry/annotationWithParams.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/annotationEntry/annotationWithParams.kt.after @@ -5,3 +5,4 @@ } annotation class foo(val i: Int, val s: String) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix$LowPriorityCreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/annotationEntry/annotationWithTypeParams.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/annotationEntry/annotationWithTypeParams.kt index f9da59b755f2..5e807c22af98 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/annotationEntry/annotationWithTypeParams.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/annotationEntry/annotationWithTypeParams.kt @@ -2,4 +2,5 @@ @[foo(1, "2")] fun test() { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix$LowPriorityCreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/annotationEntry/annotationWithTypeParams.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/annotationEntry/annotationWithTypeParams.kt.after index 1e95d920f86c..5b42cdaa11a0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/annotationEntry/annotationWithTypeParams.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/annotationEntry/annotationWithTypeParams.kt.after @@ -5,3 +5,4 @@ } annotation class foo(val i: Int, val s: String) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix$LowPriorityCreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/annotationEntry/singleArgAnnotation.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/annotationEntry/singleArgAnnotation.kt index 1cca053960ec..726a35e8d29d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/annotationEntry/singleArgAnnotation.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/annotationEntry/singleArgAnnotation.kt @@ -2,4 +2,5 @@ @[foo(1)] fun test() { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix$LowPriorityCreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/annotationEntry/singleArgAnnotation.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/annotationEntry/singleArgAnnotation.kt.after index 74412ceaac13..0024ad79b3dc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/annotationEntry/singleArgAnnotation.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/annotationEntry/singleArgAnnotation.kt.after @@ -5,3 +5,4 @@ } annotation class foo(val value: Int) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix$LowPriorityCreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/annotationEntry/singleNamedArgAnnotation.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/annotationEntry/singleNamedArgAnnotation.kt index b4d0ae464960..5e1488b1cfea 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/annotationEntry/singleNamedArgAnnotation.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/annotationEntry/singleNamedArgAnnotation.kt @@ -2,4 +2,5 @@ @[foo(fooBar = 1)] fun test() { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix$LowPriorityCreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/annotationEntry/singleNamedArgAnnotation.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/annotationEntry/singleNamedArgAnnotation.kt.after index b09076dac909..c71291b20628 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/annotationEntry/singleNamedArgAnnotation.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/annotationEntry/singleNamedArgAnnotation.kt.after @@ -5,3 +5,4 @@ } annotation class foo(val fooBar: Int) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix$LowPriorityCreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callInAnnotationEntry.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callInAnnotationEntry.kt index a84e2ed1256d..9f5df85686cc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callInAnnotationEntry.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callInAnnotationEntry.kt @@ -3,4 +3,5 @@ @[foo(1, "2", bar("3", 4))] fun test() { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix$LowPriorityCreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callInAnnotationEntry.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callInAnnotationEntry.kt.after index b572019cf931..1258d805c89d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callInAnnotationEntry.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callInAnnotationEntry.kt.after @@ -6,3 +6,4 @@ } annotation class bar(val s: String, val i: Int) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix$LowPriorityCreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callInLambda.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callInLambda.kt index 389b38ee0b91..54b4930d0bfd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callInLambda.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callInLambda.kt @@ -4,4 +4,5 @@ fun run(f: () -> T) = f() fun test() { run { Foo() } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callInLambda.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callInLambda.kt.after index 29a5a20b0434..d3c460ba4210 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callInLambda.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callInLambda.kt.after @@ -9,3 +9,4 @@ fun test() { class Foo { } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callInLocalFunNoReceiver.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callInLocalFunNoReceiver.kt index fe5f2b298899..e1af83246915 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callInLocalFunNoReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callInLocalFunNoReceiver.kt @@ -2,4 +2,5 @@ fun test() { fun nestedTest() = Foo(2, "2") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callInLocalFunNoReceiver.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callInLocalFunNoReceiver.kt.after index 3344ffe661e1..6d1576e115a6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callInLocalFunNoReceiver.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callInLocalFunNoReceiver.kt.after @@ -7,3 +7,4 @@ fun test() { class Foo(i: Int, s: String) { } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callInMemberFunNoReceiver.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callInMemberFunNoReceiver.kt index 042e7f406075..c3eacde23dac 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callInMemberFunNoReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callInMemberFunNoReceiver.kt @@ -4,4 +4,5 @@ class A { class B { fun test() = Foo(2, "2") } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callInMemberFunNoReceiver.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callInMemberFunNoReceiver.kt.after index c745a937b427..89472e53000e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callInMemberFunNoReceiver.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callInMemberFunNoReceiver.kt.after @@ -9,3 +9,4 @@ class A { class Foo(i: Int, s: String) { } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callInMemberValDelegateRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callInMemberValDelegateRuntime.kt index 0bb854097c49..f97e854f7cd7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callInMemberValDelegateRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callInMemberValDelegateRuntime.kt @@ -6,3 +6,5 @@ open class B class A(val t: T) { val x: B by Foo(t, "") } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callInMemberValDelegateRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callInMemberValDelegateRuntime.kt.after index 9c6c1e23244f..94e308da2a1e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callInMemberValDelegateRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callInMemberValDelegateRuntime.kt.after @@ -12,3 +12,5 @@ class A(val t: T) { class Foo(t: T, s: String) : ReadOnlyProperty, B> { } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callInMemberVarDelegateRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callInMemberVarDelegateRuntime.kt index 559da6925d83..f8356fa8359f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callInMemberVarDelegateRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callInMemberVarDelegateRuntime.kt @@ -6,3 +6,5 @@ open class B class A(val t: T) { var x: B by Foo(t, "") } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callInMemberVarDelegateRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callInMemberVarDelegateRuntime.kt.after index bef86c686608..e5d8783e68f8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callInMemberVarDelegateRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callInMemberVarDelegateRuntime.kt.after @@ -12,3 +12,5 @@ class A(val t: T) { class Foo(t: T, s: String) : ReadWriteProperty, B> { } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callInWhenEntry.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callInWhenEntry.kt index e5e99df5f8bc..a55f378ea055 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callInWhenEntry.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callInWhenEntry.kt @@ -12,4 +12,5 @@ fun test(n: Int): I? { } } else null -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callInWhenEntry.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callInWhenEntry.kt.after index c21f728f360d..cf21d29a7e3b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callInWhenEntry.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callInWhenEntry.kt.after @@ -17,3 +17,4 @@ fun test(n: Int): I? { class AAA(s: String) : I() { } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callNoReceiver.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callNoReceiver.kt index 01dc577ebd2a..2cf830b08209 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callNoReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callNoReceiver.kt @@ -1,3 +1,4 @@ // "Create class 'Foo'" "true" -fun test() = Foo(2, "2") \ No newline at end of file +fun test() = Foo(2, "2") +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callNoReceiver.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callNoReceiver.kt.after index 71349e2432fa..51b8e2bf5c1c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callNoReceiver.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callNoReceiver.kt.after @@ -5,3 +5,4 @@ fun test() = Foo(2, "2") class Foo(i: Int, s: String) { } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithClassQualifier.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithClassQualifier.kt index fd80a9b63078..0398f7b42b78 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithClassQualifier.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithClassQualifier.kt @@ -6,4 +6,5 @@ class A(val n: T) { fun test() { val a = A.Foo(2) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithClassQualifier.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithClassQualifier.kt.after index f9a28cce817a..4bf2741b37fe 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithClassQualifier.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithClassQualifier.kt.after @@ -9,4 +9,5 @@ class A(val n: T) { fun test() { val a = A.Foo(2) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithExplicitParamNames.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithExplicitParamNames.kt index cea2e131bef4..012f8ea59c51 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithExplicitParamNames.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithExplicitParamNames.kt @@ -2,4 +2,5 @@ class A(n: Int) -fun test() = Foo(abc = 1, ghi = A(2), def = "s") \ No newline at end of file +fun test() = Foo(abc = 1, ghi = A(2), def = "s") +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithExplicitParamNames.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithExplicitParamNames.kt.after index da903a55094a..f948fedab0ff 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithExplicitParamNames.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithExplicitParamNames.kt.after @@ -7,3 +7,4 @@ fun test() = Foo(abc = 1, ghi = A(2), def = "s") class Foo(abc: Int, ghi: A, def: String) { } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithGenericReceiver.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithGenericReceiver.kt index d57cb6610263..c3e76032948a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithGenericReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithGenericReceiver.kt @@ -6,4 +6,5 @@ class A(val n: T) { fun test(u: U) { val a = A(u).Foo(u) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithGenericReceiver.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithGenericReceiver.kt.after index 8f08d4a0957e..609b9eb2c11d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithGenericReceiver.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithGenericReceiver.kt.after @@ -9,4 +9,5 @@ class A(val n: T) { fun test(u: U) { val a = A(u).Foo(u) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithLambdaArg.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithLambdaArg.kt index 2117f0a7ab9c..e856228029ac 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithLambdaArg.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithLambdaArg.kt @@ -2,4 +2,5 @@ fun test() { val a = Foo(2, "2") { p: Int -> p + 1 } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithLambdaArg.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithLambdaArg.kt.after index 27eff9000500..6f480c393bdf 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithLambdaArg.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithLambdaArg.kt.after @@ -7,3 +7,4 @@ fun test() { class Foo(i: Int, s: String, function: (Int) -> Int) { } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithLambdaArgOnly.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithLambdaArgOnly.kt index a6a4f3c1915e..061d7640238f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithLambdaArgOnly.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithLambdaArgOnly.kt @@ -2,4 +2,5 @@ fun test() { val a = Foo { p: Int -> p + 1 } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithLambdaArgOnly.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithLambdaArgOnly.kt.after index 8f06f94d84dd..6538f8274b03 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithLambdaArgOnly.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithLambdaArgOnly.kt.after @@ -7,3 +7,4 @@ fun test() { class Foo(function: (Int) -> Int) { } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithObjectQualifier.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithObjectQualifier.kt index e36a54f4a681..0b3e8cca9665 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithObjectQualifier.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithObjectQualifier.kt @@ -6,4 +6,5 @@ object A { fun test() { val a = A.Foo(2) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithObjectQualifier.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithObjectQualifier.kt.after index 214d4f2035e8..69fb26318cd0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithObjectQualifier.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithObjectQualifier.kt.after @@ -9,4 +9,5 @@ object A { fun test() { val a = A.Foo(2) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithPackageName.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithPackageName.kt index d36638633284..dd78dca23597 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithPackageName.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithPackageName.kt @@ -2,4 +2,5 @@ package Foo -fun test() = Foo(2, "2") \ No newline at end of file +fun test() = Foo(2, "2") +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithPackageName.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithPackageName.kt.after index 52cd2452f4d4..2634179e4256 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithPackageName.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithPackageName.kt.after @@ -7,3 +7,4 @@ fun test() = Foo(2, "2") class Foo(i: Int, s: String) { } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithReceiver.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithReceiver.kt index 530c739f81b2..449e036d566e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithReceiver.kt @@ -6,4 +6,5 @@ class A(val n: T) { fun test() { val a = A(1).Foo(2) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithReceiver.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithReceiver.kt.after index 605f849b8569..7584f011f516 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithReceiver.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithReceiver.kt.after @@ -9,4 +9,5 @@ class A(val n: T) { fun test() { val a = A(1).Foo(2) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithSuperInterface.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithSuperInterface.kt index ee309ece98b3..02d26b37a029 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithSuperInterface.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithSuperInterface.kt @@ -2,4 +2,5 @@ interface A -fun test(): A = Foo(2, "2") \ No newline at end of file +fun test(): A = Foo(2, "2") +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithSuperInterface.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithSuperInterface.kt.after index b451d99c043a..991f00e32bfd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithSuperInterface.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithSuperInterface.kt.after @@ -7,3 +7,4 @@ fun test(): A = Foo(2, "2") class Foo(i: Int, s: String) : A { } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithSuperclassNoConstructorParams.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithSuperclassNoConstructorParams.kt index e7cb2908faed..e0c688e50c7a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithSuperclassNoConstructorParams.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithSuperclassNoConstructorParams.kt @@ -2,4 +2,5 @@ open class A -fun test(): A = Foo(2, "2") \ No newline at end of file +fun test(): A = Foo(2, "2") +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithSuperclassNoConstructorParams.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithSuperclassNoConstructorParams.kt.after index 671a47a650fc..5e607e92292f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithSuperclassNoConstructorParams.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithSuperclassNoConstructorParams.kt.after @@ -7,3 +7,4 @@ fun test(): A = Foo(2, "2") class Foo(i: Int, s: String) : A() { } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithSuperclassWithConstructorParams.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithSuperclassWithConstructorParams.kt index 7dcf5ed3353f..5088827daded 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithSuperclassWithConstructorParams.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithSuperclassWithConstructorParams.kt @@ -3,4 +3,5 @@ open class A(n: Int) -fun test(): A = Foo(2, "2") \ No newline at end of file +fun test(): A = Foo(2, "2") +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithSuperclassWithConstructorParams.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithSuperclassWithConstructorParams.kt.after index 61cc2aea0303..f006d26a1319 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithSuperclassWithConstructorParams.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithSuperclassWithConstructorParams.kt.after @@ -8,3 +8,4 @@ fun test(): A = Foo(2, "2") class Foo(i: Int, s: String) : A() { } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithThisReceiverInClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithThisReceiverInClass.kt index e281da50a42a..3f47f006a3d7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithThisReceiverInClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithThisReceiverInClass.kt @@ -2,4 +2,5 @@ class A(val n: T) { fun test() = this.Foo(2, "2") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithThisReceiverInClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithThisReceiverInClass.kt.after index 395cd5927ad3..71cd95c2b043 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithThisReceiverInClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithThisReceiverInClass.kt.after @@ -6,4 +6,5 @@ class A(val n: T) { inner class Foo(i: Int, s: String) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithThisReceiverInExtension.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithThisReceiverInExtension.kt index f1f175d30f29..9b991b177847 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithThisReceiverInExtension.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithThisReceiverInExtension.kt @@ -4,4 +4,5 @@ class A(val n: T) { } -fun A.test() = this.Foo(2, "2") \ No newline at end of file +fun A.test() = this.Foo(2, "2") +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithThisReceiverInExtension.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithThisReceiverInExtension.kt.after index 5f2037fe7176..67cbcd744661 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithThisReceiverInExtension.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithThisReceiverInExtension.kt.after @@ -7,4 +7,5 @@ class A(val n: T) { } -fun A.test() = this.Foo(2, "2") \ No newline at end of file +fun A.test() = this.Foo(2, "2") +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithThisReceiverInNestedClass1.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithThisReceiverInNestedClass1.kt index e228d8e7ffd5..f237038899db 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithThisReceiverInNestedClass1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithThisReceiverInNestedClass1.kt @@ -4,4 +4,5 @@ class A(val n: T) { inner class B(val m: U) { fun test() = this.Foo(2, "2") } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithThisReceiverInNestedClass1.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithThisReceiverInNestedClass1.kt.after index 9988a1dc6167..d42abb27b989 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithThisReceiverInNestedClass1.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithThisReceiverInNestedClass1.kt.after @@ -8,4 +8,5 @@ class A(val n: T) { } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithThisReceiverInNestedClass2.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithThisReceiverInNestedClass2.kt index 580e39a1eee9..c99d749888c4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithThisReceiverInNestedClass2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithThisReceiverInNestedClass2.kt @@ -4,4 +4,5 @@ class A(val n: T) { inner class B(val m: U) { fun test() = this@A.Foo(2, "2") } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithThisReceiverInNestedClass2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithThisReceiverInNestedClass2.kt.after index d0b098582076..a7daabcf4948 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithThisReceiverInNestedClass2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithThisReceiverInNestedClass2.kt.after @@ -8,4 +8,5 @@ class A(val n: T) { inner class Foo(i: Int, s: String) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithTypeArgsInAnnotationEntry.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithTypeArgsInAnnotationEntry.kt index f233e3b69012..899006f6a514 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithTypeArgsInAnnotationEntry.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithTypeArgsInAnnotationEntry.kt @@ -3,4 +3,5 @@ @[foo(1, "2", bar("3", 4))] fun test() { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix$LowPriorityCreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithTypeArgsInAnnotationEntry.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithTypeArgsInAnnotationEntry.kt.after index bf867efbbc25..e559eb8af77e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithTypeArgsInAnnotationEntry.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/callWithTypeArgsInAnnotationEntry.kt.after @@ -6,3 +6,4 @@ } annotation class bar(val s: String, val i: Int) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix$LowPriorityCreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/createNestedClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/createNestedClass.kt index fad7bf26b8f9..edc636e74910 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/createNestedClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/createNestedClass.kt @@ -4,4 +4,5 @@ class A { class B { val a = Nested() } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/createNestedClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/createNestedClass.kt.after index ffc533c74fc4..031e65a1fb21 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/createNestedClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/createNestedClass.kt.after @@ -8,4 +8,5 @@ class A { } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/createNestedClassInInner.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/createNestedClassInInner.kt index fd9fa86d74cf..72b369f98501 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/createNestedClassInInner.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/createNestedClassInInner.kt @@ -4,4 +4,5 @@ class A { inner class B { val a = Nested() } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/createNestedClassInInner.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/createNestedClassInInner.kt.after index 986a3d7c9b31..dbb722d2a3b5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/createNestedClassInInner.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/createNestedClassInInner.kt.after @@ -8,4 +8,5 @@ class A { } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/expectedTypeBySuperFunction.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/expectedTypeBySuperFunction.kt index 95d8edd967e7..ccf600ddbc60 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/expectedTypeBySuperFunction.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/expectedTypeBySuperFunction.kt @@ -6,4 +6,5 @@ interface A { class B : A { override fun f() = XImpl() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/expectedTypeBySuperFunction.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/expectedTypeBySuperFunction.kt.after index 27a9647874b3..50f4637ea60e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/expectedTypeBySuperFunction.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/expectedTypeBySuperFunction.kt.after @@ -11,3 +11,4 @@ class B : A { class XImpl : X { } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/inReturn.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/inReturn.kt index 5d9bafb08d05..6bcc8411a02c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/inReturn.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/inReturn.kt @@ -11,4 +11,5 @@ class Transaction(vararg val p: Item) fun place() { val transactions = listOf(Transaction(Item(10.0, EUR), Item(10.0, EUR))) return BookKeeper(transactions) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/inReturn.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/inReturn.kt.after index 7d8c9ce1c77a..4fb41f3308a0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/inReturn.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/inReturn.kt.after @@ -16,3 +16,4 @@ fun place() { class BookKeeper(transactions: List) { } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/inReturn2.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/inReturn2.kt index 9316950aead6..da8dd6acb6a6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/inReturn2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/inReturn2.kt @@ -14,4 +14,5 @@ fun place() { if (transactions.isNotEmpty()) { return BookKeeper(transactions) } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/inReturn2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/inReturn2.kt.after index c37555a40a63..18be735f76aa 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/inReturn2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/inReturn2.kt.after @@ -19,3 +19,4 @@ fun place() { class BookKeeper(transactions: List) { } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/parameterClassIsInternal.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/parameterClassIsInternal.kt index 986a07edca61..8c278f3c532b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/parameterClassIsInternal.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/parameterClassIsInternal.kt @@ -3,3 +3,5 @@ internal class Foo val bar = Bar(Foo()) + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/parameterClassIsInternal.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/parameterClassIsInternal.kt.after index 3bfe69c12d39..0f302b439eb4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/parameterClassIsInternal.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/parameterClassIsInternal.kt.after @@ -7,3 +7,5 @@ val bar = Bar(Foo()) class Bar internal constructor(foo: Foo) { } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/parameterClassIsPrivate.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/parameterClassIsPrivate.kt index 3f8b2feff0b0..f16db5487d6c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/parameterClassIsPrivate.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/parameterClassIsPrivate.kt @@ -3,3 +3,5 @@ private class Foo val bar = Bar(Foo()) + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/parameterClassIsPrivate.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/parameterClassIsPrivate.kt.after index 46fdc9141102..89fddb05e67b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/parameterClassIsPrivate.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/parameterClassIsPrivate.kt.after @@ -7,3 +7,5 @@ val bar = Bar(Foo()) class Bar private constructor(foo: Foo) { } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/parameterClassIsPublic.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/parameterClassIsPublic.kt index c24c6158caed..b7c33c3cb662 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/parameterClassIsPublic.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/parameterClassIsPublic.kt @@ -3,3 +3,5 @@ class Foo val bar = Bar(Foo()) + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/parameterClassIsPublic.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/parameterClassIsPublic.kt.after index a18037cb8889..b49a8622289a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/parameterClassIsPublic.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/parameterClassIsPublic.kt.after @@ -7,3 +7,5 @@ val bar = Bar(Foo()) class Bar(foo: Foo) { } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/quotedName.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/quotedName.kt index 3457ac10ea5a..8f259a866102 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/quotedName.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/quotedName.kt @@ -1,4 +1,5 @@ // "Create class 'A!u00A0'" "true" fun test() { val t = `A!u00A0`(1) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/quotedName.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/quotedName.kt.after index da9a8af3d70a..c07f61576ce3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/quotedName.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/quotedName.kt.after @@ -6,3 +6,4 @@ fun test() { class `A!u00A0`(i: Int) { } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/singleArgCallInAnnotationEntry.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/singleArgCallInAnnotationEntry.kt index 50cf088af63f..0c26df3b5497 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/singleArgCallInAnnotationEntry.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/singleArgCallInAnnotationEntry.kt @@ -3,4 +3,5 @@ @[foo(1, "2", bar("3"))] fun test() { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix$LowPriorityCreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/singleArgCallInAnnotationEntry.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/singleArgCallInAnnotationEntry.kt.after index 3aa35a955455..89180f397cb1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/singleArgCallInAnnotationEntry.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/singleArgCallInAnnotationEntry.kt.after @@ -6,3 +6,4 @@ } annotation class bar(val value: String) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix$LowPriorityCreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/singleNamedArgCallInAnnotationEntry.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/singleNamedArgCallInAnnotationEntry.kt index eaed102b3f4c..d8ca5c4126fa 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/singleNamedArgCallInAnnotationEntry.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/singleNamedArgCallInAnnotationEntry.kt @@ -3,4 +3,5 @@ @[foo(1, "2", bar(fooBar = "3"))] fun test() { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix$LowPriorityCreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/singleNamedArgCallInAnnotationEntry.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/singleNamedArgCallInAnnotationEntry.kt.after index 71a139b7b45e..0af853c12e64 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/singleNamedArgCallInAnnotationEntry.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/singleNamedArgCallInAnnotationEntry.kt.after @@ -6,3 +6,4 @@ } annotation class bar(val fooBar: String) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix$LowPriorityCreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/callWithStarProjection.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/callWithStarProjection.kt index 04c06cd2e1bc..8e652cfdf54b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/callWithStarProjection.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/callWithStarProjection.kt @@ -1,3 +1,4 @@ // "Create class 'Foo'" "true" -fun test() = Foo(2, "2") \ No newline at end of file +fun test() = Foo(2, "2") +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/callWithStarProjection.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/callWithStarProjection.kt.after index 0b1107204e70..ff8f4c83d0bf 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/callWithStarProjection.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/callWithStarProjection.kt.after @@ -5,3 +5,4 @@ fun test() = Foo(2, "2") class Foo(i: Int, t: T) { } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/classMember.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/classMember.kt index 2c02a0d3d3a9..3f0027ea30c1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/classMember.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/classMember.kt @@ -6,4 +6,5 @@ class B(val t: T) { class A(val b: B) { fun test() = B.Foo(2, "2") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/classMember.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/classMember.kt.after index 8ebd2fca51c1..5bdad80d5f4b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/classMember.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/classMember.kt.after @@ -9,4 +9,5 @@ class B(val t: T) { class A(val b: B) { fun test() = B.Foo(2, "2") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/classMemberInner.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/classMemberInner.kt index f2cdd0e8cf38..611306c138de 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/classMemberInner.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/classMemberInner.kt @@ -6,4 +6,5 @@ class B(val t: T) { class A(val b: B) { fun test() = b.Foo(2, "2") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/classMemberInner.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/classMemberInner.kt.after index c4b68e340a2b..3b1557c1a1c6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/classMemberInner.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/classMemberInner.kt.after @@ -9,4 +9,5 @@ class B(val t: T) { class A(val b: B) { fun test() = b.Foo(2, "2") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/classMemberInnerPartialSubstitution.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/classMemberInnerPartialSubstitution.kt index 3023bbfbb21f..cf0de1b04fd0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/classMemberInnerPartialSubstitution.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/classMemberInnerPartialSubstitution.kt @@ -6,4 +6,5 @@ class B(val t: T) { class A(val b: B) { fun test() = b.Foo(2, "2") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/classMemberInnerPartialSubstitution.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/classMemberInnerPartialSubstitution.kt.after index 79d0f7a9a89d..8cbc81f9cbfa 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/classMemberInnerPartialSubstitution.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/classMemberInnerPartialSubstitution.kt.after @@ -9,4 +9,5 @@ class B(val t: T) { class A(val b: B) { fun test() = b.Foo(2, "2") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/classMemberInnerWithReceiverArg.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/classMemberInnerWithReceiverArg.kt index 13d6a38b724a..f4a11c4bcfa8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/classMemberInnerWithReceiverArg.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/classMemberInnerWithReceiverArg.kt @@ -6,4 +6,5 @@ class B(val t: T) { class A(val b: B) { fun test() = b.Foo(2, "2") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/classMemberInnerWithReceiverArg.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/classMemberInnerWithReceiverArg.kt.after index edcf1df486f2..41c695057f80 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/classMemberInnerWithReceiverArg.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/classMemberInnerWithReceiverArg.kt.after @@ -9,4 +9,5 @@ class B(val t: T) { class A(val b: B) { fun test() = b.Foo(2, "2") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/classMemberPartialSubstitution.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/classMemberPartialSubstitution.kt index 353e16d957e8..531e86b94382 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/classMemberPartialSubstitution.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/classMemberPartialSubstitution.kt @@ -6,4 +6,5 @@ class B(val t: T) { class A(val b: B) { fun test() = B.Foo(2, "2") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/classMemberPartialSubstitution.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/classMemberPartialSubstitution.kt.after index bcab3a82b9e0..f930d3314a56 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/classMemberPartialSubstitution.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/classMemberPartialSubstitution.kt.after @@ -9,4 +9,5 @@ class B(val t: T) { class A(val b: B) { fun test() = B.Foo(2, "2") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/noReceiver.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/noReceiver.kt index a709d61dcd6c..1e728e438fc4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/noReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/noReceiver.kt @@ -1,3 +1,4 @@ // "Create class 'Foo'" "true" -fun test() = Foo(2, "2") \ No newline at end of file +fun test() = Foo(2, "2") +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/noReceiver.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/noReceiver.kt.after index eae9550e7025..ab5073b91dc9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/noReceiver.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/noReceiver.kt.after @@ -5,3 +5,4 @@ fun test() = Foo(2, "2") class Foo(u: U, t: T) { } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/noReceiverExtraArgs.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/noReceiverExtraArgs.kt index 82fc080b2c66..c2df77015878 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/noReceiverExtraArgs.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/noReceiverExtraArgs.kt @@ -1,3 +1,4 @@ // "Create class 'Foo'" "true" -fun test() = Foo(2, "2") \ No newline at end of file +fun test() = Foo(2, "2") +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/noReceiverExtraArgs.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/noReceiverExtraArgs.kt.after index 6e53a8649a98..c3b9d7a2dd20 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/noReceiverExtraArgs.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/noReceiverExtraArgs.kt.after @@ -5,3 +5,4 @@ fun test() = Foo(2, "2") class Foo(u: U, t: T) { } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/noReceiverLongName.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/noReceiverLongName.kt index 90489c8b9693..75ac24a89254 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/noReceiverLongName.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/noReceiverLongName.kt @@ -1,3 +1,4 @@ // "Create class 'Foo'" "true" -fun test() = Foo(2, "2") \ No newline at end of file +fun test() = Foo(2, "2") +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/noReceiverLongName.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/noReceiverLongName.kt.after index eae9550e7025..ab5073b91dc9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/noReceiverLongName.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/noReceiverLongName.kt.after @@ -5,3 +5,4 @@ fun test() = Foo(2, "2") class Foo(u: U, t: T) { } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/noReceiverPartialSubstitution.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/noReceiverPartialSubstitution.kt index fe0a28f162ff..3855f0991762 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/noReceiverPartialSubstitution.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/noReceiverPartialSubstitution.kt @@ -1,3 +1,4 @@ // "Create class 'Foo'" "true" -fun test() = Foo(2, "2") \ No newline at end of file +fun test() = Foo(2, "2") +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/noReceiverPartialSubstitution.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/noReceiverPartialSubstitution.kt.after index 732044704f0c..47dbef816635 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/noReceiverPartialSubstitution.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/noReceiverPartialSubstitution.kt.after @@ -5,3 +5,4 @@ fun test() = Foo(2, "2") class Foo(t: T, s: String) { } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/withExpectedTypeNoReceiver.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/withExpectedTypeNoReceiver.kt index 73d633f48658..05d465577654 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/withExpectedTypeNoReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/withExpectedTypeNoReceiver.kt @@ -4,4 +4,5 @@ open class A { } -fun test(a: A): A = Foo(a, 1) \ No newline at end of file +fun test(a: A): A = Foo(a, 1) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/withExpectedTypeNoReceiver.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/withExpectedTypeNoReceiver.kt.after index 8ae2597b0804..3470fe67cb2c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/withExpectedTypeNoReceiver.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/withExpectedTypeNoReceiver.kt.after @@ -9,3 +9,4 @@ fun test(a: A): A = Foo(a, 1) class Foo(a: T, u: U) : A() { } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/unusedCallResult.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/unusedCallResult.kt index df05df5ca6b8..33b168176dd7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/unusedCallResult.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/unusedCallResult.kt @@ -2,4 +2,5 @@ fun test() { Foo(2, "2") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/unusedCallResult.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/unusedCallResult.kt.after index dabb0452969d..0cc7d2f0dddc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/unusedCallResult.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/unusedCallResult.kt.after @@ -7,3 +7,4 @@ fun test() { class Foo(i: Int, s: String) { } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/createSuperClassFromSuperTypeEntry.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/createSuperClassFromSuperTypeEntry.kt index 8f80cfaaa18d..1724ef5a11b4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/createSuperClassFromSuperTypeEntry.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/createSuperClassFromSuperTypeEntry.kt @@ -2,3 +2,5 @@ class A : Unknown { constructor() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/createSuperClassFromSuperTypeEntry.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/createSuperClassFromSuperTypeEntry.kt.after index 3dd501cbdcc8..23bb46e9a6e5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/createSuperClassFromSuperTypeEntry.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/createSuperClassFromSuperTypeEntry.kt.after @@ -6,3 +6,5 @@ class A : Unknown { open class Unknown { } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/createSuperClassFromSuperTypeEntry2.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/createSuperClassFromSuperTypeEntry2.kt index 40c0b4a4f5db..5e0aaf9e5853 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/createSuperClassFromSuperTypeEntry2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/createSuperClassFromSuperTypeEntry2.kt @@ -4,4 +4,5 @@ // ACTION: Create type parameter 'Unknown' in class 'A' // DISABLE-ERRORS class A : Unknown { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/createSuperClassFromSuperTypeEntry2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/createSuperClassFromSuperTypeEntry2.kt.after index d5e7e36c2bdf..f2a9e54eda7c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/createSuperClassFromSuperTypeEntry2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/createSuperClassFromSuperTypeEntry2.kt.after @@ -9,3 +9,4 @@ class A : Unknown { open class Unknown { } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/createSuperClassFromSuperTypeEntry3.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/createSuperClassFromSuperTypeEntry3.kt index a646d79f28ac..070f5fe91705 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/createSuperClassFromSuperTypeEntry3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/createSuperClassFromSuperTypeEntry3.kt @@ -5,4 +5,5 @@ // DISABLE-ERRORS class A() : Unknown { constructor(i: Int) : this() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/createSuperClassFromSuperTypeEntry3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/createSuperClassFromSuperTypeEntry3.kt.after index 0512befcfe1c..b3a5e231bd23 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/createSuperClassFromSuperTypeEntry3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/createSuperClassFromSuperTypeEntry3.kt.after @@ -10,3 +10,4 @@ class A() : Unknown { open class Unknown { } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/createSuperclassInsideSubclass.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/createSuperclassInsideSubclass.kt index 717bfc0ba1e0..348e8aa3febd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/createSuperclassInsideSubclass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/createSuperclassInsideSubclass.kt @@ -4,4 +4,5 @@ package p // TARGET_PARENT: class Foo: A() { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/createSuperclassInsideSubclass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/createSuperclassInsideSubclass.kt.after index 2e97cee32b4d..e31bd1798a26 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/createSuperclassInsideSubclass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/createSuperclassInsideSubclass.kt.after @@ -9,3 +9,4 @@ class Foo: A() { open class A { } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/delegatorToSupercallNoReceiver.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/delegatorToSupercallNoReceiver.kt index 093e960e7e55..93f0b17f0938 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/delegatorToSupercallNoReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/delegatorToSupercallNoReceiver.kt @@ -3,4 +3,5 @@ package p class Foo: A(1, "2") { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/delegatorToSupercallNoReceiver.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/delegatorToSupercallNoReceiver.kt.after index 74dbd1f3eb24..914924b7754f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/delegatorToSupercallNoReceiver.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/delegatorToSupercallNoReceiver.kt.after @@ -8,3 +8,4 @@ class Foo: A(1, "2") { open class A(i: Int, s: String) { } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/delegatorToSupercallWithClassQualifier.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/delegatorToSupercallWithClassQualifier.kt index 94137233c199..91cae5d4e769 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/delegatorToSupercallWithClassQualifier.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/delegatorToSupercallWithClassQualifier.kt @@ -7,4 +7,5 @@ class X { class Foo: X.A(1, "2") { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/delegatorToSupercallWithClassQualifier.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/delegatorToSupercallWithClassQualifier.kt.after index bb667cee7135..ab8a78e7bbb9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/delegatorToSupercallWithClassQualifier.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/delegatorToSupercallWithClassQualifier.kt.after @@ -10,4 +10,5 @@ class X { class Foo: X.A(1, "2") { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/delegatorToSupercallWithPackageQualifier.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/delegatorToSupercallWithPackageQualifier.kt index 2d7c39780543..29b2df49fbf6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/delegatorToSupercallWithPackageQualifier.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/delegatorToSupercallWithPackageQualifier.kt @@ -3,4 +3,5 @@ package p class Foo: p.A(1, "2") { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/delegatorToSupercallWithPackageQualifier.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/delegatorToSupercallWithPackageQualifier.kt.after index d90271e047b0..51d3942fbbf4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/delegatorToSupercallWithPackageQualifier.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/delegatorToSupercallWithPackageQualifier.kt.after @@ -8,3 +8,4 @@ class Foo: p.A(1, "2") { open class A(i: Int, s: String) { } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/delegatorToSupercallWithParamNames.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/delegatorToSupercallWithParamNames.kt index 03fd41522239..a3f79df05455 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/delegatorToSupercallWithParamNames.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/delegatorToSupercallWithParamNames.kt @@ -7,4 +7,5 @@ class B { class Foo: A(abc = 1, ghi = "2", def = B()) { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/delegatorToSupercallWithParamNames.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/delegatorToSupercallWithParamNames.kt.after index bbf6103ddc89..a20f47864ffd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/delegatorToSupercallWithParamNames.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/delegatorToSupercallWithParamNames.kt.after @@ -12,3 +12,4 @@ class Foo: A(abc = 1, ghi = "2", def = B()) { open class A(abc: Int, ghi: String, def: B) { } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/delegatorToSupercallWithTypeParams.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/delegatorToSupercallWithTypeParams.kt index 9e921c3e60e0..0c0a0403c8d2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/delegatorToSupercallWithTypeParams.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/delegatorToSupercallWithTypeParams.kt @@ -3,4 +3,5 @@ package p class Foo: A(1, "2") { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/delegatorToSupercallWithTypeParams.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/delegatorToSupercallWithTypeParams.kt.after index 94ac1a5725a1..3756e36f3a63 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/delegatorToSupercallWithTypeParams.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/delegatorToSupercallWithTypeParams.kt.after @@ -8,3 +8,4 @@ class Foo: A(1, "2") { open class A(t: T, u: U) { } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/interfaceDelegatorToSuperclass.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/interfaceDelegatorToSuperclass.kt index 425e79ac604c..e421e5c55547 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/interfaceDelegatorToSuperclass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/interfaceDelegatorToSuperclass.kt @@ -3,4 +3,5 @@ package p class Foo: A { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/interfaceDelegatorToSuperclass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/interfaceDelegatorToSuperclass.kt.after index 5849738faa71..ffe47f542d37 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/interfaceDelegatorToSuperclass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/interfaceDelegatorToSuperclass.kt.after @@ -8,3 +8,4 @@ class Foo: A { interface A { } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/interfaceDelegatorToSuperclass2.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/interfaceDelegatorToSuperclass2.kt index 40b207ed66d6..f853ded1c514 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/interfaceDelegatorToSuperclass2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/interfaceDelegatorToSuperclass2.kt @@ -4,4 +4,5 @@ package p // TARGET_PARENT: class Foo: A { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/interfaceDelegatorToSuperclass2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/interfaceDelegatorToSuperclass2.kt.after index a0eca92f6bbd..ffc1ccbd6b72 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/interfaceDelegatorToSuperclass2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/delegationSpecifier/interfaceDelegatorToSuperclass2.kt.after @@ -9,3 +9,4 @@ class Foo: A { interface A { } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/annotationInPackage.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/annotationInPackage.kt index 070d4c540913..eff309977101 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/annotationInPackage.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/annotationInPackage.kt @@ -1,4 +1,5 @@ // "Create annotation 'A'" "true" package p -import p.A \ No newline at end of file +import p.A +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix$LowPriorityCreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/annotationInPackage.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/annotationInPackage.kt.after index 2de6fae14e54..1a888c3ebf2c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/annotationInPackage.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/annotationInPackage.kt.after @@ -4,3 +4,4 @@ package p import p.A annotation class A +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix$LowPriorityCreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/annotationWithQualifier.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/annotationWithQualifier.kt index a603a9373c8c..b947ab208ef8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/annotationWithQualifier.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/annotationWithQualifier.kt @@ -5,4 +5,5 @@ import p.X.A class X { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix$LowPriorityCreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/annotationWithQualifier.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/annotationWithQualifier.kt.after index 1cfd3f872442..65cb19caa170 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/annotationWithQualifier.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/annotationWithQualifier.kt.after @@ -6,4 +6,5 @@ import p.X.A class X { annotation class A -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix$LowPriorityCreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/classInPackage.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/classInPackage.kt index dc853f08399d..33e40375de64 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/classInPackage.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/classInPackage.kt @@ -1,4 +1,5 @@ // "Create class 'A'" "true" package p -import p.A \ No newline at end of file +import p.A +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/classInPackage.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/classInPackage.kt.after index f2be7d36ae7c..eb9cac39dc0c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/classInPackage.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/classInPackage.kt.after @@ -6,3 +6,4 @@ import p.A class A { } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/classWithQualifier.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/classWithQualifier.kt index 44405560847a..7975a20f6070 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/classWithQualifier.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/classWithQualifier.kt @@ -5,4 +5,5 @@ import p.X.A class X { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/classWithQualifier.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/classWithQualifier.kt.after index 959cc57f1fae..42c262dbc559 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/classWithQualifier.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/classWithQualifier.kt.after @@ -8,4 +8,5 @@ class X { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/enumEntryInEnum.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/enumEntryInEnum.kt index a7e6426ca8e8..111918520696 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/enumEntryInEnum.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/enumEntryInEnum.kt @@ -5,4 +5,5 @@ import p.E.A enum class E { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/enumEntryInEnum.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/enumEntryInEnum.kt.after index 55900807d66a..625e1f55a38e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/enumEntryInEnum.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/enumEntryInEnum.kt.after @@ -6,4 +6,5 @@ import p.E.A enum class E { A -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/enumInPackage.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/enumInPackage.kt index c7411e09c4c2..8e505308d68e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/enumInPackage.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/enumInPackage.kt @@ -1,4 +1,5 @@ // "Create enum 'A'" "true" package p -import p.A \ No newline at end of file +import p.A +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/enumInPackage.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/enumInPackage.kt.after index fea857fecd03..159ef989f989 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/enumInPackage.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/enumInPackage.kt.after @@ -6,3 +6,4 @@ import p.A enum class A { } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/enumWithQualifier.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/enumWithQualifier.kt index 18b424ff7613..a0bf119b66c8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/enumWithQualifier.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/enumWithQualifier.kt @@ -5,4 +5,5 @@ import p.X.A class X { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/enumWithQualifier.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/enumWithQualifier.kt.after index 833f78e6e91e..98a13260bc5e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/enumWithQualifier.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/enumWithQualifier.kt.after @@ -8,4 +8,5 @@ class X { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/interfaceInPackage.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/interfaceInPackage.kt index 4ac9a6840e64..35474df2dec7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/interfaceInPackage.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/interfaceInPackage.kt @@ -1,4 +1,5 @@ // "Create interface 'A'" "true" package p -import p.A \ No newline at end of file +import p.A +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/interfaceInPackage.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/interfaceInPackage.kt.after index 707adf69a640..0d88f9abd3b6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/interfaceInPackage.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/interfaceInPackage.kt.after @@ -6,3 +6,4 @@ import p.A interface A { } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/interfaceWithQualifier.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/interfaceWithQualifier.kt index e0dac680a4b7..266bb1b762f9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/interfaceWithQualifier.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/interfaceWithQualifier.kt @@ -5,4 +5,5 @@ import p.X.A class X { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/interfaceWithQualifier.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/interfaceWithQualifier.kt.after index 121cf1510859..fea05b5f4a62 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/interfaceWithQualifier.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/interfaceWithQualifier.kt.after @@ -8,4 +8,5 @@ class X { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/kt21515/callableReferenceOnClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/kt21515/callableReferenceOnClass.kt index 29eac2da5223..3c77c5c28581 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/kt21515/callableReferenceOnClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/kt21515/callableReferenceOnClass.kt @@ -11,4 +11,5 @@ open class Bar { class Foo : Bar() { val a = FromBarCompanion::foo -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExplicitImportForDeprecatedVisibilityFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/kt21515/callableReferenceOnClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/kt21515/callableReferenceOnClass.kt.after index 7a13b8d65a96..09a63a7cc5bd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/kt21515/callableReferenceOnClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/kt21515/callableReferenceOnClass.kt.after @@ -13,4 +13,5 @@ open class Bar { class Foo : Bar() { val a = FromBarCompanion::foo -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExplicitImportForDeprecatedVisibilityFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/kt21515/callableReferenceOnClassWithCompanion.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/kt21515/callableReferenceOnClassWithCompanion.kt index 0bb1a16c3718..2417699d0b5a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/kt21515/callableReferenceOnClassWithCompanion.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/kt21515/callableReferenceOnClassWithCompanion.kt @@ -14,4 +14,5 @@ open class Bar { class Foo : Bar() { val a = FromBarCompanion::foo -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExplicitImportForDeprecatedVisibilityFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/kt21515/callableReferenceOnClassWithCompanion.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/kt21515/callableReferenceOnClassWithCompanion.kt.after index 7571ed00c196..7b8beac1ed3f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/kt21515/callableReferenceOnClassWithCompanion.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/kt21515/callableReferenceOnClassWithCompanion.kt.after @@ -16,4 +16,5 @@ open class Bar { class Foo : Bar() { val a = FromBarCompanion::foo -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExplicitImportForDeprecatedVisibilityFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/kt21515/callableReferenceOnObject.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/kt21515/callableReferenceOnObject.kt index 755fb1e0fec2..d41c40118a47 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/kt21515/callableReferenceOnObject.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/kt21515/callableReferenceOnObject.kt @@ -11,4 +11,5 @@ open class Bar { class Foo : Bar() { val a = FromBarCompanion::foo -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExplicitImportForDeprecatedVisibilityFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/kt21515/callableReferenceOnObject.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/kt21515/callableReferenceOnObject.kt.after index 1110d8e7b03a..b333f245a37c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/kt21515/callableReferenceOnObject.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/kt21515/callableReferenceOnObject.kt.after @@ -13,4 +13,5 @@ open class Bar { class Foo : Bar() { val a = FromBarCompanion::foo -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExplicitImportForDeprecatedVisibilityFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/kt21515/constructor.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/kt21515/constructor.kt index d88b207c211a..f953587b3f01 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/kt21515/constructor.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/kt21515/constructor.kt @@ -9,4 +9,5 @@ open class Bar { class Foo : Bar() { val a = FromBarCompanion() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExplicitImportForDeprecatedVisibilityFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/kt21515/constructor.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/kt21515/constructor.kt.after index e0fead36a976..b144ca560199 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/kt21515/constructor.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/kt21515/constructor.kt.after @@ -11,4 +11,5 @@ open class Bar { class Foo : Bar() { val a = FromBarCompanion() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExplicitImportForDeprecatedVisibilityFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/kt21515/typeReference.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/kt21515/typeReference.kt index 57a25ad98125..2d2dc04d5635 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/kt21515/typeReference.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/kt21515/typeReference.kt @@ -9,4 +9,5 @@ open class Bar { class Foo : Bar() { val a: FromBarCompanion? = null -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExplicitImportForDeprecatedVisibilityFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/kt21515/typeReference.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/kt21515/typeReference.kt.after index f683c5f7ecca..36201f5dc6bd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/kt21515/typeReference.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/kt21515/typeReference.kt.after @@ -11,4 +11,5 @@ open class Bar { class Foo : Bar() { val a: FromBarCompanion? = null -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExplicitImportForDeprecatedVisibilityFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/objectInPackage.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/objectInPackage.kt index 317c7fa2e2b8..fec98ebe86a0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/objectInPackage.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/objectInPackage.kt @@ -1,4 +1,5 @@ // "Create object 'A'" "true" package p -import p.A \ No newline at end of file +import p.A +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/objectInPackage.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/objectInPackage.kt.after index a1ac8d0f8890..23d564aadbd9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/objectInPackage.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/objectInPackage.kt.after @@ -6,3 +6,4 @@ import p.A object A { } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/objectWithQualifier.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/objectWithQualifier.kt index dfc7c3d6dab3..7e11f0e237a1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/objectWithQualifier.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/objectWithQualifier.kt @@ -5,4 +5,5 @@ import p.X.A class X { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/objectWithQualifier.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/objectWithQualifier.kt.after index 1f0cb3b55513..f063f825dffb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/objectWithQualifier.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/objectWithQualifier.kt.after @@ -8,4 +8,5 @@ class X { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/annotationByClassLiteral.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/annotationByClassLiteral.kt index 930b2fed398c..c95fb21b2228 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/annotationByClassLiteral.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/annotationByClassLiteral.kt @@ -3,4 +3,5 @@ fun doSth(){ Foo::class.java } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix$LowPriorityCreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/annotationByClassLiteral.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/annotationByClassLiteral.kt.after index bd39390e3785..86d98b134274 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/annotationByClassLiteral.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/annotationByClassLiteral.kt.after @@ -6,3 +6,4 @@ } annotation class Foo +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix$LowPriorityCreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/classByClassLiteral.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/classByClassLiteral.kt index 069011033ce2..d122c92a52d5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/classByClassLiteral.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/classByClassLiteral.kt @@ -3,4 +3,5 @@ fun doSth(){ Foo::class.java } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/classByClassLiteral.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/classByClassLiteral.kt.after index 4b5146d38ab6..58b55f368daf 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/classByClassLiteral.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/classByClassLiteral.kt.after @@ -8,3 +8,4 @@ class Foo { } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/classByNestedQualifier.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/classByNestedQualifier.kt index 5077cde81483..6d76e7155b67 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/classByNestedQualifier.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/classByNestedQualifier.kt @@ -6,4 +6,5 @@ fun foo() = A.B.C class A { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/classByNestedQualifier.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/classByNestedQualifier.kt.after index 7214d55b7dd1..e4f621dc2b3a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/classByNestedQualifier.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/classByNestedQualifier.kt.after @@ -9,4 +9,5 @@ class A { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/classByQualifier.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/classByQualifier.kt index fa3fef3a47fe..5b23b69cf67b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/classByQualifier.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/classByQualifier.kt @@ -2,4 +2,5 @@ // ERROR: Unresolved reference: B package p -fun foo() = A.B \ No newline at end of file +fun foo() = A.B +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/classByQualifier.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/classByQualifier.kt.after index 6b72e6dec651..dacf07bb7b76 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/classByQualifier.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/classByQualifier.kt.after @@ -7,3 +7,4 @@ fun foo() = A.B class A { } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/classInPrimaryConstructor.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/classInPrimaryConstructor.kt index 1b613834de45..2d866bfa3d61 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/classInPrimaryConstructor.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/classInPrimaryConstructor.kt @@ -1,3 +1,4 @@ // "Create class 'X'" "true" -class Foo(x: X) \ No newline at end of file +class Foo(x: X) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/classInPrimaryConstructor.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/classInPrimaryConstructor.kt.after index 12ec77d94c24..7c5dc50547bf 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/classInPrimaryConstructor.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/classInPrimaryConstructor.kt.after @@ -5,3 +5,4 @@ class Foo(x: X) class X { } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/createNestedObject.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/createNestedObject.kt index 9f0d5f3be21a..0d0a15ac2d00 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/createNestedObject.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/createNestedObject.kt @@ -4,4 +4,5 @@ class A { class B { val a = Nested } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/createNestedObject.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/createNestedObject.kt.after index 255be6f3a863..eb25f0c48f8c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/createNestedObject.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/createNestedObject.kt.after @@ -8,4 +8,5 @@ class A { } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/createNestedObjectInInner.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/createNestedObjectInInner.kt index c557a4e75528..8db7020951f3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/createNestedObjectInInner.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/createNestedObjectInInner.kt @@ -4,4 +4,5 @@ class A { inner class B { val a = Nested } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/createNestedObjectInInner.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/createNestedObjectInInner.kt.after index 173f216a3143..5b9179b16128 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/createNestedObjectInInner.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/createNestedObjectInInner.kt.after @@ -9,3 +9,4 @@ class A { object Nested { } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumByClassLiteral.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumByClassLiteral.kt index 460c154df4f1..3be79ff0ea59 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumByClassLiteral.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumByClassLiteral.kt @@ -3,4 +3,5 @@ fun doSth(){ Foo::class.java } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumByClassLiteral.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumByClassLiteral.kt.after index 14f9d8c3d485..6f4e5886e9b1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumByClassLiteral.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumByClassLiteral.kt.after @@ -8,3 +8,4 @@ enum class Foo { } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumByQualifier.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumByQualifier.kt index a1b6cf4ea80d..96efc98a9a92 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumByQualifier.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumByQualifier.kt @@ -2,4 +2,5 @@ // ERROR: Unresolved reference: B package p -fun foo() = A.B \ No newline at end of file +fun foo() = A.B +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumByQualifier.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumByQualifier.kt.after index dd8af3c65643..146e73d64090 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumByQualifier.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumByQualifier.kt.after @@ -7,3 +7,4 @@ fun foo() = A.B enum class A { } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumEntryAddComma.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumEntryAddComma.kt index 19ffa6567d96..eb71b7fc9d7d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumEntryAddComma.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumEntryAddComma.kt @@ -5,4 +5,5 @@ enum class TopicState { fun foo() { TopicState.PUBLIC -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumEntryAddComma.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumEntryAddComma.kt.after index fb71f516cfa0..fd1cc63d1c01 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumEntryAddComma.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumEntryAddComma.kt.after @@ -6,4 +6,5 @@ enum class TopicState { fun foo() { TopicState.PUBLIC -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumEntryHasComma.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumEntryHasComma.kt index fcee4dca51b4..bcd0d9d148c0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumEntryHasComma.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumEntryHasComma.kt @@ -6,3 +6,5 @@ enum class TopicState { fun foo() { TopicState.PUBLIC } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumEntryHasComma.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumEntryHasComma.kt.after index 87528d2cb647..2beff54b47de 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumEntryHasComma.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumEntryHasComma.kt.after @@ -7,3 +7,5 @@ enum class TopicState { fun foo() { TopicState.PUBLIC } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumEntryHasCommaAndSemicolon.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumEntryHasCommaAndSemicolon.kt index e4689b1d7e77..d0e8742744ea 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumEntryHasCommaAndSemicolon.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumEntryHasCommaAndSemicolon.kt @@ -7,4 +7,5 @@ enum class Bar { fun main() { Bar.C -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumEntryHasCommaAndSemicolon.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumEntryHasCommaAndSemicolon.kt.after index a6d8e409e63b..23f8cd9abbfd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumEntryHasCommaAndSemicolon.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumEntryHasCommaAndSemicolon.kt.after @@ -8,4 +8,5 @@ enum class Bar { fun main() { Bar.C -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumEntryHasCommaAndSemicolon2.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumEntryHasCommaAndSemicolon2.kt index 0829e2f75d00..5d34b98df230 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumEntryHasCommaAndSemicolon2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumEntryHasCommaAndSemicolon2.kt @@ -6,4 +6,5 @@ enum class Baz { fun main() { Baz.C -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumEntryHasCommaAndSemicolon2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumEntryHasCommaAndSemicolon2.kt.after index 2f02183737c1..b67792fd75af 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumEntryHasCommaAndSemicolon2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumEntryHasCommaAndSemicolon2.kt.after @@ -7,4 +7,5 @@ enum class Baz { fun main() { Baz.C -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumEntryHasNoLineBreak.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumEntryHasNoLineBreak.kt index 6ee530c93ac4..3d288957fde8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumEntryHasNoLineBreak.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumEntryHasNoLineBreak.kt @@ -5,4 +5,5 @@ enum class E { fun foo() { E.C -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumEntryHasNoLineBreak.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumEntryHasNoLineBreak.kt.after index 5a21beeab7a6..0c2f3fee246a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumEntryHasNoLineBreak.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumEntryHasNoLineBreak.kt.after @@ -5,4 +5,5 @@ enum class E { fun foo() { E.C -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumEntryHasSemicolon.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumEntryHasSemicolon.kt index d0fefe086c32..ffcd5386c292 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumEntryHasSemicolon.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumEntryHasSemicolon.kt @@ -10,4 +10,5 @@ enum class Test { fun main() { Test.D -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumEntryHasSemicolon.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumEntryHasSemicolon.kt.after index 0177f08a86b5..4a6391d505cb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumEntryHasSemicolon.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumEntryHasSemicolon.kt.after @@ -11,4 +11,5 @@ enum class Test { fun main() { Test.D -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumEntryWithEnumQualifier.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumEntryWithEnumQualifier.kt index 8d776b13ff70..370c7073ba5d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumEntryWithEnumQualifier.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumEntryWithEnumQualifier.kt @@ -5,4 +5,5 @@ fun foo() = X.A enum class X { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumEntryWithEnumQualifier.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumEntryWithEnumQualifier.kt.after index a4794d349b46..cddf4e718ff5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumEntryWithEnumQualifier.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumEntryWithEnumQualifier.kt.after @@ -6,4 +6,5 @@ fun foo() = X.A enum class X { A -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumEntryWithEnumQualifierAndParams.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumEntryWithEnumQualifierAndParams.kt index a05154cedc75..76d8800b7694 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumEntryWithEnumQualifierAndParams.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumEntryWithEnumQualifierAndParams.kt @@ -6,4 +6,5 @@ fun foo() = X.A enum class X(n: Int) { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumEntryWithEnumQualifierAndParams.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumEntryWithEnumQualifierAndParams.kt.after index 201b541c8d68..420108db8ca5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumEntryWithEnumQualifierAndParams.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumEntryWithEnumQualifierAndParams.kt.after @@ -7,4 +7,5 @@ fun foo() = X.A enum class X(n: Int) { A() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumEntryWithEnumSuperclass.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumEntryWithEnumSuperclass.kt index c8941c3aff49..fb2d58fb7e3b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumEntryWithEnumSuperclass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumEntryWithEnumSuperclass.kt @@ -5,4 +5,5 @@ fun foo(): E = E.A enum class E { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumEntryWithEnumSuperclass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumEntryWithEnumSuperclass.kt.after index f42b77dcc853..e04099753fc0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumEntryWithEnumSuperclass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumEntryWithEnumSuperclass.kt.after @@ -6,4 +6,5 @@ fun foo(): E = E.A enum class E { A -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumInBinaryExpression.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumInBinaryExpression.kt index 4de4ed60a5ab..25d7b44e0380 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumInBinaryExpression.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumInBinaryExpression.kt @@ -4,4 +4,5 @@ enum class SampleEnum {} fun usage(sample: SampleEnum) { if (sample == SampleEnum.RED) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumInBinaryExpression.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumInBinaryExpression.kt.after index 8dd76caf17cb..134c6b0e6842 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumInBinaryExpression.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/enumInBinaryExpression.kt.after @@ -4,4 +4,5 @@ enum class SampleEnum { RED } fun usage(sample: SampleEnum) { if (sample == SampleEnum.RED) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/interfaceByClassLiteral.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/interfaceByClassLiteral.kt index 683ff80c4c23..99bac32878d9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/interfaceByClassLiteral.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/interfaceByClassLiteral.kt @@ -3,4 +3,5 @@ fun doSth(){ Foo::class.java } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/interfaceByClassLiteral.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/interfaceByClassLiteral.kt.after index b05308fc52be..bec27266d163 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/interfaceByClassLiteral.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/interfaceByClassLiteral.kt.after @@ -8,3 +8,4 @@ interface Foo { } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/interfaceByQualifier.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/interfaceByQualifier.kt index 2a5d28f12875..6817c263630a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/interfaceByQualifier.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/interfaceByQualifier.kt @@ -2,4 +2,5 @@ // ERROR: Unresolved reference: B package p -fun foo() = A.B \ No newline at end of file +fun foo() = A.B +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/interfaceByQualifier.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/interfaceByQualifier.kt.after index 776010509533..42f4b042bb18 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/interfaceByQualifier.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/interfaceByQualifier.kt.after @@ -7,3 +7,4 @@ fun foo() = A.B interface A { } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/objectByClassLiteral.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/objectByClassLiteral.kt index 2da1d28241ac..2f40aa2051f2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/objectByClassLiteral.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/objectByClassLiteral.kt @@ -3,4 +3,5 @@ fun doSth(){ Foo::class.java } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/objectByClassLiteral.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/objectByClassLiteral.kt.after index 66690f361ce6..fda5685765c3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/objectByClassLiteral.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/objectByClassLiteral.kt.after @@ -8,3 +8,4 @@ object Foo { } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/objectByQualifier.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/objectByQualifier.kt index 78f2614754a5..ccc7f691ba6a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/objectByQualifier.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/objectByQualifier.kt @@ -2,4 +2,5 @@ // ERROR: Unresolved reference: B package p -fun foo() = A.B \ No newline at end of file +fun foo() = A.B +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/objectByQualifier.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/objectByQualifier.kt.after index de434dee1fe5..338e2c69947e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/objectByQualifier.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/objectByQualifier.kt.after @@ -7,3 +7,4 @@ fun foo() = A.B object A { } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/objectForEnum.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/objectForEnum.kt index 0f550c08366f..5940ab2cf8db 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/objectForEnum.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/objectForEnum.kt @@ -3,4 +3,5 @@ enum class SampleEnum {} fun usage() { SampleEnum.RED -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/objectForEnum.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/objectForEnum.kt.after index 9db5606bb643..54be14469361 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/objectForEnum.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/objectForEnum.kt.after @@ -9,4 +9,5 @@ enum class SampleEnum { fun usage() { SampleEnum.RED -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/objectInPackage.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/objectInPackage.kt index 08e1eb8e74db..7a7789322fbc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/objectInPackage.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/objectInPackage.kt @@ -1,4 +1,5 @@ // "Create object 'A'" "true" package p -fun foo() = p.A \ No newline at end of file +fun foo() = p.A +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/objectInPackage.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/objectInPackage.kt.after index 61811cb77b2e..d62f8860368e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/objectInPackage.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/objectInPackage.kt.after @@ -6,3 +6,4 @@ fun foo() = p.A object A { } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/objectNoReceiver.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/objectNoReceiver.kt index 8d046abd31e0..81b24fd067b6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/objectNoReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/objectNoReceiver.kt @@ -1,4 +1,5 @@ // "Create object 'A'" "true" package p -fun foo() = A \ No newline at end of file +fun foo() = A +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/objectNoReceiver.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/objectNoReceiver.kt.after index 1168730cbb89..1e2d87ed489a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/objectNoReceiver.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/objectNoReceiver.kt.after @@ -6,3 +6,4 @@ fun foo() = A object A { } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/objectWithQualifier.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/objectWithQualifier.kt index 100cc437d6a2..c8cf87510f9f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/objectWithQualifier.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/objectWithQualifier.kt @@ -5,4 +5,5 @@ fun foo() = X.A class X { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/objectWithQualifier.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/objectWithQualifier.kt.after index c7f64a7ddc6c..e85983803b99 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/objectWithQualifier.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/objectWithQualifier.kt.after @@ -8,4 +8,5 @@ class X { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/objectWithSuperclass.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/objectWithSuperclass.kt index 5ee61b7face1..d0e34b6b7f15 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/objectWithSuperclass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/objectWithSuperclass.kt @@ -5,4 +5,5 @@ fun foo(): X = A open class X { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/objectWithSuperclass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/objectWithSuperclass.kt.after index e8612debf48c..23c0919b4543 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/objectWithSuperclass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/objectWithSuperclass.kt.after @@ -9,4 +9,5 @@ object A : X() { open class X { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/objectWithSuperinterface.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/objectWithSuperinterface.kt index 4a08f7987c0b..300524cf9b92 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/objectWithSuperinterface.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/objectWithSuperinterface.kt @@ -5,4 +5,5 @@ fun foo(): X = A interface X { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/objectWithSuperinterface.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/objectWithSuperinterface.kt.after index 3cdce366f297..8e88e375240b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/objectWithSuperinterface.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/objectWithSuperinterface.kt.after @@ -9,4 +9,5 @@ object A : X { interface X { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/unusedReference.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/unusedReference.kt index d713a9cda41e..fd042a9ffe42 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/unusedReference.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/unusedReference.kt @@ -2,4 +2,5 @@ fun test() { Foo -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/unusedReference.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/unusedReference.kt.after index 6e267b4581af..c9ff04d3b6a4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/unusedReference.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/unusedReference.kt.after @@ -7,3 +7,4 @@ fun test() { object Foo { } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/valDelegateExpressionRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/valDelegateExpressionRuntime.kt index 874b77d15085..83f00291be02 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/valDelegateExpressionRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/valDelegateExpressionRuntime.kt @@ -6,3 +6,5 @@ open class B class A { val x: B by Foo } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/valDelegateExpressionRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/valDelegateExpressionRuntime.kt.after index c9da7e403f3d..ad67e012582d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/valDelegateExpressionRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/valDelegateExpressionRuntime.kt.after @@ -12,3 +12,5 @@ class A { object Foo : ReadOnlyProperty { } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/varDelegateExpressionRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/varDelegateExpressionRuntime.kt index e87fb2178872..67c3f19b59be 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/varDelegateExpressionRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/varDelegateExpressionRuntime.kt @@ -6,3 +6,5 @@ open class B class A { var x: B by Foo } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/varDelegateExpressionRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/varDelegateExpressionRuntime.kt.after index f19c1c65c1ef..6df830fb8e68 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/varDelegateExpressionRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/referenceExpression/varDelegateExpressionRuntime.kt.after @@ -12,3 +12,5 @@ class A { object Foo : ReadWriteProperty { } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/annotationNotQualifierNoTypeArgs.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/annotationNotQualifierNoTypeArgs.kt index 4e637c18e9e1..ea5dd7437835 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/annotationNotQualifierNoTypeArgs.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/annotationNotQualifierNoTypeArgs.kt @@ -1,4 +1,5 @@ // "Create annotation 'A'" "true" package p -fun foo(): A = throw Throwable("") \ No newline at end of file +fun foo(): A = throw Throwable("") +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix$LowPriorityCreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/annotationNotQualifierNoTypeArgs.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/annotationNotQualifierNoTypeArgs.kt.after index 1473c657ecef..46df796bc77a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/annotationNotQualifierNoTypeArgs.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/annotationNotQualifierNoTypeArgs.kt.after @@ -4,3 +4,4 @@ package p fun foo(): A = throw Throwable("") annotation class A +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix$LowPriorityCreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/classCurrentPackageReceiver.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/classCurrentPackageReceiver.kt index f20146cce450..6dc5a5259958 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/classCurrentPackageReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/classCurrentPackageReceiver.kt @@ -1,4 +1,5 @@ // "Create class 'A'" "true" package p -fun foo(): p.A = throw Throwable("") \ No newline at end of file +fun foo(): p.A = throw Throwable("") +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/classCurrentPackageReceiver.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/classCurrentPackageReceiver.kt.after index 37d355f566c0..bd1cdfd5efeb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/classCurrentPackageReceiver.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/classCurrentPackageReceiver.kt.after @@ -6,3 +6,4 @@ fun foo(): p.A = throw Throwable("") class A { } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/classNotQualifierNoTypeArgs.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/classNotQualifierNoTypeArgs.kt index 58f292ef05bb..f81021679a99 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/classNotQualifierNoTypeArgs.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/classNotQualifierNoTypeArgs.kt @@ -1,4 +1,5 @@ // "Create class 'A'" "true" package p -fun foo(): A = throw Throwable("") \ No newline at end of file +fun foo(): A = throw Throwable("") +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/classNotQualifierNoTypeArgs.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/classNotQualifierNoTypeArgs.kt.after index 8c625361a41e..4eb1b974cde0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/classNotQualifierNoTypeArgs.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/classNotQualifierNoTypeArgs.kt.after @@ -6,3 +6,4 @@ fun foo(): A = throw Throwable("") class A { } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/classNotQualifierWithStarProjection.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/classNotQualifierWithStarProjection.kt index 7b2d622dd39e..5e4fa87d42f6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/classNotQualifierWithStarProjection.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/classNotQualifierWithStarProjection.kt @@ -1,4 +1,5 @@ // "Create class 'A'" "true" package p -fun foo(): A<*, String> = throw Throwable("") \ No newline at end of file +fun foo(): A<*, String> = throw Throwable("") +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/classNotQualifierWithStarProjection.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/classNotQualifierWithStarProjection.kt.after index 6c5ce8cd5971..17eda8e6afc6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/classNotQualifierWithStarProjection.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/classNotQualifierWithStarProjection.kt.after @@ -6,3 +6,4 @@ fun foo(): A<*, String> = throw Throwable("") class A { } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/classNotQualifierWithTypeArgs.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/classNotQualifierWithTypeArgs.kt index 03f4cd230e6e..aa3e330cd846 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/classNotQualifierWithTypeArgs.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/classNotQualifierWithTypeArgs.kt @@ -1,4 +1,5 @@ // "Create class 'A'" "true" package p -fun foo(): A = throw Throwable("") \ No newline at end of file +fun foo(): A = throw Throwable("") +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/classNotQualifierWithTypeArgs.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/classNotQualifierWithTypeArgs.kt.after index f9a4c1d9ab58..f395b8db08ac 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/classNotQualifierWithTypeArgs.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/classNotQualifierWithTypeArgs.kt.after @@ -6,3 +6,4 @@ fun foo(): A = throw Throwable("") class A { } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/classQualifierNoTypeArgs.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/classQualifierNoTypeArgs.kt index aaded3e9914e..0c6d27791641 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/classQualifierNoTypeArgs.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/classQualifierNoTypeArgs.kt @@ -2,4 +2,5 @@ // ERROR: Unresolved reference: B package p -fun foo(): A.B = throw Throwable("") \ No newline at end of file +fun foo(): A.B = throw Throwable("") +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/classQualifierNoTypeArgs.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/classQualifierNoTypeArgs.kt.after index eba8869f0af5..b3aac6e2f025 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/classQualifierNoTypeArgs.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/classQualifierNoTypeArgs.kt.after @@ -7,3 +7,4 @@ fun foo(): A.B = throw Throwable("") class A { } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/classUserTypeReceiver.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/classUserTypeReceiver.kt index 15266ae32345..4a2f9dfbae9a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/classUserTypeReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/classUserTypeReceiver.kt @@ -5,4 +5,5 @@ class T { } -fun foo(): T.A = throw Throwable("") \ No newline at end of file +fun foo(): T.A = throw Throwable("") +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/classUserTypeReceiver.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/classUserTypeReceiver.kt.after index bb42133c8af8..71baa64719ba 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/classUserTypeReceiver.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/classUserTypeReceiver.kt.after @@ -8,4 +8,5 @@ class T { } -fun foo(): T.A = throw Throwable("") \ No newline at end of file +fun foo(): T.A = throw Throwable("") +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/classUserTypeReceiverNoBody.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/classUserTypeReceiverNoBody.kt index 3c66559a2973..758d7f505574 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/classUserTypeReceiverNoBody.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/classUserTypeReceiverNoBody.kt @@ -3,4 +3,5 @@ package p class T -fun foo(): T.A = throw Throwable("") \ No newline at end of file +fun foo(): T.A = throw Throwable("") +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/classUserTypeReceiverNoBody.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/classUserTypeReceiverNoBody.kt.after index f67400f5763b..84da2136e436 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/classUserTypeReceiverNoBody.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/classUserTypeReceiverNoBody.kt.after @@ -7,4 +7,5 @@ class T { } } -fun foo(): T.A = throw Throwable("") \ No newline at end of file +fun foo(): T.A = throw Throwable("") +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/createNestedClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/createNestedClass.kt index 25dcbda3561c..950d725d26bd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/createNestedClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/createNestedClass.kt @@ -4,4 +4,5 @@ class A { class B { val a: Nested = Nested() } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/createNestedClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/createNestedClass.kt.after index 08ebe7e46c75..146289d0b90f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/createNestedClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/createNestedClass.kt.after @@ -8,4 +8,5 @@ class A { } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/createNestedClassInInner.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/createNestedClassInInner.kt index 65f1e904ec1c..954f0333368e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/createNestedClassInInner.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/createNestedClassInInner.kt @@ -4,4 +4,5 @@ class A { inner class B { val a: Nested = Nested() } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/createNestedClassInInner.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/createNestedClassInInner.kt.after index dbc982f749f9..911e9fa608ab 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/createNestedClassInInner.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/createNestedClassInInner.kt.after @@ -8,4 +8,5 @@ class A { } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/enumNotQualifierNoTypeArgs.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/enumNotQualifierNoTypeArgs.kt index 32d2afd20397..2e9e100def35 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/enumNotQualifierNoTypeArgs.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/enumNotQualifierNoTypeArgs.kt @@ -1,4 +1,5 @@ // "Create enum 'A'" "true" package p -fun foo(): A = throw Throwable("") \ No newline at end of file +fun foo(): A = throw Throwable("") +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/enumNotQualifierNoTypeArgs.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/enumNotQualifierNoTypeArgs.kt.after index d866bb1ae709..1ffbb933d649 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/enumNotQualifierNoTypeArgs.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/enumNotQualifierNoTypeArgs.kt.after @@ -6,3 +6,4 @@ fun foo(): A = throw Throwable("") enum class A { } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/interfaceNotQualifierNoTypeArgs.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/interfaceNotQualifierNoTypeArgs.kt index 66af9b1cd93b..a9acbc77c964 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/interfaceNotQualifierNoTypeArgs.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/interfaceNotQualifierNoTypeArgs.kt @@ -1,4 +1,5 @@ // "Create interface 'A'" "true" package p -fun foo(): A = throw Throwable("") \ No newline at end of file +fun foo(): A = throw Throwable("") +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/interfaceNotQualifierNoTypeArgs.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/interfaceNotQualifierNoTypeArgs.kt.after index 96f3f01de309..6e5898dc8739 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/interfaceNotQualifierNoTypeArgs.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/interfaceNotQualifierNoTypeArgs.kt.after @@ -6,3 +6,4 @@ fun foo(): A = throw Throwable("") interface A { } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/nestedClassByTypeArgumentRefNoBody.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/nestedClassByTypeArgumentRefNoBody.kt index 0818240c241e..385588c685f5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/nestedClassByTypeArgumentRefNoBody.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/nestedClassByTypeArgumentRefNoBody.kt @@ -1,4 +1,5 @@ // "Create class 'X'" "true" open class A -class B : AX>() \ No newline at end of file +class B : AX>() +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/nestedClassByTypeArgumentRefNoBody.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/nestedClassByTypeArgumentRefNoBody.kt.after index b3bc00cbf024..2b3c3c2dd8fe 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/nestedClassByTypeArgumentRefNoBody.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/nestedClassByTypeArgumentRefNoBody.kt.after @@ -5,4 +5,5 @@ class B : A() { class X { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/nestedClassByTypeArgumentRefWithBody.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/nestedClassByTypeArgumentRefWithBody.kt index 737d3a2e43fc..72e107b0753c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/nestedClassByTypeArgumentRefWithBody.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/nestedClassByTypeArgumentRefWithBody.kt @@ -3,4 +3,5 @@ open class A class B : AX>() { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/nestedClassByTypeArgumentRefWithBody.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/nestedClassByTypeArgumentRefWithBody.kt.after index a85d9156c50f..fb49b4451710 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/nestedClassByTypeArgumentRefWithBody.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/nestedClassByTypeArgumentRefWithBody.kt.after @@ -6,4 +6,5 @@ class B : A() { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/objectQualifierNoTypeArgs.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/objectQualifierNoTypeArgs.kt index 7e60d5b36ee4..8456b75967f8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/objectQualifierNoTypeArgs.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/objectQualifierNoTypeArgs.kt @@ -2,4 +2,5 @@ // ERROR: Unresolved reference: B package p -fun foo(): A.B = throw Throwable("") \ No newline at end of file +fun foo(): A.B = throw Throwable("") +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/objectQualifierNoTypeArgs.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/objectQualifierNoTypeArgs.kt.after index 860f0dc772a7..d6488dcde725 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/objectQualifierNoTypeArgs.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/objectQualifierNoTypeArgs.kt.after @@ -7,3 +7,4 @@ fun foo(): A.B = throw Throwable("") object A { } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/typeArgumentWithBound.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/typeArgumentWithBound.kt index dfb8b8fcb33c..7533f410f20b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/typeArgumentWithBound.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/typeArgumentWithBound.kt @@ -5,4 +5,5 @@ fun foo() {} fun x() { foo<Foo>() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/typeArgumentWithBound.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/typeArgumentWithBound.kt.after index 89201f307ade..a07d11e5cb10 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/typeArgumentWithBound.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/typeArgumentWithBound.kt.after @@ -10,3 +10,4 @@ fun x() { class Foo : I { } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/typeArgumentWithMultipleBounds.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/typeArgumentWithMultipleBounds.kt index 0eb173c0c521..20c4596fdd80 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/typeArgumentWithMultipleBounds.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/typeArgumentWithMultipleBounds.kt @@ -6,4 +6,5 @@ fun foo() where T : A {} fun x() { foo<Foo>() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/typeArgumentWithMultipleBounds.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/typeArgumentWithMultipleBounds.kt.after index 7931e5bf3234..c3b64fcd0a61 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/typeArgumentWithMultipleBounds.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/typeArgumentWithMultipleBounds.kt.after @@ -11,3 +11,4 @@ fun x() { class Foo : I, A() { } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/customOperationOnUserType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/customOperationOnUserType.kt index 42bec74492ba..d9e77ec86835 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/customOperationOnUserType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/customOperationOnUserType.kt @@ -4,4 +4,5 @@ class A(val n: T) fun test() { val a: A = A(1) foo 2 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/customOperationOnUserType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/customOperationOnUserType.kt.after index cd04e66d8e01..b8e5c5316cbe 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/customOperationOnUserType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/customOperationOnUserType.kt.after @@ -8,4 +8,5 @@ class A(val n: T) { fun test() { val a: A = A(1) foo 2 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/greaterOrEqualOnUserType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/greaterOrEqualOnUserType.kt index b620ff4d5d9c..627f27bc8577 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/greaterOrEqualOnUserType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/greaterOrEqualOnUserType.kt @@ -4,4 +4,5 @@ class A(val n: T) fun test() { A(1) >= 2 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/greaterOrEqualOnUserType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/greaterOrEqualOnUserType.kt.after index 0f116a8b8f2e..e74bb8a72072 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/greaterOrEqualOnUserType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/greaterOrEqualOnUserType.kt.after @@ -8,4 +8,5 @@ class A(val n: T) { fun test() { A(1) >= 2 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/inOnUserType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/inOnUserType.kt index e2c9dccc5428..20022e7b6d70 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/inOnUserType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/inOnUserType.kt @@ -4,4 +4,5 @@ class A(val n: T) fun test() { 2 in A(1) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/inOnUserType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/inOnUserType.kt.after index 984c2e4dc766..81e15ab7d11f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/inOnUserType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/inOnUserType.kt.after @@ -8,4 +8,5 @@ class A(val n: T) { fun test() { 2 in A(1) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/lessOnUserType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/lessOnUserType.kt index dc39919912e8..1dfc6b98a66a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/lessOnUserType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/lessOnUserType.kt @@ -4,4 +4,5 @@ class A(val n: T) fun test() { A(1) < 2 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/lessOnUserType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/lessOnUserType.kt.after index b41de618d3c4..9f3fc8a7d973 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/lessOnUserType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/lessOnUserType.kt.after @@ -8,4 +8,5 @@ class A(val n: T) { fun test() { A(1) < 2 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/notInOnUserType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/notInOnUserType.kt index fea99688dfd7..77a99093578c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/notInOnUserType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/notInOnUserType.kt @@ -4,4 +4,5 @@ class A(val n: T) fun test() { 2 !in A(1) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/notInOnUserType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/notInOnUserType.kt.after index 06902c4383bc..a1dc4da8d0c8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/notInOnUserType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/notInOnUserType.kt.after @@ -8,4 +8,5 @@ class A(val n: T) { fun test() { 2 !in A(1) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/plusAssignOnUserType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/plusAssignOnUserType.kt index a5a44f8a3f21..910cbe824c18 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/plusAssignOnUserType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/plusAssignOnUserType.kt @@ -4,4 +4,5 @@ class A(val n: T) fun test() { A(1) += 2 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/plusAssignOnUserType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/plusAssignOnUserType.kt.after index 849bd3e1f401..1675b324d6bb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/plusAssignOnUserType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/plusAssignOnUserType.kt.after @@ -8,4 +8,5 @@ class A(val n: T) { fun test() { A(1) += 2 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/plusExtraArgs.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/plusExtraArgs.kt index f3a47a49b5b4..67b09f73c108 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/plusExtraArgs.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/plusExtraArgs.kt @@ -6,4 +6,5 @@ class A(val n: T) { fun test() { val a: A = A(1) + 2 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/plusExtraArgs.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/plusExtraArgs.kt.after index 1d13e8f9924a..697672259d9a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/plusExtraArgs.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/plusExtraArgs.kt.after @@ -9,4 +9,5 @@ class A(val n: T) { fun test() { val a: A = A(1) + 2 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/plusForAssignmentOnUserType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/plusForAssignmentOnUserType.kt index 77da2173ee79..30ed14c871c6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/plusForAssignmentOnUserType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/plusForAssignmentOnUserType.kt @@ -5,4 +5,5 @@ class A(val n: T) fun test() { var a = A(1) a = a + 2 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/plusForAssignmentOnUserType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/plusForAssignmentOnUserType.kt.after index 32f17e86624b..4f8257ccdb52 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/plusForAssignmentOnUserType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/plusForAssignmentOnUserType.kt.after @@ -9,4 +9,5 @@ class A(val n: T) { fun test() { var a = A(1) a = a + 2 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/plusMissingArgs.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/plusMissingArgs.kt index 666c6d641a0a..64d70b43db85 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/plusMissingArgs.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/plusMissingArgs.kt @@ -6,4 +6,5 @@ class A(val n: T) { fun test() { val a: A = A(1) + 2 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/plusMissingArgs.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/plusMissingArgs.kt.after index a889a05e0292..adcb3f1056eb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/plusMissingArgs.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/plusMissingArgs.kt.after @@ -9,4 +9,5 @@ class A(val n: T) { fun test() { val a: A = A(1) + 2 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/plusOnLibType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/plusOnLibType.kt index 60b2774fdd88..b7d647cb3b08 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/plusOnLibType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/plusOnLibType.kt @@ -5,4 +5,5 @@ class A(val n: T) fun test() { val a: A = 2 + A(1) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/plusOnLibType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/plusOnLibType.kt.after index 9994deec4700..33e733a3cf01 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/plusOnLibType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/plusOnLibType.kt.after @@ -10,3 +10,4 @@ fun test() { private operator fun Int.plus(a: A): A { TODO("Not yet implemented") } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/plusOnUserType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/plusOnUserType.kt index 32956c57b61b..635f4b507e30 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/plusOnUserType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/plusOnUserType.kt @@ -4,4 +4,5 @@ class A(val n: T) fun test() { val a: A = A(1) + 2 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/plusOnUserType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/plusOnUserType.kt.after index 7c7d3f7c4dff..bd78eaa88c1f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/plusOnUserType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/plusOnUserType.kt.after @@ -8,4 +8,5 @@ class A(val n: T) { fun test() { val a: A = A(1) + 2 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/plusOnUserTypeWithTypeParams.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/plusOnUserTypeWithTypeParams.kt index 5e3984df7a8d..fe237e5d0911 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/plusOnUserTypeWithTypeParams.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/plusOnUserTypeWithTypeParams.kt @@ -4,4 +4,5 @@ class A(val n: T) fun test(u: U) { val a: A = A(u) + 2 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/plusOnUserTypeWithTypeParams.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/plusOnUserTypeWithTypeParams.kt.after index 0f33222a74d6..65dbd64d3adb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/plusOnUserTypeWithTypeParams.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/plusOnUserTypeWithTypeParams.kt.after @@ -8,4 +8,5 @@ class A(val n: T) { fun test(u: U) { val a: A = A(u) + 2 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/quotedName.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/quotedName.kt index b46f23584937..0a4b0642286d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/quotedName.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/quotedName.kt @@ -3,4 +3,5 @@ fun test() { val t: Int = 1 `!u00A0` 2 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/quotedName.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/quotedName.kt.after index cb1deab43f80..a588f1cb44dc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/quotedName.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/quotedName.kt.after @@ -8,3 +8,4 @@ fun test() { private infix fun Int.`!u00A0`(i: Int): Int { TODO("Not yet implemented") } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/typeMismatch.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/typeMismatch.kt index bb2e487a2e0b..9fd8bcc546b5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/typeMismatch.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/typeMismatch.kt @@ -5,4 +5,5 @@ operator fun A.times(i: Int) = this fun test() { A() * "1" -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/typeMismatch.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/typeMismatch.kt.after index d10b86fd39b9..5829c4bfe848 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/typeMismatch.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/typeMismatch.kt.after @@ -10,3 +10,4 @@ fun test() { private operator fun A.times(s: String) { TODO("Not yet implemented") } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/whenInOnUserType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/whenInOnUserType.kt index a8ca8fc01a38..c110fd5ee8dc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/whenInOnUserType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/whenInOnUserType.kt @@ -6,4 +6,5 @@ fun test() { when { 2 in A(1) -> {} } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/whenInOnUserType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/whenInOnUserType.kt.after index 7083d287207d..83b033288083 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/whenInOnUserType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/whenInOnUserType.kt.after @@ -10,4 +10,5 @@ fun test() { when { 2 in A(1) -> {} } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/whenNotInOnUserType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/whenNotInOnUserType.kt index 6231ca87826c..4670a60c7ed4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/whenNotInOnUserType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/whenNotInOnUserType.kt @@ -6,4 +6,5 @@ fun test() { when { 2 !in A(1) -> {} } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/whenNotInOnUserType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/whenNotInOnUserType.kt.after index f508173c1d0a..bc465f81cf88 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/whenNotInOnUserType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/whenNotInOnUserType.kt.after @@ -10,4 +10,5 @@ fun test() { when { 2 !in A(1) -> {} } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/abstract/classNoExplicitReceiver.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/abstract/classNoExplicitReceiver.kt index bdb59727ed1e..934c7ee91ae4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/abstract/classNoExplicitReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/abstract/classNoExplicitReceiver.kt @@ -5,4 +5,5 @@ abstract class A { fun test() { bar(foo(1, "2")) } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/abstract/classNoExplicitReceiver.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/abstract/classNoExplicitReceiver.kt.after index 2a30cdc48aeb..1806b9fed217 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/abstract/classNoExplicitReceiver.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/abstract/classNoExplicitReceiver.kt.after @@ -7,4 +7,5 @@ abstract class A { } abstract fun foo(i: Int, s: String): Boolean -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/abstract/explicitReceiverOfContainingClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/abstract/explicitReceiverOfContainingClass.kt index 3621f8f5d7f1..36270f5d58d2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/abstract/explicitReceiverOfContainingClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/abstract/explicitReceiverOfContainingClass.kt @@ -5,4 +5,5 @@ abstract class A { fun test(a: A) { bar(a.foo(1, "2")) } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/abstract/explicitReceiverOfContainingClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/abstract/explicitReceiverOfContainingClass.kt.after index 99cec0f473c2..ecbbcb8fb8b3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/abstract/explicitReceiverOfContainingClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/abstract/explicitReceiverOfContainingClass.kt.after @@ -7,4 +7,5 @@ abstract class A { } abstract fun foo(i: Int, s: String): Boolean -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/abstract/inAbstractSuperclass.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/abstract/inAbstractSuperclass.kt index 5c7a8862d7cc..c8d91f6080ec 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/abstract/inAbstractSuperclass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/abstract/inAbstractSuperclass.kt @@ -7,4 +7,5 @@ class Foo : A() { fun foo() { bar() } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/abstract/inAbstractSuperclass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/abstract/inAbstractSuperclass.kt.after index 7c6ab4cfd764..2e43a4bb538b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/abstract/inAbstractSuperclass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/abstract/inAbstractSuperclass.kt.after @@ -9,4 +9,5 @@ class Foo : A() { fun foo() { bar() } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/abstract/inBaseInterface.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/abstract/inBaseInterface.kt index 5fa1ddaba48c..cb1051bc65cb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/abstract/inBaseInterface.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/abstract/inBaseInterface.kt @@ -7,4 +7,5 @@ class Foo : I { fun foo() { bar() } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/abstract/inBaseInterface.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/abstract/inBaseInterface.kt.after index 9d47a37e0852..4fede9b8a0ba 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/abstract/inBaseInterface.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/abstract/inBaseInterface.kt.after @@ -9,4 +9,5 @@ class Foo : I { fun foo() { bar() } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/abstract/inBaseInterfaceWithReceiver.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/abstract/inBaseInterfaceWithReceiver.kt index e5e2043f2c90..b32336353b54 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/abstract/inBaseInterfaceWithReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/abstract/inBaseInterfaceWithReceiver.kt @@ -4,4 +4,5 @@ interface I fun test(i: I) { i.bar() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/abstract/inBaseInterfaceWithReceiver.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/abstract/inBaseInterfaceWithReceiver.kt.after index 5e645ec0cb53..41f35aa6c625 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/abstract/inBaseInterfaceWithReceiver.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/abstract/inBaseInterfaceWithReceiver.kt.after @@ -6,4 +6,5 @@ interface I { fun test(i: I) { i.bar() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/abstract/inBaseInterfaceWithReceiver2.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/abstract/inBaseInterfaceWithReceiver2.kt index a8c37ccbe502..dae88fc50031 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/abstract/inBaseInterfaceWithReceiver2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/abstract/inBaseInterfaceWithReceiver2.kt @@ -7,4 +7,5 @@ class Foo : I fun test(foo: Foo) { foo.bar() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/abstract/inBaseInterfaceWithReceiver2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/abstract/inBaseInterfaceWithReceiver2.kt.after index 684982b9d392..137b235a9ff0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/abstract/inBaseInterfaceWithReceiver2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/abstract/inBaseInterfaceWithReceiver2.kt.after @@ -9,4 +9,5 @@ class Foo : I fun test(foo: Foo) { foo.bar() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/abstract/interfaceNoExplicitReceiver.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/abstract/interfaceNoExplicitReceiver.kt index 0c1983d2a0c8..80a04a52b035 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/abstract/interfaceNoExplicitReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/abstract/interfaceNoExplicitReceiver.kt @@ -5,4 +5,5 @@ interface A { fun test() { bar(foo(1, "2")) } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/abstract/interfaceNoExplicitReceiver.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/abstract/interfaceNoExplicitReceiver.kt.after index bc0df1966581..4a8ec116258e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/abstract/interfaceNoExplicitReceiver.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/abstract/interfaceNoExplicitReceiver.kt.after @@ -7,4 +7,5 @@ interface A { } fun foo(i: Int, s: String): Boolean -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/approximateAnonymousObjectRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/approximateAnonymousObjectRuntime.kt index fc9f4866e7f4..8024ec374182 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/approximateAnonymousObjectRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/approximateAnonymousObjectRuntime.kt @@ -5,4 +5,5 @@ open class A fun main(args: Array) { val list = listOf(1, 2, 4, 5) list.foo { object : A() {} } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/approximateAnonymousObjectRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/approximateAnonymousObjectRuntime.kt.after index 2fad16ef3049..b2fd50b2462b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/approximateAnonymousObjectRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/approximateAnonymousObjectRuntime.kt.after @@ -10,3 +10,4 @@ fun main(args: Array) { private fun List.foo(function: () -> A) { TODO("Not yet implemented") } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/approximateLocalClassRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/approximateLocalClassRuntime.kt index 1b33c16ba70d..b0cc3e308fd7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/approximateLocalClassRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/approximateLocalClassRuntime.kt @@ -7,4 +7,5 @@ fun main(args: Array) { val list = listOf(1, 2, 4, 5) list.foo { Local() } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/approximateLocalClassRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/approximateLocalClassRuntime.kt.after index 1c4c076ac21e..1e693b0d6311 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/approximateLocalClassRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/approximateLocalClassRuntime.kt.after @@ -12,3 +12,4 @@ fun main(args: Array) { private fun List.foo(function: () -> A) { TODO("Not yet implemented") } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/argumentTypeMismatch.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/argumentTypeMismatch.kt index 0addb3e473c7..43e91626c8ef 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/argumentTypeMismatch.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/argumentTypeMismatch.kt @@ -3,4 +3,5 @@ fun foo(n: Int) {} fun test() { foo("abc${1}") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/argumentTypeMismatch.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/argumentTypeMismatch.kt.after index 532c1c8d9f6e..3a1c53c6769a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/argumentTypeMismatch.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/argumentTypeMismatch.kt.after @@ -8,3 +8,4 @@ fun test() { fun foo(n: String) { TODO("Not yet implemented") } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/brokenPsi.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/brokenPsi.kt index 84b23cd31d3e..235503404981 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/brokenPsi.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/brokenPsi.kt @@ -4,4 +4,5 @@ class X { fun callee() { X.callSomethingNew(123) } - fun test(x:Int): Unit { \ No newline at end of file + fun test(x:Int): Unit { +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/brokenPsi.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/brokenPsi.kt.after index b79638b5fe6e..be86cbc5100a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/brokenPsi.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/brokenPsi.kt.after @@ -11,4 +11,5 @@ class X { companion object - fun test(x:Int): Unit { \ No newline at end of file + fun test(x:Int): Unit { +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/brokenPsi2.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/brokenPsi2.kt index ff3af6528225..41016830f78d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/brokenPsi2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/brokenPsi2.kt @@ -4,4 +4,5 @@ class X { fun callee() { X.callSomethingNew(123) } - fun test(x:Int): Unit { \ No newline at end of file + fun test(x:Int): Unit { +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/brokenPsi2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/brokenPsi2.kt.after index e0896834c441..9f124706e38e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/brokenPsi2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/brokenPsi2.kt.after @@ -11,4 +11,5 @@ class X { } } - fun test(x:Int): Unit { \ No newline at end of file + fun test(x:Int): Unit { +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/callInStringTemplateRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/callInStringTemplateRuntime.kt index 8863a1faf910..2f8399404868 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/callInStringTemplateRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/callInStringTemplateRuntime.kt @@ -2,4 +2,5 @@ fun test() { println("a = ${foo()}") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/callInStringTemplateRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/callInStringTemplateRuntime.kt.after index f0b947b59fb9..704cc25e858f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/callInStringTemplateRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/callInStringTemplateRuntime.kt.after @@ -7,3 +7,4 @@ fun test() { fun foo(): String { TODO("Not yet implemented") } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/callWithClassLiteral.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/callWithClassLiteral.kt index 3cdf1e81aea2..686cf33d898a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/callWithClassLiteral.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/callWithClassLiteral.kt @@ -5,4 +5,5 @@ internal object model { fun main(args: Array) { checkProperty(model.layer::class) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/callWithClassLiteral.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/callWithClassLiteral.kt.after index d9df75d3bfd5..67bda91fdc80 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/callWithClassLiteral.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/callWithClassLiteral.kt.after @@ -12,3 +12,4 @@ fun main(args: Array) { fun checkProperty(kClass: KClass) { TODO("Not yet implemented") } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/callWithLambdaArg.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/callWithLambdaArg.kt index fe37a87e500c..2f705700efc2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/callWithLambdaArg.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/callWithLambdaArg.kt @@ -6,4 +6,5 @@ class A(val n: T) { fun test() { val a: A = A(1).foo(2, "2") { p: Int -> p + 1 } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/callWithLambdaArg.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/callWithLambdaArg.kt.after index 13c693fb0095..441e7cc9091e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/callWithLambdaArg.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/callWithLambdaArg.kt.after @@ -9,4 +9,5 @@ class A(val n: T) { fun test() { val a: A = A(1).foo(2, "2") { p: Int -> p + 1 } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/callWithLambdaArgOnly.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/callWithLambdaArgOnly.kt index 33e461c58117..9540877328b0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/callWithLambdaArgOnly.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/callWithLambdaArgOnly.kt @@ -6,4 +6,5 @@ class A(val n: T) { fun test() { val a: A = A(1).foo { p: Int -> p + 1 } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/callWithLambdaArgOnly.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/callWithLambdaArgOnly.kt.after index 6d9463824d0d..94d54cea3224 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/callWithLambdaArgOnly.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/callWithLambdaArgOnly.kt.after @@ -9,4 +9,5 @@ class A(val n: T) { fun test() { val a: A = A(1).foo { p: Int -> p + 1 } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/doNotStripPrefix.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/doNotStripPrefix.kt index b81053f28eab..9a0319fb8792 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/doNotStripPrefix.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/doNotStripPrefix.kt @@ -4,4 +4,5 @@ class Settings fun isModified(settings: Settings, c: C) = c.foo(settings) class C { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/doNotStripPrefix.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/doNotStripPrefix.kt.after index 3ed7b89b7e2b..39b5362f3838 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/doNotStripPrefix.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/doNotStripPrefix.kt.after @@ -7,4 +7,5 @@ class C { fun foo(settings: Settings): Any { TODO("Not yet implemented") } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/extensionByExtensionReceiver/extensionFunction.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/extensionByExtensionReceiver/extensionFunction.kt index b94fdba00f54..625a7fae840c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/extensionByExtensionReceiver/extensionFunction.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/extensionByExtensionReceiver/extensionFunction.kt @@ -7,4 +7,5 @@ class A(val n: Int) fun A.test() { bar(foo(n)) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/extensionByExtensionReceiver/extensionFunction.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/extensionByExtensionReceiver/extensionFunction.kt.after index c7622f93fdf6..6a48e6a62db7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/extensionByExtensionReceiver/extensionFunction.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/extensionByExtensionReceiver/extensionFunction.kt.after @@ -12,3 +12,4 @@ fun A.test() { private fun A.foo(n: Int): Boolean { TODO("Not yet implemented") } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/extensionByExtensionReceiver/extensionLambda.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/extensionByExtensionReceiver/extensionLambda.kt index 459ff6682fc2..f29befa04b56 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/extensionByExtensionReceiver/extensionLambda.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/extensionByExtensionReceiver/extensionLambda.kt @@ -10,4 +10,5 @@ fun test() { with(A(1)) { bar(foo(n)) } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/extensionByExtensionReceiver/extensionLambda.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/extensionByExtensionReceiver/extensionLambda.kt.after index 9f2e71841515..9f520520b744 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/extensionByExtensionReceiver/extensionLambda.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/extensionByExtensionReceiver/extensionLambda.kt.after @@ -15,3 +15,4 @@ fun test() { private fun A.foo(n: Int): Boolean { TODO("Not yet implemented") } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/extensionByExtensionReceiver/extensionPropertyGetter.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/extensionByExtensionReceiver/extensionPropertyGetter.kt index c269476fb07d..0dcd5bf8cccf 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/extensionByExtensionReceiver/extensionPropertyGetter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/extensionByExtensionReceiver/extensionPropertyGetter.kt @@ -3,4 +3,5 @@ class A(val n: Int) class B { val A.test: Boolean get() = foo -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/extensionByExtensionReceiver/extensionPropertyGetter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/extensionByExtensionReceiver/extensionPropertyGetter.kt.after index 258f3d67308d..a21b08c2df1a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/extensionByExtensionReceiver/extensionPropertyGetter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/extensionByExtensionReceiver/extensionPropertyGetter.kt.after @@ -8,4 +8,5 @@ class A(val n: Int) class B { val A.test: Boolean get() = foo -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/extensionByExtensionReceiver/extensionPropertySetter.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/extensionByExtensionReceiver/extensionPropertySetter.kt index 25106ea5584d..350a11f005dc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/extensionByExtensionReceiver/extensionPropertySetter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/extensionByExtensionReceiver/extensionPropertySetter.kt @@ -7,4 +7,5 @@ class B { set(v: Boolean) { foo = v } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/extensionByExtensionReceiver/extensionPropertySetter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/extensionByExtensionReceiver/extensionPropertySetter.kt.after index d6bc16d9e40e..e70827a3e8f5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/extensionByExtensionReceiver/extensionPropertySetter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/extensionByExtensionReceiver/extensionPropertySetter.kt.after @@ -13,4 +13,5 @@ class B { set(v: Boolean) { foo = v } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/extensionFunOnClassNoClassObject.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/extensionFunOnClassNoClassObject.kt index afccf4935d3c..144380698132 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/extensionFunOnClassNoClassObject.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/extensionFunOnClassNoClassObject.kt @@ -4,4 +4,5 @@ class A(val n: T) fun test() { val a: Int = A.foo(2) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/extensionFunOnClassNoClassObject.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/extensionFunOnClassNoClassObject.kt.after index f6340a5137d7..5c08b0eac2e6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/extensionFunOnClassNoClassObject.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/extensionFunOnClassNoClassObject.kt.after @@ -11,3 +11,4 @@ fun test() { private fun A.Companion.foo(i: Int): Int { TODO("Not yet implemented") } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/extensionFunOnClassNoClassObject2.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/extensionFunOnClassNoClassObject2.kt index b7cbd435c181..8ea1084a6a81 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/extensionFunOnClassNoClassObject2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/extensionFunOnClassNoClassObject2.kt @@ -4,4 +4,5 @@ class A fun test() { val a: Int = A.foo(2) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/extensionFunOnClassNoClassObject2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/extensionFunOnClassNoClassObject2.kt.after index 7319b3be6679..09858592b884 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/extensionFunOnClassNoClassObject2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/extensionFunOnClassNoClassObject2.kt.after @@ -11,3 +11,4 @@ fun test() { private fun A.Companion.foo(i: Int): Int { TODO("Not yet implemented") } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/extensionFunOnInterface.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/extensionFunOnInterface.kt index 6eee2f9b0cc8..a31a88d157b3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/extensionFunOnInterface.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/extensionFunOnInterface.kt @@ -4,4 +4,5 @@ interface T fun test(t: T) { val b: Boolean = t.foo("1", 2) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/extensionFunOnInterface.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/extensionFunOnInterface.kt.after index aa256bbf345b..3509c516585a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/extensionFunOnInterface.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/extensionFunOnInterface.kt.after @@ -9,3 +9,4 @@ fun test(t: T) { private fun T.foo(s: String, i: Int): Boolean { TODO("Not yet implemented") } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funExtraArgs.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funExtraArgs.kt index 2959edadfeb0..d9468508a51f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funExtraArgs.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funExtraArgs.kt @@ -6,4 +6,5 @@ class A(val n: T) { fun test() { val a: A = A(1).foo(2, "2") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funExtraArgs.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funExtraArgs.kt.after index 35682154cf32..dd402a2a1682 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funExtraArgs.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funExtraArgs.kt.after @@ -9,4 +9,5 @@ class A(val n: T) { fun test() { val a: A = A(1).foo(2, "2") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funInInlineInternalFun.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funInInlineInternalFun.kt index a6aea03a7185..4a10732b564d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funInInlineInternalFun.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funInInlineInternalFun.kt @@ -3,4 +3,5 @@ class C { internal inline fun f() { g() } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funInInlineInternalFun.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funInInlineInternalFun.kt.after index c5bd242181f5..1aa9912232fa 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funInInlineInternalFun.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funInInlineInternalFun.kt.after @@ -7,4 +7,5 @@ class C { private fun g() { TODO("Not yet implemented") } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funInInlinePrivateFun.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funInInlinePrivateFun.kt index 2589478c895c..70f4dfda21bb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funInInlinePrivateFun.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funInInlinePrivateFun.kt @@ -3,4 +3,5 @@ class C { private inline fun f() { g() } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funInInlinePrivateFun.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funInInlinePrivateFun.kt.after index 7cbfb04be187..79eba7a8ee27 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funInInlinePrivateFun.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funInInlinePrivateFun.kt.after @@ -7,4 +7,5 @@ class C { private fun g() { TODO("Not yet implemented") } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funInInlineProtectedFun.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funInInlineProtectedFun.kt index 7432276b1446..54b7cf216a08 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funInInlineProtectedFun.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funInInlineProtectedFun.kt @@ -3,4 +3,5 @@ class C { protected inline fun f() { g() } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funInInlineProtectedFun.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funInInlineProtectedFun.kt.after index a22cdd9606fa..56e18346bdd9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funInInlineProtectedFun.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funInInlineProtectedFun.kt.after @@ -7,4 +7,5 @@ class C { protected fun g() { TODO("Not yet implemented") } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funInInlinePublicFun.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funInInlinePublicFun.kt index 5bcaf090cbad..083151caa1b8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funInInlinePublicFun.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funInInlinePublicFun.kt @@ -3,4 +3,5 @@ class C { inline fun f() { g() } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funInInlinePublicFun.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funInInlinePublicFun.kt.after index ffecef4e73a3..f62cb1537513 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funInInlinePublicFun.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funInInlinePublicFun.kt.after @@ -7,4 +7,5 @@ class C { fun g() { TODO("Not yet implemented") } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funMissingArgs.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funMissingArgs.kt index 0d4e8df58bf7..51af92ac2198 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funMissingArgs.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funMissingArgs.kt @@ -6,4 +6,5 @@ class A(val n: T) { fun test() { val a: A = A(1).foo(2) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funMissingArgs.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funMissingArgs.kt.after index 3cc6f0770923..fb0a58f76fac 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funMissingArgs.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funMissingArgs.kt.after @@ -9,4 +9,5 @@ class A(val n: T) { fun test() { val a: A = A(1).foo(2) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnClassNoClassObject.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnClassNoClassObject.kt index a634b3f3c1fb..cd97460a638a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnClassNoClassObject.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnClassNoClassObject.kt @@ -4,4 +4,5 @@ class A(val n: T) fun test() { val a: Int = A.foo(2) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnClassNoClassObject.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnClassNoClassObject.kt.after index df6dfd7788c4..49102f5a0d3e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnClassNoClassObject.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnClassNoClassObject.kt.after @@ -10,4 +10,5 @@ class A(val n: T) { fun test() { val a: Int = A.foo(2) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnClassNoClassObject2.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnClassNoClassObject2.kt index 51e93f1e1af6..758bf5ea7867 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnClassNoClassObject2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnClassNoClassObject2.kt @@ -4,4 +4,5 @@ class A fun test() { val a: Int = A.foo(2) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnClassNoClassObject2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnClassNoClassObject2.kt.after index 8ad9016fa01d..746b7bed0789 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnClassNoClassObject2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnClassNoClassObject2.kt.after @@ -10,4 +10,5 @@ class A { fun test() { val a: Int = A.foo(2) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnClassObject.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnClassObject.kt index 9e9c7057eb92..4db1a0405349 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnClassObject.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnClassObject.kt @@ -8,4 +8,5 @@ class A(val n: T) { fun test() { val a: Int = A.foo(2) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnClassObject.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnClassObject.kt.after index 1453e1a929eb..d1447d633ebe 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnClassObject.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnClassObject.kt.after @@ -11,4 +11,5 @@ class A(val n: T) { fun test() { val a: Int = A.foo(2) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnEnumClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnEnumClass.kt index 1f6f963a5790..071720fe6c54 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnEnumClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnEnumClass.kt @@ -5,4 +5,5 @@ fun foo() { enum class Bar { BAZ -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnEnumClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnEnumClass.kt.after index 235403bc9edf..aeb752dcbc9d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnEnumClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnEnumClass.kt.after @@ -9,4 +9,5 @@ enum class Bar { fun foo() { TODO("Not yet implemented") } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnEnumClass2.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnEnumClass2.kt index f10b0ad2a13c..aded64054a30 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnEnumClass2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnEnumClass2.kt @@ -5,4 +5,5 @@ fun foo() { enum class Bar { BAZ; -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnEnumClass2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnEnumClass2.kt.after index 235403bc9edf..aeb752dcbc9d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnEnumClass2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnEnumClass2.kt.after @@ -9,4 +9,5 @@ enum class Bar { fun foo() { TODO("Not yet implemented") } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnInterface.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnInterface.kt index 3c4e2fc0bdf7..5a06275454dd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnInterface.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnInterface.kt @@ -4,4 +4,5 @@ interface T fun test(t: T) { val b: Boolean = t.foo("1", 2) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnInterface.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnInterface.kt.after index f34a3d240e9f..a0bbdf6ba152 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnInterface.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnInterface.kt.after @@ -8,4 +8,5 @@ interface T { fun test(t: T) { val b: Boolean = t.foo("1", 2) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnLibObject.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnLibObject.kt index 64215d354d34..4eb152d79179 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnLibObject.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnLibObject.kt @@ -3,4 +3,5 @@ fun test() { val a: Int = Unit.foo(2) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnLibObject.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnLibObject.kt.after index 86e5f5b951da..902959af58dd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnLibObject.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnLibObject.kt.after @@ -8,3 +8,4 @@ fun test() { private fun Unit.foo(i: Int): Int { TODO("Not yet implemented") } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnLibType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnLibType.kt index b46e3737f348..5ec0f8de5d75 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnLibType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnLibType.kt @@ -5,4 +5,5 @@ class A(val n: T) fun test() { val a: A = 2.foo(A(1)) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnLibType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnLibType.kt.after index 95d3e16f6dff..d30f7f290fdc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnLibType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnLibType.kt.after @@ -10,3 +10,4 @@ fun test() { private fun Int.foo(a: A): A { TODO("Not yet implemented") } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnUserObject.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnUserObject.kt index 55ecea16b0ba..89282a055b81 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnUserObject.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnUserObject.kt @@ -4,4 +4,5 @@ object A fun test() { val a: Int = A.foo(2) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnUserObject.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnUserObject.kt.after index c697130a1259..49ee5c1fb9e4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnUserObject.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnUserObject.kt.after @@ -8,4 +8,5 @@ object A { fun test() { val a: Int = A.foo(2) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnUserType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnUserType.kt index cc42fc336cf6..7accbd2352f4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnUserType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnUserType.kt @@ -4,4 +4,5 @@ class A(val n: T) fun test() { val a: A = A(1).foo(2) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnUserType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnUserType.kt.after index 59756fd78cc7..7692a86ef5e4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnUserType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnUserType.kt.after @@ -8,4 +8,5 @@ class A(val n: T) { fun test() { val a: A = A(1).foo(2) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnUserTypeWithDeclarations.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnUserTypeWithDeclarations.kt index f4d46f42468a..0cfe447e61b3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnUserTypeWithDeclarations.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnUserTypeWithDeclarations.kt @@ -7,4 +7,5 @@ class F { class X { val f: Int = F().foo(1, "2") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnUserTypeWithDeclarations.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnUserTypeWithDeclarations.kt.after index c617c7f249d5..65bc8e9ae636 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnUserTypeWithDeclarations.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnUserTypeWithDeclarations.kt.after @@ -11,4 +11,5 @@ class F { class X { val f: Int = F().foo(1, "2") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnUserTypeWithTypeParams.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnUserTypeWithTypeParams.kt index 6c3e7afc08ac..c9c887706d31 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnUserTypeWithTypeParams.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnUserTypeWithTypeParams.kt @@ -4,4 +4,5 @@ class A(val n: T) fun test(u: U) { val a: A = A(u).foo(u) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnUserTypeWithTypeParams.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnUserTypeWithTypeParams.kt.after index 29ad5a322f87..5094ee39db0a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnUserTypeWithTypeParams.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnUserTypeWithTypeParams.kt.after @@ -8,4 +8,5 @@ class A(val n: T) { fun test(u: U) { val a: A = A(u).foo(u) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funPlacement.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funPlacement.kt index 59e5b0d55efd..a00eed5d13c9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funPlacement.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funPlacement.kt @@ -12,3 +12,5 @@ class A { } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funPlacement.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funPlacement.kt.after index d96142cc4983..726997f2ed06 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funPlacement.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funPlacement.kt.after @@ -16,3 +16,5 @@ class A { } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funWithExplicitParamNamesOnUserType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funWithExplicitParamNamesOnUserType.kt index 5aa09e757d56..7b740271ed9a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funWithExplicitParamNamesOnUserType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funWithExplicitParamNamesOnUserType.kt @@ -4,4 +4,5 @@ class A(val n: T) fun test() { val a: A = A(1).foo(abc = 1, ghi = A(2), def = "s") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funWithExplicitParamNamesOnUserType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funWithExplicitParamNamesOnUserType.kt.after index ed33bdb95f54..d8456f0b78fb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funWithExplicitParamNamesOnUserType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funWithExplicitParamNamesOnUserType.kt.after @@ -8,4 +8,5 @@ class A(val n: T) { fun test() { val a: A = A(1).foo(abc = 1, ghi = A(2), def = "s") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funWithNullableParamType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funWithNullableParamType.kt index 90f57e3cd8fd..a8eb770de592 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funWithNullableParamType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funWithNullableParamType.kt @@ -4,4 +4,5 @@ class A(val n: T) fun test() { val a: A = A(true).foo(false as Boolean?) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funWithNullableParamType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funWithNullableParamType.kt.after index 64bf990644f2..9b0ef3ee2b91 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funWithNullableParamType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funWithNullableParamType.kt.after @@ -8,4 +8,5 @@ class A(val n: T) { fun test() { val a: A = A(true).foo(false as Boolean?) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funWithNullableType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funWithNullableType.kt index a59b1898313e..8faa18a873fa 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funWithNullableType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funWithNullableType.kt @@ -4,4 +4,5 @@ class A(val n: T) fun test() { val a: A? = A(1).foo(2) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funWithNullableType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funWithNullableType.kt.after index db4abb6131c1..02b804cda153 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funWithNullableType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funWithNullableType.kt.after @@ -8,4 +8,5 @@ class A(val n: T) { fun test() { val a: A? = A(1).foo(2) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funWithNullableTypeParameter.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funWithNullableTypeParameter.kt index cdf48f476869..75fdb7ddeb5f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funWithNullableTypeParameter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funWithNullableTypeParameter.kt @@ -4,4 +4,5 @@ class A(val n: T) fun test() { val a: A = A(1 as Int?).foo(2) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funWithNullableTypeParameter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funWithNullableTypeParameter.kt.after index 74c96d6d6b1f..fd1748a782c9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funWithNullableTypeParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funWithNullableTypeParameter.kt.after @@ -8,4 +8,5 @@ class A(val n: T) { fun test() { val a: A = A(1 as Int?).foo(2) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funWithPackageName.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funWithPackageName.kt index 9949d079856c..db76d9887233 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funWithPackageName.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funWithPackageName.kt @@ -4,4 +4,5 @@ package foo fun test() { foo(2, "2") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funWithPackageName.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funWithPackageName.kt.after index 59929c655b47..0bddfc1e638e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funWithPackageName.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funWithPackageName.kt.after @@ -9,3 +9,4 @@ fun test() { fun foo(i: Int, s: String) { TODO("Not yet implemented") } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/functionalType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/functionalType.kt index e1699d8679c8..452b39623f8f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/functionalType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/functionalType.kt @@ -2,4 +2,5 @@ fun foo(block: (Int) -> String) { bar(block) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/functionalType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/functionalType.kt.after index e81980cb577b..824af2f822d9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/functionalType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/functionalType.kt.after @@ -7,3 +7,4 @@ fun foo(block: (Int) -> String) { fun bar(block: (Int) -> String) { TODO("Not yet implemented") } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/functionalTypeInReceiver.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/functionalTypeInReceiver.kt index 92e9721118de..8e411984dbcf 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/functionalTypeInReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/functionalTypeInReceiver.kt @@ -2,4 +2,5 @@ fun foo(block: (Int) -> String) { block.bar() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/functionalTypeInReceiver.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/functionalTypeInReceiver.kt.after index 8f4d2bccad36..152f06f1132b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/functionalTypeInReceiver.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/functionalTypeInReceiver.kt.after @@ -7,3 +7,4 @@ fun foo(block: (Int) -> String) { private fun ((P1) -> R).bar() { TODO("Not yet implemented") } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/inAnonymousFunBlockWithExpectedType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/inAnonymousFunBlockWithExpectedType.kt index fb60a0dc8ace..b76c806268b7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/inAnonymousFunBlockWithExpectedType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/inAnonymousFunBlockWithExpectedType.kt @@ -6,4 +6,5 @@ fun A.convert(f: (T) -> U) = A(f(t)) fun foo(l: A): A { return l.convert(fun(it: String): Int { return bar(it) }) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/inAnonymousFunBlockWithExpectedType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/inAnonymousFunBlockWithExpectedType.kt.after index 473a1c73f17e..09708912979e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/inAnonymousFunBlockWithExpectedType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/inAnonymousFunBlockWithExpectedType.kt.after @@ -11,3 +11,4 @@ fun foo(l: A): A { fun bar(it: String): Int { TODO("Not yet implemented") } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/inAnonymousFunExprWithExpectedType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/inAnonymousFunExprWithExpectedType.kt index a90ec46ac549..fb5e7321e66b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/inAnonymousFunExprWithExpectedType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/inAnonymousFunExprWithExpectedType.kt @@ -6,4 +6,5 @@ fun A.convert(f: (T) -> U) = A(f(t)) fun foo(l: A): A { return l.convert(fun(it: String) = bar(it)) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/inAnonymousFunExprWithExpectedType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/inAnonymousFunExprWithExpectedType.kt.after index 814abc4d8aed..53d822ba45a8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/inAnonymousFunExprWithExpectedType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/inAnonymousFunExprWithExpectedType.kt.after @@ -11,3 +11,4 @@ fun foo(l: A): A { fun bar(it: String): Int { TODO("Not yet implemented") } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/inLambda.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/inLambda.kt index adb2b0f1251c..4c0f19791bb1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/inLambda.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/inLambda.kt @@ -4,4 +4,5 @@ fun run(f: () -> T) = f() fun test() { run { foo() } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/inLambda.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/inLambda.kt.after index d19f77fe9be5..a72599357ad4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/inLambda.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/inLambda.kt.after @@ -9,3 +9,4 @@ fun test() { fun foo() { TODO("Not yet implemented") } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/inLambdaWithExpectedType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/inLambdaWithExpectedType.kt index fd9a468e06d4..60eb3e3fd491 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/inLambdaWithExpectedType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/inLambdaWithExpectedType.kt @@ -6,4 +6,5 @@ fun A.convert(f: (T) -> U) = A(f(t)) fun foo(l: A): A { return l.convert { bar(it) } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/inLambdaWithExpectedType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/inLambdaWithExpectedType.kt.after index 457082cfcea5..2887a267d0a7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/inLambdaWithExpectedType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/inLambdaWithExpectedType.kt.after @@ -11,3 +11,4 @@ fun foo(l: A): A { fun bar(it: String): Int { TODO("Not yet implemented") } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/inLambdaWithExpectedType2.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/inLambdaWithExpectedType2.kt index c6ca737a6400..6c24731c6bf0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/inLambdaWithExpectedType2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/inLambdaWithExpectedType2.kt @@ -7,3 +7,5 @@ fun use(){ createMe() } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/inLambdaWithExpectedType2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/inLambdaWithExpectedType2.kt.after index 563f75e55fb8..bb07e1b06a29 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/inLambdaWithExpectedType2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/inLambdaWithExpectedType2.kt.after @@ -11,3 +11,5 @@ fun use(){ fun createMe(): Boolean { TODO("Not yet implemented") } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/inLambdaWithExpectedType3.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/inLambdaWithExpectedType3.kt index 1fa260b5eeb7..237b6d1f36e1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/inLambdaWithExpectedType3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/inLambdaWithExpectedType3.kt @@ -7,3 +7,5 @@ fun use(){ createMe(i, s) } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/inLambdaWithExpectedType3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/inLambdaWithExpectedType3.kt.after index 73e6b2fe8406..a4571bd6ec37 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/inLambdaWithExpectedType3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/inLambdaWithExpectedType3.kt.after @@ -11,3 +11,5 @@ fun use(){ fun createMe(i: Int, s: String): Boolean { TODO("Not yet implemented") } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/inLambdaWithExpectedType4.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/inLambdaWithExpectedType4.kt index 93fa6339c692..fcb497c20c20 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/inLambdaWithExpectedType4.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/inLambdaWithExpectedType4.kt @@ -5,3 +5,5 @@ fun param(p: () -> Boolean, x: Int) { fun use(){ param({ createMe() }, 1) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/inLambdaWithExpectedType4.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/inLambdaWithExpectedType4.kt.after index c1d908de428b..4a3196a63d56 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/inLambdaWithExpectedType4.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/inLambdaWithExpectedType4.kt.after @@ -9,3 +9,5 @@ fun use(){ fun createMe(): Boolean { TODO("Not yet implemented") } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/inLambdaWithExpectedType5.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/inLambdaWithExpectedType5.kt index fe2263bb6efd..53042dbe1758 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/inLambdaWithExpectedType5.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/inLambdaWithExpectedType5.kt @@ -8,3 +8,5 @@ fun use(){ true } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/inLambdaWithExpectedType5.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/inLambdaWithExpectedType5.kt.after index 1c7228080229..66b5ed6f1db6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/inLambdaWithExpectedType5.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/inLambdaWithExpectedType5.kt.after @@ -12,3 +12,5 @@ fun use(){ fun createMe() { TODO("Not yet implemented") } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/inconsistentTypes.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/inconsistentTypes.kt index 7a83ae1a96f3..6ea872ca5527 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/inconsistentTypes.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/inconsistentTypes.kt @@ -5,4 +5,5 @@ class A(val n: T) fun test(): Int { return A(1).foo("s", 1) as A -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/inconsistentTypes.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/inconsistentTypes.kt.after index 1c26f2f219a4..dde5db66b6db 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/inconsistentTypes.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/inconsistentTypes.kt.after @@ -9,4 +9,5 @@ class A(val n: T) { fun test(): Int { return A(1).foo("s", 1) as A -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/insideIfCondition.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/insideIfCondition.kt index e981ff2bc8f7..1e4eb3d323c3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/insideIfCondition.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/insideIfCondition.kt @@ -1,4 +1,5 @@ // "Create function 'foo'" "true" fun bar() { if (foo()) return -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/insideIfCondition.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/insideIfCondition.kt.after index 6709f5b80819..37e2c9d57d7b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/insideIfCondition.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/insideIfCondition.kt.after @@ -6,3 +6,4 @@ fun bar() { fun foo(): Boolean { TODO("Not yet implemented") } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/insideIfConditionWithNegation.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/insideIfConditionWithNegation.kt index 8ab6ff668b99..15781736fcd4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/insideIfConditionWithNegation.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/insideIfConditionWithNegation.kt @@ -2,3 +2,5 @@ fun test(p: Boolean) { if (!foo()) {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/insideIfConditionWithNegation.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/insideIfConditionWithNegation.kt.after index be7b171722e1..0007704ee3be 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/insideIfConditionWithNegation.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/insideIfConditionWithNegation.kt.after @@ -6,3 +6,5 @@ fun test(p: Boolean) { fun foo(): Boolean { TODO("Not yet implemented") } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/localFunNoReceiver.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/localFunNoReceiver.kt index d09c5345b33c..b4012199b8ee 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/localFunNoReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/localFunNoReceiver.kt @@ -4,4 +4,5 @@ fun test() { fun nestedTest(): Int { return foo(2, "2") } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/localFunNoReceiver.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/localFunNoReceiver.kt.after index 47cb5f08ba0c..efabb15d52c4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/localFunNoReceiver.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/localFunNoReceiver.kt.after @@ -8,4 +8,5 @@ fun test() { fun nestedTest(): Int { return foo(2, "2") } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/memberFunNoReceiver.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/memberFunNoReceiver.kt index 290c1aeb62d4..b72adf21bc50 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/memberFunNoReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/memberFunNoReceiver.kt @@ -6,4 +6,5 @@ class A { return foo(2, "2") } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/memberFunNoReceiver.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/memberFunNoReceiver.kt.after index 92499de0063e..49a62abcc0f2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/memberFunNoReceiver.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/memberFunNoReceiver.kt.after @@ -10,4 +10,5 @@ class A { TODO("Not yet implemented") } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/memberValDelegateRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/memberValDelegateRuntime.kt index 0f9397979822..c9ecdb3f9ea6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/memberValDelegateRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/memberValDelegateRuntime.kt @@ -3,3 +3,5 @@ class A(val t: T) { val x: A by foo(t, "") } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/memberValDelegateRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/memberValDelegateRuntime.kt.after index 665c3a63a693..701d1d8303ee 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/memberValDelegateRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/memberValDelegateRuntime.kt.after @@ -9,3 +9,5 @@ class A(val t: T) { TODO("Not yet implemented") } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/memberVarDelegateRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/memberVarDelegateRuntime.kt index 445779c5894c..dd406079767b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/memberVarDelegateRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/memberVarDelegateRuntime.kt @@ -3,3 +3,5 @@ class A(val t: T) { var x: A by foo(t, "") } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/memberVarDelegateRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/memberVarDelegateRuntime.kt.after index 9675de410d02..14cf3614b377 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/memberVarDelegateRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/memberVarDelegateRuntime.kt.after @@ -9,3 +9,5 @@ class A(val t: T) { TODO("Not yet implemented") } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/nullableReceiver.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/nullableReceiver.kt index 5ae872678fd0..3147b115e6d1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/nullableReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/nullableReceiver.kt @@ -1,4 +1,5 @@ // "Create extension function 'String?.notExistingFun'" "true" fun context(p: String?) { p.notExistingFun() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/nullableReceiver.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/nullableReceiver.kt.after index 0fad2439126b..5fae894194e2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/nullableReceiver.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/nullableReceiver.kt.after @@ -6,3 +6,4 @@ fun context(p: String?) { private fun String?.notExistingFun() { TODO("Not yet implemented") } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/objectMemberFunNoReceiver.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/objectMemberFunNoReceiver.kt index 2970ff9773ab..af619a32f305 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/objectMemberFunNoReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/objectMemberFunNoReceiver.kt @@ -6,4 +6,5 @@ class A { return foo(2, "2") } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/objectMemberFunNoReceiver.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/objectMemberFunNoReceiver.kt.after index 6f07ab6b6710..aefad2450e29 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/objectMemberFunNoReceiver.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/objectMemberFunNoReceiver.kt.after @@ -10,4 +10,5 @@ class A { TODO("Not yet implemented") } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/privateForMembers.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/privateForMembers.kt index 649efb0b115c..c6ba151c984c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/privateForMembers.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/privateForMembers.kt @@ -3,4 +3,5 @@ class A { fun test() { foo() } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/privateForMembers.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/privateForMembers.kt.after index 481b4fe01047..b6bb4fd52d0b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/privateForMembers.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/privateForMembers.kt.after @@ -7,4 +7,5 @@ class A { private fun foo() { TODO("Not yet implemented") } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/qualifiedCallInStringTemplateRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/qualifiedCallInStringTemplateRuntime.kt index 009c077937e7..f17fa7d02dac 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/qualifiedCallInStringTemplateRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/qualifiedCallInStringTemplateRuntime.kt @@ -4,4 +4,5 @@ class A fun test() { println("a = ${A().foo()}") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/qualifiedCallInStringTemplateRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/qualifiedCallInStringTemplateRuntime.kt.after index 840a3e9f6e73..1841582f0912 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/qualifiedCallInStringTemplateRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/qualifiedCallInStringTemplateRuntime.kt.after @@ -8,4 +8,5 @@ class A { fun test() { println("a = ${A().foo()}") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/receiverWithSmartCast.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/receiverWithSmartCast.kt index cc5c450fc002..b529a8383abb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/receiverWithSmartCast.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/receiverWithSmartCast.kt @@ -7,4 +7,5 @@ fun doSomething(p: Any): List{ } return emptyList() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/receiverWithSmartCast.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/receiverWithSmartCast.kt.after index cf03ab71fe52..aa0c191c5e3f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/receiverWithSmartCast.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/receiverWithSmartCast.kt.after @@ -11,4 +11,5 @@ fun doSomething(p: Any): List{ } return emptyList() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/smartCastWithIs.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/smartCastWithIs.kt index c3f365b926f8..5099c476f13f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/smartCastWithIs.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/smartCastWithIs.kt @@ -3,3 +3,5 @@ fun test(o: Any) { if (o is String) foo(o) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/smartCastWithIs.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/smartCastWithIs.kt.after index 5097ac355a33..13d4c588a0ff 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/smartCastWithIs.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/smartCastWithIs.kt.after @@ -7,3 +7,5 @@ fun test(o: Any) { fun foo(o: String) { TODO("Not yet implemented") } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/smartCastWithNullCheck.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/smartCastWithNullCheck.kt index b04274d3e39b..9ef2d683b0be 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/smartCastWithNullCheck.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/smartCastWithNullCheck.kt @@ -4,3 +4,5 @@ fun test(s: String?) { if (s == null) return foo(s) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/smartCastWithNullCheck.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/smartCastWithNullCheck.kt.after index f43d752bb431..a3c03cf13a49 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/smartCastWithNullCheck.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/smartCastWithNullCheck.kt.after @@ -8,3 +8,5 @@ fun test(s: String?) { fun foo(s: String) { TODO("Not yet implemented") } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/stripPrefix.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/stripPrefix.kt index ffc06baa4de3..519ac3e5e738 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/stripPrefix.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/stripPrefix.kt @@ -4,4 +4,5 @@ class SetOptions fun isModified(setOptions: SetOptions, c: C) = c.foo(setOptions) class C { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/stripPrefix.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/stripPrefix.kt.after index 4b81f4307de0..21214b3ef5b5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/stripPrefix.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/stripPrefix.kt.after @@ -7,4 +7,5 @@ class C { fun foo(options: SetOptions): Any { TODO("Not yet implemented") } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/thisInClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/thisInClass.kt index 67f585585ac5..002b20e192db 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/thisInClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/thisInClass.kt @@ -4,4 +4,5 @@ class A(val n: T) { fun test(): A { return this.foo(2, "2") } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/thisInClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/thisInClass.kt.after index bce50aed150a..f793094b9829 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/thisInClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/thisInClass.kt.after @@ -8,4 +8,5 @@ class A(val n: T) { private fun foo(i: Int, s: String): A { TODO("Not yet implemented") } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/thisInExtension.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/thisInExtension.kt index 583a904781f0..aa5bea061c31 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/thisInExtension.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/thisInExtension.kt @@ -4,4 +4,5 @@ class A(val n: T) fun A.test(): A { return this.foo(2, "2") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/thisInExtension.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/thisInExtension.kt.after index a7a806000d9c..513fd425c17b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/thisInExtension.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/thisInExtension.kt.after @@ -8,4 +8,5 @@ class A(val n: T) { fun A.test(): A { return this.foo(2, "2") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/thisInNestedClass1.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/thisInNestedClass1.kt index 46aa88191774..fca72c64ed1e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/thisInNestedClass1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/thisInNestedClass1.kt @@ -6,4 +6,5 @@ class A(val n: T) { return this.foo(2, "2") } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/thisInNestedClass1.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/thisInNestedClass1.kt.after index 187c83c6ac54..123311ee41ca 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/thisInNestedClass1.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/thisInNestedClass1.kt.after @@ -10,4 +10,5 @@ class A(val n: T) { TODO("Not yet implemented") } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/thisInNestedClass2.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/thisInNestedClass2.kt index c276d688e6ce..527947e20606 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/thisInNestedClass2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/thisInNestedClass2.kt @@ -6,4 +6,5 @@ class A(val n: T) { return this@A.foo(2, "2") } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/thisInNestedClass2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/thisInNestedClass2.kt.after index 499f36cdbcf4..394e98ef7738 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/thisInNestedClass2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/thisInNestedClass2.kt.after @@ -10,4 +10,5 @@ class A(val n: T) { private fun foo(i: Int, s: String): A { TODO("Not yet implemented") } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/topLevelFunNoReceiver.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/topLevelFunNoReceiver.kt index 71d651082c3c..30f33fee8d0f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/topLevelFunNoReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/topLevelFunNoReceiver.kt @@ -2,4 +2,5 @@ fun test(): Int { return foo(2, "2") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/topLevelFunNoReceiver.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/topLevelFunNoReceiver.kt.after index e03c05458b2c..80dd3a138315 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/topLevelFunNoReceiver.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/topLevelFunNoReceiver.kt.after @@ -7,3 +7,4 @@ fun test(): Int { fun foo(i: Int, s: String): Int { TODO("Not yet implemented") } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/topLevelFunPlacement.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/topLevelFunPlacement.kt index 3bea7e02dbd8..5f7cad44d182 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/topLevelFunPlacement.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/topLevelFunPlacement.kt @@ -10,3 +10,5 @@ fun bar() { } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/topLevelFunPlacement.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/topLevelFunPlacement.kt.after index c17e99a8b39e..ca216d9dac66 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/topLevelFunPlacement.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/topLevelFunPlacement.kt.after @@ -14,3 +14,5 @@ fun bar() { } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/callWithStarProjection.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/callWithStarProjection.kt index 05776d20a920..804b3c880ee6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/callWithStarProjection.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/callWithStarProjection.kt @@ -2,4 +2,5 @@ fun test(): Int { return foo(2, "2") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/callWithStarProjection.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/callWithStarProjection.kt.after index 60c996c7ac34..1834a09b962f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/callWithStarProjection.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/callWithStarProjection.kt.after @@ -7,3 +7,4 @@ fun test(): Int { fun foo(i: Int, t: T): Int { TODO("Not yet implemented") } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/classMember.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/classMember.kt index 03e7f6b9c664..624a12d4d3a4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/classMember.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/classMember.kt @@ -8,4 +8,5 @@ class A(val b: B) { fun test(): Int { return b.foo(2, "2") } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/classMember.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/classMember.kt.after index 345652b5e142..fad2c51eac38 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/classMember.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/classMember.kt.after @@ -11,4 +11,5 @@ class A(val b: B) { fun test(): Int { return b.foo(2, "2") } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/classMemberInFunctionLiteralWithReceiver.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/classMemberInFunctionLiteralWithReceiver.kt index f85568eb8929..000a95b4b6cc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/classMemberInFunctionLiteralWithReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/classMemberInFunctionLiteralWithReceiver.kt @@ -5,4 +5,5 @@ fun foo(t: T, f: T.() -> Unit = {}) {} class Text(private val t: T) { fun f() = foo(t) { bar() } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/classMemberInFunctionLiteralWithReceiver.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/classMemberInFunctionLiteralWithReceiver.kt.after index 38b5d6fcd00d..a65d03556fcb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/classMemberInFunctionLiteralWithReceiver.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/classMemberInFunctionLiteralWithReceiver.kt.after @@ -9,4 +9,5 @@ fun foo(t: T, f: T.() -> Unit = {}) {} class Text(private val t: T) { fun f() = foo(t) { bar() } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/classMemberPartialSubstitution.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/classMemberPartialSubstitution.kt index c169768abad1..663ceb59a714 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/classMemberPartialSubstitution.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/classMemberPartialSubstitution.kt @@ -8,4 +8,5 @@ class A(val b: B) { fun test(): Int { return b.foo(2, "2") } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/classMemberPartialSubstitution.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/classMemberPartialSubstitution.kt.after index 3dae8b9967cc..3275c292f5b2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/classMemberPartialSubstitution.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/classMemberPartialSubstitution.kt.after @@ -11,4 +11,5 @@ class A(val b: B) { fun test(): Int { return b.foo(2, "2") } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/classMemberWithReceiverArg.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/classMemberWithReceiverArg.kt index 5c755f9853c5..c10507c2941f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/classMemberWithReceiverArg.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/classMemberWithReceiverArg.kt @@ -8,4 +8,5 @@ class A(val b: B) { fun test(): Int { return b.foo(2, "2") } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/classMemberWithReceiverArg.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/classMemberWithReceiverArg.kt.after index 345652b5e142..fad2c51eac38 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/classMemberWithReceiverArg.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/classMemberWithReceiverArg.kt.after @@ -11,4 +11,5 @@ class A(val b: B) { fun test(): Int { return b.foo(2, "2") } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/extension.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/extension.kt index 99ef1fba9734..f01958721d38 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/extension.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/extension.kt @@ -5,4 +5,5 @@ class A(val items: List) { fun test(): Int { return items.foo(2, "2") } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/extension.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/extension.kt.after index f34c49bd27b0..cc7371747c21 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/extension.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/extension.kt.after @@ -10,3 +10,4 @@ class A(val items: List) { private fun List.foo(t: T, u: U): T { TODO("Not yet implemented") } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/extensionPartialSubstitution.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/extensionPartialSubstitution.kt index 2f004b3dbc62..5ef14026323b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/extensionPartialSubstitution.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/extensionPartialSubstitution.kt @@ -5,4 +5,5 @@ class A(val items: List) { fun test(): Int { return items.foo(2, "2") } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/extensionPartialSubstitution.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/extensionPartialSubstitution.kt.after index 76aabfe85abf..66c00bdf6a4a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/extensionPartialSubstitution.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/extensionPartialSubstitution.kt.after @@ -10,3 +10,4 @@ class A(val items: List) { private fun List.foo(t: T, s: String): T { TODO("Not yet implemented") } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/extensionWithReceiverArg.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/extensionWithReceiverArg.kt index 5d73eedcab0d..89b93ffe92ac 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/extensionWithReceiverArg.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/extensionWithReceiverArg.kt @@ -5,4 +5,5 @@ class A(val items: List) { fun test(): Int { return items.foo(2, "2") } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/extensionWithReceiverArg.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/extensionWithReceiverArg.kt.after index f34c49bd27b0..cc7371747c21 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/extensionWithReceiverArg.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/extensionWithReceiverArg.kt.after @@ -10,3 +10,4 @@ class A(val items: List) { private fun List.foo(t: T, u: U): T { TODO("Not yet implemented") } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/extensionWithTypeParameterAsReceiver.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/extensionWithTypeParameterAsReceiver.kt index 8a4e841c507f..8de4b1b6203d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/extensionWithTypeParameterAsReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/extensionWithTypeParameterAsReceiver.kt @@ -1,4 +1,5 @@ // "Create extension function 'T.bar'" "true" fun foo(t: T) { t.bar() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/extensionWithTypeParameterAsReceiver.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/extensionWithTypeParameterAsReceiver.kt.after index 1c07d2641a02..ff217f5b98f8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/extensionWithTypeParameterAsReceiver.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/extensionWithTypeParameterAsReceiver.kt.after @@ -6,3 +6,4 @@ fun foo(t: T) { private fun T.bar() { TODO("Not yet implemented") } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/noReceiver.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/noReceiver.kt index 1cff00f990ef..f541625838e4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/noReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/noReceiver.kt @@ -2,4 +2,5 @@ fun test(): Int { return foo(2, "2") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/noReceiver.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/noReceiver.kt.after index a5ce08dc0075..72d658107418 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/noReceiver.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/noReceiver.kt.after @@ -7,3 +7,4 @@ fun test(): Int { fun foo(u: U, t: T): U { TODO("Not yet implemented") } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/noReceiverExtraArgs.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/noReceiverExtraArgs.kt index a44c4c5fbadb..1694bfe20003 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/noReceiverExtraArgs.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/noReceiverExtraArgs.kt @@ -2,4 +2,5 @@ fun test(): Int { return foo(2, "2") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/noReceiverExtraArgs.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/noReceiverExtraArgs.kt.after index 9ca7ad473bbb..dcf35cc5743d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/noReceiverExtraArgs.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/noReceiverExtraArgs.kt.after @@ -7,3 +7,4 @@ fun test(): Int { fun foo(u: U, t: T): U { TODO("Not yet implemented") } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/noReceiverLongName.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/noReceiverLongName.kt index 8ad44ba6ad37..0c005c1914c6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/noReceiverLongName.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/noReceiverLongName.kt @@ -2,4 +2,5 @@ fun test(): Int { return foo(2, "2") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/noReceiverLongName.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/noReceiverLongName.kt.after index a5ce08dc0075..72d658107418 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/noReceiverLongName.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/noReceiverLongName.kt.after @@ -7,3 +7,4 @@ fun test(): Int { fun foo(u: U, t: T): U { TODO("Not yet implemented") } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/noReceiverPartialSubstitution.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/noReceiverPartialSubstitution.kt index bc4f06d0d049..124d3d634af5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/noReceiverPartialSubstitution.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/noReceiverPartialSubstitution.kt @@ -2,4 +2,5 @@ fun test(): Int { return foo(2, "2") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/noReceiverPartialSubstitution.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/noReceiverPartialSubstitution.kt.after index d95d3a212fb2..87f17d955d1a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/noReceiverPartialSubstitution.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/noReceiverPartialSubstitution.kt.after @@ -7,3 +7,4 @@ fun test(): Int { fun foo(t: T, s: String): T { TODO("Not yet implemented") } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/unitFun.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/unitFun.kt index f75cd5f158c1..92e64d141de5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/unitFun.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/unitFun.kt @@ -2,4 +2,5 @@ fun test() { foo(2, "2") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/unitFun.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/unitFun.kt.after index 198705957939..0afe8aee6778 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/unitFun.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/unitFun.kt.after @@ -7,3 +7,4 @@ fun test() { fun foo(i: Int, s: String) { TODO("Not yet implemented") } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/unknownType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/unknownType.kt index 6d40cedab419..57063aa9e5a9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/unknownType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/unknownType.kt @@ -5,4 +5,5 @@ class A(val n: T) fun test(): Int { return A(1).foo(s, 1) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/unknownType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/unknownType.kt.after index ea7a16c204c7..900601581fd7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/unknownType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/unknownType.kt.after @@ -9,4 +9,5 @@ class A(val n: T) { fun test(): Int { return A(1).foo(s, 1) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/unresolvedSupertype.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/unresolvedSupertype.kt index 79308d8dc0ed..6625d274708c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/unresolvedSupertype.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/unresolvedSupertype.kt @@ -7,4 +7,5 @@ class A: B { fun test() { A().foo() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/unresolvedSupertype.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/unresolvedSupertype.kt.after index abeb2f542966..f9335afe9034 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/unresolvedSupertype.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/unresolvedSupertype.kt.after @@ -10,4 +10,5 @@ class A: B { fun test() { A().foo() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/extensionNoReceiverInCallableRef.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/extensionNoReceiverInCallableRef.kt index 137f2c40942c..50ec6ef505b2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/extensionNoReceiverInCallableRef.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/extensionNoReceiverInCallableRef.kt @@ -5,4 +5,5 @@ fun consume(s: String) {} fun test() { consume(1.map(::foo)) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/extensionNoReceiverInCallableRef.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/extensionNoReceiverInCallableRef.kt.after index b05bd90b4578..ccdddb70f5f4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/extensionNoReceiverInCallableRef.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/extensionNoReceiverInCallableRef.kt.after @@ -8,4 +8,5 @@ fun test() { TODO("Not yet implemented") } consume(1.map(::foo)) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/extensionWithObjectReceiver.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/extensionWithObjectReceiver.kt index 8a42a1c28607..0610b87f0068 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/extensionWithObjectReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/extensionWithObjectReceiver.kt @@ -2,3 +2,5 @@ object Foo val f: (String) -> Int = Foo::bar + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/extensionWithObjectReceiver.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/extensionWithObjectReceiver.kt.after index 5717786b6968..45fb50cc248e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/extensionWithObjectReceiver.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/extensionWithObjectReceiver.kt.after @@ -6,3 +6,5 @@ val f: (String) -> Int = Foo::bar private fun Foo.bar(s: String): Int { TODO("Not yet implemented") } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/extensionWithReceiverInCallableRef.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/extensionWithReceiverInCallableRef.kt index f28e307f4985..0c23d8ba7e79 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/extensionWithReceiverInCallableRef.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/extensionWithReceiverInCallableRef.kt @@ -6,4 +6,5 @@ fun consume(s: String) {} fun test() { consume(1.map(Int::foo)) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/extensionWithReceiverInCallableRef.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/extensionWithReceiverInCallableRef.kt.after index b68e29e62461..97b96060adf7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/extensionWithReceiverInCallableRef.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/extensionWithReceiverInCallableRef.kt.after @@ -11,3 +11,4 @@ fun test() { private fun Int.foo(): String { TODO("Not yet implemented") } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/extensionWithThisReceiver.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/extensionWithThisReceiver.kt index f7fe62455996..60d2782b9c8f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/extensionWithThisReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/extensionWithThisReceiver.kt @@ -3,4 +3,5 @@ class R(val f: (Int) -> Unit) class Q { val r = R(this::myf) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/extensionWithThisReceiver.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/extensionWithThisReceiver.kt.after index a8d10bcda734..9dd7b960afa5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/extensionWithThisReceiver.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/extensionWithThisReceiver.kt.after @@ -8,3 +8,4 @@ class Q { private fun Q.myf(i: Int) { TODO("Not yet implemented") } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/extensionWithVariableReceiver.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/extensionWithVariableReceiver.kt index 72bb78975ed1..ccff8e4d01b9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/extensionWithVariableReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/extensionWithVariableReceiver.kt @@ -10,4 +10,5 @@ fun main() { iWantLambda( block = doggo::bark ) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/extensionWithVariableReceiver.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/extensionWithVariableReceiver.kt.after index e8b8e693c3a9..b3af48512394 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/extensionWithVariableReceiver.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/extensionWithVariableReceiver.kt.after @@ -15,3 +15,4 @@ fun main() { private fun Doggo.bark() { TODO("Not yet implemented") } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/memberWithObjectReceiver.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/memberWithObjectReceiver.kt index 87de8436cf7b..3e6620942a60 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/memberWithObjectReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/memberWithObjectReceiver.kt @@ -2,3 +2,5 @@ object Foo val f: (String) -> Int = Foo::bar + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/memberWithObjectReceiver.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/memberWithObjectReceiver.kt.after index cf0a9f3a1933..62386180e2b9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/memberWithObjectReceiver.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/memberWithObjectReceiver.kt.after @@ -6,3 +6,5 @@ object Foo { } val f: (String) -> Int = Foo::bar + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/memberWithThisReceiver.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/memberWithThisReceiver.kt index 813a94b1b3c9..b86ae59acb6d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/memberWithThisReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/memberWithThisReceiver.kt @@ -3,4 +3,5 @@ class R(val f: (Int) -> Unit) class Q { val r = R(this::myf) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/memberWithThisReceiver.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/memberWithThisReceiver.kt.after index 0593f99e8fd1..8113835b5065 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/memberWithThisReceiver.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/memberWithThisReceiver.kt.after @@ -7,4 +7,5 @@ class Q { private fun myf(i: Int) { TODO("Not yet implemented") } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/memberWithVariableReceiver.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/memberWithVariableReceiver.kt index d0f4705720a2..ea97fce64d26 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/memberWithVariableReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/memberWithVariableReceiver.kt @@ -10,4 +10,5 @@ fun main() { iWantLambda( block = doggo::bark ) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/memberWithVariableReceiver.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/memberWithVariableReceiver.kt.after index 15f6507371b0..7e9c56189e2f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/memberWithVariableReceiver.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/memberWithVariableReceiver.kt.after @@ -14,4 +14,5 @@ fun main() { iWantLambda( block = doggo::bark ) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/noExpectedReturnType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/noExpectedReturnType.kt index 91a4bd19cfba..0803fe4cc869 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/noExpectedReturnType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/noExpectedReturnType.kt @@ -3,4 +3,5 @@ fun T.map(f: (T) -> U) = f(this) fun test() { 1.map(::foo) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/noExpectedReturnType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/noExpectedReturnType.kt.after index f1ad621cb39f..96d9b771f33c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/noExpectedReturnType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/noExpectedReturnType.kt.after @@ -6,4 +6,5 @@ fun test() { TODO("Not yet implemented") } 1.map(::foo) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/nonExtensionWithReceiverInCallableRef.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/nonExtensionWithReceiverInCallableRef.kt index 87afb8d856f6..6fce4a53cfa4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/nonExtensionWithReceiverInCallableRef.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/nonExtensionWithReceiverInCallableRef.kt @@ -6,4 +6,5 @@ fun consume(s: String) {} fun test() { consume(1.map(Int::foo)) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/nonExtensionWithReceiverInCallableRef.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/nonExtensionWithReceiverInCallableRef.kt.after index 6f235057657e..305edf280348 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/nonExtensionWithReceiverInCallableRef.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/nonExtensionWithReceiverInCallableRef.kt.after @@ -11,3 +11,4 @@ fun test() { private fun Int.foo(): String { TODO("Not yet implemented") } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/withExpectedReturnType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/withExpectedReturnType.kt index 3a3d3908e08c..842ebaf4412a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/withExpectedReturnType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/withExpectedReturnType.kt @@ -5,4 +5,5 @@ fun consume(s: String) {} fun test() { consume(1.map(::foo)) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/withExpectedReturnType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/withExpectedReturnType.kt.after index ab6c831605f8..a248dac1621c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/withExpectedReturnType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/callableReferences/withExpectedReturnType.kt.after @@ -8,4 +8,5 @@ fun test() { TODO("Not yet implemented") } consume(1.map(::foo)) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/component/createComponentFromUsage1.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/component/createComponentFromUsage1.kt index 787c185767e9..26436255dc96 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/component/createComponentFromUsage1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/component/createComponentFromUsage1.kt @@ -6,3 +6,5 @@ class Foo { fun foo() { val (a, b, c) = Foo() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/component/createComponentFromUsage1.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/component/createComponentFromUsage1.kt.after index d051c848264f..522aa7c58503 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/component/createComponentFromUsage1.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/component/createComponentFromUsage1.kt.after @@ -9,3 +9,5 @@ class Foo { fun foo() { val (a, b, c) = Foo() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/component/createComponentFromUsage2.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/component/createComponentFromUsage2.kt index 4092ea337bf0..eff97cf710f8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/component/createComponentFromUsage2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/component/createComponentFromUsage2.kt @@ -6,3 +6,5 @@ class Foo { fun foo() { val (a, b, c: String) = Foo() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/component/createComponentFromUsage2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/component/createComponentFromUsage2.kt.after index 3c533fbc188c..34b2088b085f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/component/createComponentFromUsage2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/component/createComponentFromUsage2.kt.after @@ -9,3 +9,5 @@ class Foo { fun foo() { val (a, b, c: String) = Foo() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/component/createComponentFromUsage3.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/component/createComponentFromUsage3.kt index 19b7cee91095..88918436972a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/component/createComponentFromUsage3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/component/createComponentFromUsage3.kt @@ -16,4 +16,5 @@ operator fun Any.component1(): Int { } fun foo() { for ((i: Int, j: Int) in Foo()) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/component/createComponentFromUsage3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/component/createComponentFromUsage3.kt.after index 42e76ec31eb1..0094a0823c79 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/component/createComponentFromUsage3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/component/createComponentFromUsage3.kt.after @@ -21,3 +21,4 @@ fun foo() { private operator fun Any.component2(): Int { TODO("Not yet implemented") } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/delegateAccessors/localVal.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/delegateAccessors/localVal.kt index e4f246dfb395..fbadf4ba8c31 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/delegateAccessors/localVal.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/delegateAccessors/localVal.kt @@ -1,4 +1,5 @@ // "Create extension function 'String.getValue'" "true" fun x(parameters: String) { val n by parameters -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/delegateAccessors/localVal.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/delegateAccessors/localVal.kt.after index fbe3e90fc578..5f48a58050fd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/delegateAccessors/localVal.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/delegateAccessors/localVal.kt.after @@ -8,3 +8,4 @@ fun x(parameters: String) { private operator fun String.getValue(nothing: Nothing?, property: KProperty<*>): Any { TODO("Not yet implemented") } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/delegateAccessors/localVar.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/delegateAccessors/localVar.kt index f894aa819352..33bd8721f7d6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/delegateAccessors/localVar.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/delegateAccessors/localVar.kt @@ -1,4 +1,5 @@ // "Create extension functions 'String.getValue', 'String.setValue'" "true" fun x(parameters: String) { var n by parameters -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/delegateAccessors/localVar.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/delegateAccessors/localVar.kt.after index c6dcf4fc7580..6113aa1bb1d7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/delegateAccessors/localVar.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/delegateAccessors/localVar.kt.after @@ -12,3 +12,4 @@ private operator fun String.setValue(nothing: Nothing?, property: KProperty<*>, private operator fun String.getValue(nothing: Nothing?, property: KProperty<*>): Any { TODO("Not yet implemented") } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/delegateAccessors/val.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/delegateAccessors/val.kt index 335d577a9d91..1fb03d997992 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/delegateAccessors/val.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/delegateAccessors/val.kt @@ -6,3 +6,5 @@ class F { class X { val f: Int by F() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/delegateAccessors/val.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/delegateAccessors/val.kt.after index cb807b09c9dc..01a779c75ca5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/delegateAccessors/val.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/delegateAccessors/val.kt.after @@ -11,3 +11,5 @@ class F { class X { val f: Int by F() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/delegateAccessors/var.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/delegateAccessors/var.kt index 916ea3716b76..d1326f21853a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/delegateAccessors/var.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/delegateAccessors/var.kt @@ -6,3 +6,5 @@ class F { class X { var f: Int by F() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/delegateAccessors/var.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/delegateAccessors/var.kt.after index 491e0db2e935..35ae1122be9b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/delegateAccessors/var.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/delegateAccessors/var.kt.after @@ -15,3 +15,5 @@ class F { class X { var f: Int by F() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/delegateAccessors/varMissingGet.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/delegateAccessors/varMissingGet.kt index bd06878ee20b..9f96af38f41f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/delegateAccessors/varMissingGet.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/delegateAccessors/varMissingGet.kt @@ -8,3 +8,5 @@ class F { class X { var f: Int by F() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/delegateAccessors/varMissingGet.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/delegateAccessors/varMissingGet.kt.after index 6e7c48061d04..e14c2b8e0561 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/delegateAccessors/varMissingGet.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/delegateAccessors/varMissingGet.kt.after @@ -11,3 +11,5 @@ class F { class X { var f: Int by F() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/delegateAccessors/varMissingSet.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/delegateAccessors/varMissingSet.kt index 70c129e1074c..17c69496e0a7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/delegateAccessors/varMissingSet.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/delegateAccessors/varMissingSet.kt @@ -8,3 +8,5 @@ class F { class X { var f: Int by F() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/delegateAccessors/varMissingSet.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/delegateAccessors/varMissingSet.kt.after index 9eb25bc89b42..0fabf6a3bafb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/delegateAccessors/varMissingSet.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/delegateAccessors/varMissingSet.kt.after @@ -11,3 +11,5 @@ class F { class X { var f: Int by F() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage1.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage1.kt index 28130542f961..614e776f826b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage1.kt @@ -5,3 +5,5 @@ class Foo { val z: Iterable = y[""] } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage1.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage1.kt.after index 464a83b8f429..6604386323c2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage1.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage1.kt.after @@ -9,3 +9,5 @@ class Foo { TODO("Not yet implemented") } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage10.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage10.kt index e72d1ea3576a..bace62dfd924 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage10.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage10.kt @@ -5,3 +5,5 @@ class Foo { val z: Iterable = y["", w] } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage10.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage10.kt.after index b50fd847b48f..38017b547d38 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage10.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage10.kt.after @@ -9,3 +9,5 @@ class Foo { TODO("Not yet implemented") } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage11.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage11.kt index de10e1406efe..a4c456b9085e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage11.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage11.kt @@ -4,3 +4,5 @@ class Foo fun x (y: Foo>, w: java.util.ArrayList) { val z: Iterable = y["", w] } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage11.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage11.kt.after index 0d39c7f5602e..cb2e72885da9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage11.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage11.kt.after @@ -9,3 +9,5 @@ class Foo { fun x (y: Foo>, w: java.util.ArrayList) { val z: Iterable = y["", w] } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage12.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage12.kt index 1e55a364dc0e..30ad4090c4a5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage12.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage12.kt @@ -4,3 +4,5 @@ class Foo fun x (y: Foo>, w: java.util.ArrayList) { val z = y["", w] } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage12.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage12.kt.after index 138aedf662c3..e72d76ffe618 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage12.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage12.kt.after @@ -9,3 +9,5 @@ class Foo { fun x (y: Foo>, w: java.util.ArrayList) { val z = y["", w] } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage13.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage13.kt index a574c536643e..33a35d72099a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage13.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage13.kt @@ -9,3 +9,5 @@ class Foo { bar(z) } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage13.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage13.kt.after index 7c719d79f77f..833144856aaf 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage13.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage13.kt.after @@ -13,3 +13,5 @@ class Foo { TODO("Not yet implemented") } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage2.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage2.kt index b0f018c5097a..2e00fc7e5384 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage2.kt @@ -4,3 +4,5 @@ fun x (y: Any) { val z: Any = y[""] } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage2.kt.after index 81b1c6c88429..2642ad8c1a71 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage2.kt.after @@ -8,3 +8,5 @@ fun x (y: Any) { private operator fun Any.get(s: String): Any { TODO("Not yet implemented") } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage3.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage3.kt index 5ab217cf9cc1..f1dc8609be77 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage3.kt @@ -5,3 +5,5 @@ class Foo { val z: Iterable = y[""] } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage3.kt.after index cc85f50aa919..c10f9ff87c7b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage3.kt.after @@ -9,3 +9,5 @@ class Foo { TODO("Not yet implemented") } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage4.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage4.kt index 38b8d94b5aa3..c4ad9e0375b5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage4.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage4.kt @@ -5,3 +5,5 @@ class Foo> { val z: U = y[""] } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage4.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage4.kt.after index fde01ac70add..510e14743894 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage4.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage4.kt.after @@ -9,3 +9,5 @@ class Foo> { TODO("Not yet implemented") } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage5.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage5.kt index e799a4b31648..74dd2db74a73 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage5.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage5.kt @@ -5,3 +5,5 @@ class Foo { val z: Iterable = y["", w] } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage5.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage5.kt.after index 8393ef8cb8a2..3a51ed16754f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage5.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage5.kt.after @@ -9,3 +9,5 @@ class Foo { TODO("Not yet implemented") } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage7.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage7.kt index c39fd0c771d9..18520bb9c1e1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage7.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage7.kt @@ -7,3 +7,5 @@ class Foo { val z: Iterable = y["", w, v] } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage7.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage7.kt.after index a1ccf396888d..adb6f34a8231 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage7.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage7.kt.after @@ -11,3 +11,5 @@ class Foo { TODO("Not yet implemented") } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage8.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage8.kt index fdd3fa7ac45e..f53069ce08d9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage8.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage8.kt @@ -7,3 +7,5 @@ class Foo { val z: Iterable = y["", w] } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage8.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage8.kt.after index d86d58770839..d727cf7620df 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage8.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage8.kt.after @@ -11,3 +11,5 @@ class Foo { TODO("Not yet implemented") } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage9.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage9.kt index 69e5152bb110..5c3a0f2cbbd5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage9.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage9.kt @@ -7,3 +7,5 @@ class Foo { val z: Iterable = y["", w] } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage9.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage9.kt.after index 25b81720bb2b..5a45bc1048a2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage9.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage9.kt.after @@ -11,3 +11,5 @@ class Foo { TODO("Not yet implemented") } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/typeMismatch.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/typeMismatch.kt index 74b3a1d0b64b..5a435952b451 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/typeMismatch.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/typeMismatch.kt @@ -5,4 +5,5 @@ fun A.get(i: Int) = this fun test() { A()["1"] -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/typeMismatch.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/typeMismatch.kt.after index 056a59d03725..7ac25512dd86 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/typeMismatch.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/typeMismatch.kt.after @@ -10,3 +10,4 @@ fun test() { private operator fun A.get(s: String) { TODO("Not yet implemented") } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/hasNext/createHasNextFromUsage1.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/hasNext/createHasNextFromUsage1.kt index e8554411d95f..13f26743f3e5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/hasNext/createHasNextFromUsage1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/hasNext/createHasNextFromUsage1.kt @@ -12,3 +12,5 @@ class Foo { fun foo() { for (i: Int in Foo()) { } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/hasNext/createHasNextFromUsage1.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/hasNext/createHasNextFromUsage1.kt.after index c8cd419632a2..4b7f8f05d3a6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/hasNext/createHasNextFromUsage1.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/hasNext/createHasNextFromUsage1.kt.after @@ -16,3 +16,5 @@ class Foo { fun foo() { for (i: Int in Foo()) { } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/hasNext/createHasNextFromUsage2.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/hasNext/createHasNextFromUsage2.kt index db95e3c3eb95..fb1c5ee61fbe 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/hasNext/createHasNextFromUsage2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/hasNext/createHasNextFromUsage2.kt @@ -12,3 +12,5 @@ class Foo { fun foo() { for (i in Foo()) { } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/hasNext/createHasNextFromUsage2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/hasNext/createHasNextFromUsage2.kt.after index 76d6e962464a..f70e8635af8b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/hasNext/createHasNextFromUsage2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/hasNext/createHasNextFromUsage2.kt.after @@ -16,3 +16,5 @@ class Foo { fun foo() { for (i in Foo()) { } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/invoke/invokeOnLibType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/invoke/invokeOnLibType.kt index c9058ec93ab0..3f744bb73672 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/invoke/invokeOnLibType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/invoke/invokeOnLibType.kt @@ -5,4 +5,5 @@ class A(val n: T) fun test(): A { return 1(2, "2") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/invoke/invokeOnLibType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/invoke/invokeOnLibType.kt.after index d9b478033106..af795ddaa942 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/invoke/invokeOnLibType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/invoke/invokeOnLibType.kt.after @@ -10,3 +10,4 @@ fun test(): A { private operator fun Int.invoke(i: Int, s: String): A { TODO("Not yet implemented") } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/invoke/invokeOnUserType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/invoke/invokeOnUserType.kt index 284482e3c108..b85fc751bcf4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/invoke/invokeOnUserType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/invoke/invokeOnUserType.kt @@ -5,4 +5,5 @@ class B(val m: T) fun test(): B { return A(1)(2, "2") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/invoke/invokeOnUserType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/invoke/invokeOnUserType.kt.after index dcc9601a8060..8b8bb70c959e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/invoke/invokeOnUserType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/invoke/invokeOnUserType.kt.after @@ -10,4 +10,5 @@ class B(val m: T) fun test(): B { return A(1)(2, "2") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/invoke/invokeOnUserTypeWithTypeParams.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/invoke/invokeOnUserTypeWithTypeParams.kt index 02c2dd159f3e..88e3beea1c93 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/invoke/invokeOnUserTypeWithTypeParams.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/invoke/invokeOnUserTypeWithTypeParams.kt @@ -5,4 +5,5 @@ class B(val m: T) fun test(u: U): B { return A(u)(u, "u") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/invoke/invokeOnUserTypeWithTypeParams.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/invoke/invokeOnUserTypeWithTypeParams.kt.after index 97735e9f5e2d..1c6a44bdf41d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/invoke/invokeOnUserTypeWithTypeParams.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/invoke/invokeOnUserTypeWithTypeParams.kt.after @@ -10,4 +10,5 @@ class B(val m: T) fun test(u: U): B { return A(u)(u, "u") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/invoke/invokeWithExplicitParamNamesOnUserType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/invoke/invokeWithExplicitParamNamesOnUserType.kt index 2f5c2f8ce432..ca5bb2691b37 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/invoke/invokeWithExplicitParamNamesOnUserType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/invoke/invokeWithExplicitParamNamesOnUserType.kt @@ -4,4 +4,5 @@ class A(val n: T) fun test() { val a: A = A(1)(abc = 1, ghi = A(2), def = "s") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/invoke/invokeWithExplicitParamNamesOnUserType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/invoke/invokeWithExplicitParamNamesOnUserType.kt.after index 597fa4711282..0927df785386 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/invoke/invokeWithExplicitParamNamesOnUserType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/invoke/invokeWithExplicitParamNamesOnUserType.kt.after @@ -8,4 +8,5 @@ class A(val n: T) { fun test() { val a: A = A(1)(abc = 1, ghi = A(2), def = "s") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/iterator/createIteratorFromUsage1.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/iterator/createIteratorFromUsage1.kt index eafe7521df7a..a8cba8945b9c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/iterator/createIteratorFromUsage1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/iterator/createIteratorFromUsage1.kt @@ -3,3 +3,5 @@ class Foo fun foo() { for (i: Int in Foo()) { } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/iterator/createIteratorFromUsage1.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/iterator/createIteratorFromUsage1.kt.after index 12ab07d25610..a6cb93441040 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/iterator/createIteratorFromUsage1.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/iterator/createIteratorFromUsage1.kt.after @@ -8,3 +8,5 @@ class Foo { fun foo() { for (i: Int in Foo()) { } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/iterator/createIteratorFromUsage2.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/iterator/createIteratorFromUsage2.kt index ac205b962018..ad6de45fc50b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/iterator/createIteratorFromUsage2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/iterator/createIteratorFromUsage2.kt @@ -6,3 +6,5 @@ fun foo() { } } fun bar(i: String) { } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/iterator/createIteratorFromUsage2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/iterator/createIteratorFromUsage2.kt.after index 0503d7423f72..ff6ad0aeb474 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/iterator/createIteratorFromUsage2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/iterator/createIteratorFromUsage2.kt.after @@ -11,3 +11,5 @@ fun foo() { } } fun bar(i: String) { } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/iterator/createIteratorFromUsage3.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/iterator/createIteratorFromUsage3.kt index 8e6375ffa8d1..306310f8a190 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/iterator/createIteratorFromUsage3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/iterator/createIteratorFromUsage3.kt @@ -15,4 +15,5 @@ operator fun Any.component2(): Int { } fun foo() { for ((i: Int, j: Int) in Foo()) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/iterator/createIteratorFromUsage3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/iterator/createIteratorFromUsage3.kt.after index 1a74e49d078f..b331490d3709 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/iterator/createIteratorFromUsage3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/iterator/createIteratorFromUsage3.kt.after @@ -18,4 +18,5 @@ operator fun Any.component2(): Int { } fun foo() { for ((i: Int, j: Int) in Foo()) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/next/createNextFromUsage1.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/next/createNextFromUsage1.kt index 10421a883eba..08a6a3e96c59 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/next/createNextFromUsage1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/next/createNextFromUsage1.kt @@ -10,3 +10,5 @@ class Foo { fun foo() { for (i: Int in Foo()) { } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/next/createNextFromUsage1.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/next/createNextFromUsage1.kt.after index 887d3d1a8511..80e462f3ac54 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/next/createNextFromUsage1.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/next/createNextFromUsage1.kt.after @@ -13,3 +13,5 @@ class Foo { fun foo() { for (i: Int in Foo()) { } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/next/createNextFromUsage2.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/next/createNextFromUsage2.kt index 4553807c9783..74e3313ffa1b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/next/createNextFromUsage2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/next/createNextFromUsage2.kt @@ -10,3 +10,5 @@ class Foo { fun foo() { for (i: Int in Foo()) { } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/next/createNextFromUsage2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/next/createNextFromUsage2.kt.after index fd3bbc81336a..86b2a454899c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/next/createNextFromUsage2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/next/createNextFromUsage2.kt.after @@ -13,3 +13,5 @@ class Foo { fun foo() { for (i: Int in Foo()) { } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/set/createSetFromUsage1.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/set/createSetFromUsage1.kt index 03f0eff94dd0..bf0a42dc701e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/set/createSetFromUsage1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/set/createSetFromUsage1.kt @@ -5,3 +5,5 @@ class Foo { y["", w] = w } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/set/createSetFromUsage1.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/set/createSetFromUsage1.kt.after index a54cb7c614e3..f458590bdfc0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/set/createSetFromUsage1.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/set/createSetFromUsage1.kt.after @@ -9,3 +9,5 @@ class Foo { TODO("Not yet implemented") } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/set/createSetFromUsage2.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/set/createSetFromUsage2.kt index 0399cde4d786..be31347937f5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/set/createSetFromUsage2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/set/createSetFromUsage2.kt @@ -6,3 +6,5 @@ class Foo { y["", w] = w } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/set/createSetFromUsage2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/set/createSetFromUsage2.kt.after index 476985150098..def5b601ff50 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/set/createSetFromUsage2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/set/createSetFromUsage2.kt.after @@ -12,3 +12,5 @@ class Foo { private operator fun Any.set(s: String, w: ArrayList, value: ArrayList) { TODO("Not yet implemented") } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/set/setterForIncrement.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/set/setterForIncrement.kt index 7ba03e70471a..fb31391875cf 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/set/setterForIncrement.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/set/setterForIncrement.kt @@ -7,3 +7,5 @@ fun foo() { var a = A() a["1"]++ } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/set/setterForIncrement.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/set/setterForIncrement.kt.after index e45ba0f61d8f..1a7709a8ff77 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/set/setterForIncrement.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/set/setterForIncrement.kt.after @@ -10,3 +10,5 @@ fun foo() { var a = A() a["1"]++ } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/set/typeMismatch.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/set/typeMismatch.kt index fca177442e57..6f800c7a3da2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/set/typeMismatch.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/set/typeMismatch.kt @@ -7,4 +7,5 @@ fun A.set(i: Int, j: Int) { fun test() { A()["1"] = 2 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/set/typeMismatch.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/set/typeMismatch.kt.after index cc1dad3a3690..81f3a5588482 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/set/typeMismatch.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/set/typeMismatch.kt.after @@ -12,3 +12,4 @@ fun test() { private operator fun A.set(s: String, value: Int) { TODO("Not yet implemented") } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/incOnUserType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/incOnUserType.kt index 231311988293..3aca271f2c6b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/incOnUserType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/incOnUserType.kt @@ -5,4 +5,5 @@ class A(val n: T) fun test() { var a = A(1) a++ -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/incOnUserType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/incOnUserType.kt.after index e2b2ee871d59..7c7679e86ccf 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/incOnUserType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/incOnUserType.kt.after @@ -9,4 +9,5 @@ class A(val n: T) { fun test() { var a = A(1) a++ -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/minusMissingArgs.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/minusMissingArgs.kt index a465b06f35de..671d9e6fe0b7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/minusMissingArgs.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/minusMissingArgs.kt @@ -6,4 +6,5 @@ class A(val n: T) { fun test() { val a: A = -A(1) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/minusMissingArgs.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/minusMissingArgs.kt.after index c31569ddd86f..18830a849691 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/minusMissingArgs.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/minusMissingArgs.kt.after @@ -9,4 +9,5 @@ class A(val n: T) { fun test() { val a: A = -A(1) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/minusOnLibType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/minusOnLibType.kt index 3f801588f3af..063bf2f12196 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/minusOnLibType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/minusOnLibType.kt @@ -3,4 +3,5 @@ fun test() { val a = -false -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/minusOnLibType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/minusOnLibType.kt.after index 7e0cc50a16b0..e2e99d061524 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/minusOnLibType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/minusOnLibType.kt.after @@ -8,3 +8,4 @@ fun test() { private operator fun Boolean.unaryMinus(): Any { TODO("Not yet implemented") } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/minusOnUserType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/minusOnUserType.kt index 61999368eba0..ea2ead1a86d7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/minusOnUserType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/minusOnUserType.kt @@ -4,4 +4,5 @@ class A(val n: T) fun test() { val a = -A(1) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/minusOnUserType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/minusOnUserType.kt.after index ab696377b1e6..e04c6c830be5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/minusOnUserType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/minusOnUserType.kt.after @@ -8,4 +8,5 @@ class A(val n: T) { fun test() { val a = -A(1) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/minusOnUserTypeWithTypeParams.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/minusOnUserTypeWithTypeParams.kt index 7b8325f6eecd..e460f08cd0a4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/minusOnUserTypeWithTypeParams.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/minusOnUserTypeWithTypeParams.kt @@ -4,4 +4,5 @@ class A(val n: T) fun test(u: U) { val a: A = -A(u) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/minusOnUserTypeWithTypeParams.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/minusOnUserTypeWithTypeParams.kt.after index 7861a0be06f9..720624a9d432 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/minusOnUserTypeWithTypeParams.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/minusOnUserTypeWithTypeParams.kt.after @@ -8,4 +8,5 @@ class A(val n: T) { fun test(u: U) { val a: A = -A(u) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/argumentTypeMismatch.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/argumentTypeMismatch.kt index 3a398a2f386e..3c658d30e98a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/argumentTypeMismatch.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/argumentTypeMismatch.kt @@ -4,4 +4,5 @@ class Foo(val n: Int) fun test() { val foo = Foo("abc${1}") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/argumentTypeMismatch.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/argumentTypeMismatch.kt.after index 1d0e183b2da0..c66da54c762e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/argumentTypeMismatch.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/argumentTypeMismatch.kt.after @@ -6,4 +6,5 @@ class Foo(val n: Int) { fun test() { val foo = Foo("abc${1}") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/callWithExpectedType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/callWithExpectedType.kt index 44d492ac87f1..aa2684db4060 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/callWithExpectedType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/callWithExpectedType.kt @@ -6,4 +6,5 @@ class A: T fun test() { val t: T = A(1) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/callWithExpectedType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/callWithExpectedType.kt.after index d8bd3821bebc..285d2ceda73e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/callWithExpectedType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/callWithExpectedType.kt.after @@ -8,4 +8,5 @@ class A: T { fun test() { val t: T = A(1) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/classWithBody.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/classWithBody.kt index 18896f553ce6..81c51f060785 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/classWithBody.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/classWithBody.kt @@ -6,4 +6,5 @@ class A { fun test() { val a = A(1) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/classWithBody.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/classWithBody.kt.after index 76e9ff282aae..294ccb0ecd58 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/classWithBody.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/classWithBody.kt.after @@ -7,4 +7,5 @@ class A { fun test() { val a = A(1) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/classWithoutBody.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/classWithoutBody.kt index dc8bd5ffe69a..10927107d315 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/classWithoutBody.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/classWithoutBody.kt @@ -4,4 +4,5 @@ class A fun test() { val a = A(1) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/classWithoutBody.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/classWithoutBody.kt.after index 3bbcad917e4f..9a537421518d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/classWithoutBody.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/classWithoutBody.kt.after @@ -6,4 +6,5 @@ class A { fun test() { val a = A(1) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/delegatorToSuperCall.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/delegatorToSuperCall.kt index a6681b970ee5..5378acff9cbd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/delegatorToSuperCall.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/delegatorToSuperCall.kt @@ -6,4 +6,5 @@ open class A { class B: A(1) { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/delegatorToSuperCall.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/delegatorToSuperCall.kt.after index 6be20bc45668..b6e80f5cbc87 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/delegatorToSuperCall.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/delegatorToSuperCall.kt.after @@ -7,4 +7,5 @@ open class A { class B: A(1) { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/noParametersImplicitSuperCall.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/noParametersImplicitSuperCall.kt index 3465313d8f84..155c182555bc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/noParametersImplicitSuperCall.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/noParametersImplicitSuperCall.kt @@ -4,4 +4,5 @@ open class Base() class Creation { constructor(f: Int) } -val v = Creation() \ No newline at end of file +val v = Creation() +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/noParametersImplicitSuperCall.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/noParametersImplicitSuperCall.kt.after index 6e09034a3fee..61974158f837 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/noParametersImplicitSuperCall.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/noParametersImplicitSuperCall.kt.after @@ -5,4 +5,5 @@ class Creation { constructor(f: Int) constructor() } -val v = Creation() \ No newline at end of file +val v = Creation() +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/noParametersSuperCall.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/noParametersSuperCall.kt index 051c2ca5e84e..a4fbab861319 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/noParametersSuperCall.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/noParametersSuperCall.kt @@ -6,4 +6,5 @@ open class Base(val f: Int) class Creation: Base { constructor(f: Int): super(f) } -val v = Creation() \ No newline at end of file +val v = Creation() +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/noParametersSuperCall.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/noParametersSuperCall.kt.after index 16797a2dd3cf..f885c9f9289f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/noParametersSuperCall.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/noParametersSuperCall.kt.after @@ -7,4 +7,5 @@ class Creation: Base { constructor(f: Int): super(f) constructor() : super() } -val v = Creation() \ No newline at end of file +val v = Creation() +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/noParametersThisCall.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/noParametersThisCall.kt index 0e2ccf9d4159..1372edeca77b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/noParametersThisCall.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/noParametersThisCall.kt @@ -1,4 +1,5 @@ // "Create secondary constructor" "true" // ERROR: There's a cycle in the delegation calls chain class Creation(val f: Int) -val v = Creation() \ No newline at end of file +val v = Creation() +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/noParametersThisCall.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/noParametersThisCall.kt.after index 0dbabd7af1d3..c3626c4cfe56 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/noParametersThisCall.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/noParametersThisCall.kt.after @@ -4,4 +4,5 @@ class Creation(val f: Int) { constructor() : this() } -val v = Creation() \ No newline at end of file +val v = Creation() +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/noneApplicable.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/noneApplicable.kt index 2773a9416e08..9234fd8c2211 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/noneApplicable.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/noneApplicable.kt @@ -8,4 +8,5 @@ class CtorSecondary() { fun construct() { // todo: add this() val vA = CtorSecondary(2, 3) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/noneApplicable.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/noneApplicable.kt.after index 993a1af29617..f294bc63e216 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/noneApplicable.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/noneApplicable.kt.after @@ -9,4 +9,5 @@ class CtorSecondary() { fun construct() { // todo: add this() val vA = CtorSecondary(2, 3) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/superCall.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/superCall.kt index 1fd3126a6fc7..7bc005999417 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/superCall.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/superCall.kt @@ -8,4 +8,5 @@ class B: A { constructor(): super(1) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/superCall.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/superCall.kt.after index 67340a8dacca..ba8bc88e1608 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/superCall.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/superCall.kt.after @@ -9,4 +9,5 @@ class B: A { constructor(): super(1) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/superCallNoneApplicable.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/superCallNoneApplicable.kt index 3a7a660fa9ae..8bdd979e02dd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/superCallNoneApplicable.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/superCallNoneApplicable.kt @@ -5,4 +5,5 @@ open class A { constructor(x: Int, y: String) } -class B : A(1) \ No newline at end of file +class B : A(1) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/superCallNoneApplicable.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/superCallNoneApplicable.kt.after index fa0017bb81e7..8a2bf0520237 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/superCallNoneApplicable.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/superCallNoneApplicable.kt.after @@ -6,4 +6,5 @@ open class A { constructor(i: Int) } -class B : A(1) \ No newline at end of file +class B : A(1) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/thisCall.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/thisCall.kt index 0595029b82c2..229bb9f7b5f6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/thisCall.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/thisCall.kt @@ -4,4 +4,5 @@ class A { constructor(): this(1) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/thisCall.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/thisCall.kt.after index 6d35d15aab07..8f0645074f4b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/thisCall.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/thisCall.kt.after @@ -6,4 +6,5 @@ class A { } constructor(i: Int) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/tooManyArguments.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/tooManyArguments.kt index 8c82ee1aeccb..23952fbe6c17 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/tooManyArguments.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/tooManyArguments.kt @@ -4,4 +4,5 @@ class CtorPrimary(val f1: Int, val f2: Int?) fun construct() { val v6 = CtorPrimary(1, 2, 3) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/tooManyArguments.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/tooManyArguments.kt.after index ccdb20482a5c..0c01562ae106 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/tooManyArguments.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/tooManyArguments.kt.after @@ -6,4 +6,5 @@ class CtorPrimary(val f1: Int, val f2: Int?) { fun construct() { val v6 = CtorPrimary(1, 2, 3) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/tooManyArgumentsWithImcompatibleType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/tooManyArgumentsWithImcompatibleType.kt index 56ec72a58d11..185fb8502497 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/tooManyArgumentsWithImcompatibleType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/tooManyArgumentsWithImcompatibleType.kt @@ -5,4 +5,5 @@ class CtorPrimary(val f1: Int, val f2: String) fun construct() { val v6 = CtorPrimary(1, 2, 3) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/tooManyArgumentsWithImcompatibleType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/tooManyArgumentsWithImcompatibleType.kt.after index 73fc2a5753f8..2b09ce8bc54c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/tooManyArgumentsWithImcompatibleType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createSecondaryConstructor/tooManyArgumentsWithImcompatibleType.kt.after @@ -7,4 +7,5 @@ class CtorPrimary(val f1: Int, val f2: String) { fun construct() { val v6 = CtorPrimary(1, 2, 3) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/backticks.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/backticks.kt index e5fc837ad5e8..fcc0e972ac5c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/backticks.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/backticks.kt @@ -1,4 +1,5 @@ // "Create type parameter 'test text' in function 'a'" "true" fun a() { val c: `test text` -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createTypeParameter.CreateTypeParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/backticks.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/backticks.kt.after index 00dee53ff2e9..3189fa86d62b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/backticks.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/backticks.kt.after @@ -1,4 +1,5 @@ // "Create type parameter 'test text' in function 'a'" "true" fun <`test text`> a() { val c: `test text` -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createTypeParameter.CreateTypeParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/classNoExplication.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/classNoExplication.kt index 2b16d2b6a08e..6ad0f69f08b9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/classNoExplication.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/classNoExplication.kt @@ -10,4 +10,5 @@ fun test() { object : Foo("2") { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createTypeParameter.CreateTypeParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/classNoExplication.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/classNoExplication.kt.after index af7d8745f235..87ab7a2ffcb9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/classNoExplication.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/classNoExplication.kt.after @@ -10,4 +10,5 @@ fun test() { object : Foo("2") { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createTypeParameter.CreateTypeParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/classWithExplication.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/classWithExplication.kt index a6939e35e253..3ec4dcbcba02 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/classWithExplication.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/classWithExplication.kt @@ -13,4 +13,5 @@ fun test() { object : Foo(A()) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createTypeParameter.CreateTypeParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/classWithExplication.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/classWithExplication.kt.after index 281cd09c94ff..ff95ec97a7a8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/classWithExplication.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/classWithExplication.kt.after @@ -13,4 +13,5 @@ fun test() { object : Foo(A()) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createTypeParameter.CreateTypeParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/classWithExplicationAndRecursiveUpperBound.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/classWithExplicationAndRecursiveUpperBound.kt index dd7926aa7bf2..11209f5f2a0d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/classWithExplicationAndRecursiveUpperBound.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/classWithExplicationAndRecursiveUpperBound.kt @@ -18,4 +18,5 @@ fun test() { object : Foo(A()) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createTypeParameter.CreateTypeParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/classWithExplicationAndRecursiveUpperBound.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/classWithExplicationAndRecursiveUpperBound.kt.after index 7133c6daa350..c0380effb4a4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/classWithExplicationAndRecursiveUpperBound.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/classWithExplicationAndRecursiveUpperBound.kt.after @@ -18,4 +18,5 @@ fun test() { object : Foo>(A()) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createTypeParameter.CreateTypeParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/classWithExplicationAndUpperBound.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/classWithExplicationAndUpperBound.kt index 8df10a49e434..26e8295a677b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/classWithExplicationAndUpperBound.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/classWithExplicationAndUpperBound.kt @@ -12,4 +12,5 @@ fun test() { object : Foo(A>()) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createTypeParameter.CreateTypeParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/classWithExplicationAndUpperBound.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/classWithExplicationAndUpperBound.kt.after index 00e9de2a917f..59d1d2d9cd8d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/classWithExplicationAndUpperBound.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/classWithExplicationAndUpperBound.kt.after @@ -12,4 +12,5 @@ fun test() { object : Foo>(A>()) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createTypeParameter.CreateTypeParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/functionNoExplication.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/functionNoExplication.kt index d9361d793eb7..e7e1a258b071 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/functionNoExplication.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/functionNoExplication.kt @@ -6,4 +6,5 @@ fun foo(x: X) { fun test() { foo(1) foo("2") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createTypeParameter.CreateTypeParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/functionNoExplication.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/functionNoExplication.kt.after index c3ade76e4ecb..d72931fc9f1a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/functionNoExplication.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/functionNoExplication.kt.after @@ -6,4 +6,5 @@ fun foo(x: X) { fun test() { foo(1) foo("2") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createTypeParameter.CreateTypeParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/functionWithExplication.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/functionWithExplication.kt index 1eced0fe34f9..f3cdd2bc65f2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/functionWithExplication.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/functionWithExplication.kt @@ -8,4 +8,5 @@ fun foo(x: A<X>) { fun test() { foo(A()) foo(A()) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createTypeParameter.CreateTypeParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/functionWithExplication.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/functionWithExplication.kt.after index d749a141c476..0f514e75ec73 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/functionWithExplication.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/functionWithExplication.kt.after @@ -8,4 +8,5 @@ fun foo(x: A) { fun test() { foo(A()) foo(A()) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createTypeParameter.CreateTypeParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/functionWithExplicationAndRecursiveUpperBound.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/functionWithExplicationAndRecursiveUpperBound.kt index 2406bb720cf7..b66a9d0471db 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/functionWithExplicationAndRecursiveUpperBound.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/functionWithExplicationAndRecursiveUpperBound.kt @@ -11,4 +11,5 @@ fun foo(x: A<X>) { fun test() { foo(A()) foo(A()) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createTypeParameter.CreateTypeParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/functionWithExplicationAndRecursiveUpperBound.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/functionWithExplicationAndRecursiveUpperBound.kt.after index 46e9ec7522d9..9086dc30fa68 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/functionWithExplicationAndRecursiveUpperBound.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/functionWithExplicationAndRecursiveUpperBound.kt.after @@ -11,4 +11,5 @@ fun > foo(x: A) { fun test() { foo>(A()) foo(A()) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createTypeParameter.CreateTypeParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/functionWithExplicationAndUpperBound.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/functionWithExplicationAndUpperBound.kt index fc744eb0c38f..1a09b0395a6f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/functionWithExplicationAndUpperBound.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/functionWithExplicationAndUpperBound.kt @@ -8,4 +8,5 @@ fun foo(x: A<X>) { fun test() { foo(A()) foo(A>()) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createTypeParameter.CreateTypeParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/functionWithExplicationAndUpperBound.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/functionWithExplicationAndUpperBound.kt.after index d8873ea738ed..81eceaa6fa50 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/functionWithExplicationAndUpperBound.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/functionWithExplicationAndUpperBound.kt.after @@ -8,4 +8,5 @@ fun > foo(x: A) { fun test() { foo(A()) foo(A>()) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createTypeParameter.CreateTypeParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/inExtensionProperty.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/inExtensionProperty.kt index 14d8e1c3a687..c27b948da1d9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/inExtensionProperty.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/inExtensionProperty.kt @@ -1,3 +1,4 @@ // "Create type parameter 'T' in property 'a'" "true" val T.a: T? - get() = null \ No newline at end of file + get() = null +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createTypeParameter.CreateTypeParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/inExtensionProperty.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/inExtensionProperty.kt.after index 1f36cc6a2753..e7206c51be8c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/inExtensionProperty.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/inExtensionProperty.kt.after @@ -1,3 +1,4 @@ // "Create type parameter 'T' in property 'a'" "true" val T.a: T? - get() = null \ No newline at end of file + get() = null +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createTypeParameter.CreateTypeParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/inExtensionProperty2.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/inExtensionProperty2.kt index 0d68c5c7fa28..8e1ae5622957 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/inExtensionProperty2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/inExtensionProperty2.kt @@ -2,4 +2,5 @@ class Test { val T.a: T? get() = null -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createTypeParameter.CreateTypeParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/inExtensionProperty2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/inExtensionProperty2.kt.after index 4f74d1041869..d1e2c7ae4f72 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/inExtensionProperty2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/inExtensionProperty2.kt.after @@ -2,4 +2,5 @@ class Test { val T.a: T? get() = null -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createTypeParameter.CreateTypeParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/inExtensionProperty3.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/inExtensionProperty3.kt index e810d62884ea..5cc0677a0ea6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/inExtensionProperty3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/inExtensionProperty3.kt @@ -3,4 +3,5 @@ val T.a: String get() { val b: T return "" - } \ No newline at end of file + } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createTypeParameter.CreateTypeParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/inExtensionProperty3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/inExtensionProperty3.kt.after index 4a76646ba77e..c46cdc73a0e0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/inExtensionProperty3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inContainingDeclaration/inExtensionProperty3.kt.after @@ -3,4 +3,5 @@ val T.a: String get() { val b: T return "" - } \ No newline at end of file + } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createTypeParameter.CreateTypeParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inReferencedDeclaration/addMultiple.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inReferencedDeclaration/addMultiple.kt index a7e1fc0870a4..9a0ac8cf47a8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inReferencedDeclaration/addMultiple.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inReferencedDeclaration/addMultiple.kt @@ -2,4 +2,5 @@ class X -fun foo(x: X<String, Int, Boolean>) {} \ No newline at end of file +fun foo(x: X<String, Int, Boolean>) {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createTypeParameter.CreateTypeParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inReferencedDeclaration/addMultiple.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inReferencedDeclaration/addMultiple.kt.after index cbf4c4536a59..1b78187208a5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inReferencedDeclaration/addMultiple.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inReferencedDeclaration/addMultiple.kt.after @@ -2,4 +2,5 @@ class X -fun foo(x: X<String, Int, Boolean>) {} \ No newline at end of file +fun foo(x: X<String, Int, Boolean>) {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createTypeParameter.CreateTypeParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inReferencedDeclaration/addSingle.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inReferencedDeclaration/addSingle.kt index 55e3c570621a..d1ef40129495 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inReferencedDeclaration/addSingle.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inReferencedDeclaration/addSingle.kt @@ -2,4 +2,5 @@ class X -fun foo(x: X<String>) {} \ No newline at end of file +fun foo(x: X<String>) {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createTypeParameter.CreateTypeParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inReferencedDeclaration/addSingle.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inReferencedDeclaration/addSingle.kt.after index 1b9fc831ee65..249f8b95bb1b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inReferencedDeclaration/addSingle.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inReferencedDeclaration/addSingle.kt.after @@ -2,4 +2,5 @@ class X -fun foo(x: X<String>) {} \ No newline at end of file +fun foo(x: X<String>) {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createTypeParameter.CreateTypeParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inReferencedDeclaration/addToFunction.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inReferencedDeclaration/addToFunction.kt index 85fbde9684ca..ee43f1c36637 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inReferencedDeclaration/addToFunction.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inReferencedDeclaration/addToFunction.kt @@ -6,4 +6,5 @@ fun bar() { fun foo() { bar<String>() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createTypeParameter.CreateTypeParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inReferencedDeclaration/addToFunction.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inReferencedDeclaration/addToFunction.kt.after index de5d82c72f07..5fcfafc3e3fd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inReferencedDeclaration/addToFunction.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inReferencedDeclaration/addToFunction.kt.after @@ -6,4 +6,5 @@ fun bar() { fun foo() { bar<String>() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createTypeParameter.CreateTypeParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inReferencedDeclaration/typealias.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inReferencedDeclaration/typealias.kt index 7e995afbe646..e39f230e2c4f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inReferencedDeclaration/typealias.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inReferencedDeclaration/typealias.kt @@ -3,4 +3,5 @@ class C typealias G = C -fun a(g: G>) = Unit \ No newline at end of file +fun a(g: G>) = Unit +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createTypeParameter.CreateTypeParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inReferencedDeclaration/typealias.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inReferencedDeclaration/typealias.kt.after index 05b2a775e72f..fe42c0e44403 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inReferencedDeclaration/typealias.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createTypeParameter/inReferencedDeclaration/typealias.kt.after @@ -3,4 +3,5 @@ class C typealias G = C -fun a(g: G) = Unit \ No newline at end of file +fun a(g: G) = Unit +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createTypeParameter.CreateTypeParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/assignedInFun.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/assignedInFun.kt index 6b5bf1f875e1..083df64a04ff 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/assignedInFun.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/assignedInFun.kt @@ -2,4 +2,5 @@ fun test(n: Int) { foo = n + 1 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateLocalVariableActionFactory$CreateLocalFromUsageAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/assignedInFun.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/assignedInFun.kt.after index 12b1961fe1d8..b3978fb2d16b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/assignedInFun.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/assignedInFun.kt.after @@ -2,4 +2,5 @@ fun test(n: Int) { var foo = n + 1 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateLocalVariableActionFactory$CreateLocalFromUsageAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inAccessor.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inAccessor.kt index 36f9af8536b2..d77b5181033e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inAccessor.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inAccessor.kt @@ -8,4 +8,5 @@ class A { val t: Int get() { return foo } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateLocalVariableActionFactory$CreateLocalFromUsageAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inAccessor.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inAccessor.kt.after index 65a80e601f9f..809fac0beb3c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inAccessor.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inAccessor.kt.after @@ -9,4 +9,5 @@ class A { val foo = 0 return foo } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateLocalVariableActionFactory$CreateLocalFromUsageAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inAccessorWithExpressionBody.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inAccessorWithExpressionBody.kt index a59b688409e8..db219d031778 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inAccessorWithExpressionBody.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inAccessorWithExpressionBody.kt @@ -8,4 +8,5 @@ class A { val t: Int get() = foo -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateLocalVariableActionFactory$CreateLocalFromUsageAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inAccessorWithExpressionBody.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inAccessorWithExpressionBody.kt.after index bb5312cb484a..953d9427fc5c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inAccessorWithExpressionBody.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inAccessorWithExpressionBody.kt.after @@ -11,4 +11,5 @@ class A { val foo = 0 return foo } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateLocalVariableActionFactory$CreateLocalFromUsageAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inDefaultValueLocalFun.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inDefaultValueLocalFun.kt index 2670deb5d602..f60c93bb6702 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inDefaultValueLocalFun.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inDefaultValueLocalFun.kt @@ -12,4 +12,5 @@ class Test { } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateLocalVariableActionFactory$CreateLocalFromUsageAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inDefaultValueLocalFun.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inDefaultValueLocalFun.kt.after index 117d300df882..31d7f35fc568 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inDefaultValueLocalFun.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inDefaultValueLocalFun.kt.after @@ -14,4 +14,5 @@ class Test { } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateLocalVariableActionFactory$CreateLocalFromUsageAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inFun.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inFun.kt index 819c6d3e344e..603c6e536566 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inFun.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inFun.kt @@ -6,4 +6,5 @@ fun test(): Int { return foo -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateLocalVariableActionFactory$CreateLocalFromUsageAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inFun.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inFun.kt.after index 2deec2fc5b33..7e4aa3882ee9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inFun.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inFun.kt.after @@ -7,4 +7,5 @@ fun test(): Int { val foo = 0 return foo -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateLocalVariableActionFactory$CreateLocalFromUsageAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inFunWithExpressionBody.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inFunWithExpressionBody.kt index 8ebfd8816d9b..dba6c519a23b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inFunWithExpressionBody.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inFunWithExpressionBody.kt @@ -5,4 +5,5 @@ // ACTION: Create property 'foo' // ACTION: Rename reference -fun test(): Int = foo \ No newline at end of file +fun test(): Int = foo +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateLocalVariableActionFactory$CreateLocalFromUsageAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inFunWithExpressionBody.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inFunWithExpressionBody.kt.after index d94db3bf79fa..5b7bba03f076 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inFunWithExpressionBody.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inFunWithExpressionBody.kt.after @@ -8,4 +8,5 @@ fun test(): Int { val foo = 0 return foo -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateLocalVariableActionFactory$CreateLocalFromUsageAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inLambdaNoParams.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inLambdaNoParams.kt index acd9ccdffc15..550b638da354 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inLambdaNoParams.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inLambdaNoParams.kt @@ -9,4 +9,5 @@ fun test(n: Int) { val f: () -> Int = { foo } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateLocalVariableActionFactory$CreateLocalFromUsageAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inLambdaNoParams.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inLambdaNoParams.kt.after index 8cbb8f849cf9..3cd8067d7273 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inLambdaNoParams.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inLambdaNoParams.kt.after @@ -12,4 +12,5 @@ fun test(n: Int) { val foo = 0 foo } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateLocalVariableActionFactory$CreateLocalFromUsageAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inLambdaWithParams.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inLambdaWithParams.kt index ae6bfd362809..672284db1b33 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inLambdaWithParams.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inLambdaWithParams.kt @@ -9,4 +9,5 @@ fun test(n: Int) { val f: (Int, Int) -> Int = { a, b -> foo } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateLocalVariableActionFactory$CreateLocalFromUsageAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inLambdaWithParams.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inLambdaWithParams.kt.after index bbfa8df643c4..c7b2370f3df9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inLambdaWithParams.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inLambdaWithParams.kt.after @@ -12,4 +12,5 @@ fun test(n: Int) { val foo = 0 foo } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateLocalVariableActionFactory$CreateLocalFromUsageAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inMultiLineLambdaNoParams.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inMultiLineLambdaNoParams.kt index d70ef8826520..63e05bd1b6a7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inMultiLineLambdaNoParams.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inMultiLineLambdaNoParams.kt @@ -12,4 +12,5 @@ fun test(n: Int) { val f: () -> Int = { foo } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateLocalVariableActionFactory$CreateLocalFromUsageAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inMultiLineLambdaNoParams.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inMultiLineLambdaNoParams.kt.after index 4a33881953e6..0fb49b175c28 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inMultiLineLambdaNoParams.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inMultiLineLambdaNoParams.kt.after @@ -13,4 +13,5 @@ fun test(n: Int) { val foo = 0 foo } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateLocalVariableActionFactory$CreateLocalFromUsageAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inMultiLineLambdaWithParams.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inMultiLineLambdaWithParams.kt index c621d4a54e2c..50c6579e1ea0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inMultiLineLambdaWithParams.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inMultiLineLambdaWithParams.kt @@ -12,4 +12,5 @@ fun test(n: Int) { val f: (Int, Int) -> Int = { a, b -> foo } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateLocalVariableActionFactory$CreateLocalFromUsageAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inMultiLineLambdaWithParams.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inMultiLineLambdaWithParams.kt.after index 8b000ee58b02..3388ca88a376 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inMultiLineLambdaWithParams.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inMultiLineLambdaWithParams.kt.after @@ -13,4 +13,5 @@ fun test(n: Int) { val foo = 0 foo } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateLocalVariableActionFactory$CreateLocalFromUsageAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inWhen.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inWhen.kt index f6057faee2d7..adc5135e92f2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inWhen.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inWhen.kt @@ -9,4 +9,5 @@ fun test(n: Int): Int { n + 1 } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateLocalVariableActionFactory$CreateLocalFromUsageAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inWhen.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inWhen.kt.after index 79dfe6d7e569..96edebd216bd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inWhen.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/inWhen.kt.after @@ -10,4 +10,5 @@ fun test(n: Int): Int { n + 1 } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateLocalVariableActionFactory$CreateLocalFromUsageAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/localWithPackageName.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/localWithPackageName.kt index 14f670882ef0..47ab41f579ea 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/localWithPackageName.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/localWithPackageName.kt @@ -8,4 +8,5 @@ package foo fun test(): Int { return foo -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateLocalVariableActionFactory$CreateLocalFromUsageAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/localWithPackageName.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/localWithPackageName.kt.after index 98b2ce20de34..58a4c13a6e78 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/localWithPackageName.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/localWithPackageName.kt.after @@ -9,4 +9,5 @@ package foo fun test(): Int { val foo = 0 return foo -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateLocalVariableActionFactory$CreateLocalFromUsageAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/nullableType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/nullableType.kt index 5e220b3f2ac4..f06cd7f469ba 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/nullableType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/nullableType.kt @@ -2,4 +2,5 @@ fun test(): Int? { return foo -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateLocalVariableActionFactory$CreateLocalFromUsageAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/nullableType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/nullableType.kt.after index 233a2062d7eb..e4ae6cc673e6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/nullableType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/nullableType.kt.after @@ -3,4 +3,5 @@ fun test(): Int? { val foo = null return foo -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateLocalVariableActionFactory$CreateLocalFromUsageAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/positionNextToUsage.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/positionNextToUsage.kt index f37057b0a667..a493c2ff03be 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/positionNextToUsage.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/positionNextToUsage.kt @@ -5,4 +5,5 @@ fun test(n: Int) { test(i) test(i + 1) test(foo) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateLocalVariableActionFactory$CreateLocalFromUsageAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/positionNextToUsage.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/positionNextToUsage.kt.after index 88aedbd28bd6..2452ae6f011d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/positionNextToUsage.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/positionNextToUsage.kt.after @@ -6,4 +6,5 @@ fun test(n: Int) { test(i + 1) val foo = 0 test(foo) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateLocalVariableActionFactory$CreateLocalFromUsageAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/unitTypedInFun.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/unitTypedInFun.kt index 0548d00e02cf..11f89852b159 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/unitTypedInFun.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/unitTypedInFun.kt @@ -8,4 +8,5 @@ fun test() { val u: Unit = foo -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateLocalVariableActionFactory$CreateLocalFromUsageAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/unitTypedInFun.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/unitTypedInFun.kt.after index abb74f8507d5..f8374810c148 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/unitTypedInFun.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/unitTypedInFun.kt.after @@ -9,4 +9,5 @@ fun test() { val foo = Unit val u: Unit = foo -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateLocalVariableActionFactory$CreateLocalFromUsageAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/annotationClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/annotationClass.kt index 426c832363eb..a139128d8af7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/annotationClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/annotationClass.kt @@ -2,4 +2,5 @@ annotation class Annotation @Annotation(x = 1) -class C \ No newline at end of file +class C +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/annotationClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/annotationClass.kt.after index 47ec2b315618..2f1c5dfae269 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/annotationClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/annotationClass.kt.after @@ -2,4 +2,5 @@ annotation class Annotation(val x: Int) @Annotation(x = 1) -class C \ No newline at end of file +class C +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/annotationClass2.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/annotationClass2.kt index 0b1ebb6fcbc0..b3bd55702bbb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/annotationClass2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/annotationClass2.kt @@ -2,4 +2,5 @@ annotation class Annotation(val x: Int) @Annotation(x = 1, y = 2) -class C \ No newline at end of file +class C +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/annotationClass2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/annotationClass2.kt.after index 83ce7780200f..7bb4bc3e05c9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/annotationClass2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/annotationClass2.kt.after @@ -2,4 +2,5 @@ annotation class Annotation(val x: Int, val y: Int) @Annotation(x = 1, y = 2) -class C \ No newline at end of file +class C +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/assignedInFunInClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/assignedInFunInClass.kt index 75168522ba44..9abe2483f42d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/assignedInFunInClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/assignedInFunInClass.kt @@ -5,3 +5,5 @@ class A { foo = n + 1 } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/assignedInFunInClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/assignedInFunInClass.kt.after index a87c4afb58ba..596e921068bf 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/assignedInFunInClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/assignedInFunInClass.kt.after @@ -5,3 +5,5 @@ class A(var foo: Int) { foo = n + 1 } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/dataClassPropertyByDestructuringEntry.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/dataClassPropertyByDestructuringEntry.kt index 25caaff2bcf6..d088567b5221 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/dataClassPropertyByDestructuringEntry.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/dataClassPropertyByDestructuringEntry.kt @@ -5,4 +5,5 @@ fun person(): Person = TODO() fun main(args: Array) { val (name, age, address) = person() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/dataClassPropertyByDestructuringEntry.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/dataClassPropertyByDestructuringEntry.kt.after index 54022194d6e4..1c6fafb725d1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/dataClassPropertyByDestructuringEntry.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/dataClassPropertyByDestructuringEntry.kt.after @@ -5,4 +5,5 @@ fun person(): Person = TODO() fun main(args: Array) { val (name, age, address) = person() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/dataClassPropertyByDestructuringEntryWithType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/dataClassPropertyByDestructuringEntryWithType.kt index 2dce16b2c9d3..d86b51570d34 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/dataClassPropertyByDestructuringEntryWithType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/dataClassPropertyByDestructuringEntryWithType.kt @@ -5,4 +5,5 @@ fun person(): Person = TODO() fun main(args: Array) { val (name, age, address: String) = person() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/dataClassPropertyByDestructuringEntryWithType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/dataClassPropertyByDestructuringEntryWithType.kt.after index 0919bf575792..7bba327f3d82 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/dataClassPropertyByDestructuringEntryWithType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/dataClassPropertyByDestructuringEntryWithType.kt.after @@ -5,4 +5,5 @@ fun person(): Person = TODO() fun main(args: Array) { val (name, age, address: String) = person() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/dataClassPropertyByNamedArgument.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/dataClassPropertyByNamedArgument.kt index 5429d766a084..2585e4b0f3d3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/dataClassPropertyByNamedArgument.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/dataClassPropertyByNamedArgument.kt @@ -9,3 +9,5 @@ data class MyDto( fun main(args: Array) { println(MyDto(parameter1 = "value1", parameter4 = "value4")) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/dataClassPropertyByNamedArgument.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/dataClassPropertyByNamedArgument.kt.after index 97939ec19dbf..6adbac8d7cd6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/dataClassPropertyByNamedArgument.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/dataClassPropertyByNamedArgument.kt.after @@ -10,3 +10,5 @@ data class MyDto( fun main(args: Array) { println(MyDto(parameter1 = "value1", parameter4 = "value4")) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inAccessorInClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inAccessorInClass.kt index 20a217fdbf92..28ed9d52492a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inAccessorInClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inAccessorInClass.kt @@ -4,4 +4,5 @@ class A { val test: Int get() { return foo } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inAccessorInClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inAccessorInClass.kt.after index 83a8e1df8667..de9a50b96966 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inAccessorInClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inAccessorInClass.kt.after @@ -4,4 +4,5 @@ class A(val foo: Int) { val test: Int get() { return foo } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inAccessorInGenClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inAccessorInGenClass.kt index 20fc48620886..ab90fcca2b0a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inAccessorInGenClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inAccessorInGenClass.kt @@ -4,4 +4,5 @@ class A { val test: T get() { return foo } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inAccessorInGenClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inAccessorInGenClass.kt.after index a5c39d92cf14..343ba64b08c5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inAccessorInGenClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inAccessorInGenClass.kt.after @@ -4,4 +4,5 @@ class A(val foo: T) { val test: T get() { return foo } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inAccessorWithExpressionBodyInClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inAccessorWithExpressionBodyInClass.kt index f22050f0d23c..f3038d40608f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inAccessorWithExpressionBodyInClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inAccessorWithExpressionBodyInClass.kt @@ -2,4 +2,5 @@ class A { val test: Int get() = foo -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inAccessorWithExpressionBodyInClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inAccessorWithExpressionBodyInClass.kt.after index 610b163cdec8..8d7614c8f0d0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inAccessorWithExpressionBodyInClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inAccessorWithExpressionBodyInClass.kt.after @@ -2,4 +2,5 @@ class A(val foo: Int) { val test: Int get() = foo -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inAnonymousObject.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inAnonymousObject.kt index 0f5a1c8f386a..eda12a58d818 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inAnonymousObject.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inAnonymousObject.kt @@ -5,4 +5,5 @@ fun f() { } } -open class A(s: String) \ No newline at end of file +open class A(s: String) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inAnonymousObject.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inAnonymousObject.kt.after index 52ed850447e9..117e0bc55cbd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inAnonymousObject.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inAnonymousObject.kt.after @@ -5,4 +5,5 @@ fun f(name: String) { } } -open class A(s: String) \ No newline at end of file +open class A(s: String) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inAnonymousObjectInSecondaryConstructor.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inAnonymousObjectInSecondaryConstructor.kt index 36be4719078c..2a9946cb06d2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inAnonymousObjectInSecondaryConstructor.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inAnonymousObjectInSecondaryConstructor.kt @@ -7,4 +7,5 @@ class B { } } -open class A(s: String) \ No newline at end of file +open class A(s: String) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inAnonymousObjectInSecondaryConstructor.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inAnonymousObjectInSecondaryConstructor.kt.after index d9a21148381b..d9d0f5bc4e10 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inAnonymousObjectInSecondaryConstructor.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inAnonymousObjectInSecondaryConstructor.kt.after @@ -7,4 +7,5 @@ class B { } } -open class A(s: String) \ No newline at end of file +open class A(s: String) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inClassInitializer.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inClassInitializer.kt index a5d1b6063c59..b791c09efbee 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inClassInitializer.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inClassInitializer.kt @@ -4,4 +4,5 @@ class A { init { val t: Int = foo } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inClassInitializer.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inClassInitializer.kt.after index 03c7c80e1787..4c7a38d1daaa 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inClassInitializer.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inClassInitializer.kt.after @@ -4,4 +4,5 @@ class A(foo: Int) { init { val t: Int = foo } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inFun.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inFun.kt index 33a80474c27a..f93792b4121a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inFun.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inFun.kt @@ -2,4 +2,5 @@ fun test(n: Int) { val t: Int = foo -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inFun.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inFun.kt.after index 9d4814903904..57ba447719a7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inFun.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inFun.kt.after @@ -2,4 +2,5 @@ fun test(n: Int, foo: Int) { val t: Int = foo -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inFunInClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inFunInClass.kt index 58e2f206e78d..047d2747e14a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inFunInClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inFunInClass.kt @@ -5,3 +5,5 @@ class A { val t: Int = foo } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inFunInClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inFunInClass.kt.after index c656d81f9eb2..f2cd6cd17f8e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inFunInClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inFunInClass.kt.after @@ -5,3 +5,5 @@ class A { val t: Int = foo } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inFunInGenClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inFunInGenClass.kt index b46a6134352d..c3958abb9bb7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inFunInGenClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inFunInGenClass.kt @@ -5,3 +5,5 @@ class A { val t: T = foo } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inFunInGenClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inFunInGenClass.kt.after index 388c3b3e945a..955974c8cc86 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inFunInGenClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inFunInGenClass.kt.after @@ -5,3 +5,5 @@ class A { val t: T = foo } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inGenFunInClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inGenFunInClass.kt index 01f4e70144c1..a3af42ee74a0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inGenFunInClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inGenFunInClass.kt @@ -5,3 +5,5 @@ class A { val t: T = foo } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inGenFunInClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inGenFunInClass.kt.after index 3fac93bee986..99a6743587ad 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inGenFunInClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inGenFunInClass.kt.after @@ -5,3 +5,5 @@ class A { val t: T = foo } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inGenFunInGenClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inGenFunInGenClass.kt index 9c43c4d8a410..ee4741b1e665 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inGenFunInGenClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inGenFunInGenClass.kt @@ -5,3 +5,5 @@ class A { val t: T = foo } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inGenFunInGenClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inGenFunInGenClass.kt.after index 3253b9858b6c..6b7585e65de4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inGenFunInGenClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inGenFunInGenClass.kt.after @@ -5,3 +5,5 @@ class A { val t: T = foo } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inLambdaNoParams.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inLambdaNoParams.kt index 1bd93f888d3e..71f92da4f5e7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inLambdaNoParams.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inLambdaNoParams.kt @@ -9,4 +9,5 @@ fun test(n: Int) { val f: () -> Int = { foo } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inLambdaNoParams.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inLambdaNoParams.kt.after index ac1c9b497355..08f2374bc790 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inLambdaNoParams.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inLambdaNoParams.kt.after @@ -9,4 +9,5 @@ fun test(n: Int, foo: Int) { val f: () -> Int = { foo } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inLambdaWithIt.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inLambdaWithIt.kt index 137107c7a919..eaa2ec135522 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inLambdaWithIt.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inLambdaWithIt.kt @@ -9,4 +9,5 @@ fun test(n: Int) { val f: (Int) -> Int = { foo } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inLambdaWithIt.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inLambdaWithIt.kt.after index 613aea182ac6..a1f65318415f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inLambdaWithIt.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inLambdaWithIt.kt.after @@ -9,4 +9,5 @@ fun test(n: Int, foo: Int) { val f: (Int) -> Int = { foo } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inLambdaWithParams.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inLambdaWithParams.kt index f632a4d6d154..a466c3b7ebe6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inLambdaWithParams.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inLambdaWithParams.kt @@ -9,4 +9,5 @@ fun test(n: Int) { val f: (Int, Int) -> Int = { a, b -> foo } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inLambdaWithParams.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inLambdaWithParams.kt.after index eb6ba5d01e3d..521fbc5bc23e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inLambdaWithParams.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inLambdaWithParams.kt.after @@ -9,4 +9,5 @@ fun test(n: Int, foo: Int) { val f: (Int, Int) -> Int = { a, b -> foo } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inLambdaWithTypedParams.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inLambdaWithTypedParams.kt index ae2dfb1f9f0b..e32edb840510 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inLambdaWithTypedParams.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inLambdaWithTypedParams.kt @@ -9,4 +9,5 @@ fun test(n: Int) { val f = { a: Int, b: Int -> foo } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inLambdaWithTypedParams.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inLambdaWithTypedParams.kt.after index 436a8d49e758..628f36fcd12f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inLambdaWithTypedParams.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inLambdaWithTypedParams.kt.after @@ -9,4 +9,5 @@ fun test(n: Int, foo: Any) { val f = { a: Int, b: Int -> foo } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inMultiLineLambdaNoParams.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inMultiLineLambdaNoParams.kt index f313b3aaa644..73b5de7101b2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inMultiLineLambdaNoParams.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inMultiLineLambdaNoParams.kt @@ -12,4 +12,5 @@ fun test(n: Int) { val f: () -> Int = { foo } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inMultiLineLambdaNoParams.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inMultiLineLambdaNoParams.kt.after index 0329c4284d68..f59c65fadc08 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inMultiLineLambdaNoParams.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inMultiLineLambdaNoParams.kt.after @@ -12,4 +12,5 @@ fun test(n: Int, foo: Int) { val f: () -> Int = { foo } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inPropertyInitializerInClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inPropertyInitializerInClass.kt index 57afb8aaaeb5..e2f1c26c5446 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inPropertyInitializerInClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inPropertyInitializerInClass.kt @@ -2,4 +2,5 @@ class A { val test: Int = foo -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inPropertyInitializerInClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inPropertyInitializerInClass.kt.after index cdfe50c3ca75..4afdcb8d2b50 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inPropertyInitializerInClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inPropertyInitializerInClass.kt.after @@ -2,4 +2,5 @@ class A(foo: Int) { val test: Int = foo -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inPropertyInitializerInEnumClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inPropertyInitializerInEnumClass.kt index 1ac3337c9cca..2fc49ebaf318 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inPropertyInitializerInEnumClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inPropertyInitializerInEnumClass.kt @@ -9,4 +9,5 @@ enum class E { C; val t: Int = foo -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inPropertyInitializerInEnumClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inPropertyInitializerInEnumClass.kt.after index 447c1bdb000e..2bdc0cf65cae 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inPropertyInitializerInEnumClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inPropertyInitializerInEnumClass.kt.after @@ -9,4 +9,5 @@ enum class E(foo: Int) { C(); val t: Int = foo -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inPropertyInitializerInEnumEntry.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inPropertyInitializerInEnumEntry.kt index 2e99ee6c0042..9392100ebbbb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inPropertyInitializerInEnumEntry.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inPropertyInitializerInEnumEntry.kt @@ -9,4 +9,5 @@ enum class E { val t: Int = foo }, C -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inPropertyInitializerInEnumEntry.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inPropertyInitializerInEnumEntry.kt.after index 174cb4f2cd44..8f4cfd84673a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inPropertyInitializerInEnumEntry.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inPropertyInitializerInEnumEntry.kt.after @@ -9,4 +9,5 @@ enum class E(val foo: Int) { val t: Int = foo }, C() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inPropertyInitializerInGenClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inPropertyInitializerInGenClass.kt index 14b08c5ee415..f575efedd44e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inPropertyInitializerInGenClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inPropertyInitializerInGenClass.kt @@ -2,4 +2,5 @@ class A { val test: T = foo -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inPropertyInitializerInGenClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inPropertyInitializerInGenClass.kt.after index deb2bcd4b6e4..8d57a29779b3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inPropertyInitializerInGenClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inPropertyInitializerInGenClass.kt.after @@ -2,4 +2,5 @@ class A(foo: T) { val test: T = foo -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inPropertyInitializerInNestedClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inPropertyInitializerInNestedClass.kt index 03f67ad69759..d32ded16169b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inPropertyInitializerInNestedClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inPropertyInitializerInNestedClass.kt @@ -5,3 +5,5 @@ class A { val test: Int = foo } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inPropertyInitializerInNestedClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inPropertyInitializerInNestedClass.kt.after index 819f99cbe955..cb58085df522 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inPropertyInitializerInNestedClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inPropertyInitializerInNestedClass.kt.after @@ -5,3 +5,5 @@ class A { val test: Int = foo } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inSecondaryConstructor.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inSecondaryConstructor.kt index 7a57e8a1a53b..fcac45b7d993 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inSecondaryConstructor.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inSecondaryConstructor.kt @@ -5,3 +5,5 @@ class A { val t: Int = foo } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inSecondaryConstructor.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inSecondaryConstructor.kt.after index 8529ca40d4d5..c6ad6cd142cb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inSecondaryConstructor.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/inSecondaryConstructor.kt.after @@ -5,3 +5,5 @@ class A { val t: Int = foo } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/namedArgInConstructorCall.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/namedArgInConstructorCall.kt index 669c5b069085..979133e8c8d3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/namedArgInConstructorCall.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/namedArgInConstructorCall.kt @@ -6,4 +6,5 @@ class Foo(val n: Int) { fun bar() { Foo(n = 1, s = "2") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/namedArgInConstructorCall.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/namedArgInConstructorCall.kt.after index 113bba62aba3..4e5eccae537b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/namedArgInConstructorCall.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/namedArgInConstructorCall.kt.after @@ -6,4 +6,5 @@ class Foo(val n: Int, s: String) { fun bar() { Foo(n = 1, s = "2") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/namedArgInFunctionCall.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/namedArgInFunctionCall.kt index 1b342da10868..bf3ed8dd24c3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/namedArgInFunctionCall.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/namedArgInFunctionCall.kt @@ -6,4 +6,5 @@ fun foo(n: Int) { fun bar() { foo(n = 1, s = "2") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/namedArgInFunctionCall.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/namedArgInFunctionCall.kt.after index a42774270acc..3ec909e2034b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/namedArgInFunctionCall.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/namedArgInFunctionCall.kt.after @@ -6,4 +6,5 @@ fun foo(n: Int, s: String) { fun bar() { foo(n = 1, s = "2") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/nullableType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/nullableType.kt index 45c9ed16fc4c..c41d8db5f4ae 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/nullableType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/nullableType.kt @@ -2,4 +2,5 @@ fun test(n: Int) { val t: Int? = foo -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/nullableType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/nullableType.kt.after index 425ff1560b1c..20836b036570 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/nullableType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/nullableType.kt.after @@ -2,4 +2,5 @@ fun test(n: Int, foo: Int?) { val t: Int? = foo -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/parameterFromClassDelegationSpecifier.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/parameterFromClassDelegationSpecifier.kt index 5cd39985fc62..e72c2bc0783c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/parameterFromClassDelegationSpecifier.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/parameterFromClassDelegationSpecifier.kt @@ -6,4 +6,5 @@ open class A(val a: Int) { class B: A(b) { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/parameterFromClassDelegationSpecifier.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/parameterFromClassDelegationSpecifier.kt.after index a5d9c99160b8..2f68d0bf57ec 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/parameterFromClassDelegationSpecifier.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/parameterFromClassDelegationSpecifier.kt.after @@ -6,4 +6,5 @@ open class A(val a: Int) { class B(b: Int) : A(b) { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/quotedName.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/quotedName.kt index 872f537a59ca..dc07a055553f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/quotedName.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/quotedName.kt @@ -1,4 +1,5 @@ // "Create parameter '!u00A0'" "true" fun test() { val t: Int = `!u00A0` -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/quotedName.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/quotedName.kt.after index d402199e5f29..4b49dd6bce54 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/quotedName.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/quotedName.kt.after @@ -1,4 +1,5 @@ // "Create parameter '!u00A0'" "true" fun test(`!u00A0`: Int) { val t: Int = `!u00A0` -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/recursiveBound.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/recursiveBound.kt index 97fe1a5169c6..10b231741ec9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/recursiveBound.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/recursiveBound.kt @@ -3,4 +3,5 @@ class Cyclic> fun test() { val c : Cyclic<*> = foo -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/recursiveBound.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/recursiveBound.kt.after index e8994a09bc8d..525437e8bd51 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/recursiveBound.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/recursiveBound.kt.after @@ -3,4 +3,5 @@ class Cyclic> fun test(foo: Cyclic<*>) { val c : Cyclic<*> = foo -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/withPackageName.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/withPackageName.kt index e7719b16166c..84448d1e48e3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/withPackageName.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/withPackageName.kt @@ -4,4 +4,5 @@ package foo fun test(n: Int) { val t: Int = foo -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/withPackageName.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/withPackageName.kt.after index 5792eec76b2f..ef6dc8119cce 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/withPackageName.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/withPackageName.kt.after @@ -4,4 +4,5 @@ package foo fun test(n: Int, foo: Int) { val t: Int = foo -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/wrongReceiver.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/wrongReceiver.kt index e7f433115c40..7bfe91656a37 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/wrongReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/wrongReceiver.kt @@ -3,4 +3,5 @@ interface Tr { fun foo(value: String, b: String) = "" fun bar() = foo(value, b) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/wrongReceiver.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/wrongReceiver.kt.after index 2f7679912c90..0349b2ac4597 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/wrongReceiver.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/wrongReceiver.kt.after @@ -3,4 +3,5 @@ interface Tr { fun foo(value: String, b: String) = "" fun bar(value: String) = foo(value, b) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/primaryParameter/memberValNoReceiver.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/primaryParameter/memberValNoReceiver.kt index be299e0fd2bc..2978a0af1e34 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/primaryParameter/memberValNoReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/primaryParameter/memberValNoReceiver.kt @@ -7,3 +7,5 @@ class A { } } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/primaryParameter/memberValNoReceiver.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/primaryParameter/memberValNoReceiver.kt.after index 47db82369978..c01ddd572374 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/primaryParameter/memberValNoReceiver.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/primaryParameter/memberValNoReceiver.kt.after @@ -7,3 +7,5 @@ class A { } } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/primaryParameter/memberVarNoReceiver.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/primaryParameter/memberVarNoReceiver.kt index eca84fb40cdd..78e01d1ac65a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/primaryParameter/memberVarNoReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/primaryParameter/memberVarNoReceiver.kt @@ -8,3 +8,5 @@ class A { } } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/primaryParameter/memberVarNoReceiver.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/primaryParameter/memberVarNoReceiver.kt.after index 27fb71160328..3478a8091151 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/primaryParameter/memberVarNoReceiver.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/primaryParameter/memberVarNoReceiver.kt.after @@ -8,3 +8,5 @@ class A { } } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/primaryParameter/thisInClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/primaryParameter/thisInClass.kt index b48b4f3d4e6e..18f223a7349e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/primaryParameter/thisInClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/primaryParameter/thisInClass.kt @@ -5,3 +5,5 @@ class A(val n: T) { return this.foo } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/primaryParameter/thisInClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/primaryParameter/thisInClass.kt.after index a7160ed5550a..8d28933e55ea 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/primaryParameter/thisInClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/primaryParameter/thisInClass.kt.after @@ -5,3 +5,5 @@ class A(val n: T, val foo: A) { return this.foo } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/primaryParameter/thisInExtension.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/primaryParameter/thisInExtension.kt index 185c2d672138..c385f7c63eb4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/primaryParameter/thisInExtension.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/primaryParameter/thisInExtension.kt @@ -5,3 +5,5 @@ class A(val n: T) fun A.test(): A { return this.foo } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/primaryParameter/thisInExtension.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/primaryParameter/thisInExtension.kt.after index 21b64d96f1d4..ee55651f6b06 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/primaryParameter/thisInExtension.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/primaryParameter/thisInExtension.kt.after @@ -5,3 +5,5 @@ class A(val n: T, val foo: A) fun A.test(): A { return this.foo } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/primaryParameter/thisInNestedClass1.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/primaryParameter/thisInNestedClass1.kt index 3b6b332697eb..a0ad2f448ea9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/primaryParameter/thisInNestedClass1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/primaryParameter/thisInNestedClass1.kt @@ -7,3 +7,5 @@ class A(val n: T) { } } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/primaryParameter/thisInNestedClass1.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/primaryParameter/thisInNestedClass1.kt.after index e2bf322a2db7..c848bd53a067 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/primaryParameter/thisInNestedClass1.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/primaryParameter/thisInNestedClass1.kt.after @@ -7,3 +7,5 @@ class A(val n: T) { } } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/primaryParameter/thisInNestedClass2.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/primaryParameter/thisInNestedClass2.kt index 684c9622f008..489691f4f064 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/primaryParameter/thisInNestedClass2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/primaryParameter/thisInNestedClass2.kt @@ -7,3 +7,5 @@ class A(val n: T) { } } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/primaryParameter/thisInNestedClass2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/primaryParameter/thisInNestedClass2.kt.after index 1518fc477ebc..05c0b095297c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/primaryParameter/thisInNestedClass2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/primaryParameter/thisInNestedClass2.kt.after @@ -7,3 +7,5 @@ class A(val n: T, val foo: A) { } } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/primaryParameter/valOnUserType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/primaryParameter/valOnUserType.kt index f2266ba057be..cb69d3267bd4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/primaryParameter/valOnUserType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/primaryParameter/valOnUserType.kt @@ -6,3 +6,5 @@ class A(val n: T) fun test() { val a: A = A(1).foo } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/primaryParameter/valOnUserType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/primaryParameter/valOnUserType.kt.after index e9d29f9fde53..2352ae1e1554 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/primaryParameter/valOnUserType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/primaryParameter/valOnUserType.kt.after @@ -6,3 +6,5 @@ class A(val n: T, val foo: A) fun test() { val a: A = A(1,).foo } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/primaryParameter/varOnUserType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/primaryParameter/varOnUserType.kt index f38dd2f3c940..fa424efac2f5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/primaryParameter/varOnUserType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/primaryParameter/varOnUserType.kt @@ -6,3 +6,5 @@ class A(val n: T) fun test() { A(1).foo = "1" } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/primaryParameter/varOnUserType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/primaryParameter/varOnUserType.kt.after index 5812b484513d..534f1fe1a0b2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/primaryParameter/varOnUserType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/primaryParameter/varOnUserType.kt.after @@ -6,3 +6,5 @@ class A(val n: T, var foo: String) fun test() { A(1,).foo = "1" } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createVariable.CreateParameterFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/abstract/classNoExplicitReceiver.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/abstract/classNoExplicitReceiver.kt index 1133d3018f15..d1a3b057d025 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/abstract/classNoExplicitReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/abstract/classNoExplicitReceiver.kt @@ -5,4 +5,5 @@ abstract class A { fun test() { bar(foo) } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/abstract/classNoExplicitReceiver.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/abstract/classNoExplicitReceiver.kt.after index eac97760a3b1..9b06a4afe7be 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/abstract/classNoExplicitReceiver.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/abstract/classNoExplicitReceiver.kt.after @@ -7,4 +7,5 @@ abstract class A { fun test() { bar(foo) } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/abstract/explicitReceiverOfContainingClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/abstract/explicitReceiverOfContainingClass.kt index 63c76bd0b1c9..735c270a2531 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/abstract/explicitReceiverOfContainingClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/abstract/explicitReceiverOfContainingClass.kt @@ -5,4 +5,5 @@ abstract class A { fun test(a: A) { bar(a.foo) } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/abstract/explicitReceiverOfContainingClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/abstract/explicitReceiverOfContainingClass.kt.after index dad8cbfc863f..540e41466c79 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/abstract/explicitReceiverOfContainingClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/abstract/explicitReceiverOfContainingClass.kt.after @@ -7,4 +7,5 @@ abstract class A { fun test(a: A) { bar(a.foo) } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/abstract/interfaceNoExplicitReceiver.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/abstract/interfaceNoExplicitReceiver.kt index 7c44577a3923..b0462c187733 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/abstract/interfaceNoExplicitReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/abstract/interfaceNoExplicitReceiver.kt @@ -5,4 +5,5 @@ interface A { fun test() { bar(foo) } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/abstract/interfaceNoExplicitReceiver.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/abstract/interfaceNoExplicitReceiver.kt.after index b06b893b387d..e4a1c6695be8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/abstract/interfaceNoExplicitReceiver.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/abstract/interfaceNoExplicitReceiver.kt.after @@ -7,4 +7,5 @@ interface A { fun test() { bar(foo) } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/extensionValOnClassNoClassObject.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/extensionValOnClassNoClassObject.kt index 68c5db5960fe..89d6360d789c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/extensionValOnClassNoClassObject.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/extensionValOnClassNoClassObject.kt @@ -3,4 +3,5 @@ class A(val n: T) fun test() { val a: Int = A.foo -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/extensionValOnClassNoClassObject.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/extensionValOnClassNoClassObject.kt.after index c74b099f1d98..ffbd5ce5eccc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/extensionValOnClassNoClassObject.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/extensionValOnClassNoClassObject.kt.after @@ -10,4 +10,5 @@ class A(val n: T) { fun test() { val a: Int = A.foo -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/extensionValOnClassNoClassObject2.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/extensionValOnClassNoClassObject2.kt index 6f108e39954c..0872d43df151 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/extensionValOnClassNoClassObject2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/extensionValOnClassNoClassObject2.kt @@ -3,4 +3,5 @@ class A fun test() { val a: Int = A.foo -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/extensionValOnClassNoClassObject2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/extensionValOnClassNoClassObject2.kt.after index c4f82eb1ce89..98dbcbc18fff 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/extensionValOnClassNoClassObject2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/extensionValOnClassNoClassObject2.kt.after @@ -10,4 +10,5 @@ class A { fun test() { val a: Int = A.foo -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/extensionWithTypeParameterAsReceiver.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/extensionWithTypeParameterAsReceiver.kt index 8baf0155d1f0..dd06e967a07c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/extensionWithTypeParameterAsReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/extensionWithTypeParameterAsReceiver.kt @@ -3,4 +3,5 @@ fun consume(n: Int) {} fun foo(t: T) { consume(t.bar) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/extensionWithTypeParameterAsReceiver.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/extensionWithTypeParameterAsReceiver.kt.after index c344ae0f0ddb..98c9d10f2459 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/extensionWithTypeParameterAsReceiver.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/extensionWithTypeParameterAsReceiver.kt.after @@ -8,4 +8,5 @@ fun consume(n: Int) {} fun foo(t: T) { consume(t.bar) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/inconsistentTypes.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/inconsistentTypes.kt index 745b8025a6db..ce8a8adfabff 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/inconsistentTypes.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/inconsistentTypes.kt @@ -7,3 +7,5 @@ class A(val n: T) fun test(): Int { return A(1).foo as A } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/inconsistentTypes.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/inconsistentTypes.kt.after index 60130d3d17c1..7d7b8dc91de3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/inconsistentTypes.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/inconsistentTypes.kt.after @@ -9,3 +9,5 @@ class A(val n: T) { fun test(): Int { return A(1).foo as A } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/localValDelegateRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/localValDelegateRuntime.kt index e8c2b7be9787..59a5326158ce 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/localValDelegateRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/localValDelegateRuntime.kt @@ -4,3 +4,5 @@ fun test() { val x: Int by foo } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/localValDelegateRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/localValDelegateRuntime.kt.after index 96b0cdae1e9c..66a1c2e2bfbd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/localValDelegateRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/localValDelegateRuntime.kt.after @@ -8,3 +8,5 @@ val foo: ReadOnlyProperty fun test() { val x: Int by foo } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/memberValDelegateRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/memberValDelegateRuntime.kt index 7f7e40ed792f..55173792ea86 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/memberValDelegateRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/memberValDelegateRuntime.kt @@ -5,3 +5,5 @@ class A { val x: A by foo } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/memberValDelegateRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/memberValDelegateRuntime.kt.after index f1725e172d1f..40725a2f9479 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/memberValDelegateRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/memberValDelegateRuntime.kt.after @@ -8,3 +8,5 @@ class A { private val foo: ReadOnlyProperty, A> val x: A by foo } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/memberValNoReceiver.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/memberValNoReceiver.kt index 14effc701800..f18d3a678bb5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/memberValNoReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/memberValNoReceiver.kt @@ -8,3 +8,5 @@ class A { } } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/memberValNoReceiver.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/memberValNoReceiver.kt.after index cab91bf86735..58018cc50234 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/memberValNoReceiver.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/memberValNoReceiver.kt.after @@ -10,3 +10,5 @@ class A { } } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/memberVarDelegateRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/memberVarDelegateRuntime.kt index d2661c99df61..ae621501f4d6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/memberVarDelegateRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/memberVarDelegateRuntime.kt @@ -5,3 +5,5 @@ class A { var x: A by foo } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/memberVarDelegateRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/memberVarDelegateRuntime.kt.after index 963eaee61d33..e8eda20949b3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/memberVarDelegateRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/memberVarDelegateRuntime.kt.after @@ -8,3 +8,5 @@ class A { private val foo: ReadWriteProperty, A> var x: A by foo } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/nullableReceiver.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/nullableReceiver.kt index 34ff5b802ff1..1645e21f155c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/nullableReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/nullableReceiver.kt @@ -3,4 +3,5 @@ fun foo(n: Int) {} fun context(p: String?) { foo(p.notExistingVal) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/nullableReceiver.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/nullableReceiver.kt.after index 802acde1144e..9b7435387baa 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/nullableReceiver.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/nullableReceiver.kt.after @@ -8,4 +8,5 @@ fun foo(n: Int) {} fun context(p: String?) { foo(p.notExistingVal) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/objectMemberValNoReceiver.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/objectMemberValNoReceiver.kt index 0ebd52de8f6e..61ee0b0fbb2a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/objectMemberValNoReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/objectMemberValNoReceiver.kt @@ -8,3 +8,5 @@ class A { } } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/objectMemberValNoReceiver.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/objectMemberValNoReceiver.kt.after index 38b0f69c9c34..5a76aaedf780 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/objectMemberValNoReceiver.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/objectMemberValNoReceiver.kt.after @@ -10,3 +10,5 @@ class A { } } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/privateForMembers.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/privateForMembers.kt index 4f41d28b0716..093d64551827 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/privateForMembers.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/privateForMembers.kt @@ -4,4 +4,5 @@ class A { fun test() { foo = 1 } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/privateForMembers.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/privateForMembers.kt.after index 34d935df0e4d..000a1c24d795 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/privateForMembers.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/privateForMembers.kt.after @@ -6,4 +6,5 @@ class A { fun test() { foo = 1 } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/qualifiedRefInStringTemplateRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/qualifiedRefInStringTemplateRuntime.kt index bf097d86dece..fef3853789fd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/qualifiedRefInStringTemplateRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/qualifiedRefInStringTemplateRuntime.kt @@ -5,4 +5,5 @@ class A fun test() { println("a = ${A().foo}") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/qualifiedRefInStringTemplateRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/qualifiedRefInStringTemplateRuntime.kt.after index b65bd1353d76..320247afe55f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/qualifiedRefInStringTemplateRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/qualifiedRefInStringTemplateRuntime.kt.after @@ -7,4 +7,5 @@ class A { fun test() { println("a = ${A().foo}") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/quotedName.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/quotedName.kt index 97e0aaa04962..7ceb9e20eab5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/quotedName.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/quotedName.kt @@ -2,4 +2,5 @@ // ERROR: Property must be initialized fun test() { val t: Int = `!u00A0` -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/quotedName.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/quotedName.kt.after index 905369c5fe6f..dd8eb4fdcc0c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/quotedName.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/quotedName.kt.after @@ -4,4 +4,5 @@ val `!u00A0`: Int // ERROR: Property must be initialized fun test() { val t: Int = `!u00A0` -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/recursiveBound.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/recursiveBound.kt index 4c9f67493eac..ed4379cb63e3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/recursiveBound.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/recursiveBound.kt @@ -4,4 +4,5 @@ class Cyclic> fun test() { val c : Cyclic<*> = foo -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/recursiveBound.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/recursiveBound.kt.after index 420b67e718ca..4db91409692d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/recursiveBound.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/recursiveBound.kt.after @@ -6,4 +6,5 @@ class Cyclic> fun test() { val c : Cyclic<*> = foo -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/refInStringTemplateRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/refInStringTemplateRuntime.kt index 2821cff4a66a..3c6915c3c1da 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/refInStringTemplateRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/refInStringTemplateRuntime.kt @@ -3,4 +3,5 @@ fun test() { println("a = $foo") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/refInStringTemplateRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/refInStringTemplateRuntime.kt.after index d339ab9ba6b9..c172090a63d5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/refInStringTemplateRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/refInStringTemplateRuntime.kt.after @@ -5,4 +5,5 @@ val foo: String fun test() { println("a = $foo") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/thisInClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/thisInClass.kt index f43baf0c83c1..51559b0ed9b2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/thisInClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/thisInClass.kt @@ -6,3 +6,5 @@ class A(val n: T) { return this.foo } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/thisInClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/thisInClass.kt.after index 8c46b5d12a48..66abd9f47b10 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/thisInClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/thisInClass.kt.after @@ -8,3 +8,5 @@ class A(val n: T) { return this.foo } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/thisInClassAlreadyExistsAfter.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/thisInClassAlreadyExistsAfter.kt index 9b05131a4d44..29c5ae649fec 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/thisInClassAlreadyExistsAfter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/thisInClassAlreadyExistsAfter.kt @@ -10,3 +10,5 @@ class Test { } val bar = 1 + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/thisInClassAlreadyExistsAfter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/thisInClassAlreadyExistsAfter.kt.after index 80d248cde1f4..599f008265ba 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/thisInClassAlreadyExistsAfter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/thisInClassAlreadyExistsAfter.kt.after @@ -11,3 +11,5 @@ class Test { } val bar = 1 + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/thisInClassAlreadyExistsAfterAndBefore.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/thisInClassAlreadyExistsAfterAndBefore.kt index 5a06cb18a861..732f6ac6bcd5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/thisInClassAlreadyExistsAfterAndBefore.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/thisInClassAlreadyExistsAfterAndBefore.kt @@ -12,3 +12,5 @@ class Test { } val bar = 1 + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/thisInClassAlreadyExistsAfterAndBefore.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/thisInClassAlreadyExistsAfterAndBefore.kt.after index 65cb23a73cde..9fe6ea25de2d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/thisInClassAlreadyExistsAfterAndBefore.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/thisInClassAlreadyExistsAfterAndBefore.kt.after @@ -13,3 +13,5 @@ class Test { } val bar = 1 + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/thisInClassAlreadyExistsBefore.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/thisInClassAlreadyExistsBefore.kt index 9f2b6faa7ef9..140ddfac799a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/thisInClassAlreadyExistsBefore.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/thisInClassAlreadyExistsBefore.kt @@ -10,3 +10,5 @@ class Test { } val bar = 1 + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/thisInClassAlreadyExistsBefore.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/thisInClassAlreadyExistsBefore.kt.after index f3778db32778..fb458992e228 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/thisInClassAlreadyExistsBefore.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/thisInClassAlreadyExistsBefore.kt.after @@ -11,3 +11,5 @@ class Test { } val bar = 1 + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/thisInExtension.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/thisInExtension.kt index 4fbcc6faeefa..68e96e4be730 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/thisInExtension.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/thisInExtension.kt @@ -6,3 +6,5 @@ class A(val n: T) fun A.test(): A { return this.foo } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/thisInExtension.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/thisInExtension.kt.after index 5594f797bee1..a04ef02e4324 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/thisInExtension.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/thisInExtension.kt.after @@ -8,3 +8,5 @@ class A(val n: T) { fun A.test(): A { return this.foo } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/thisInNestedClass1.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/thisInNestedClass1.kt index 0eb5b6597d54..4e789f383c4e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/thisInNestedClass1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/thisInNestedClass1.kt @@ -8,3 +8,5 @@ class A(val n: T) { } } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/thisInNestedClass1.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/thisInNestedClass1.kt.after index 30c37e642be3..93709693858e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/thisInNestedClass1.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/thisInNestedClass1.kt.after @@ -10,3 +10,5 @@ class A(val n: T) { } } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/thisInNestedClass2.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/thisInNestedClass2.kt index 2bcdc2dc2968..1b7c0705e9d7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/thisInNestedClass2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/thisInNestedClass2.kt @@ -8,3 +8,5 @@ class A(val n: T) { } } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/thisInNestedClass2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/thisInNestedClass2.kt.after index 79430841082c..bcca43a81352 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/thisInNestedClass2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/thisInNestedClass2.kt.after @@ -10,3 +10,5 @@ class A(val n: T) { } } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/topLevelValNoReceiver.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/topLevelValNoReceiver.kt index 4823437afdb2..5ea69d14a34b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/topLevelValNoReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/topLevelValNoReceiver.kt @@ -4,3 +4,5 @@ fun test(): Int { return foo } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/topLevelValNoReceiver.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/topLevelValNoReceiver.kt.after index 3248ce2cf737..61663d83071b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/topLevelValNoReceiver.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/topLevelValNoReceiver.kt.after @@ -6,3 +6,5 @@ val foo: Int fun test(): Int { return foo } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/topLevelValNoReceiverAlreadyExistsAfter.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/topLevelValNoReceiverAlreadyExistsAfter.kt index 4c64ee3681aa..eacb343574af 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/topLevelValNoReceiverAlreadyExistsAfter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/topLevelValNoReceiverAlreadyExistsAfter.kt @@ -6,3 +6,5 @@ fun test(): Int { } val bar = 1 + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/topLevelValNoReceiverAlreadyExistsAfter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/topLevelValNoReceiverAlreadyExistsAfter.kt.after index 21072df8ccbd..0ef2ad44c200 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/topLevelValNoReceiverAlreadyExistsAfter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/topLevelValNoReceiverAlreadyExistsAfter.kt.after @@ -7,3 +7,5 @@ fun test(): Int { val foo: Int val bar = 1 + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/topLevelValNoReceiverAlreadyExistsBefore.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/topLevelValNoReceiverAlreadyExistsBefore.kt index 0588124f919a..4ee1723621fa 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/topLevelValNoReceiverAlreadyExistsBefore.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/topLevelValNoReceiverAlreadyExistsBefore.kt @@ -6,3 +6,5 @@ val bar = 1 fun test(): Int { return foo } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/topLevelValNoReceiverAlreadyExistsBefore.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/topLevelValNoReceiverAlreadyExistsBefore.kt.after index df794d84c6ee..2300eec147d3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/topLevelValNoReceiverAlreadyExistsBefore.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/topLevelValNoReceiverAlreadyExistsBefore.kt.after @@ -7,3 +7,5 @@ val bar = 1 fun test(): Int { return foo } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/topLevelValWithPackageName.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/topLevelValWithPackageName.kt index e80b973f80ca..6b05840d90b2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/topLevelValWithPackageName.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/topLevelValWithPackageName.kt @@ -6,3 +6,5 @@ package foo fun test(): Int { return foo } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/topLevelValWithPackageName.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/topLevelValWithPackageName.kt.after index 879ff8eaf38f..17362711ca94 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/topLevelValWithPackageName.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/topLevelValWithPackageName.kt.after @@ -8,3 +8,5 @@ val foo: Int fun test(): Int { return foo } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valOnClassNoClassObject.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valOnClassNoClassObject.kt index 764f2e2cfc36..5b7b2586d964 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valOnClassNoClassObject.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valOnClassNoClassObject.kt @@ -6,3 +6,5 @@ class A(val n: T) fun test() { val a: Int = A.foo } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valOnClassNoClassObject.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valOnClassNoClassObject.kt.after index 15c7e5a347dd..59ec13a89bb6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valOnClassNoClassObject.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valOnClassNoClassObject.kt.after @@ -10,3 +10,5 @@ class A(val n: T) { fun test() { val a: Int = A.foo } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valOnClassNoClassObject2.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valOnClassNoClassObject2.kt index ab0a2612032a..2020fd5c4a1e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valOnClassNoClassObject2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valOnClassNoClassObject2.kt @@ -6,3 +6,5 @@ class A fun test() { val a: Int = A.foo } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valOnClassNoClassObject2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valOnClassNoClassObject2.kt.after index fa07937a20c6..180e761f92c6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valOnClassNoClassObject2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valOnClassNoClassObject2.kt.after @@ -10,3 +10,5 @@ class A { fun test() { val a: Int = A.foo } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valOnClassObject.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valOnClassObject.kt index 9a4d35249b77..18970dc496ac 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valOnClassObject.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valOnClassObject.kt @@ -10,3 +10,5 @@ class A(val n: T) { fun test() { val a: Int = A.foo } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valOnClassObject.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valOnClassObject.kt.after index 535d1541bfa5..7dbadab79b61 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valOnClassObject.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valOnClassObject.kt.after @@ -11,3 +11,5 @@ class A(val n: T) { fun test() { val a: Int = A.foo } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valOnLibObject.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valOnLibObject.kt index faba736adda8..0e1535a22636 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valOnLibObject.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valOnLibObject.kt @@ -4,3 +4,5 @@ fun test() { val a: Int = Unit.foo } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valOnLibObject.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valOnLibObject.kt.after index 640d1e9a8822..9fdcfb64bfa8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valOnLibObject.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valOnLibObject.kt.after @@ -9,3 +9,5 @@ private val Unit.foo: Int fun test() { val a: Int = Unit.foo } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valOnLibType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valOnLibType.kt index 0dd63e070372..fb37a622ccda 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valOnLibType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valOnLibType.kt @@ -6,3 +6,5 @@ class A(val n: T) fun test() { val a: A = 2.foo } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valOnLibType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valOnLibType.kt.after index 1304f5d20a3f..e9259618eab5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valOnLibType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valOnLibType.kt.after @@ -11,3 +11,5 @@ class A(val n: T) fun test() { val a: A = 2.foo } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valOnUserObject.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valOnUserObject.kt index a4d58033579a..1cea1797d62a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valOnUserObject.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valOnUserObject.kt @@ -6,3 +6,5 @@ object A fun test() { val a: Int = A.foo } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valOnUserObject.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valOnUserObject.kt.after index 3fb1beba6e46..1c1190248e7f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valOnUserObject.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valOnUserObject.kt.after @@ -8,3 +8,5 @@ object A { fun test() { val a: Int = A.foo } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valOnUserType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valOnUserType.kt index 86c4d25e5cb6..bc030c4596ed 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valOnUserType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valOnUserType.kt @@ -6,3 +6,5 @@ class A(val n: T) fun test() { val a: A = A(1).foo } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valOnUserType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valOnUserType.kt.after index 1684b2bf9209..a6437717e6e9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valOnUserType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valOnUserType.kt.after @@ -8,3 +8,5 @@ class A(val n: T) { fun test() { val a: A = A(1).foo } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valOnUserTypeWithTypeParams.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valOnUserTypeWithTypeParams.kt index 0ebae4421ee3..7bce426a28e6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valOnUserTypeWithTypeParams.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valOnUserTypeWithTypeParams.kt @@ -6,3 +6,5 @@ class A(val n: T) fun test(u: U) { val a: A = A(u).foo } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valOnUserTypeWithTypeParams.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valOnUserTypeWithTypeParams.kt.after index 53236d78872b..ab3a353c82cc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valOnUserTypeWithTypeParams.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valOnUserTypeWithTypeParams.kt.after @@ -8,3 +8,5 @@ class A(val n: T) { fun test(u: U) { val a: A = A(u).foo } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valWithNullableType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valWithNullableType.kt index 98703a0dc307..92e76fae6fe2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valWithNullableType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valWithNullableType.kt @@ -6,3 +6,5 @@ class A(val n: T) fun test() { val a: A? = A(1).foo } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valWithNullableType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valWithNullableType.kt.after index c8f5ba83d57d..7c1d713be4ef 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valWithNullableType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/valWithNullableType.kt.after @@ -8,3 +8,5 @@ class A(val n: T) { fun test() { val a: A? = A(1).foo } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/varOnLibType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/varOnLibType.kt index 263e7589e81c..d7aaff1ecf08 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/varOnLibType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/varOnLibType.kt @@ -6,3 +6,5 @@ class A(val n: T) fun test() { 2.foo = A("2") } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/varOnLibType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/varOnLibType.kt.after index df7943f599a6..efbfbd1a38bb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/varOnLibType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/varOnLibType.kt.after @@ -12,3 +12,5 @@ class A(val n: T) fun test() { 2.foo = A("2") } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/varOnUserType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/varOnUserType.kt index 08c980b7eed3..0f1fa3e0b1b6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/varOnUserType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/varOnUserType.kt @@ -5,3 +5,5 @@ class A(val n: T) fun test() { A(1).foo = "1" } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/varOnUserType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/varOnUserType.kt.after index eba2d0728582..c954a13d28d0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/varOnUserType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/varOnUserType.kt.after @@ -7,3 +7,5 @@ class A(val n: T) { fun test() { A(1).foo = "1" } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createLabel/breakInLoop.kt b/plugins/kotlin/idea/tests/testData/quickfix/createLabel/breakInLoop.kt index c4aea5954f8e..518fe386e648 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createLabel/breakInLoop.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createLabel/breakInLoop.kt @@ -4,4 +4,5 @@ fun test() { while (true) { break@foo } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.CreateLabelFix$ForLoop \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createLabel/breakInLoop.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createLabel/breakInLoop.kt.after index 8592354d708a..d59be75f08a0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createLabel/breakInLoop.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createLabel/breakInLoop.kt.after @@ -4,4 +4,5 @@ fun test() { foo@ while (true) { break@foo } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.CreateLabelFix$ForLoop \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createLabel/breakInOuterLoop.kt b/plugins/kotlin/idea/tests/testData/quickfix/createLabel/breakInOuterLoop.kt index 2c7308346f4d..6df90e8c8398 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createLabel/breakInOuterLoop.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createLabel/breakInOuterLoop.kt @@ -6,4 +6,5 @@ fun test() { break@foo } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.CreateLabelFix$ForLoop \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createLabel/breakInOuterLoop.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createLabel/breakInOuterLoop.kt.after index a2cd0e0c33b6..ff0ce59aef41 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createLabel/breakInOuterLoop.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createLabel/breakInOuterLoop.kt.after @@ -6,4 +6,5 @@ fun test() { break@foo } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.CreateLabelFix$ForLoop \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createLabel/continueInLoop.kt b/plugins/kotlin/idea/tests/testData/quickfix/createLabel/continueInLoop.kt index fd29069e5090..cbb9504e96fe 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createLabel/continueInLoop.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createLabel/continueInLoop.kt @@ -4,4 +4,5 @@ fun test() { while (true) { continue@foo } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.CreateLabelFix$ForLoop \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createLabel/continueInLoop.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createLabel/continueInLoop.kt.after index 6e66dc3d76d5..83b2df1a120b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createLabel/continueInLoop.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createLabel/continueInLoop.kt.after @@ -4,4 +4,5 @@ fun test() { foo@ while (true) { continue@foo } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.CreateLabelFix$ForLoop \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createLabel/returnInLambda.kt b/plugins/kotlin/idea/tests/testData/quickfix/createLabel/returnInLambda.kt index 2d9e72032e4b..49c46756c13f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createLabel/returnInLambda.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createLabel/returnInLambda.kt @@ -4,4 +4,5 @@ inline fun Int.bar(f: (Int) -> Unit) { } fun test() { 1.bar { if (it == 2) return@foo } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.CreateLabelFix$ForLambda \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createLabel/returnInLambda.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createLabel/returnInLambda.kt.after index f2ba2c5cde49..f60f76ca5805 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createLabel/returnInLambda.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createLabel/returnInLambda.kt.after @@ -4,4 +4,5 @@ inline fun Int.bar(f: (Int) -> Unit) { } fun test() { 1.bar foo@{ if (it == 2) return@foo } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.CreateLabelFix$ForLambda \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createLabel/returnInOuterLambda.kt b/plugins/kotlin/idea/tests/testData/quickfix/createLabel/returnInOuterLambda.kt index 77ba0946c115..818c62922fe6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createLabel/returnInOuterLambda.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createLabel/returnInOuterLambda.kt @@ -4,4 +4,5 @@ inline fun Int.bar(f: (Int) -> Unit) { } fun test() { 1.bar { 2.bar { if (it == 2) return@foo } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.CreateLabelFix$ForLambda \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createLabel/returnInOuterLambda.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/createLabel/returnInOuterLambda.kt.after index 85995c6c9109..cb0b6e41e8dd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createLabel/returnInOuterLambda.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/createLabel/returnInOuterLambda.kt.after @@ -4,4 +4,5 @@ inline fun Int.bar(f: (Int) -> Unit) { } fun test() { 1.bar foo@{ 2.bar { if (it == 2) return@foo } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.CreateLabelFix$ForLambda \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/declarationCantBeInlined/inClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/declarationCantBeInlined/inClass.kt index 75035814255e..527e41b0c96d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/declarationCantBeInlined/inClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/declarationCantBeInlined/inClass.kt @@ -1,4 +1,5 @@ // "Make 'foo' not open" "true" open class A { inline open fun foo() {} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/declarationCantBeInlined/inClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/declarationCantBeInlined/inClass.kt.after index 7b82beb85fc1..40d9a805677a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/declarationCantBeInlined/inClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/declarationCantBeInlined/inClass.kt.after @@ -1,4 +1,5 @@ // "Make 'foo' not open" "true" open class A { inline fun foo() {} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/declarationCantBeInlined/inInterface.kt b/plugins/kotlin/idea/tests/testData/quickfix/declarationCantBeInlined/inInterface.kt index 3435f6a0ffeb..a4ff5343ed3b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/declarationCantBeInlined/inInterface.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/declarationCantBeInlined/inInterface.kt @@ -2,4 +2,5 @@ // WITH_STDLIB interface B { inline fun foo() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertMemberToExtensionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/declarationCantBeInlined/inInterface.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/declarationCantBeInlined/inInterface.kt.after index 0aed48daa548..2acc2694c1ac 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/declarationCantBeInlined/inInterface.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/declarationCantBeInlined/inInterface.kt.after @@ -5,4 +5,5 @@ interface B { inline fun B.foo() { TODO("Not yet implemented") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertMemberToExtensionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/declaringJavaClass/basic.kt b/plugins/kotlin/idea/tests/testData/quickfix/declaringJavaClass/basic.kt index 464d10775cca..0c1f4dd64e46 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/declaringJavaClass/basic.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/declaringJavaClass/basic.kt @@ -4,4 +4,5 @@ fun > foo(enum: E) { enum.declaringClass -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.DeclaringJavaClassMigrationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/declaringJavaClass/basic.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/declaringJavaClass/basic.kt.after index 72055685e8ca..a41eb47f78b7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/declaringJavaClass/basic.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/declaringJavaClass/basic.kt.after @@ -4,4 +4,5 @@ fun > foo(enum: E) { enum.declaringJavaClass -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.DeclaringJavaClassMigrationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/declaringJavaClass/customEnum.kt b/plugins/kotlin/idea/tests/testData/quickfix/declaringJavaClass/customEnum.kt index 2b8ade9a55d5..4bb60afd4886 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/declaringJavaClass/customEnum.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/declaringJavaClass/customEnum.kt @@ -10,4 +10,5 @@ enum class CustomEnum { A; } fun foo() { CustomEnum.A.declaringClass -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.DeclaringJavaClassMigrationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/declaringJavaClass/customEnum.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/declaringJavaClass/customEnum.kt.after index 447f5cf4e5df..c058bf93cbd3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/declaringJavaClass/customEnum.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/declaringJavaClass/customEnum.kt.after @@ -10,4 +10,5 @@ enum class CustomEnum { A; } fun foo() { CustomEnum.A.declaringJavaClass -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.DeclaringJavaClassMigrationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/declaringJavaClass/enumFromCall.kt b/plugins/kotlin/idea/tests/testData/quickfix/declaringJavaClass/enumFromCall.kt index 6496ca2b5cda..d1458a207275 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/declaringJavaClass/enumFromCall.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/declaringJavaClass/enumFromCall.kt @@ -4,4 +4,5 @@ fun > foo(values: Array) { values.first().declaringClass -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.DeclaringJavaClassMigrationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/declaringJavaClass/enumFromCall.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/declaringJavaClass/enumFromCall.kt.after index e2c37e4a7998..b8fdf4d407c8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/declaringJavaClass/enumFromCall.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/declaringJavaClass/enumFromCall.kt.after @@ -4,4 +4,5 @@ fun > foo(values: Array) { values.first().declaringJavaClass -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.DeclaringJavaClassMigrationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/declaringJavaClass/noQuickFixFor16.kt b/plugins/kotlin/idea/tests/testData/quickfix/declaringJavaClass/noQuickFixFor16.kt index e6e91c64b6c0..91198542da64 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/declaringJavaClass/noQuickFixFor16.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/declaringJavaClass/noQuickFixFor16.kt @@ -5,4 +5,5 @@ fun > foo(enum: E) { enum.declaringClass // shouldn't be available (KT-53805) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.DeclaringJavaClassMigrationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/declaringJavaClass/noQuickFixFor16.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/declaringJavaClass/noQuickFixFor16.kt.after index ba402bd2ee9d..2114780e6be5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/declaringJavaClass/noQuickFixFor16.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/declaringJavaClass/noQuickFixFor16.kt.after @@ -5,4 +5,5 @@ fun > foo(enum: E) { enum.declaringJavaClass // shouldn't be available (KT-53805) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.DeclaringJavaClassMigrationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/declaringJavaClass/quickFixAvailableForError19.kt b/plugins/kotlin/idea/tests/testData/quickfix/declaringJavaClass/quickFixAvailableForError19.kt index a3a0b3962def..14d242056ada 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/declaringJavaClass/quickFixAvailableForError19.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/declaringJavaClass/quickFixAvailableForError19.kt @@ -4,4 +4,5 @@ fun > foo(enum: E) { enum.declaringClass -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.DeclaringJavaClassMigrationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/declaringJavaClass/quickFixAvailableForError19.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/declaringJavaClass/quickFixAvailableForError19.kt.after index 1d128f4e61d1..d43d7f939fb7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/declaringJavaClass/quickFixAvailableForError19.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/declaringJavaClass/quickFixAvailableForError19.kt.after @@ -4,4 +4,5 @@ fun > foo(enum: E) { enum.declaringJavaClass -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.DeclaringJavaClassMigrationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/decreaseVisibility/exposedPropertyType.kt b/plugins/kotlin/idea/tests/testData/quickfix/decreaseVisibility/exposedPropertyType.kt index 6429303cacb1..4aeffe4e5936 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/decreaseVisibility/exposedPropertyType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/decreaseVisibility/exposedPropertyType.kt @@ -15,3 +15,5 @@ private data class Data(val x: Int) class First { val foo = Data(13) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToPrivateFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/decreaseVisibility/exposedPropertyType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/decreaseVisibility/exposedPropertyType.kt.after index edd1e695626c..d124383fc1f2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/decreaseVisibility/exposedPropertyType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/decreaseVisibility/exposedPropertyType.kt.after @@ -15,3 +15,5 @@ private data class Data(val x: Int) class First { private val foo = Data(13) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToPrivateFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/decreaseVisibility/exposedReceiverTypeInternal.kt b/plugins/kotlin/idea/tests/testData/quickfix/decreaseVisibility/exposedReceiverTypeInternal.kt index 3c88628d2e2d..07e4cf9db4fe 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/decreaseVisibility/exposedReceiverTypeInternal.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/decreaseVisibility/exposedReceiverTypeInternal.kt @@ -1,4 +1,5 @@ // "Make 'foo' internal" "true" internal class A -fun A.foo() {} \ No newline at end of file +fun A.foo() {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToInternalFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/decreaseVisibility/exposedReceiverTypeInternal.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/decreaseVisibility/exposedReceiverTypeInternal.kt.after index 294ede31240c..e0cf449b2a69 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/decreaseVisibility/exposedReceiverTypeInternal.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/decreaseVisibility/exposedReceiverTypeInternal.kt.after @@ -1,4 +1,5 @@ // "Make 'foo' internal" "true" internal class A -internal fun A.foo() {} \ No newline at end of file +internal fun A.foo() {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToInternalFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/decreaseVisibility/exposedReceiverTypePrivate.kt b/plugins/kotlin/idea/tests/testData/quickfix/decreaseVisibility/exposedReceiverTypePrivate.kt index e64f52823f50..7a09c0415ce4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/decreaseVisibility/exposedReceiverTypePrivate.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/decreaseVisibility/exposedReceiverTypePrivate.kt @@ -1,4 +1,5 @@ // "Make 'foo' private" "true" internal class A -fun A.foo() {} \ No newline at end of file +fun A.foo() {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToPrivateFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/decreaseVisibility/exposedReceiverTypePrivate.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/decreaseVisibility/exposedReceiverTypePrivate.kt.after index 3ec88461d653..020962335663 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/decreaseVisibility/exposedReceiverTypePrivate.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/decreaseVisibility/exposedReceiverTypePrivate.kt.after @@ -1,4 +1,5 @@ // "Make 'foo' private" "true" internal class A -private fun A.foo() {} \ No newline at end of file +private fun A.foo() {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToPrivateFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/decreaseVisibility/exposedReturnType.kt b/plugins/kotlin/idea/tests/testData/quickfix/decreaseVisibility/exposedReturnType.kt index bd5b3662e963..96e2b1831b66 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/decreaseVisibility/exposedReturnType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/decreaseVisibility/exposedReturnType.kt @@ -12,3 +12,5 @@ private data class Data(val x: Int) class First { internal fun bar(x: Int) = Data(x) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToPrivateFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/decreaseVisibility/exposedReturnType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/decreaseVisibility/exposedReturnType.kt.after index fba8ffc6a7cb..996f037d9eb9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/decreaseVisibility/exposedReturnType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/decreaseVisibility/exposedReturnType.kt.after @@ -12,3 +12,5 @@ private data class Data(val x: Int) class First { private fun bar(x: Int) = Data(x) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToPrivateFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/decreaseVisibility/exposedSuperClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/decreaseVisibility/exposedSuperClass.kt index 293a693b9972..0059b1d20950 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/decreaseVisibility/exposedSuperClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/decreaseVisibility/exposedSuperClass.kt @@ -11,4 +11,5 @@ class Outer { private open class Data(val x: Int) protected class First : Data(42) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToPrivateFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/decreaseVisibility/exposedSuperClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/decreaseVisibility/exposedSuperClass.kt.after index 31b78ed4208d..f1ec8b1c3925 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/decreaseVisibility/exposedSuperClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/decreaseVisibility/exposedSuperClass.kt.after @@ -11,4 +11,5 @@ class Outer { private open class Data(val x: Int) private class First : Data(42) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToPrivateFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/decreaseVisibility/exposedSuperClassProtectedBase.kt b/plugins/kotlin/idea/tests/testData/quickfix/decreaseVisibility/exposedSuperClassProtectedBase.kt index 8520fc1a23e5..9b73b3b3c915 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/decreaseVisibility/exposedSuperClassProtectedBase.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/decreaseVisibility/exposedSuperClassProtectedBase.kt @@ -9,4 +9,5 @@ private open class Data(val x: Int) class Outer { protected class First : Data(42) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToPrivateFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/decreaseVisibility/exposedSuperClassProtectedBase.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/decreaseVisibility/exposedSuperClassProtectedBase.kt.after index f79f5766ca08..cc7eedd348b7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/decreaseVisibility/exposedSuperClassProtectedBase.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/decreaseVisibility/exposedSuperClassProtectedBase.kt.after @@ -9,4 +9,5 @@ private open class Data(val x: Int) class Outer { private class First : Data(42) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToPrivateFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/decreaseVisibility/exposedSuperClassProtectedInAnother.kt b/plugins/kotlin/idea/tests/testData/quickfix/decreaseVisibility/exposedSuperClassProtectedInAnother.kt index c570331b34c2..498e8f41f5f4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/decreaseVisibility/exposedSuperClassProtectedInAnother.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/decreaseVisibility/exposedSuperClassProtectedInAnother.kt @@ -11,4 +11,5 @@ class Other { class Another { protected class First : Other.Data(42) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToPrivateFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/decreaseVisibility/exposedSuperClassProtectedInAnother.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/decreaseVisibility/exposedSuperClassProtectedInAnother.kt.after index 17ce240d15c9..495853ff7e39 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/decreaseVisibility/exposedSuperClassProtectedInAnother.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/decreaseVisibility/exposedSuperClassProtectedInAnother.kt.after @@ -11,4 +11,5 @@ class Other { class Another { private class First : Other.Data(42) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToPrivateFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/decreaseVisibility/exposedSuperInterface.kt b/plugins/kotlin/idea/tests/testData/quickfix/decreaseVisibility/exposedSuperInterface.kt index 9839bb718a6e..fb23ee4c3150 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/decreaseVisibility/exposedSuperInterface.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/decreaseVisibility/exposedSuperInterface.kt @@ -14,4 +14,5 @@ internal class Outer { class Container { interface Derived : Base -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToInternalFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/decreaseVisibility/exposedSuperInterface.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/decreaseVisibility/exposedSuperInterface.kt.after index 832332d58c1e..8e9f0e394fa7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/decreaseVisibility/exposedSuperInterface.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/decreaseVisibility/exposedSuperInterface.kt.after @@ -14,4 +14,5 @@ internal class Outer { class Container { internal interface Derived : Base -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToInternalFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/decreaseVisibility/exposedSuperInterfacePrivate.kt b/plugins/kotlin/idea/tests/testData/quickfix/decreaseVisibility/exposedSuperInterfacePrivate.kt index 20b8c3d19317..4ff1562ef6da 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/decreaseVisibility/exposedSuperInterfacePrivate.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/decreaseVisibility/exposedSuperInterfacePrivate.kt @@ -14,4 +14,5 @@ internal class Outer { class Container { interface Derived : Base -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToPrivateFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/decreaseVisibility/exposedSuperInterfacePrivate.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/decreaseVisibility/exposedSuperInterfacePrivate.kt.after index cf6379065653..c8707a1b2cae 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/decreaseVisibility/exposedSuperInterfacePrivate.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/decreaseVisibility/exposedSuperInterfacePrivate.kt.after @@ -14,4 +14,5 @@ internal class Outer { class Container { private interface Derived : Base -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToPrivateFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/decreaseVisibility/exposedTypeParameterBound.kt b/plugins/kotlin/idea/tests/testData/quickfix/decreaseVisibility/exposedTypeParameterBound.kt index e93e6fdeffee..31d4bbe31748 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/decreaseVisibility/exposedTypeParameterBound.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/decreaseVisibility/exposedTypeParameterBound.kt @@ -8,4 +8,5 @@ internal open class InternalString -class UserUser, R> \ No newline at end of file +class UserUser, R> +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToInternalFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/decreaseVisibility/exposedTypeParameterBound.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/decreaseVisibility/exposedTypeParameterBound.kt.after index 888b12ada23c..c3b0226211f5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/decreaseVisibility/exposedTypeParameterBound.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/decreaseVisibility/exposedTypeParameterBound.kt.after @@ -8,4 +8,5 @@ internal open class InternalString -internal class User, R> \ No newline at end of file +internal class User, R> +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToInternalFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedJavaAnnotation/withArgument.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedJavaAnnotation/withArgument.kt index 92e11d88060d..e624066264a5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedJavaAnnotation/withArgument.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedJavaAnnotation/withArgument.kt @@ -4,4 +4,5 @@ import java.lang.annotation.RetentionPolicy import java.lang.annotation.Retention @Retention(RetentionPolicy.SOURCE) -annotation class Foo \ No newline at end of file +annotation class Foo +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.DeprecatedJavaAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedJavaAnnotation/withArgument.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedJavaAnnotation/withArgument.kt.after index 410b90e79628..752d603dc6f0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedJavaAnnotation/withArgument.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedJavaAnnotation/withArgument.kt.after @@ -1,4 +1,5 @@ // "Replace annotation with kotlin.annotation.Retention" "true" @Retention(AnnotationRetention.SOURCE) -annotation class Foo \ No newline at end of file +annotation class Foo +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.DeprecatedJavaAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedJavaAnnotation/withClassRetention.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedJavaAnnotation/withClassRetention.kt index b98d987d1471..3e2f35ad586b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedJavaAnnotation/withClassRetention.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedJavaAnnotation/withClassRetention.kt @@ -4,4 +4,5 @@ import java.lang.annotation.RetentionPolicy import java.lang.annotation.Retention @Retention(RetentionPolicy.CLASS) -annotation class Foo \ No newline at end of file +annotation class Foo +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.DeprecatedJavaAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedJavaAnnotation/withClassRetention.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedJavaAnnotation/withClassRetention.kt.after index e6c13ad9cd58..520b2083bcc3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedJavaAnnotation/withClassRetention.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedJavaAnnotation/withClassRetention.kt.after @@ -1,4 +1,5 @@ // "Replace annotation with kotlin.annotation.Retention" "true" @Retention(AnnotationRetention.BINARY) -annotation class Foo \ No newline at end of file +annotation class Foo +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.DeprecatedJavaAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedJavaAnnotation/withRuntimeRetention.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedJavaAnnotation/withRuntimeRetention.kt index 4ef7dd5aeafa..436af075d0ad 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedJavaAnnotation/withRuntimeRetention.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedJavaAnnotation/withRuntimeRetention.kt @@ -4,4 +4,5 @@ import java.lang.annotation.RetentionPolicy import java.lang.annotation.Retention @Retention(RetentionPolicy.RUNTIME) -annotation class Foo \ No newline at end of file +annotation class Foo +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.DeprecatedJavaAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedJavaAnnotation/withRuntimeRetention.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedJavaAnnotation/withRuntimeRetention.kt.after index 8af3e2fc6c5c..0861caf86a04 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedJavaAnnotation/withRuntimeRetention.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedJavaAnnotation/withRuntimeRetention.kt.after @@ -1,4 +1,5 @@ // "Replace annotation with kotlin.annotation.Retention" "true" @Retention(AnnotationRetention.RUNTIME) -annotation class Foo \ No newline at end of file +annotation class Foo +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.DeprecatedJavaAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedJavaAnnotation/withoutArguments.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedJavaAnnotation/withoutArguments.kt index b24a3fba38a3..0c1cfe52b9be 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedJavaAnnotation/withoutArguments.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedJavaAnnotation/withoutArguments.kt @@ -3,4 +3,5 @@ import java.lang.annotation.Documented @Documented -annotation class Foo \ No newline at end of file +annotation class Foo +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.DeprecatedJavaAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedJavaAnnotation/withoutArguments.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedJavaAnnotation/withoutArguments.kt.after index 06672a9aac22..8817fdad90c1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedJavaAnnotation/withoutArguments.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedJavaAnnotation/withoutArguments.kt.after @@ -1,4 +1,5 @@ // "Replace annotation with kotlin.annotation.MustBeDocumented" "true" @MustBeDocumented -annotation class Foo \ No newline at end of file +annotation class Foo +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.DeprecatedJavaAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/addImplicitReceiverNested.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/addImplicitReceiverNested.kt index 6cfde56b9b07..080a36a1b368 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/addImplicitReceiverNested.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/addImplicitReceiverNested.kt @@ -13,3 +13,5 @@ class X { fun foo(x: X) { x.oldFun() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/addImplicitReceiverNested.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/addImplicitReceiverNested.kt.after index e808a787f87b..a4917a737dad 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/addImplicitReceiverNested.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/addImplicitReceiverNested.kt.after @@ -13,3 +13,5 @@ class X { fun foo(x: X) { x.newFun1(x.newFun2()) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsed1.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsed1.kt index 4e0e1c328236..f4cf0d794ee8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsed1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsed1.kt @@ -12,3 +12,5 @@ fun foo() { } fun bar(): Int = 0 + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsed1.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsed1.kt.after index 01ba6533a487..18d7ab628281 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsed1.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsed1.kt.after @@ -13,3 +13,5 @@ fun foo() { } fun bar(): Int = 0 + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsed2.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsed2.kt index 87cef598be02..9c2ec274733b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsed2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsed2.kt @@ -14,3 +14,5 @@ fun foo() { } fun getC(): C = C() + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsed2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsed2.kt.after index 4adc1393c775..81cf745865e7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsed2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsed2.kt.after @@ -15,3 +15,5 @@ fun foo() { } fun getC(): C = C() + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsed3Runtime.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsed3Runtime.kt index 6df7240060cc..d48768187b8a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsed3Runtime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsed3Runtime.kt @@ -13,3 +13,5 @@ fun foo(): Int { } fun bar(): Int = 0 + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsed3Runtime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsed3Runtime.kt.after index 8b41f331c36f..363b157f9f83 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsed3Runtime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsed3Runtime.kt.after @@ -14,3 +14,5 @@ fun foo(): Int { } fun bar(): Int = 0 + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsed4Runtime.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsed4Runtime.kt index 6a2433b24804..501f759d5e84 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsed4Runtime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsed4Runtime.kt @@ -11,3 +11,5 @@ fun newFun(): Int = 0 fun foo(): Int = oldFun(bar()) fun bar(): Int? = 0 + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsed4Runtime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsed4Runtime.kt.after index 3b90a492bc96..1e64519e06c3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsed4Runtime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsed4Runtime.kt.after @@ -14,3 +14,5 @@ fun foo(): Int { } fun bar(): Int? = 0 + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsed5Runtime.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsed5Runtime.kt index a6cbe62bc71b..4952a0d4e418 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsed5Runtime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsed5Runtime.kt @@ -13,3 +13,5 @@ fun foo(list: List) { } fun bar(): Int = 0 + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsed5Runtime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsed5Runtime.kt.after index 4c96d8d9d107..23a9c864a21c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsed5Runtime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsed5Runtime.kt.after @@ -16,3 +16,5 @@ fun foo(list: List) { } fun bar(): Int = 0 + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsedSafeCall.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsedSafeCall.kt index dfc8b29b4bc0..478fbfab4d0d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsedSafeCall.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsedSafeCall.kt @@ -15,3 +15,5 @@ fun foo() { } fun getC(): C? = null + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsedSafeCall.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsedSafeCall.kt.after index d371901c2a1c..034d7b1f6305 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsedSafeCall.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsedSafeCall.kt.after @@ -15,3 +15,5 @@ fun foo() { } fun getC(): C? = null + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsedSafeCall2Runtime.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsedSafeCall2Runtime.kt index 2d2074989da0..591839e365f1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsedSafeCall2Runtime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsedSafeCall2Runtime.kt @@ -15,3 +15,5 @@ fun foo(): Int? { } fun getC(): C? = null + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsedSafeCall2Runtime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsedSafeCall2Runtime.kt.after index 6c38dc9b323d..9e801aa17fcd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsedSafeCall2Runtime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsedSafeCall2Runtime.kt.after @@ -15,3 +15,5 @@ fun foo(): Int? { } fun getC(): C? = null + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsedShortenRefsRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsedShortenRefsRuntime.kt index a1f127faa370..dd32f01788c3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsedShortenRefsRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsedShortenRefsRuntime.kt @@ -14,3 +14,5 @@ fun newFun(){} fun foo() { oldFun() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsedShortenRefsRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsedShortenRefsRuntime.kt.after index 94dbb33f3118..48db36e3267b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsedShortenRefsRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsedShortenRefsRuntime.kt.after @@ -15,3 +15,5 @@ fun foo() { bar() newFun() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionUsedTwice.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionUsedTwice.kt index 958bcb11b97b..4a11f8e57458 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionUsedTwice.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionUsedTwice.kt @@ -12,3 +12,5 @@ fun foo() { } fun bar(): Int = 0 + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionUsedTwice.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionUsedTwice.kt.after index 4c70fa0c5a24..f9ebbde2c49f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionUsedTwice.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionUsedTwice.kt.after @@ -13,3 +13,5 @@ fun foo() { } fun bar(): Int = 0 + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionUsedTwice2.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionUsedTwice2.kt index 872e50f185c9..e16bbd426648 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionUsedTwice2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionUsedTwice2.kt @@ -13,3 +13,5 @@ fun foo() { } fun getBar(): C = C() + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionUsedTwice2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionUsedTwice2.kt.after index 4f04bcb6833a..015d7981f555 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionUsedTwice2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionUsedTwice2.kt.after @@ -14,3 +14,5 @@ fun foo() { } fun getBar(): C = C() + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionUsedTwice3Runtime.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionUsedTwice3Runtime.kt index b15a76d83fd9..da2ac2b82367 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionUsedTwice3Runtime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionUsedTwice3Runtime.kt @@ -12,3 +12,5 @@ fun foo(): Int { var v = 0 return oldFun(v++) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionUsedTwice3Runtime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionUsedTwice3Runtime.kt.after index 8f4f56433345..422198637e7e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionUsedTwice3Runtime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionUsedTwice3Runtime.kt.after @@ -13,3 +13,5 @@ fun foo(): Int { val p = v++ return newFun(p, p) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionUsedTwice4.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionUsedTwice4.kt index dc55dd461fc1..2a23520b594f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionUsedTwice4.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionUsedTwice4.kt @@ -14,3 +14,5 @@ fun foo() { } fun getBar(): C = C() + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionUsedTwice4.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionUsedTwice4.kt.after index 7a9ca4dd5238..228b0e328a50 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionUsedTwice4.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionUsedTwice4.kt.after @@ -15,3 +15,5 @@ fun foo() { } fun getBar(): C = C() + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionUsedTwice5Runtime.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionUsedTwice5Runtime.kt index 9139c44c820c..6afc5e4fbaf9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionUsedTwice5Runtime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionUsedTwice5Runtime.kt @@ -15,3 +15,5 @@ fun foo() { } fun bar(): List = ArrayList() + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionUsedTwice5Runtime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionUsedTwice5Runtime.kt.after index 89bc24ce282e..e684b5033b44 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionUsedTwice5Runtime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionUsedTwice5Runtime.kt.after @@ -16,3 +16,5 @@ fun foo() { } fun bar(): List = ArrayList() + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionUsedTwice6Runtime.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionUsedTwice6Runtime.kt index 982d5fa474b2..bd0302195f9d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionUsedTwice6Runtime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionUsedTwice6Runtime.kt @@ -13,3 +13,5 @@ fun foo(): Int { } fun bar(): Int? = null + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionUsedTwice6Runtime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionUsedTwice6Runtime.kt.after index ff6e7b6988cd..9f02d55941e2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionUsedTwice6Runtime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionUsedTwice6Runtime.kt.after @@ -14,3 +14,5 @@ fun foo(): Int { } fun bar(): Int? = null + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/simpleExpressionNotUsed.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/simpleExpressionNotUsed.kt index 287b83cd3c79..ec7d2d5fe6b5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/simpleExpressionNotUsed.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/simpleExpressionNotUsed.kt @@ -14,3 +14,5 @@ fun foo() { object O { var x = 0 } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/simpleExpressionNotUsed.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/simpleExpressionNotUsed.kt.after index fecdfe60b488..66944c490a34 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/simpleExpressionNotUsed.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/simpleExpressionNotUsed.kt.after @@ -14,3 +14,5 @@ fun foo() { object O { var x = 0 } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/simpleExpressionUsedTwice.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/simpleExpressionUsedTwice.kt index 643363ecba80..4c0e3b2fc3a6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/simpleExpressionUsedTwice.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/simpleExpressionUsedTwice.kt @@ -14,3 +14,5 @@ fun foo(c: C) { class C { var bar = 0 } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/simpleExpressionUsedTwice.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/simpleExpressionUsedTwice.kt.after index e2ccdd948112..db3db60cf380 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/simpleExpressionUsedTwice.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/simpleExpressionUsedTwice.kt.after @@ -14,3 +14,5 @@ fun foo(c: C) { class C { var bar = 0 } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/stringLiteralUsedTwice.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/stringLiteralUsedTwice.kt index 5e9a5a7e8726..987c517bab17 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/stringLiteralUsedTwice.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/stringLiteralUsedTwice.kt @@ -10,3 +10,5 @@ fun newFun(p1: String, p2: String){} fun foo() { oldFun("x") } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/stringLiteralUsedTwice.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/stringLiteralUsedTwice.kt.after index 1706ef0637f1..26d4c1508d13 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/stringLiteralUsedTwice.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/stringLiteralUsedTwice.kt.after @@ -10,3 +10,5 @@ fun newFun(p1: String, p2: String){} fun foo() { newFun("x", "x") } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/stringTemplateUsedTwice.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/stringTemplateUsedTwice.kt index c18fa3517609..cd413e41c0f6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/stringTemplateUsedTwice.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/stringTemplateUsedTwice.kt @@ -10,3 +10,5 @@ fun newFun(p1: String, p2: String){} fun foo(p: Int) { oldFun("p=$p") } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/stringTemplateUsedTwice.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/stringTemplateUsedTwice.kt.after index 51f8d2ca5771..7c0597526cf0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/stringTemplateUsedTwice.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/stringTemplateUsedTwice.kt.after @@ -11,3 +11,5 @@ fun foo(p: Int) { val p1 = "p=$p" newFun(p1, p1) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/stringTemplateUsedTwice2.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/stringTemplateUsedTwice2.kt index 6be1de2113cf..82aabbcd9e35 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/stringTemplateUsedTwice2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/stringTemplateUsedTwice2.kt @@ -12,3 +12,5 @@ fun foo(p: Int) { } fun Int.bar(): String = "" + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/stringTemplateUsedTwice2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/stringTemplateUsedTwice2.kt.after index d86b44e8cf12..5e3c5502fe04 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/stringTemplateUsedTwice2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/stringTemplateUsedTwice2.kt.after @@ -13,3 +13,5 @@ fun foo(p: Int) { } fun Int.bar(): String = "" + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/withLiteralAndReference.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/withLiteralAndReference.kt index a44b5cf6c1f4..13eef7b8a464 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/withLiteralAndReference.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/withLiteralAndReference.kt @@ -6,4 +6,5 @@ fun foo(x: Any, y: Any, z: Any) { fun bar(y: Any) {} fun main() { foo(4::class, 42::dec, ::bar) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/withLiteralAndReference.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/withLiteralAndReference.kt.after index db71bd50554d..850cbb74f78a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/withLiteralAndReference.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/withLiteralAndReference.kt.after @@ -6,4 +6,5 @@ fun foo(x: Any, y: Any, z: Any) { fun bar(y: Any) {} fun main() { bar(42::dec) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/callChainBug.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/callChainBug.kt index a76297213642..213b51cb744e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/callChainBug.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/callChainBug.kt @@ -8,3 +8,5 @@ fun newFun(): String = "" fun foo() { val value = oldFun().length } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/callChainBug.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/callChainBug.kt.after index d2e41a9fc478..b7f1638e0176 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/callChainBug.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/callChainBug.kt.after @@ -8,3 +8,5 @@ fun newFun(): String = "" fun foo() { val value = newFun().length } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/changeThis1.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/changeThis1.kt index 361a6f26eccf..89b7baa1afeb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/changeThis1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/changeThis1.kt @@ -10,3 +10,5 @@ fun String.newFun(x: X){} fun foo(x: X) { x.oldFun("a") } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/changeThis1.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/changeThis1.kt.after index 81eb806e81ab..cdfbde8c3532 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/changeThis1.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/changeThis1.kt.after @@ -10,3 +10,5 @@ fun String.newFun(x: X){} fun foo(x: X) { "a".newFun(x) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/changeThis2.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/changeThis2.kt index 500e9c4f4e8e..6a4dff961e58 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/changeThis2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/changeThis2.kt @@ -10,3 +10,5 @@ fun String.newFun(x: X){} fun X.foo() { oldFun("a") } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/changeThis2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/changeThis2.kt.after index f60902667ef6..9123e91c613a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/changeThis2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/changeThis2.kt.after @@ -10,3 +10,5 @@ fun String.newFun(x: X){} fun X.foo() { "a".newFun(this) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/changeThisToOuterThis.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/changeThisToOuterThis.kt index fb6505bd13f1..4904636fb32b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/changeThisToOuterThis.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/changeThisToOuterThis.kt @@ -16,3 +16,5 @@ class Derived : Base() { } fun String.newFun(x: Base){} + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/changeThisToOuterThis.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/changeThisToOuterThis.kt.after index 07b53805d9ee..fe6a357a44db 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/changeThisToOuterThis.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/changeThisToOuterThis.kt.after @@ -16,3 +16,5 @@ class Derived : Base() { } fun String.newFun(x: Base){} + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classLiteralAndTypeArgsRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classLiteralAndTypeArgsRuntime.kt index 165ab9bdbab6..82192c16d540 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classLiteralAndTypeArgsRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classLiteralAndTypeArgsRuntime.kt @@ -10,3 +10,5 @@ fun foo() { val v3 = myJavaClass>() val v4 = myJavaClass() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageInWholeProjectFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classLiteralAndTypeArgsRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classLiteralAndTypeArgsRuntime.kt.after index 141df538f51b..4cb98867d436 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classLiteralAndTypeArgsRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classLiteralAndTypeArgsRuntime.kt.after @@ -12,3 +12,5 @@ fun foo() { val v3 = Array::class.java val v4 = Random::class.java } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageInWholeProjectFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotation1.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotation1.kt index 2fc4e79fe5d0..32598ca10d4e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotation1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotation1.kt @@ -7,4 +7,5 @@ annotation class Foo annotation class Bar -@Foo class C {} \ No newline at end of file +@Foo class C {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotation1.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotation1.kt.after index d45e27451463..e509db41a464 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotation1.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotation1.kt.after @@ -8,4 +8,5 @@ annotation class Foo annotation class Bar @Bar -class C {} \ No newline at end of file +class C {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotation2.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotation2.kt index 675f1a200266..82abac49f3df 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotation2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotation2.kt @@ -7,4 +7,5 @@ annotation class Foo(val p1: String, val p2: Int) annotation class Bar(val p1: String, val p2: Int) -@Foo("", 1) class C {} \ No newline at end of file +@Foo("", 1) class C {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotation2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotation2.kt.after index 7c3f77043350..85aa3c31dd35 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotation2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotation2.kt.after @@ -7,4 +7,5 @@ annotation class Foo(val p1: String, val p2: Int) annotation class Bar(val p1: String, val p2: Int) -@Bar("", 1) class C {} \ No newline at end of file +@Bar("", 1) class C {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotation3.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotation3.kt index c8652c341ffb..fd42f2c3da62 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotation3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotation3.kt @@ -7,4 +7,5 @@ annotation class Foo annotation class Bar(val p: Int) -@Foo class C {} \ No newline at end of file +@Foo class C {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotation3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotation3.kt.after index 2f429a18811d..e3b89634e77d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotation3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotation3.kt.after @@ -8,4 +8,5 @@ annotation class Foo annotation class Bar(val p: Int) @Bar(1) -class C {} \ No newline at end of file +class C {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotation4.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotation4.kt index a05b3b56ec7f..7df89c5e9aa4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotation4.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotation4.kt @@ -7,4 +7,5 @@ annotation class Foo(val p: Int) annotation class Bar(val p: Int, val s: String) -@Foo(1) class C {} \ No newline at end of file +@Foo(1) class C {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotation4.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotation4.kt.after index 1b63a125a569..a142ae7ab9b6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotation4.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotation4.kt.after @@ -8,4 +8,5 @@ annotation class Foo(val p: Int) annotation class Bar(val p: Int, val s: String) @Bar(1, "") -class C {} \ No newline at end of file +class C {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotationKeepNamedArgs.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotationKeepNamedArgs.kt index 377096d6ce6f..e5847caad56e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotationKeepNamedArgs.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotationKeepNamedArgs.kt @@ -7,4 +7,5 @@ annotation class Foo(val p: Int) annotation class Bar(val p: Int, val s: String) -@Foo(p = 1) class C \ No newline at end of file +@Foo(p = 1) class C +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotationKeepNamedArgs.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotationKeepNamedArgs.kt.after index 84d8ee83be4d..0f28009bfb99 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotationKeepNamedArgs.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotationKeepNamedArgs.kt.after @@ -8,4 +8,5 @@ annotation class Foo(val p: Int) annotation class Bar(val p: Int, val s: String) @Bar(p = 1, s = "") -class C \ No newline at end of file +class C +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotationWithFileUseSiteTarget1.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotationWithFileUseSiteTarget1.kt index d5c04c413090..bdda9154a674 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotationWithFileUseSiteTarget1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotationWithFileUseSiteTarget1.kt @@ -1,3 +1,4 @@ // "Replace with 'OptIn(*markerClass)'" "true" // WITH_STDLIB 1.7.0 -@file:UseExperimental \ No newline at end of file +@file:UseExperimental +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotationWithFileUseSiteTarget1.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotationWithFileUseSiteTarget1.kt.after index af343a6ea307..7ecc539c839b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotationWithFileUseSiteTarget1.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotationWithFileUseSiteTarget1.kt.after @@ -1,3 +1,4 @@ // "Replace with 'OptIn(*markerClass)'" "true" // WITH_STDLIB 1.7.0 -@file:OptIn() \ No newline at end of file +@file:OptIn() +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotationWithFileUseSiteTarget2.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotationWithFileUseSiteTarget2.kt index cc3eddede259..ed23b551b8c0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotationWithFileUseSiteTarget2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotationWithFileUseSiteTarget2.kt @@ -1,3 +1,4 @@ // "Replace with 'OptIn(*markerClass)'" "true" // WITH_STDLIB 1.7.0 -@file:UseExperimental() \ No newline at end of file +@file:UseExperimental() +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotationWithFileUseSiteTarget2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotationWithFileUseSiteTarget2.kt.after index e17ecd0aa35e..4599af479de4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotationWithFileUseSiteTarget2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotationWithFileUseSiteTarget2.kt.after @@ -1,3 +1,4 @@ // "Replace with 'OptIn(*markerClass)'" "true" // WITH_STDLIB 1.7.0 -@file:OptIn() \ No newline at end of file +@file:OptIn() +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotationWithFileUseSiteTarget3.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotationWithFileUseSiteTarget3.kt index 9773fd4ed83e..50ac6562dfbf 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotationWithFileUseSiteTarget3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotationWithFileUseSiteTarget3.kt @@ -3,4 +3,5 @@ @file:UseExperimental(Foo::class, Bar::class) annotation class Foo -annotation class Bar \ No newline at end of file +annotation class Bar +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotationWithFileUseSiteTarget3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotationWithFileUseSiteTarget3.kt.after index 526e50864bee..3a7bf5ab6462 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotationWithFileUseSiteTarget3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotationWithFileUseSiteTarget3.kt.after @@ -3,4 +3,5 @@ @file:OptIn(Foo::class, Bar::class) annotation class Foo -annotation class Bar \ No newline at end of file +annotation class Bar +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotationWithGetUseSiteTarget1.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotationWithGetUseSiteTarget1.kt index cc6719b4ac97..90fef4743121 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotationWithGetUseSiteTarget1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotationWithGetUseSiteTarget1.kt @@ -9,4 +9,5 @@ class Test { annotation class Foo @Target(AnnotationTarget.PROPERTY_GETTER) -annotation class Bar \ No newline at end of file +annotation class Bar +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotationWithGetUseSiteTarget1.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotationWithGetUseSiteTarget1.kt.after index 2127104b9d29..1f8b02547260 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotationWithGetUseSiteTarget1.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotationWithGetUseSiteTarget1.kt.after @@ -9,4 +9,5 @@ class Test { annotation class Foo @Target(AnnotationTarget.PROPERTY_GETTER) -annotation class Bar \ No newline at end of file +annotation class Bar +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotationWithGetUseSiteTarget2.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotationWithGetUseSiteTarget2.kt index 1850efb9670d..03a874e35526 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotationWithGetUseSiteTarget2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotationWithGetUseSiteTarget2.kt @@ -9,4 +9,5 @@ class Test { annotation class Foo @Target(AnnotationTarget.PROPERTY_GETTER) -annotation class Bar \ No newline at end of file +annotation class Bar +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotationWithGetUseSiteTarget2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotationWithGetUseSiteTarget2.kt.after index 771e18554a64..d0fb5ebd3f16 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotationWithGetUseSiteTarget2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotationWithGetUseSiteTarget2.kt.after @@ -9,4 +9,5 @@ class Test { annotation class Foo @Target(AnnotationTarget.PROPERTY_GETTER) -annotation class Bar \ No newline at end of file +annotation class Bar +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotationWithGetUseSiteTarget3.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotationWithGetUseSiteTarget3.kt index c9ccc3f1c55b..47f9a6d6e9b9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotationWithGetUseSiteTarget3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotationWithGetUseSiteTarget3.kt @@ -9,4 +9,5 @@ class Test { annotation class Foo(val i: Int) @Target(AnnotationTarget.PROPERTY_GETTER) -annotation class Bar(val i: Int) \ No newline at end of file +annotation class Bar(val i: Int) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotationWithGetUseSiteTarget3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotationWithGetUseSiteTarget3.kt.after index 5d560b73fd3c..ee92c2bb61c1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotationWithGetUseSiteTarget3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/annotationWithGetUseSiteTarget3.kt.after @@ -9,4 +9,5 @@ class Test { annotation class Foo(val i: Int) @Target(AnnotationTarget.PROPERTY_GETTER) -annotation class Bar(val i: Int) \ No newline at end of file +annotation class Bar(val i: Int) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsage1.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsage1.kt index df08752394fe..f81dffcef9d9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsage1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsage1.kt @@ -8,3 +8,5 @@ class NewClass(p: Int) fun foo() { OldClass(1) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsage1.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsage1.kt.after index 1fd2a658a480..f6f3d14b77f7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsage1.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsage1.kt.after @@ -8,3 +8,5 @@ class NewClass(p: Int) fun foo() { NewClass(1) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsage2.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsage2.kt index 7e29e1460e7f..75e4678dffbc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsage2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsage2.kt @@ -6,3 +6,5 @@ class OldClass fun foo() { OldClass(1) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsage2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsage2.kt.after index d4f9e17bfeda..02fa38f5efb3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsage2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsage2.kt.after @@ -8,3 +8,5 @@ class OldClass fun foo() { Random(1) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsage3.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsage3.kt index 98745c18ded0..c8d4b9e39f92 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsage3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsage3.kt @@ -9,3 +9,5 @@ class NewClass(p: Int) fun foo() { ppp.OldClass(1) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsage3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsage3.kt.after index 7c0d1fbee206..6e01695bb604 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsage3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsage3.kt.after @@ -9,3 +9,5 @@ class NewClass(p: Int) fun foo() { NewClass(1) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsage4.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsage4.kt index 45dc7365d242..3ae480ce4bec 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsage4.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsage4.kt @@ -9,3 +9,5 @@ class NewClass(p: Int) fun foo() { OldClass(1) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsage4.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsage4.kt.after index 1d7a4b9e4dab..dc7b6a4b3c29 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsage4.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsage4.kt.after @@ -9,3 +9,5 @@ class NewClass(p: Int) fun foo() { NewClass(1 + 1) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsage5.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsage5.kt index 1a93a425a9ec..26ba3b0fa161 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsage5.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsage5.kt @@ -10,3 +10,5 @@ class B : A(i = 42) fun a() { A(42) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsage5.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsage5.kt.after index 9c35f071d9e6..9f29efa87e58 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsage5.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsage5.kt.after @@ -10,3 +10,5 @@ class B : A(s = "", i = { 42 }, i2 = 33) fun a() { A(42) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsage6.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsage6.kt index df4c0f7b635e..1488f1e9d8b8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsage6.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsage6.kt @@ -12,4 +12,5 @@ class B : A(i = 31) fun b() { val b = 30 A(b) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageInWholeProjectFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsage6.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsage6.kt.after index 5ee2a0fdb282..197aef8d1039 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsage6.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsage6.kt.after @@ -12,4 +12,5 @@ class B : C(s = "", a = { 31 }, m = 31) fun b() { val b = 30 C(s = "", a = { b }, m = b) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageInWholeProjectFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsage7.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsage7.kt index 50258656cdbe..4614646c6beb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsage7.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsage7.kt @@ -10,3 +10,5 @@ class B : A(i = 33) fun a() { A(42) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageInWholeProjectFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsage7.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsage7.kt.after index b88e0f883f24..08325bd607af 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsage7.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsage7.kt.after @@ -10,3 +10,5 @@ class B : A(b = "", { 33 }) fun a() { A(b = "") { 42 } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageInWholeProjectFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument.kt index 2eb9a1a8b45c..89491b8c0300 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument.kt @@ -9,3 +9,5 @@ class NewClass fun foo() { OldClass() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument.kt.after index 6131a360e85d..c5a2b7ed0bd1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument.kt.after @@ -9,3 +9,5 @@ class NewClass fun foo() { NewClass() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument2.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument2.kt index d9d787b251fd..8a6d7acee960 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument2.kt @@ -9,3 +9,5 @@ class NewClass fun foo() { OldClass() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument2.kt.after index 700d1dc5be5b..6c508e2ed126 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument2.kt.after @@ -9,3 +9,5 @@ class NewClass fun foo() { NewClass() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument3.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument3.kt index 9535d757cdd7..b7447627eeb9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument3.kt @@ -9,3 +9,5 @@ class NewClass fun foo() { OldClass() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument3.kt.after index 259fcf5aff75..f5d858cb0dc4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument3.kt.after @@ -9,3 +9,5 @@ class NewClass fun foo() { NewClass() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument4.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument4.kt index 8cc95ec71421..b39ea6db734f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument4.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument4.kt @@ -6,4 +6,5 @@ fun Factory(): Foo = TODO() fun baz() { val foo = Foo() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument4.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument4.kt.after index e377e2b0c345..23fdd99f157c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument4.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument4.kt.after @@ -6,4 +6,5 @@ fun Factory(): Foo = TODO() fun baz() { val foo = Factory() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument5.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument5.kt index 6afc02b07c69..194f1e52616b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument5.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument5.kt @@ -6,4 +6,5 @@ fun Factory(): Foo = TODO() fun baz() { val foo = Foo() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument5.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument5.kt.after index 707fd1d8f115..35c6c145bd9b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument5.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument5.kt.after @@ -6,4 +6,5 @@ fun Factory(): Foo = TODO() fun baz() { val foo = Factory() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument6.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument6.kt index 91fe15b2d5f8..83e5b44be32d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument6.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument6.kt @@ -12,4 +12,5 @@ class New : Main() fun test() { val main = Old() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument6.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument6.kt.after index ea457c18a049..2d80078c4551 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument6.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument6.kt.after @@ -12,4 +12,5 @@ class New : Main() fun test() { val main = New() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument7.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument7.kt index 7cb1b17bb0f6..f65e715606af 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument7.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument7.kt @@ -11,4 +11,5 @@ class New : Main() fun test() { val main = Old() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument7.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument7.kt.after index ca9062435ef7..53bc4f969ede 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument7.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgument7.kt.after @@ -11,4 +11,5 @@ class New : Main() fun test() { val main = New() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgumentWithoutSpecifyType.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgumentWithoutSpecifyType.kt index a1853f88fcae..afc63a42c4e2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgumentWithoutSpecifyType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgumentWithoutSpecifyType.kt @@ -6,4 +6,5 @@ fun Factory(): Foo = TODO() fun baz() { val foo: Foo = Foo() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgumentWithoutSpecifyType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgumentWithoutSpecifyType.kt.after index 968fd34bd174..2dde99f1a7cd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgumentWithoutSpecifyType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsageWithTypeArgumentWithoutSpecifyType.kt.after @@ -6,4 +6,5 @@ fun Factory(): Foo = TODO() fun baz() { val foo: Foo = Factory() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/imports.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/imports.kt index e36d93bbcf8a..db002e8333fd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/imports.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/imports.kt @@ -6,3 +6,5 @@ class OldClass fun foo(): OldClass? { return null } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/imports.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/imports.kt.after index 3f72f59b36ad..ac7bbbaff769 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/imports.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/imports.kt.after @@ -8,3 +8,5 @@ class OldClass fun foo(): File? { return null } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/inAliasSimple.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/inAliasSimple.kt index ad577091a0bd..5bad467d210e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/inAliasSimple.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/inAliasSimple.kt @@ -7,4 +7,5 @@ class NewClass typealias Old = OldClass -val a: Old = Old() \ No newline at end of file +val a: Old = Old() +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/inAliasSimple.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/inAliasSimple.kt.after index 8512e752604f..647198c548bd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/inAliasSimple.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/inAliasSimple.kt.after @@ -7,4 +7,5 @@ class NewClass typealias Old = NewClass -val a: Old = Old() \ No newline at end of file +val a: Old = Old() +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/inAliasWithOwnReplaceForConstructorForAliasArguments.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/inAliasWithOwnReplaceForConstructorForAliasArguments.kt index 9741254a40f8..4da947067277 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/inAliasWithOwnReplaceForConstructorForAliasArguments.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/inAliasWithOwnReplaceForConstructorForAliasArguments.kt @@ -10,4 +10,5 @@ class B typealias Old = OldClass<A> val o: Old = Old() -val a = A() // Usage of A() \ No newline at end of file +val a = A() // Usage of A() +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/inAliasWithOwnReplaceForConstructorForAliasArguments.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/inAliasWithOwnReplaceForConstructorForAliasArguments.kt.after index adf782a5f0ee..36a30194cbb0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/inAliasWithOwnReplaceForConstructorForAliasArguments.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/inAliasWithOwnReplaceForConstructorForAliasArguments.kt.after @@ -10,4 +10,5 @@ class B typealias Old = OldClass<B> val o: Old = Old() -val a = A() // Usage of A() \ No newline at end of file +val a = A() // Usage of A() +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/inAliasWithOwnReplaceForConstructorUnused.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/inAliasWithOwnReplaceForConstructorUnused.kt index e516853c8536..c8ed9e674abe 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/inAliasWithOwnReplaceForConstructorUnused.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/inAliasWithOwnReplaceForConstructorUnused.kt @@ -7,4 +7,5 @@ class NewClass(p: Int) typealias Old = OldClass -val a: Old = null!! \ No newline at end of file +val a: Old = null!! +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/inAliasWithOwnReplaceForConstructorUnused.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/inAliasWithOwnReplaceForConstructorUnused.kt.after index 6767bfb85eea..8edba281c47c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/inAliasWithOwnReplaceForConstructorUnused.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/inAliasWithOwnReplaceForConstructorUnused.kt.after @@ -7,4 +7,5 @@ class NewClass(p: Int) typealias Old = NewClass -val a: Old = null!! \ No newline at end of file +val a: Old = null!! +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/inAliasWithOwnReplaceForConstructorUsed.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/inAliasWithOwnReplaceForConstructorUsed.kt index 60d282488b86..498fa57447f2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/inAliasWithOwnReplaceForConstructorUsed.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/inAliasWithOwnReplaceForConstructorUsed.kt @@ -11,4 +11,5 @@ class NewClass(p: Int) // No apply, error instead typealias Old = OldClass -val a: Old = aa.Old() \ No newline at end of file +val a: Old = aa.Old() +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/inAliasWithOwnReplaceForConstructorUsed.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/inAliasWithOwnReplaceForConstructorUsed.kt.after index 60d282488b86..498fa57447f2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/inAliasWithOwnReplaceForConstructorUsed.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/inAliasWithOwnReplaceForConstructorUsed.kt.after @@ -11,4 +11,5 @@ class NewClass(p: Int) // No apply, error instead typealias Old = OldClass -val a: Old = aa.Old() \ No newline at end of file +val a: Old = aa.Old() +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/inAliasWithOwnReplaceForSecondaryConstructorUnused.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/inAliasWithOwnReplaceForSecondaryConstructorUnused.kt index 99344dadbc8a..04aef8ca9d10 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/inAliasWithOwnReplaceForSecondaryConstructorUnused.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/inAliasWithOwnReplaceForSecondaryConstructorUnused.kt @@ -9,4 +9,5 @@ class NewClass(p: Int = 0) typealias Old = OldClass -val a: Old = Old() \ No newline at end of file +val a: Old = Old() +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/inAliasWithOwnReplaceForSecondaryConstructorUnused.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/inAliasWithOwnReplaceForSecondaryConstructorUnused.kt.after index c4f3df7b822e..c067a9e1283f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/inAliasWithOwnReplaceForSecondaryConstructorUnused.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/inAliasWithOwnReplaceForSecondaryConstructorUnused.kt.after @@ -9,4 +9,5 @@ class NewClass(p: Int = 0) typealias Old = NewClass -val a: Old = Old() \ No newline at end of file +val a: Old = Old() +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/inAliasWithOwnReplaceForSecondaryConstructorUsed.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/inAliasWithOwnReplaceForSecondaryConstructorUsed.kt index 24833c09b7d4..ef7ef513402f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/inAliasWithOwnReplaceForSecondaryConstructorUsed.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/inAliasWithOwnReplaceForSecondaryConstructorUsed.kt @@ -11,4 +11,5 @@ class NewClass(p: Int) // No apply, error instead typealias Old = OldClass -val a: Old = Old(1) \ No newline at end of file +val a: Old = Old(1) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/inAliasWithOwnReplaceForSecondaryConstructorUsed.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/inAliasWithOwnReplaceForSecondaryConstructorUsed.kt.after index 24833c09b7d4..ef7ef513402f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/inAliasWithOwnReplaceForSecondaryConstructorUsed.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/inAliasWithOwnReplaceForSecondaryConstructorUsed.kt.after @@ -11,4 +11,5 @@ class NewClass(p: Int) // No apply, error instead typealias Old = OldClass -val a: Old = Old(1) \ No newline at end of file +val a: Old = Old(1) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/inTypeArgument.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/inTypeArgument.kt index 8148c8c95eef..6964662ca358 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/inTypeArgument.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/inTypeArgument.kt @@ -8,3 +8,5 @@ class NewClass fun foo(): List>? { return null } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/inTypeArgument.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/inTypeArgument.kt.after index 6416b87a2cbb..4f657b6332ae 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/inTypeArgument.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/inTypeArgument.kt.after @@ -8,3 +8,5 @@ class NewClass fun foo(): List? { return null } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/innerType.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/innerType.kt index fb4fada6761d..5dd136ff5731 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/innerType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/innerType.kt @@ -9,4 +9,5 @@ class F fun test() { var x: A> -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/innerType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/innerType.kt.after index 29449f4c2632..d2bda1a8a103 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/innerType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/innerType.kt.after @@ -9,4 +9,5 @@ class F fun test() { var x: B> -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/nestedClassToNestedClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/nestedClassToNestedClass.kt index 2d1fba516345..bdd519ae3fc8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/nestedClassToNestedClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/nestedClassToNestedClass.kt @@ -10,3 +10,5 @@ class Outer { fun foo(): Outer.OldClass? { return null } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/nestedClassToNestedClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/nestedClassToNestedClass.kt.after index 68237ab429dc..68441d3e8080 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/nestedClassToNestedClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/nestedClassToNestedClass.kt.after @@ -10,3 +10,5 @@ class Outer { fun foo(): Outer.NewClass? { return null } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/noMatchTypeArgument.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/noMatchTypeArgument.kt index 04d7bb93796b..afb61b7619e0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/noMatchTypeArgument.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/noMatchTypeArgument.kt @@ -8,3 +8,5 @@ class B fun foo() { var c: C } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/noMatchTypeArgument.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/noMatchTypeArgument.kt.after index 8fd9340d096c..cc21554ce385 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/noMatchTypeArgument.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/noMatchTypeArgument.kt.after @@ -8,3 +8,5 @@ class B fun foo() { var c: B } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/noMatchTypeArgument2.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/noMatchTypeArgument2.kt index 0979ff98cb3d..9396b8e29b67 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/noMatchTypeArgument2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/noMatchTypeArgument2.kt @@ -8,3 +8,5 @@ class B fun foo() { var c: C } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/noMatchTypeArgument2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/noMatchTypeArgument2.kt.after index eb80e6284d39..864a58dcd831 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/noMatchTypeArgument2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/noMatchTypeArgument2.kt.after @@ -8,3 +8,5 @@ class B fun foo() { var c: B } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/qualifiedClassName.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/qualifiedClassName.kt index 90ed1e7cdc52..64f668bbc0b1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/qualifiedClassName.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/qualifiedClassName.kt @@ -10,3 +10,5 @@ class NewClass fun foo(): ppp.OldClass? { return null } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/qualifiedClassName.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/qualifiedClassName.kt.after index 3a700c983e43..2fd637317ecb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/qualifiedClassName.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/qualifiedClassName.kt.after @@ -10,3 +10,5 @@ class NewClass fun foo(): NewClass? { return null } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/qualifiedClassNameInPattern.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/qualifiedClassNameInPattern.kt index d405dd9bfd98..c5952c0d52a8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/qualifiedClassNameInPattern.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/qualifiedClassNameInPattern.kt @@ -6,3 +6,5 @@ class OldClass fun foo(): OldClass? { return null } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/qualifiedClassNameInPattern.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/qualifiedClassNameInPattern.kt.after index 3ad09256ba6a..a70d110b9390 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/qualifiedClassNameInPattern.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/qualifiedClassNameInPattern.kt.after @@ -8,3 +8,5 @@ class OldClass fun foo(): File? { return null } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/simple.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/simple.kt index af0435af701a..a1123158421c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/simple.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/simple.kt @@ -8,3 +8,5 @@ class NewClass fun foo(): OldClass? { return null } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/simple.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/simple.kt.after index db33bb8a0f46..236784ce24ab 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/simple.kt.after @@ -8,3 +8,5 @@ class NewClass fun foo(): NewClass? { return null } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/wholeProject/inheritance.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/wholeProject/inheritance.kt index 0af87ff2004e..358d29c50ad3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/wholeProject/inheritance.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/wholeProject/inheritance.kt @@ -15,3 +15,5 @@ class Derived2 : OldClass { constructor(p: Int) : super(p) constructor() : super() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageInWholeProjectFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/wholeProject/inheritance.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/wholeProject/inheritance.kt.after index c4d7dcc2e0c7..4441a9500d84 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/wholeProject/inheritance.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/classUsages/wholeProject/inheritance.kt.after @@ -15,3 +15,5 @@ class Derived2 : NewClass { constructor(p: Int) : super(p) constructor() : super() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageInWholeProjectFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/deprecatedSinceKotlinAndReplaceWith.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/deprecatedSinceKotlinAndReplaceWith.kt index 58738ba739ae..6ab4139b01b6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/deprecatedSinceKotlinAndReplaceWith.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/deprecatedSinceKotlinAndReplaceWith.kt @@ -12,3 +12,5 @@ fun newFun() {} fun foo() { oldFun() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/deprecatedSinceKotlinAndReplaceWith.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/deprecatedSinceKotlinAndReplaceWith.kt.after index 92957f67c2ca..6c4cdef334dc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/deprecatedSinceKotlinAndReplaceWith.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/deprecatedSinceKotlinAndReplaceWith.kt.after @@ -12,3 +12,5 @@ fun newFun() {} fun foo() { newFun() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/deprecationLevel.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/deprecationLevel.kt index ce8c54c03d2c..344b3541bb55 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/deprecationLevel.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/deprecationLevel.kt @@ -6,4 +6,5 @@ fun b() {} fun usage() { a() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/deprecationLevel.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/deprecationLevel.kt.after index 5fde49b864ab..3ffcb20617c5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/deprecationLevel.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/deprecationLevel.kt.after @@ -6,4 +6,5 @@ fun b() {} fun usage() { b() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/doNotShortenUserReferences.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/doNotShortenUserReferences.kt index f6f46418b685..b989f01e4f11 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/doNotShortenUserReferences.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/doNotShortenUserReferences.kt @@ -8,3 +8,5 @@ fun newFun(c: Char){} fun foo() { oldFun(java.io.File.separatorChar) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/doNotShortenUserReferences.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/doNotShortenUserReferences.kt.after index 6be0ce9e9a88..294ddc8b514f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/doNotShortenUserReferences.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/doNotShortenUserReferences.kt.after @@ -8,3 +8,5 @@ fun newFun(c: Char){} fun foo() { newFun(java.io.File.separatorChar) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/doNotShortenUsersExplicitThis.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/doNotShortenUsersExplicitThis.kt index 611e313b3c5f..2900bb1a2cc1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/doNotShortenUsersExplicitThis.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/doNotShortenUsersExplicitThis.kt @@ -12,3 +12,5 @@ class X { fun X.foo() { this.oldFun(this.toString()) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/doNotShortenUsersExplicitThis.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/doNotShortenUsersExplicitThis.kt.after index cf437c0cf393..f03eeb8ce740 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/doNotShortenUsersExplicitThis.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/doNotShortenUsersExplicitThis.kt.after @@ -12,3 +12,5 @@ class X { fun X.foo() { this.newFun(this.toString()) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/dropReceiver.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/dropReceiver.kt index 0144c118b3a5..ce4856f768aa 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/dropReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/dropReceiver.kt @@ -10,3 +10,5 @@ fun newFun(){} fun foo(x: X) { x.oldFun() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/dropReceiver.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/dropReceiver.kt.after index e90d1a6248c2..f18484ec3851 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/dropReceiver.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/dropReceiver.kt.after @@ -10,3 +10,5 @@ fun newFun(){} fun foo(x: X) { newFun() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/enum.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/enum.kt index 6f44bd9284ed..4f0438d04cf0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/enum.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/enum.kt @@ -8,4 +8,5 @@ enum class Enm { fun test() { Enm.FOO -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/enum.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/enum.kt.after index d244c9663998..ee3188e439eb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/enum.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/enum.kt.after @@ -8,4 +8,5 @@ enum class Enm { fun test() { Enm.BAR -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/extensionForGenericClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/extensionForGenericClass.kt index dd34ffa39dbd..997c2c9b6e9b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/extensionForGenericClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/extensionForGenericClass.kt @@ -10,3 +10,5 @@ fun C.newFun(t: T){} fun foo(x: C) { x.oldFun("a") } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/extensionForGenericClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/extensionForGenericClass.kt.after index e72d33ed98e8..11778723e97a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/extensionForGenericClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/extensionForGenericClass.kt.after @@ -10,3 +10,5 @@ fun C.newFun(t: T){} fun foo(x: C) { x.newFun("a") } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/extensionFunCallInLambdaWithReceiver.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/extensionFunCallInLambdaWithReceiver.kt index df580e1f560b..092f23ef80ef 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/extensionFunCallInLambdaWithReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/extensionFunCallInLambdaWithReceiver.kt @@ -13,3 +13,5 @@ fun test() { "a".oldFun("b") } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/extensionFunCallInLambdaWithReceiver.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/extensionFunCallInLambdaWithReceiver.kt.after index aedc42fff215..b5fe769995bd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/extensionFunCallInLambdaWithReceiver.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/extensionFunCallInLambdaWithReceiver.kt.after @@ -13,3 +13,5 @@ fun test() { newFun("a", "b") } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/extensionReceiverWithVarianceType.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/extensionReceiverWithVarianceType.kt index f43eb9ac0547..fb9c0d78b330 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/extensionReceiverWithVarianceType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/extensionReceiverWithVarianceType.kt @@ -9,3 +9,5 @@ fun test(list: List) { fun List.foo(f: (Int) -> Unit) {} fun List.bar(f: (Int) -> Unit) {} + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/extensionReceiverWithVarianceType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/extensionReceiverWithVarianceType.kt.after index 44dbccd269a4..2a6259496b95 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/extensionReceiverWithVarianceType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/extensionReceiverWithVarianceType.kt.after @@ -9,3 +9,5 @@ fun test(list: List) { fun List.foo(f: (Int) -> Unit) {} fun List.bar(f: (Int) -> Unit) {} + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/cannotKeepOutside.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/cannotKeepOutside.kt index e74ac5cd5666..a812696c919f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/cannotKeepOutside.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/cannotKeepOutside.kt @@ -10,3 +10,5 @@ interface I { fun foo(i: I) { i.oldFun("a") { true } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/cannotKeepOutside.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/cannotKeepOutside.kt.after index 3a666c732c98..c0791f94a6f0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/cannotKeepOutside.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/cannotKeepOutside.kt.after @@ -10,3 +10,5 @@ interface I { fun foo(i: I) { i.newFun("a", { true }) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/keepInside.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/keepInside.kt index 326f4baa9adc..6032f5220f6c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/keepInside.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/keepInside.kt @@ -10,3 +10,5 @@ interface I { fun foo(i: I) { i.oldFun("a", { true }) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/keepInside.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/keepInside.kt.after index 3edec8b2567a..6c16021bd473 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/keepInside.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/keepInside.kt.after @@ -10,3 +10,5 @@ interface I { fun foo(i: I) { i.newFun("a", null, { true }) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/keepOutside.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/keepOutside.kt index 8581da168b3f..90857052d7ac 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/keepOutside.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/keepOutside.kt @@ -10,3 +10,5 @@ interface I { fun foo(i: I) { i.oldFun("a") { true } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/keepOutside.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/keepOutside.kt.after index 13703c565df9..8be5df1ff384 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/keepOutside.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/keepOutside.kt.after @@ -10,3 +10,5 @@ interface I { fun foo(i: I) { i.newFun("a", null) { true } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/keepOutsideWithGeneric.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/keepOutsideWithGeneric.kt index dcb3123d1aa0..85a070ea3f49 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/keepOutsideWithGeneric.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/keepOutsideWithGeneric.kt @@ -9,3 +9,5 @@ fun aMethod(a: T, block: () -> Unit) { fun main() { aMethod(1) {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/keepOutsideWithGeneric.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/keepOutsideWithGeneric.kt.after index 94432cb7cd3b..1145d1fc2a5d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/keepOutsideWithGeneric.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/keepOutsideWithGeneric.kt.after @@ -9,3 +9,5 @@ fun aMethod(a: T, block: () -> Unit) { fun main() { anotherMethod(1) {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/keepOutsideWithNamedArgument.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/keepOutsideWithNamedArgument.kt index 18aab648d881..df87a0164c78 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/keepOutsideWithNamedArgument.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/keepOutsideWithNamedArgument.kt @@ -10,3 +10,5 @@ interface I { fun foo(i: I) { i.oldFun(p1 = "a") { true } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/keepOutsideWithNamedArgument.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/keepOutsideWithNamedArgument.kt.after index e131676d3f3e..cd0aa33122da 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/keepOutsideWithNamedArgument.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/keepOutsideWithNamedArgument.kt.after @@ -10,3 +10,5 @@ interface I { fun foo(i: I) { i.newFun(p1 = "a", p2 = null) { true } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/wholeProject/explicitLambdaParameter.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/wholeProject/explicitLambdaParameter.kt index bfac6ecb8b23..c436418406ed 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/wholeProject/explicitLambdaParameter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/wholeProject/explicitLambdaParameter.kt @@ -4,3 +4,5 @@ fun test() { listOf().minBy { i: Int -> i + 1 } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageInWholeProjectFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/wholeProject/explicitLambdaParameter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/wholeProject/explicitLambdaParameter.kt.after index 30291faeff3c..310a2c514410 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/wholeProject/explicitLambdaParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/wholeProject/explicitLambdaParameter.kt.after @@ -4,3 +4,5 @@ fun test() { listOf().minByOrNull { i: Int -> i + 1 } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageInWholeProjectFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/wholeProject/explicitLambdaParameterWithoutType.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/wholeProject/explicitLambdaParameterWithoutType.kt index f146d8eaa812..3d037d5b8b4b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/wholeProject/explicitLambdaParameterWithoutType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/wholeProject/explicitLambdaParameterWithoutType.kt @@ -4,3 +4,5 @@ fun test() { listOf().minBy { i -> i + 1 } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageInWholeProjectFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/wholeProject/explicitLambdaParameterWithoutType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/wholeProject/explicitLambdaParameterWithoutType.kt.after index 7ba9fb355aab..e82d09109648 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/wholeProject/explicitLambdaParameterWithoutType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/wholeProject/explicitLambdaParameterWithoutType.kt.after @@ -4,3 +4,5 @@ fun test() { listOf().minByOrNull { i -> i + 1 } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageInWholeProjectFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/wholeProject/implicitLambdaParameter.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/wholeProject/implicitLambdaParameter.kt index e5aa02ea1e13..bde91ce76103 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/wholeProject/implicitLambdaParameter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/wholeProject/implicitLambdaParameter.kt @@ -4,3 +4,5 @@ fun test() { listOf().minBy { it + 1 } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageInWholeProjectFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/wholeProject/implicitLambdaParameter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/wholeProject/implicitLambdaParameter.kt.after index 3ee02d650997..76f9aa566f68 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/wholeProject/implicitLambdaParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/wholeProject/implicitLambdaParameter.kt.after @@ -4,3 +4,5 @@ fun test() { listOf().minByOrNull { it + 1 } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageInWholeProjectFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/wholeProject/implicitLambdaParameterWithPlatformType.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/wholeProject/implicitLambdaParameterWithPlatformType.kt index bc637d44675b..6caf26286843 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/wholeProject/implicitLambdaParameterWithPlatformType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/wholeProject/implicitLambdaParameterWithPlatformType.kt @@ -6,4 +6,5 @@ import java.util.Collections fun test() { val list = Collections.singletonList("a") list.maxBy { it.length } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageInWholeProjectFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/wholeProject/implicitLambdaParameterWithPlatformType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/wholeProject/implicitLambdaParameterWithPlatformType.kt.after index 44a1f974a45d..42bb1fbfee77 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/wholeProject/implicitLambdaParameterWithPlatformType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/functionLiteralArguments/wholeProject/implicitLambdaParameterWithPlatformType.kt.after @@ -6,4 +6,5 @@ import java.util.Collections fun test() { val list = Collections.singletonList("a") list.maxByOrNull { it.length } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageInWholeProjectFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/implicitCompanionObjectThis.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/implicitCompanionObjectThis.kt index 3a981f9509f2..3d62da260275 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/implicitCompanionObjectThis.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/implicitCompanionObjectThis.kt @@ -16,3 +16,5 @@ class X { } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/implicitCompanionObjectThis.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/implicitCompanionObjectThis.kt.after index e00561056d34..06495a0a0e7a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/implicitCompanionObjectThis.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/implicitCompanionObjectThis.kt.after @@ -16,3 +16,5 @@ class X { } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/implicitQualifiedThisRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/implicitQualifiedThisRuntime.kt index 58fac56bbb41..d1d0888b3776 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/implicitQualifiedThisRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/implicitQualifiedThisRuntime.kt @@ -14,3 +14,5 @@ fun I.foo() { } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/implicitQualifiedThisRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/implicitQualifiedThisRuntime.kt.after index 8a2e97cd6024..148404acb493 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/implicitQualifiedThisRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/implicitQualifiedThisRuntime.kt.after @@ -14,3 +14,5 @@ fun I.foo() { } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/importedObjectFunction.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/importedObjectFunction.kt index 9e581e33b5a1..958e854a683f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/importedObjectFunction.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/importedObjectFunction.kt @@ -18,4 +18,5 @@ object StandAloneContext { fun koin() { closeKoin() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/importedObjectFunction.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/importedObjectFunction.kt.after index 363560962337..64638578616b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/importedObjectFunction.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/importedObjectFunction.kt.after @@ -19,4 +19,5 @@ object StandAloneContext { fun koin() { stopKoin() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/importedObjectFunctionAddReceiver.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/importedObjectFunctionAddReceiver.kt index bddd1ce11dab..89a56e7f7128 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/importedObjectFunctionAddReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/importedObjectFunctionAddReceiver.kt @@ -10,4 +10,5 @@ fun foo(s: String) { object Bar { @Deprecated(message = "", replaceWith = ReplaceWith("str.isEmpty()")) fun bar(str: String): Boolean = str.isEmpty() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/importedObjectFunctionAddReceiver.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/importedObjectFunctionAddReceiver.kt.after index f35fddf296eb..fe226bb67819 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/importedObjectFunctionAddReceiver.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/importedObjectFunctionAddReceiver.kt.after @@ -10,4 +10,5 @@ fun foo(s: String) { object Bar { @Deprecated(message = "", replaceWith = ReplaceWith("str.isEmpty()")) fun bar(str: String): Boolean = str.isEmpty() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/importedObjectProperty.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/importedObjectProperty.kt index 741d320ea344..34bbbccdc7b1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/importedObjectProperty.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/importedObjectProperty.kt @@ -18,4 +18,5 @@ object StandAloneContext { fun koin() { val i = closeKoin -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/importedObjectProperty.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/importedObjectProperty.kt.after index 7bee841bd18c..2ca21d70fc42 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/importedObjectProperty.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/importedObjectProperty.kt.after @@ -19,4 +19,5 @@ object StandAloneContext { fun koin() { val i = stopKoin -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/infixCall.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/infixCall.kt index 44ae8829ef47..2f7abb0aac69 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/infixCall.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/infixCall.kt @@ -11,3 +11,5 @@ infix fun newFun(p: Int, s: String){} fun foo() { "" oldFun 1 } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/infixCall.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/infixCall.kt.after index a39016a81610..b30f2217f27f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/infixCall.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/infixCall.kt.after @@ -11,3 +11,5 @@ infix fun newFun(p: Int, s: String){} fun foo() { newFun(1, "") } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/infixCallToNonInfixCall.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/infixCallToNonInfixCall.kt index 0ee7bb2947fc..31c1f13b10a0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/infixCallToNonInfixCall.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/infixCallToNonInfixCall.kt @@ -7,4 +7,5 @@ fun Int.newFn(other: Int) = this + other fun main() { 1 oldPlus 2 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/infixCallToNonInfixCall.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/infixCallToNonInfixCall.kt.after index 2f7f867581ef..c9076f45f96b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/infixCallToNonInfixCall.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/infixCallToNonInfixCall.kt.after @@ -7,4 +7,5 @@ fun Int.newFn(other: Int) = this + other fun main() { 1.newFn(2) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepArgumentNamed.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepArgumentNamed.kt index 1364472d8458..3bc40675f071 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepArgumentNamed.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepArgumentNamed.kt @@ -10,3 +10,5 @@ interface I { fun foo(i: I) { i.oldFun("a", p2 = 0) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepArgumentNamed.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepArgumentNamed.kt.after index ff2e2bd6b70f..db0096b270de 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepArgumentNamed.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepArgumentNamed.kt.after @@ -10,3 +10,5 @@ interface I { fun foo(i: I) { i.newFun("a", p2New = 0, p3 = null, option = 1) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepComments/addArguments.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepComments/addArguments.kt index 251ef72443e1..473ff7b4a7fa 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepComments/addArguments.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepComments/addArguments.kt @@ -11,3 +11,5 @@ fun foo() { 1, // 1 2 // 2 ) + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepComments/addArguments.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepComments/addArguments.kt.after index 38756b140823..05e868b7acbe 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepComments/addArguments.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepComments/addArguments.kt.after @@ -13,3 +13,5 @@ fun foo() { 2, // 2 -2 ) + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepComments/commentBeforeArgument.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepComments/commentBeforeArgument.kt index 881999d7d048..0fc30329f085 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepComments/commentBeforeArgument.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepComments/commentBeforeArgument.kt @@ -12,3 +12,5 @@ fun foo() { 2, // 2 3, /* 4 */ 4) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepComments/commentBeforeArgument.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepComments/commentBeforeArgument.kt.after index 50dcd96d60c6..aceb1dc67d4f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepComments/commentBeforeArgument.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepComments/commentBeforeArgument.kt.after @@ -12,3 +12,5 @@ fun foo() { /* 0 */ 0 ) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepComments/dropArgument.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepComments/dropArgument.kt index 823919537d6f..732ccd288f63 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepComments/dropArgument.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepComments/dropArgument.kt @@ -10,3 +10,5 @@ fun newFun(){} fun foo() { oldFun(O /* use zero */) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepComments/dropArgument.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepComments/dropArgument.kt.after index fc85c23faba6..5e303c0d8a6b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepComments/dropArgument.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepComments/dropArgument.kt.after @@ -10,3 +10,5 @@ fun newFun(){} fun foo() { /* use zero */newFun() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepComments/multipleArguments.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepComments/multipleArguments.kt index 0809d66ec386..13576a45bed9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepComments/multipleArguments.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepComments/multipleArguments.kt @@ -13,3 +13,5 @@ fun foo(x: X) { 2 // pass 2 ) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepComments/multipleArguments.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepComments/multipleArguments.kt.after index 36a4e80cd8c5..568d94471a1d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepComments/multipleArguments.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepComments/multipleArguments.kt.after @@ -13,3 +13,5 @@ fun foo(x: X) { 2 // pass 2 ) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepComments/simple.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepComments/simple.kt index 48f321d9eae6..5db1518217d7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepComments/simple.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepComments/simple.kt @@ -12,3 +12,5 @@ class X { fun foo(x: X) { x/*receiver*/.oldFun(1/*parameter*/) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepComments/simple.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepComments/simple.kt.after index 22967a3258bc..bcaeb94d5877 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepComments/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepComments/simple.kt.after @@ -12,3 +12,5 @@ class X { fun foo(x: X) { x/*receiver*/.newFun(1/*parameter*/) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepComments/usedTwice.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepComments/usedTwice.kt index 4a62364d01bb..7d0be3fcfefc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepComments/usedTwice.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepComments/usedTwice.kt @@ -10,3 +10,5 @@ fun newFun(p1: Int, p2: Int){} fun foo() { oldFun(0/*use zero*/) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepComments/usedTwice.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepComments/usedTwice.kt.after index 11985e39dcf2..24bde33efd8d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepComments/usedTwice.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepComments/usedTwice.kt.after @@ -10,3 +10,5 @@ fun newFun(p1: Int, p2: Int){} fun foo() { newFun(0/*use zero*/, 0) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepComments/variableForArgument.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepComments/variableForArgument.kt index 4ba1127f7f38..790a78324d57 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepComments/variableForArgument.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepComments/variableForArgument.kt @@ -12,3 +12,5 @@ fun foo() { } fun bar(): Int = 0 + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepComments/variableForArgument.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepComments/variableForArgument.kt.after index 1e100f5f52fd..187bf69d24e6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepComments/variableForArgument.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepComments/variableForArgument.kt.after @@ -13,3 +13,5 @@ fun foo() { } fun bar(): Int = 0 + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepInfixCall.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepInfixCall.kt index 773e8b68329a..170b21286c5a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepInfixCall.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepInfixCall.kt @@ -11,3 +11,5 @@ infix fun String.newFun(p: Int) { fun foo() { "" oldFun 1 } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepInfixCall.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepInfixCall.kt.after index 47d9ae9b7a31..6c82603ca885 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepInfixCall.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepInfixCall.kt.after @@ -11,3 +11,5 @@ infix fun String.newFun(p: Int) { fun foo() { "" newFun 1 } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepLineBreaks/addArgument.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepLineBreaks/addArgument.kt index f6ae116753f0..1198d414aa8f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepLineBreaks/addArgument.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepLineBreaks/addArgument.kt @@ -13,3 +13,5 @@ fun foo(x: X) { 2 ) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepLineBreaks/addArgument.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepLineBreaks/addArgument.kt.after index 2f2ede1b446f..9cc047893825 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepLineBreaks/addArgument.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepLineBreaks/addArgument.kt.after @@ -14,3 +14,5 @@ fun foo(x: X) { 0 ) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepLineBreaks/lineBreakAfterReceiverRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepLineBreaks/lineBreakAfterReceiverRuntime.kt index a49217a00c46..7fedbcf9ded3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepLineBreaks/lineBreakAfterReceiverRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepLineBreaks/lineBreakAfterReceiverRuntime.kt @@ -13,3 +13,5 @@ fun foo(list: List): Int { .first() .oldFun() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepLineBreaks/lineBreakAfterReceiverRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepLineBreaks/lineBreakAfterReceiverRuntime.kt.after index f5b4707ec48a..8873dcc494c8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepLineBreaks/lineBreakAfterReceiverRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepLineBreaks/lineBreakAfterReceiverRuntime.kt.after @@ -13,3 +13,5 @@ fun foo(list: List): Int { .first() .newFun() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepLineBreaks/simple.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepLineBreaks/simple.kt index 30ed6acf9d52..f52f08177291 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepLineBreaks/simple.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepLineBreaks/simple.kt @@ -12,3 +12,5 @@ fun foo(x: X) { 2, 3) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepLineBreaks/simple.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepLineBreaks/simple.kt.after index 5351004a71b2..b161e04f4353 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepLineBreaks/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/keepLineBreaks/simple.kt.after @@ -14,3 +14,5 @@ fun foo(x: X) { 3 ) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/kt35015.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/kt35015.kt index a2efa484260e..c08d7eac91d9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/kt35015.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/kt35015.kt @@ -11,3 +11,5 @@ object Math { } val test = cos(kotlin.math.PI) + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/kt35015.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/kt35015.kt.after index 6b8500d1b25c..009778357ad3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/kt35015.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/kt35015.kt.after @@ -11,3 +11,5 @@ object Math { } val test = kotlin.math.cos(kotlin.math.PI) + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/localFun.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/localFun.kt index 54e42926fa34..89a82c64b1b1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/localFun.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/localFun.kt @@ -5,4 +5,5 @@ fun foo(): Int { fun localFun() = 1 return localFun() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/localFun.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/localFun.kt.after index 291c3fe95032..cae24e53d319 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/localFun.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/localFun.kt.after @@ -5,4 +5,5 @@ fun foo(): Int { fun localFun() = 1 return 1 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/memberFunction.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/memberFunction.kt index 25f4e54a7a05..516af4cdc34c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/memberFunction.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/memberFunction.kt @@ -12,3 +12,5 @@ class X { fun foo(x: X) { x.oldFun() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/memberFunction.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/memberFunction.kt.after index 50c960b55da5..84e5fcbdcff7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/memberFunction.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/memberFunction.kt.after @@ -12,3 +12,5 @@ class X { fun foo(x: X) { x.newFun() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/memberFunctionImplicitReceiver.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/memberFunctionImplicitReceiver.kt index 2fcf053633db..15cb65e2581d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/memberFunctionImplicitReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/memberFunctionImplicitReceiver.kt @@ -12,3 +12,5 @@ class X { fun X.foo() { oldFun() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/memberFunctionImplicitReceiver.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/memberFunctionImplicitReceiver.kt.after index 478962b106f1..7d7f693727c1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/memberFunctionImplicitReceiver.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/memberFunctionImplicitReceiver.kt.after @@ -12,3 +12,5 @@ class X { fun X.foo() { newFun() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/memberFunctionInGenericClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/memberFunctionInGenericClass.kt index 75d2013c960e..cfc849e5d118 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/memberFunctionInGenericClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/memberFunctionInGenericClass.kt @@ -10,3 +10,5 @@ interface X { fun foo(x: X) { x.oldFun("a") } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/memberFunctionInGenericClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/memberFunctionInGenericClass.kt.after index 21cccc63c06f..6062aaf6ff7e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/memberFunctionInGenericClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/memberFunctionInGenericClass.kt.after @@ -10,3 +10,5 @@ interface X { fun foo(x: X) { x.newFun("a") } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/methodToProperty.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/methodToProperty.kt index 0df98bd30eb0..a9a817205b78 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/methodToProperty.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/methodToProperty.kt @@ -10,3 +10,5 @@ interface X { fun foo(x: X): String { return x.getX() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/methodToProperty.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/methodToProperty.kt.after index 430932c20c29..f24e72abf394 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/methodToProperty.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/methodToProperty.kt.after @@ -10,3 +10,5 @@ interface X { fun foo(x: X): String { return x.x } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/objects.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/objects.kt index 02689f271142..24298a05c4f2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/objects.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/objects.kt @@ -10,4 +10,5 @@ object Old { fun foo() {} } -val test = Old.foo() \ No newline at end of file +val test = Old.foo() +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/objects.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/objects.kt.after index cd6fe2dda801..e34e3ec6748e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/objects.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/objects.kt.after @@ -10,4 +10,5 @@ object Old { fun foo() {} } -val test = New.foo() \ No newline at end of file +val test = New.foo() +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/objectsInQualified.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/objectsInQualified.kt index 1de6c048a144..9fe3fb36d76e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/objectsInQualified.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/objectsInQualified.kt @@ -10,4 +10,5 @@ object Old { fun foo() {} } -val test = some.Old \ No newline at end of file +val test = some.Old +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/objectsInQualified.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/objectsInQualified.kt.after index 54427d3becfc..3686b35b0fec 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/objectsInQualified.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/objectsInQualified.kt.after @@ -10,4 +10,5 @@ object Old { fun foo() {} } -val test = New \ No newline at end of file +val test = New +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/operatorCall.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/operatorCall.kt index 5eb5d3964487..e52ac7f716d8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/operatorCall.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/operatorCall.kt @@ -12,3 +12,5 @@ fun newFun(p: Int, i: I) { } fun foo(i: I) { i + 1 } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/operatorCall.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/operatorCall.kt.after index ad3a8c5c57d5..1025d870e012 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/operatorCall.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/operatorCall.kt.after @@ -12,3 +12,5 @@ fun newFun(p: Int, i: I) { } fun foo(i: I) { newFun(1, i) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/operatorCall2.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/operatorCall2.kt index 52ce8247c213..8871e0019db7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/operatorCall2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/operatorCall2.kt @@ -12,3 +12,5 @@ fun I.newFun(p: Int){} fun foo(i: I) { i + 1 } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/operatorCall2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/operatorCall2.kt.after index 67628ba2f49b..a3c900615b46 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/operatorCall2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/operatorCall2.kt.after @@ -12,3 +12,5 @@ fun I.newFun(p: Int){} fun foo(i: I) { i.newFun(1) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/operatorCalls/get.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/operatorCalls/get.kt index 76ab636884b5..da7f6849cc3f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/operatorCalls/get.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/operatorCalls/get.kt @@ -8,4 +8,5 @@ interface T { fun test(t: T) { val s = t[0] -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/operatorCalls/get.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/operatorCalls/get.kt.after index fee6556ecdcf..d2e0fcd2f520 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/operatorCalls/get.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/operatorCalls/get.kt.after @@ -8,4 +8,5 @@ interface T { fun test(t: T) { val s = t.get2(0) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/operatorCalls/in.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/operatorCalls/in.kt index 88f0f14db00d..c7e76011bd0a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/operatorCalls/in.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/operatorCalls/in.kt @@ -18,3 +18,5 @@ fun g(c: C) { } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageInWholeProjectFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/operatorCalls/in.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/operatorCalls/in.kt.after index 1033cff2ca22..1d3a6cefbb24 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/operatorCalls/in.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/operatorCalls/in.kt.after @@ -18,3 +18,5 @@ fun g(c: C) { } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageInWholeProjectFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/operatorCalls/invoke.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/operatorCalls/invoke.kt index a5ee2d1a1de0..89b79722e16d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/operatorCalls/invoke.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/operatorCalls/invoke.kt @@ -11,4 +11,5 @@ fun usage(executor: Executor) { executor { // do something } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/operatorCalls/invoke.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/operatorCalls/invoke.kt.after index ae44f31f98a3..7b67a1c0f2ea 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/operatorCalls/invoke.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/operatorCalls/invoke.kt.after @@ -11,4 +11,5 @@ fun usage(executor: Executor) { executor.execute { // do something } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/operatorCalls/invoke2.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/operatorCalls/invoke2.kt index 2fe9ec0054bb..c7d19110123f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/operatorCalls/invoke2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/operatorCalls/invoke2.kt @@ -15,4 +15,5 @@ fun usage(executor: Executor) { executor { // do something } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/operatorCalls/invoke2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/operatorCalls/invoke2.kt.after index 3f11fbfcec63..5f636ba06edc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/operatorCalls/invoke2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/operatorCalls/invoke2.kt.after @@ -15,4 +15,5 @@ fun usage(executor: Executor) { Foo.execute { // do something } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/operatorCalls/invoke3.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/operatorCalls/invoke3.kt index b38ae6f000fb..9296296d886e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/operatorCalls/invoke3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/operatorCalls/invoke3.kt @@ -11,4 +11,5 @@ class Executor { // do something } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/operatorCalls/invoke3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/operatorCalls/invoke3.kt.after index c11583b68ee6..50f1120171ea 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/operatorCalls/invoke3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/operatorCalls/invoke3.kt.after @@ -11,4 +11,5 @@ class Executor { // do something } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/operatorCalls/invoke4.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/operatorCalls/invoke4.kt index 053c046481de..36d525ecf72d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/operatorCalls/invoke4.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/operatorCalls/invoke4.kt @@ -14,4 +14,5 @@ fun usage(executor: Executor) { executor.self { // do something } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/operatorCalls/invoke4.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/operatorCalls/invoke4.kt.after index d5fc9ac93ec7..909b8f8f60c0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/operatorCalls/invoke4.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/operatorCalls/invoke4.kt.after @@ -14,4 +14,5 @@ fun usage(executor: Executor) { executor.self.execute { // do something } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/operatorCalls/plusAssign.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/operatorCalls/plusAssign.kt index 971357b6909c..48d6679e54e6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/operatorCalls/plusAssign.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/operatorCalls/plusAssign.kt @@ -9,4 +9,5 @@ fun C.add(c: C) = C() fun f() { var c1 = C() c1 += C() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/operatorCalls/plusAssign.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/operatorCalls/plusAssign.kt.after index 1249a7415698..8a56e7dc4c10 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/operatorCalls/plusAssign.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/operatorCalls/plusAssign.kt.after @@ -9,4 +9,5 @@ fun C.add(c: C) = C() fun f() { var c1 = C() c1 = c1.add(C()) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/operatorCalls/set.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/operatorCalls/set.kt index 1e541e5071b1..1b09a3508c62 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/operatorCalls/set.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/operatorCalls/set.kt @@ -9,4 +9,5 @@ interface T { fun test(t: T) { t[0] = 1 t[1] = 2 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageInWholeProjectFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/operatorCalls/set.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/operatorCalls/set.kt.after index 5e75dfaef074..e106f9374b26 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/operatorCalls/set.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/operatorCalls/set.kt.after @@ -9,4 +9,5 @@ interface T { fun test(t: T) { t.set2(0, 1) t.set2(1, 2) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageInWholeProjectFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/dropAll.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/dropAll.kt index 74842dfc706c..e9bd346bc5e9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/dropAll.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/dropAll.kt @@ -10,3 +10,5 @@ interface I { fun foo(i: I) { i.oldFun() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/dropAll.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/dropAll.kt.after index 37f544c1deb9..a2b1ff3a5b4b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/dropAll.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/dropAll.kt.after @@ -10,3 +10,5 @@ interface I { fun foo(i: I) { i.newFun() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/functionalLiteralArgument.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/functionalLiteralArgument.kt index e90d980dbbdb..e9be0553e4f9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/functionalLiteralArgument.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/functionalLiteralArgument.kt @@ -10,3 +10,5 @@ interface I { fun foo(i: I) { i.oldFun { } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/functionalLiteralArgument.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/functionalLiteralArgument.kt.after index 3c30d75909fc..d54cf22809de 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/functionalLiteralArgument.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/functionalLiteralArgument.kt.after @@ -10,3 +10,5 @@ interface I { fun foo(i: I) { i.newFun { } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/namedArgument.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/namedArgument.kt index d5764debaef6..08363b581b4e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/namedArgument.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/namedArgument.kt @@ -10,3 +10,5 @@ interface I { fun foo(i: I) { i.oldFun(option2 = 1) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/namedArgument.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/namedArgument.kt.after index ac92d64dab7e..8d688924ec62 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/namedArgument.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/namedArgument.kt.after @@ -10,3 +10,5 @@ interface I { fun foo(i: I) { i.newFun(option2 = 1, option4 = null) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/optionalParameterAndLambda.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/optionalParameterAndLambda.kt index 52978d6c8247..69d1fd0a6729 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/optionalParameterAndLambda.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/optionalParameterAndLambda.kt @@ -21,4 +21,5 @@ fun useIt() { val t = use { println("abc") } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/optionalParameterAndLambda.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/optionalParameterAndLambda.kt.after index f926222f2b92..d950930fc3dc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/optionalParameterAndLambda.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/optionalParameterAndLambda.kt.after @@ -21,4 +21,5 @@ fun useIt() { val t = useSimple(simple { println("abc") }) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/optionalParameterAndLambdaComplex.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/optionalParameterAndLambdaComplex.kt index 068220a46aa7..9131d5ea52e0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/optionalParameterAndLambdaComplex.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/optionalParameterAndLambdaComplex.kt @@ -37,3 +37,5 @@ val unDeprecateMe = mutableListOf("Hello").apply { println("Yo") } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/optionalParameterAndLambdaComplex.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/optionalParameterAndLambdaComplex.kt.after index cef6ee49b889..f5691d38fd4e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/optionalParameterAndLambdaComplex.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/optionalParameterAndLambdaComplex.kt.after @@ -39,3 +39,5 @@ val unDeprecateMe = mutableListOf("Hello").apply { println("Yo") }), Unit) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/optionalParameters1.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/optionalParameters1.kt index 8ce996330d87..3caf649c3e56 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/optionalParameters1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/optionalParameters1.kt @@ -10,3 +10,5 @@ interface I { fun foo(i: I) { i.oldFun("a") } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/optionalParameters1.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/optionalParameters1.kt.after index 870b5fd4f58c..a1ca07826957 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/optionalParameters1.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/optionalParameters1.kt.after @@ -10,3 +10,5 @@ interface I { fun foo(i: I) { i.newFun("a", 0.toString(), null, "a", 0) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/optionalParameters2.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/optionalParameters2.kt index 7adc0970bc76..4f396b116b37 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/optionalParameters2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/optionalParameters2.kt @@ -10,3 +10,5 @@ interface I { fun foo(i: I) { i.oldFun("a") } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/optionalParameters2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/optionalParameters2.kt.after index 777dd829a71d..632b4a39e29c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/optionalParameters2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/optionalParameters2.kt.after @@ -10,3 +10,5 @@ interface I { fun foo(i: I) { i.newFun("a", 0.toString()) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/optionalParameters3.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/optionalParameters3.kt index 5934f7bc4b3b..9e4485bba929 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/optionalParameters3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/optionalParameters3.kt @@ -10,3 +10,5 @@ interface I { fun foo(i: I) { i.oldFun("a", 0, null) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/optionalParameters3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/optionalParameters3.kt.after index 035cbc5e0151..42e2ef68bafa 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/optionalParameters3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/optionalParameters3.kt.after @@ -10,3 +10,5 @@ interface I { fun foo(i: I) { i.newFun("a", 0.toString(), null) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/optionalParameters4.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/optionalParameters4.kt index 32eebd8eefeb..f04a32af51e7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/optionalParameters4.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/optionalParameters4.kt @@ -10,3 +10,5 @@ interface I { fun foo(i: I) { i.oldFun("a") } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/optionalParameters4.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/optionalParameters4.kt.after index 2b8d3476671b..e5fda68c22fc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/optionalParameters4.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/optionalParameters4.kt.after @@ -10,3 +10,5 @@ interface I { fun foo(i: I) { i.newFun("a") } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/optionalParameters5.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/optionalParameters5.kt index 49e8ef1d7450..f4735aa13cab 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/optionalParameters5.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/optionalParameters5.kt @@ -12,3 +12,5 @@ fun foo(i: I) { } fun bar(): String = "" + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/optionalParameters5.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/optionalParameters5.kt.after index 34e8938ff895..11b8d66ea416 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/optionalParameters5.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/optionalParameters5.kt.after @@ -13,3 +13,5 @@ fun foo(i: I) { } fun bar(): String = "" + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/optionalParameters7.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/optionalParameters7.kt index 5f32977c15cf..35c899e7860a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/optionalParameters7.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/optionalParameters7.kt @@ -12,3 +12,5 @@ fun foo(i: I) { } fun bar(): String = "" + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/optionalParameters7.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/optionalParameters7.kt.after index ee4fd0cced36..cfe3ec439246 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/optionalParameters7.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/optionalParameters7.kt.after @@ -13,3 +13,5 @@ fun foo(i: I) { } fun bar(): String = "" + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/optionalParameters9.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/optionalParameters9.kt index c2970fdcbb1b..95846634cae0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/optionalParameters9.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/optionalParameters9.kt @@ -10,3 +10,5 @@ interface I { fun foo(i: I) { i.oldFun("") } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/optionalParameters9.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/optionalParameters9.kt.after index 70ffc32ad27f..5dd6b5aaefd9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/optionalParameters9.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/optionalParameters9.kt.after @@ -10,3 +10,5 @@ interface I { fun foo(i: I) { i.newFun("") } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/overridingMethod.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/overridingMethod.kt index 25b80e945b52..e132666589eb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/overridingMethod.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/overridingMethod.kt @@ -15,3 +15,5 @@ abstract class C : I { fun foo(c: C) { c.oldFun("") } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/overridingMethod.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/overridingMethod.kt.after index b60f51d6b408..2c184de9fae0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/overridingMethod.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/optionalParameters/overridingMethod.kt.after @@ -15,3 +15,5 @@ abstract class C : I { fun foo(c: C) { c.newFun("", 0) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/parameters.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/parameters.kt index ed32397c2b3d..3392671641ef 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/parameters.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/parameters.kt @@ -9,3 +9,5 @@ fun newFun(b: String, a: Int, x: Any?){} fun foo() { oldFun(1, "x") } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/parameters.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/parameters.kt.after index 670a0ad1c736..bd5d9c3ef5b1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/parameters.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/parameters.kt.after @@ -9,3 +9,5 @@ fun newFun(b: String, a: Int, x: Any?){} fun foo() { newFun("x", 1, null) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/properties/callInAssignmentToProperty.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/properties/callInAssignmentToProperty.kt index a511e1c3cb6e..5c35cfcf4e89 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/properties/callInAssignmentToProperty.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/properties/callInAssignmentToProperty.kt @@ -5,4 +5,5 @@ const val FOO = 1 fun foo() = 1 fun test(){ val x = foo() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/properties/callInAssignmentToProperty.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/properties/callInAssignmentToProperty.kt.after index 3fd5bae52419..d6dc6d68514d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/properties/callInAssignmentToProperty.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/properties/callInAssignmentToProperty.kt.after @@ -5,4 +5,5 @@ const val FOO = 1 fun foo() = 1 fun test(){ val x = FOO -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/properties/callToCustomProperty.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/properties/callToCustomProperty.kt index fa5639b23207..4da2f6f8888f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/properties/callToCustomProperty.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/properties/callToCustomProperty.kt @@ -5,4 +5,5 @@ val bar get() = 1 fun foo() = 1 fun test(){ foo() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/properties/callToCustomProperty.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/properties/callToCustomProperty.kt.after index 74aa46707c9b..f99c3155e70a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/properties/callToCustomProperty.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/properties/callToCustomProperty.kt.after @@ -5,4 +5,5 @@ val bar get() = 1 fun foo() = 1 fun test(){ bar -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/properties/callToProperty.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/properties/callToProperty.kt index 96d8b49e2d32..640c294bf98a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/properties/callToProperty.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/properties/callToProperty.kt @@ -5,4 +5,5 @@ const val FOO = 1 fun foo() = 1 fun test(){ foo() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/properties/callToProperty.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/properties/callToProperty.kt.after index c6e4b21025f8..f1450d67ce39 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/properties/callToProperty.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/properties/callToProperty.kt.after @@ -4,4 +4,5 @@ const val FOO = 1 @Deprecated("always const", ReplaceWith("FOO")) fun foo() = 1 fun test(){ -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/properties/extensionPropertyToProperty.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/properties/extensionPropertyToProperty.kt index 4f25b6f2cfa1..6aff28ccc868 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/properties/extensionPropertyToProperty.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/properties/extensionPropertyToProperty.kt @@ -13,4 +13,5 @@ private var C.old: String private fun use(c: C) { val x = c.old -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/properties/extensionPropertyToProperty.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/properties/extensionPropertyToProperty.kt.after index 62fa87618c78..728b0eb7f90e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/properties/extensionPropertyToProperty.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/properties/extensionPropertyToProperty.kt.after @@ -13,4 +13,5 @@ private var C.old: String private fun use(c: C) { val x = c.m -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/properties/extensionPropertyWriteToProperty.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/properties/extensionPropertyWriteToProperty.kt index 2f1ebbc85cc6..d3b24e788e37 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/properties/extensionPropertyWriteToProperty.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/properties/extensionPropertyWriteToProperty.kt @@ -13,4 +13,5 @@ private var C.old: String private fun use(c: C, s: String) { c.old = s -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/properties/extensionPropertyWriteToProperty.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/properties/extensionPropertyWriteToProperty.kt.after index 97d6a0fcab2b..0f461791887a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/properties/extensionPropertyWriteToProperty.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/properties/extensionPropertyWriteToProperty.kt.after @@ -13,4 +13,5 @@ private var C.old: String private fun use(c: C, s: String) { c.m = s -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyAssignment.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyAssignment.kt index 63ac6fbaca21..91ea1ffec388 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyAssignment.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyAssignment.kt @@ -15,4 +15,5 @@ class A { fun foo() { val a = A() a.old = "foo" -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyAssignment.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyAssignment.kt.after index 7c3349863e14..c5cc18cf4c07 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyAssignment.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyAssignment.kt.after @@ -15,4 +15,5 @@ class A { fun foo() { val a = A() a.new = "foo" -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyAssignmentDefaultSetter.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyAssignmentDefaultSetter.kt index dc198269addb..9fdab8c0ea19 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyAssignmentDefaultSetter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyAssignmentDefaultSetter.kt @@ -13,4 +13,5 @@ class A { fun foo() { val a = A() a.old = "foo" -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyAssignmentDefaultSetter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyAssignmentDefaultSetter.kt.after index fc463830f00b..88d1615963c2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyAssignmentDefaultSetter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyAssignmentDefaultSetter.kt.after @@ -13,4 +13,5 @@ class A { fun foo() { val a = A() a.new = "foo" -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyAssignmentNoReceiver.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyAssignmentNoReceiver.kt index fe992eb5e180..c271c3d46594 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyAssignmentNoReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyAssignmentNoReceiver.kt @@ -17,4 +17,5 @@ fun foo() { a.apply { old = "foo" } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyAssignmentNoReceiver.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyAssignmentNoReceiver.kt.after index d6ed640c8555..e21ecae3cd17 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyAssignmentNoReceiver.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyAssignmentNoReceiver.kt.after @@ -17,4 +17,5 @@ fun foo() { a.apply { new = "foo" } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyAssignmentNoSetter.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyAssignmentNoSetter.kt index a1a68cb786d7..7677cab80731 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyAssignmentNoSetter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyAssignmentNoSetter.kt @@ -12,4 +12,5 @@ class A { fun foo() { val a = A() a.old = "foo" -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyAssignmentNoSetter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyAssignmentNoSetter.kt.after index c77bee36a3cd..7966ba0e71d6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyAssignmentNoSetter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyAssignmentNoSetter.kt.after @@ -12,4 +12,5 @@ class A { fun foo() { val a = A() a.new = "foo" -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyModification.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyModification.kt index 05a41c5e9700..60d510953d11 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyModification.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyModification.kt @@ -15,4 +15,5 @@ class A { fun foo() { val a = A() a.old += "foo" -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyModification.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyModification.kt.after index dcb4a22845c1..69283916e0dc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyModification.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyModification.kt.after @@ -15,4 +15,5 @@ class A { fun foo() { val a = A() a.new += "foo" -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyToMethod.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyToMethod.kt index 2d521aa021c7..b125b6eb97b9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyToMethod.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyToMethod.kt @@ -10,3 +10,5 @@ interface X { fun foo(x: X): String { return x.x } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyToMethod.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyToMethod.kt.after index f3ab51c5cd65..e1ba58e6ef8c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyToMethod.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyToMethod.kt.after @@ -10,3 +10,5 @@ interface X { fun foo(x: X): String { return x.getX() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyToSyntheticExtension.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyToSyntheticExtension.kt index c25e40d3f27c..1d13a06975c5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyToSyntheticExtension.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyToSyntheticExtension.kt @@ -9,3 +9,5 @@ fun foo(file: File) { val v = file.prop } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyToSyntheticExtension.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyToSyntheticExtension.kt.after index 0a91cd3de145..c41cc355608c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyToSyntheticExtension.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/propertyToSyntheticExtension.kt.after @@ -9,3 +9,5 @@ fun foo(file: File) { val v = file.absolutePath } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/existingStub.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/existingStub.kt index 0ea521d83f06..ca3e7212dbc7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/existingStub.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/existingStub.kt @@ -13,4 +13,5 @@ open class ABase { @PublishedApi internal fun `access$test`(p: Int) = test(p) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.ReplaceProtectedToPublishedApiCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/existingStub.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/existingStub.kt.after index 3ebab8ec2772..3a2b7c4c1dd8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/existingStub.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/existingStub.kt.after @@ -13,4 +13,5 @@ open class ABase { @PublishedApi internal fun `access$test`(p: Int) = test(p) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.ReplaceProtectedToPublishedApiCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/existingStubForVar.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/existingStubForVar.kt index 72555b004876..7706038faeb5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/existingStubForVar.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/existingStubForVar.kt @@ -15,4 +15,5 @@ open class ABase { set(value) { prop = value } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.ReplaceProtectedToPublishedApiCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/existingStubForVar.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/existingStubForVar.kt.after index 1384c9904d8b..05a17bd271c4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/existingStubForVar.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/existingStubForVar.kt.after @@ -15,4 +15,5 @@ open class ABase { set(value) { prop = value } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.ReplaceProtectedToPublishedApiCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/extension.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/extension.kt index f7c197ab4277..4e6c54bc760b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/extension.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/extension.kt @@ -12,4 +12,5 @@ open class ABase { "123".test(1) }() } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.ReplaceProtectedToPublishedApiCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/extension.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/extension.kt.after index cd5f75878860..19eca2c9ce0e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/extension.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/extension.kt.after @@ -15,4 +15,5 @@ open class ABase { @PublishedApi internal fun String.`access$test`(p: Int) = test(p) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.ReplaceProtectedToPublishedApiCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/extensionVar.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/extensionVar.kt index 632a7262d884..04eb8234701e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/extensionVar.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/extensionVar.kt @@ -13,4 +13,5 @@ open class ABase { "123".prop }() } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.ReplaceProtectedToPublishedApiCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/extensionVar.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/extensionVar.kt.after index f9e6a4d947a3..604091199301 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/extensionVar.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/extensionVar.kt.after @@ -20,4 +20,5 @@ open class ABase { set(value) { prop = value } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.ReplaceProtectedToPublishedApiCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/generic.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/generic.kt index 551451d8119b..25adfe128207 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/generic.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/generic.kt @@ -15,4 +15,5 @@ open class ABase { test(param()) }() } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.ReplaceProtectedToPublishedApiCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/generic.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/generic.kt.after index ff1c42dd4197..2a4e11de1230 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/generic.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/generic.kt.after @@ -18,4 +18,5 @@ open class ABase { @PublishedApi internal fun `access$test`(p: T) = test(p) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.ReplaceProtectedToPublishedApiCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/genericDerived.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/genericDerived.kt index 651db5f83906..0056e02fd5ce 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/genericDerived.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/genericDerived.kt @@ -16,4 +16,5 @@ open class A : ABase() { test(param()) }() } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.ReplaceProtectedToPublishedApiCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/genericDerived.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/genericDerived.kt.after index 58e5ee093d15..e97e48f86d04 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/genericDerived.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/genericDerived.kt.after @@ -19,4 +19,5 @@ open class A : ABase() { @PublishedApi internal fun `access$test`(p: String) = test(p) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.ReplaceProtectedToPublishedApiCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/genericFunction.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/genericFunction.kt index ece5ab0dbf9a..a22c24c743cf 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/genericFunction.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/genericFunction.kt @@ -14,4 +14,5 @@ open class ABase { test("123") }() } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.ReplaceProtectedToPublishedApiCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/genericFunction.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/genericFunction.kt.after index 971ac8c81874..76b0f53609fc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/genericFunction.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/genericFunction.kt.after @@ -17,4 +17,5 @@ open class ABase { @PublishedApi internal fun `access$test`(p: String) = test(p) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.ReplaceProtectedToPublishedApiCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/infix.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/infix.kt index 7162d4f8fc9e..1ab486e8f89b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/infix.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/infix.kt @@ -6,4 +6,5 @@ open class A { inline fun call() { A() foo 8 } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.ReplaceProtectedToPublishedApiCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/infix.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/infix.kt.after index 9635819d3497..47aac2cea856 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/infix.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/infix.kt.after @@ -9,4 +9,5 @@ open class A { @PublishedApi internal infix fun `access$foo`(p: Int) = foo(p) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.ReplaceProtectedToPublishedApiCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/simple.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/simple.kt index 7a9c7e66787d..37d02ddb14c5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/simple.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/simple.kt @@ -12,4 +12,5 @@ open class ABase { test(1) }() } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.ReplaceProtectedToPublishedApiCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/simple.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/simple.kt.after index 703e0a677fb3..a5bf63515838 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/simple.kt.after @@ -15,4 +15,5 @@ open class ABase { @PublishedApi internal fun `access$test`(p: Int) = test(p) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.ReplaceProtectedToPublishedApiCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/simpleVal.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/simpleVal.kt index 5472952d0a8d..6d1ec56df323 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/simpleVal.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/simpleVal.kt @@ -10,4 +10,5 @@ open class ABase { prop }() } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.ReplaceProtectedToPublishedApiCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/simpleVal.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/simpleVal.kt.after index eee67dce219b..169158f97ff1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/simpleVal.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/simpleVal.kt.after @@ -14,4 +14,5 @@ open class ABase { @PublishedApi internal val `access$prop`: Int get() = prop -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.ReplaceProtectedToPublishedApiCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/simpleVar.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/simpleVar.kt index d14d0c73e4aa..a67c58857833 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/simpleVar.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/simpleVar.kt @@ -10,4 +10,5 @@ open class ABase { prop }() } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.ReplaceProtectedToPublishedApiCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/simpleVar.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/simpleVar.kt.after index 5606e32f0b74..ff5d506c4f07 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/simpleVar.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/publishedApi/simpleVar.kt.after @@ -17,4 +17,5 @@ open class ABase { set(value) { prop = value } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.ReplaceProtectedToPublishedApiCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/replaceCallWithArgument.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/replaceCallWithArgument.kt index e3c23b9ee251..5c31cba4d3b7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/replaceCallWithArgument.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/replaceCallWithArgument.kt @@ -5,3 +5,5 @@ fun oldFun(p: Int): Int = p fun foo() { val v = oldFun(0) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/replaceCallWithArgument.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/replaceCallWithArgument.kt.after index cb9cade936bc..961a83381e52 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/replaceCallWithArgument.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/replaceCallWithArgument.kt.after @@ -5,3 +5,5 @@ fun oldFun(p: Int): Int = p fun foo() { val v = 0 } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/replaceCallWithReceiver.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/replaceCallWithReceiver.kt index bf9965ad804b..1b40ca4f0cdb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/replaceCallWithReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/replaceCallWithReceiver.kt @@ -7,3 +7,5 @@ class C { fun foo() { C().oldFun() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/replaceCallWithReceiver.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/replaceCallWithReceiver.kt.after index 8a375476e3b5..03dd7d1fedee 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/replaceCallWithReceiver.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/replaceCallWithReceiver.kt.after @@ -7,3 +7,5 @@ class C { fun foo() { C() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCall.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCall.kt index eb5030a24a7e..932e6e2686f9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCall.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCall.kt @@ -11,3 +11,5 @@ fun String.newFun(x: X): String = this fun foo(x: X?) { x?.oldFun("a") } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCall.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCall.kt.after index 1acabf64f491..1b11fd3cfc35 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCall.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCall.kt.after @@ -11,3 +11,5 @@ fun String.newFun(x: X): String = this fun foo(x: X?) { x?.let { "a".newFun(it) } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCallWithValue1Runtime.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCallWithValue1Runtime.kt index f4b0d08d270d..41c9d8d938a0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCallWithValue1Runtime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCallWithValue1Runtime.kt @@ -17,3 +17,5 @@ fun foo(x: X?, p: Boolean, s: String) { v != 'a' } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCallWithValue1Runtime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCallWithValue1Runtime.kt.after index edceb8c8ef54..340949d2654e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCallWithValue1Runtime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCallWithValue1Runtime.kt.after @@ -17,3 +17,5 @@ fun foo(x: X?, p: Boolean, s: String) { v != 'a' } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCallWithValue2Runtime.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCallWithValue2Runtime.kt index 3a6c5ceaa0a3..5f034870ad58 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCallWithValue2Runtime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCallWithValue2Runtime.kt @@ -13,3 +13,5 @@ fun foo(x: X?, s: String) { } fun bar(s: CharSequence?){} + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCallWithValue2Runtime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCallWithValue2Runtime.kt.after index 84b7971ce92d..e58ae9d15f9c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCallWithValue2Runtime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCallWithValue2Runtime.kt.after @@ -13,3 +13,5 @@ fun foo(x: X?, s: String) { } fun bar(s: CharSequence?){} + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCallWithValue3Runtime.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCallWithValue3Runtime.kt index f4ba8bdec6ab..f3763ddfd80f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCallWithValue3Runtime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCallWithValue3Runtime.kt @@ -19,3 +19,5 @@ fun foo(s: String, x: X) { object O { var x: X? = null } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCallWithValue3Runtime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCallWithValue3Runtime.kt.after index e25d46ca4249..6c4c7a80846a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCallWithValue3Runtime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCallWithValue3Runtime.kt.after @@ -19,3 +19,5 @@ fun foo(s: String, x: X) { object O { var x: X? = null } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCallWithValue4Runtime.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCallWithValue4Runtime.kt index 6f743888b1e4..8997a320fce4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCallWithValue4Runtime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCallWithValue4Runtime.kt @@ -14,4 +14,5 @@ fun foo(s: String, t: X) { } } -operator fun X.plus(x: X): X? = null \ No newline at end of file +operator fun X.plus(x: X): X? = null +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCallWithValue4Runtime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCallWithValue4Runtime.kt.after index 3157e37e78ed..2599a88ee80e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCallWithValue4Runtime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCallWithValue4Runtime.kt.after @@ -14,4 +14,5 @@ fun foo(s: String, t: X) { } } -operator fun X.plus(x: X): X? = null \ No newline at end of file +operator fun X.plus(x: X): X? = null +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCallWithValueRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCallWithValueRuntime.kt index 6a6c172459cd..fc6dfe59c76b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCallWithValueRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCallWithValueRuntime.kt @@ -14,3 +14,5 @@ fun foo(x: X?, p: Boolean) { else null } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCallWithValueRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCallWithValueRuntime.kt.after index 045f3d9784c1..2ed8df3df82c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCallWithValueRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/changeThisSafeCallWithValueRuntime.kt.after @@ -14,3 +14,5 @@ fun foo(x: X?, p: Boolean) { else null } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/dropReceiverSafeCall.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/dropReceiverSafeCall.kt index f7c2302551af..ebdbf7024db1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/dropReceiverSafeCall.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/dropReceiverSafeCall.kt @@ -10,3 +10,5 @@ fun newFun(){} fun foo(x: X) { x?.oldFun() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/dropReceiverSafeCall.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/dropReceiverSafeCall.kt.after index 670116067473..9dac3b6a2479 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/dropReceiverSafeCall.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/dropReceiverSafeCall.kt.after @@ -10,3 +10,5 @@ fun newFun(){} fun foo(x: X) { newFun() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/safeCall.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/safeCall.kt index 4cc9f0e4f8aa..8b5e378a95b0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/safeCall.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/safeCall.kt @@ -10,3 +10,5 @@ class X { fun foo(x: X?) { x?.oldFun() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/safeCall.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/safeCall.kt.after index 2dfad278c2e5..58515b7b27ed 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/safeCall.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/safeCall/safeCall.kt.after @@ -10,3 +10,5 @@ class X { fun foo(x: X?) { x?.newFun() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/shortenReferences.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/shortenReferences.kt index 67f674609554..bb328c712c0a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/shortenReferences.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/shortenReferences.kt @@ -8,3 +8,5 @@ fun newFun(separator: Char){} fun foo() { oldFun() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/shortenReferences.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/shortenReferences.kt.after index db0c467aab82..70e78302312d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/shortenReferences.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/shortenReferences.kt.after @@ -10,3 +10,5 @@ fun newFun(separator: Char){} fun foo() { newFun(File.separatorChar) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/simple.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/simple.kt index 09b6d5126169..92c5f34559b8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/simple.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/simple.kt @@ -10,3 +10,5 @@ fun newFun(){} fun foo() { oldFun() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/simple.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/simple.kt.after index 88fe40cd8c79..cbcd1fd2e8a0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/simple.kt.after @@ -10,3 +10,5 @@ fun newFun(){} fun foo() { newFun() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/stringTemplate.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/stringTemplate.kt index fbf4e499d7bb..6400414f3a37 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/stringTemplate.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/stringTemplate.kt @@ -6,3 +6,5 @@ fun oldFun(p: Int) = "p = $p" fun foo(p: Int) { val s = oldFun(p + 1) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/stringTemplate.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/stringTemplate.kt.after index c99ea0ab06ae..eda5a3219434 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/stringTemplate.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/stringTemplate.kt.after @@ -6,3 +6,5 @@ fun oldFun(p: Int) = "p = $p" fun foo(p: Int) { val s = "p = ${p + 1}" } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/suspendLambda.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/suspendLambda.kt index bc2ac6cf1576..a38ab42f75c6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/suspendLambda.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/suspendLambda.kt @@ -8,4 +8,5 @@ fun println() {} fun usage() { runSuspendOld { println() } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/suspendLambda.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/suspendLambda.kt.after index a754ba773c60..9402773a6b3d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/suspendLambda.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/suspendLambda.kt.after @@ -8,4 +8,5 @@ fun println() {} fun usage() { runSuspend { println() } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/toOuterClassMethod.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/toOuterClassMethod.kt index d8a5bdc6d571..0c2e166a2238 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/toOuterClassMethod.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/toOuterClassMethod.kt @@ -13,3 +13,5 @@ class Outer { fun foo(inner: Outer.Inner) { inner.oldFun() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/toOuterClassMethod.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/toOuterClassMethod.kt.after index 10cadc10340d..ca1c9bc1ad01 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/toOuterClassMethod.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/toOuterClassMethod.kt.after @@ -13,3 +13,5 @@ class Outer { fun foo(inner: Outer.Inner) { this@Outer.newFun(inner) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/twoValuesCombined.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/twoValuesCombined.kt index 48cabeecf389..52ddd36c46af 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/twoValuesCombined.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/twoValuesCombined.kt @@ -8,3 +8,5 @@ fun newFun(n: Int) {} fun foo() { oldFun(1, 2) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/twoValuesCombined.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/twoValuesCombined.kt.after index f91125822a8f..09b7a9e93f6a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/twoValuesCombined.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/twoValuesCombined.kt.after @@ -8,3 +8,5 @@ fun newFun(n: Int) {} fun foo() { newFun(1 + 2) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeAliases/companionObjectAliased.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeAliases/companionObjectAliased.kt index 601a76a0d2ca..4dc41c840834 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeAliases/companionObjectAliased.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeAliases/companionObjectAliased.kt @@ -11,3 +11,5 @@ private class C { fun f() { val x = A.x } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeAliases/companionObjectAliased.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeAliases/companionObjectAliased.kt.after index d84b0bffc897..3d9c755f5ab1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeAliases/companionObjectAliased.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeAliases/companionObjectAliased.kt.after @@ -11,3 +11,5 @@ private class C { fun f() { val x = C.x } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeAliases/constructorUsage.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeAliases/constructorUsage.kt index 271043638ea3..8fa5d7d9b253 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeAliases/constructorUsage.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeAliases/constructorUsage.kt @@ -13,3 +13,5 @@ typealias New = NewClass fun foo() { Old(1) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeAliases/constructorUsage.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeAliases/constructorUsage.kt.after index 37132302bd46..837c2c3363f4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeAliases/constructorUsage.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeAliases/constructorUsage.kt.after @@ -13,3 +13,5 @@ typealias New = NewClass fun foo() { New(1) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeAliases/constructorUsageWithConflict1.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeAliases/constructorUsageWithConflict1.kt index 72ecc220ef7d..f5b782c791fb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeAliases/constructorUsageWithConflict1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeAliases/constructorUsageWithConflict1.kt @@ -9,4 +9,5 @@ typealias Old = OldClass class NewClass(p: Int = 12) typealias New = NewClass -fun foo() = Old() \ No newline at end of file +fun foo() = Old() +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeAliases/constructorUsageWithConflict1.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeAliases/constructorUsageWithConflict1.kt.after index df7280490afd..f483eaecb30c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeAliases/constructorUsageWithConflict1.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeAliases/constructorUsageWithConflict1.kt.after @@ -9,4 +9,5 @@ typealias Old = OldClass class NewClass(p: Int = 12) typealias New = NewClass -fun foo() = NewClass(12) \ No newline at end of file +fun foo() = NewClass(12) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeAliases/objectAliased.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeAliases/objectAliased.kt index e250b991ea3a..d2d93c0a2c64 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeAliases/objectAliased.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeAliases/objectAliased.kt @@ -8,4 +8,5 @@ typealias Old = New fun main(args: Array) { val o = Old -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeAliases/objectAliased.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeAliases/objectAliased.kt.after index 8d6e43dc4476..ae8e81aac282 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeAliases/objectAliased.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeAliases/objectAliased.kt.after @@ -8,4 +8,5 @@ typealias Old = New fun main(args: Array) { val o = New -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeAliases/objectAliasedWithPropertyReference.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeAliases/objectAliasedWithPropertyReference.kt index 83eb81f97274..1f26833a1db4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeAliases/objectAliasedWithPropertyReference.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeAliases/objectAliasedWithPropertyReference.kt @@ -8,4 +8,5 @@ object C { fun f() { val x = A.x -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeAliases/objectAliasedWithPropertyReference.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeAliases/objectAliasedWithPropertyReference.kt.after index 194cfd7ec014..3fa2d9bc683e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeAliases/objectAliasedWithPropertyReference.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeAliases/objectAliasedWithPropertyReference.kt.after @@ -8,4 +8,5 @@ object C { fun f() { val x = C.x -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeAliases/onlyAliasDeprecated.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeAliases/onlyAliasDeprecated.kt index 61cb4b6892c1..fd5eb3af18e7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeAliases/onlyAliasDeprecated.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeAliases/onlyAliasDeprecated.kt @@ -5,4 +5,5 @@ class Some @Deprecated("Use Some instead", replaceWith = ReplaceWith("Some")) typealias A = Some -val a: A = A() \ No newline at end of file +val a: A = A() +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeAliases/onlyAliasDeprecated.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeAliases/onlyAliasDeprecated.kt.after index b39db11c6427..18ad7df89dda 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeAliases/onlyAliasDeprecated.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeAliases/onlyAliasDeprecated.kt.after @@ -5,4 +5,5 @@ class Some @Deprecated("Use Some instead", replaceWith = ReplaceWith("Some")) typealias A = Some -val a: Some = A() \ No newline at end of file +val a: Some = A() +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeAliases/stdlibAliased.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeAliases/stdlibAliased.kt index 0f5ef26c3c1d..5cb7e7bf9590 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeAliases/stdlibAliased.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeAliases/stdlibAliased.kt @@ -5,4 +5,5 @@ package ppp @Deprecated("do not use", ReplaceWith("Exception()")) fun x(): Throwable = RuntimeException() -val e = x() \ No newline at end of file +val e = x() +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeAliases/stdlibAliased.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeAliases/stdlibAliased.kt.after index 5713863273b7..382df95d515a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeAliases/stdlibAliased.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeAliases/stdlibAliased.kt.after @@ -5,4 +5,5 @@ package ppp @Deprecated("do not use", ReplaceWith("Exception()")) fun x(): Throwable = RuntimeException() -val e = Exception() \ No newline at end of file +val e = Exception() +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeAliases/typeAliasWithAllGenericParams.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeAliases/typeAliasWithAllGenericParams.kt index 74c2353be8e6..2fee3081c5ea 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeAliases/typeAliasWithAllGenericParams.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeAliases/typeAliasWithAllGenericParams.kt @@ -7,4 +7,5 @@ class X @Deprecated("Will be dropped", replaceWith = ReplaceWith("X", "ppp.X")) typealias IntX = X -fun foo(ix: IntX) {} \ No newline at end of file +fun foo(ix: IntX) {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeAliases/typeAliasWithAllGenericParams.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeAliases/typeAliasWithAllGenericParams.kt.after index 84a0f5ffbefd..69bdf0c2dcfe 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeAliases/typeAliasWithAllGenericParams.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeAliases/typeAliasWithAllGenericParams.kt.after @@ -7,4 +7,5 @@ class X @Deprecated("Will be dropped", replaceWith = ReplaceWith("X", "ppp.X")) typealias IntX = X -fun foo(ix: X) {} \ No newline at end of file +fun foo(ix: X) {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeAliases/withTypeArgument.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeAliases/withTypeArgument.kt index 7d85658b2515..a2de256d75a4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeAliases/withTypeArgument.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeAliases/withTypeArgument.kt @@ -7,3 +7,5 @@ typealias A = List typealias B = List val x: A = emptyList() + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeAliases/withTypeArgument.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeAliases/withTypeArgument.kt.after index b45def5178ea..1b0254aebbf9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeAliases/withTypeArgument.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeAliases/withTypeArgument.kt.after @@ -7,3 +7,5 @@ typealias A = List typealias B = List val x: B = emptyList() + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/classConstructor.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/classConstructor.kt index 3908527450a4..c1fe16485347 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/classConstructor.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/classConstructor.kt @@ -9,4 +9,5 @@ class B(t: TElement) : A(t) fun b() { A(42) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/classConstructor.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/classConstructor.kt.after index 8896983cde55..294aa5d5a459 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/classConstructor.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/classConstructor.kt.after @@ -9,4 +9,5 @@ class B(t: TElement) : A({ t }) fun b() { A(42) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/classLiteral.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/classLiteral.kt index 1a97347f58e8..0831abc9856c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/classLiteral.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/classLiteral.kt @@ -4,4 +4,5 @@ fun foo() { } -val x = foo() \ No newline at end of file +val x = foo() +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/classLiteral.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/classLiteral.kt.after index 7f2288632ff9..181f461fc2d9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/classLiteral.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/classLiteral.kt.after @@ -4,4 +4,5 @@ fun foo() { } -val x = String::class \ No newline at end of file +val x = String::class +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/classLiteral2.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/classLiteral2.kt index da25b650a3a1..2cd321426c8e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/classLiteral2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/classLiteral2.kt @@ -5,4 +5,5 @@ fun foo() { } -val x = foo() \ No newline at end of file +val x = foo() +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/classLiteral2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/classLiteral2.kt.after index a6cec156605a..daa9721be903 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/classLiteral2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/classLiteral2.kt.after @@ -5,4 +5,5 @@ fun foo() { } -val x = Int::class.java \ No newline at end of file +val x = Int::class.java +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/emptyVarargRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/emptyVarargRuntime.kt index 73fc204e6f8a..b30572ab000e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/emptyVarargRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/emptyVarargRuntime.kt @@ -11,3 +11,5 @@ fun newFun(vararg elements: T){} fun foo() { oldFun() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/emptyVarargRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/emptyVarargRuntime.kt.after index 7f0ed8738176..3cfac7313d63 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/emptyVarargRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/emptyVarargRuntime.kt.after @@ -11,3 +11,5 @@ fun newFun(vararg elements: T){} fun foo() { newFun() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/explicitInPatternImplicitInUsage.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/explicitInPatternImplicitInUsage.kt index 9d5b6d657309..e8ef0be164a5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/explicitInPatternImplicitInUsage.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/explicitInPatternImplicitInUsage.kt @@ -10,3 +10,5 @@ fun newFun(): T? = null fun foo(): String? { return oldFun() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/explicitInPatternImplicitInUsage.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/explicitInPatternImplicitInUsage.kt.after index 3f20bd7b1d76..d3e8300cef4c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/explicitInPatternImplicitInUsage.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/explicitInPatternImplicitInUsage.kt.after @@ -10,3 +10,5 @@ fun newFun(): T? = null fun foo(): String? { return newFun() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/explicitTypeArg.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/explicitTypeArg.kt index 2250fc2e2454..425b1012b654 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/explicitTypeArg.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/explicitTypeArg.kt @@ -10,3 +10,5 @@ fun newFun(){} fun foo() { oldFun() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/explicitTypeArg.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/explicitTypeArg.kt.after index 55bbe22e4605..add2efb264d2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/explicitTypeArg.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/explicitTypeArg.kt.after @@ -10,3 +10,5 @@ fun newFun(){} fun foo() { newFun() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/explicitTypeArg2.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/explicitTypeArg2.kt index 292eaa118617..a8ea2b30fb83 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/explicitTypeArg2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/explicitTypeArg2.kt @@ -10,4 +10,5 @@ fun new() { fun main() { old() old() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageInWholeProjectFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/explicitTypeArg2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/explicitTypeArg2.kt.after index 2b09063d5924..dea66bac0e6f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/explicitTypeArg2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/explicitTypeArg2.kt.after @@ -10,4 +10,5 @@ fun new() { fun main() { new() new() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageInWholeProjectFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/functionReference.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/functionReference.kt index 4be2e6ca684b..5a5e4fa13925 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/functionReference.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/functionReference.kt @@ -7,4 +7,5 @@ class A { fun test(){ A()::foo -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/functionReference.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/functionReference.kt.after index 68a334e33b71..9db649a649d8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/functionReference.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/functionReference.kt.after @@ -7,4 +7,5 @@ class A { fun test(){ A()::bar -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/functionReference2.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/functionReference2.kt index 1e60f8278fe4..e76ee857576e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/functionReference2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/functionReference2.kt @@ -7,4 +7,5 @@ class A { fun test(){ A()::foo -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/functionReference2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/functionReference2.kt.after index a02cd99a0d3a..dba799020ac1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/functionReference2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/functionReference2.kt.after @@ -7,4 +7,5 @@ class A { fun test(){ A()::bar -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/functionReference3.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/functionReference3.kt index 307ca4dbadf2..dc7e1422dfc0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/functionReference3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/functionReference3.kt @@ -7,4 +7,5 @@ fun A.bar() = 2 fun test(a: A) { a::foo -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/functionReference3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/functionReference3.kt.after index d80697b74e2c..a29da679b503 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/functionReference3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/functionReference3.kt.after @@ -7,4 +7,5 @@ fun A.bar() = 2 fun test(a: A) { a::bar -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/functionReference4.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/functionReference4.kt index 18925b5b19f1..61932630d152 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/functionReference4.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/functionReference4.kt @@ -7,4 +7,5 @@ fun A.bar() = 2 fun test(a: A) { a::foo -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/functionReference4.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/functionReference4.kt.after index 5ba2e0068e58..9703054ddf68 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/functionReference4.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/functionReference4.kt.after @@ -7,4 +7,5 @@ fun A.bar() = 2 fun test(a: A) { a::bar -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/functionReference5.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/functionReference5.kt index 2729fe29eec2..f492c2cf6d24 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/functionReference5.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/functionReference5.kt @@ -12,4 +12,5 @@ fun test() { with(A()) { val f: KFunction0 = ::foo } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/functionReference5.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/functionReference5.kt.after index 17348f1cbd9b..f155c6651c1d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/functionReference5.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/functionReference5.kt.after @@ -12,4 +12,5 @@ fun test() { with(A()) { val f: KFunction0 = ::bar } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/implicitToExplicit.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/implicitToExplicit.kt index 9dd47b9112f3..4f1c98e90028 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/implicitToExplicit.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/implicitToExplicit.kt @@ -9,4 +9,5 @@ fun new() { fun test() { old(1) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/implicitToExplicit.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/implicitToExplicit.kt.after index ce18f1bfcf83..d915a51a22f4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/implicitToExplicit.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/implicitToExplicit.kt.after @@ -9,4 +9,5 @@ fun new() { fun test() { new() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/keepInUserCodeRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/keepInUserCodeRuntime.kt index 6df917b97ed1..7cab63e2b259 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/keepInUserCodeRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/keepInUserCodeRuntime.kt @@ -11,3 +11,5 @@ fun newFun(p: List){} fun foo() { oldFun(listOf("a")) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/keepInUserCodeRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/keepInUserCodeRuntime.kt.after index 3bdd54052c35..9ab2c5701643 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/keepInUserCodeRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/keepInUserCodeRuntime.kt.after @@ -11,3 +11,5 @@ fun newFun(p: List){} fun foo() { newFun(listOf("a")) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/keepOriginalIfQualified.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/keepOriginalIfQualified.kt index 16f833977908..2c0e6c362e9b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/keepOriginalIfQualified.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/keepOriginalIfQualified.kt @@ -10,3 +10,5 @@ fun newFun(){} fun foo() { oldFun() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/keepOriginalIfQualified.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/keepOriginalIfQualified.kt.after index a198a0095d23..f4ad3a984acd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/keepOriginalIfQualified.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/keepOriginalIfQualified.kt.after @@ -10,3 +10,5 @@ fun newFun(){} fun foo() { newFun() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/kt36225.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/kt36225.kt index 7631e4a17f91..51d3e8bec1ac 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/kt36225.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/kt36225.kt @@ -16,4 +16,5 @@ class Builder { fun test() { val b = Builder() b.addFoo(listOf(1)) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/kt36225.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/kt36225.kt.after index 69533b0198a0..b0f1b36f49c8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/kt36225.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/kt36225.kt.after @@ -16,4 +16,5 @@ class Builder { fun test() { val b = Builder() b.foo(listOf(1)) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/ktij-14750.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/ktij-14750.kt index 9fbd9895cf4b..860e4bd81d8a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/ktij-14750.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/ktij-14750.kt @@ -10,4 +10,5 @@ fun bar(f: Box.() -> Unit) = f fun test(e: Box>) { e.foo() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/ktij-14750.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/ktij-14750.kt.after index b859a2579e77..a02d2d8d3355 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/ktij-14750.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/ktij-14750.kt.after @@ -10,4 +10,5 @@ fun bar(f: Box.() -> Unit) = f fun test(e: Box>) { e.run { bar { } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/noImplicitTypeArgImportRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/noImplicitTypeArgImportRuntime.kt index fd5849374791..88ea0360a8b3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/noImplicitTypeArgImportRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/noImplicitTypeArgImportRuntime.kt @@ -13,3 +13,5 @@ fun foo() { } fun bar(): java.io.File? = null + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/noImplicitTypeArgImportRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/noImplicitTypeArgImportRuntime.kt.after index 560761b651c1..39b497f08fc6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/noImplicitTypeArgImportRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/noImplicitTypeArgImportRuntime.kt.after @@ -13,3 +13,5 @@ fun foo() { } fun bar(): java.io.File? = null + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/noImplicitTypeArgInClassWithTypeParam.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/noImplicitTypeArgInClassWithTypeParam.kt index fc0bb9383db0..e548a39232fc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/noImplicitTypeArgInClassWithTypeParam.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/noImplicitTypeArgInClassWithTypeParam.kt @@ -5,4 +5,5 @@ class C { fun test() { listOf(1).minBy { it } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/noImplicitTypeArgInClassWithTypeParam.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/noImplicitTypeArgInClassWithTypeParam.kt.after index 24b8ac47f54e..551386e8bd54 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/noImplicitTypeArgInClassWithTypeParam.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/noImplicitTypeArgInClassWithTypeParam.kt.after @@ -5,4 +5,5 @@ class C { fun test() { listOf(1).minByOrNull { it } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/noImplicitTypeArgInFunWithTypeParam.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/noImplicitTypeArgInFunWithTypeParam.kt index 5952bcbe0b9b..253e18d2ac5b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/noImplicitTypeArgInFunWithTypeParam.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/noImplicitTypeArgInFunWithTypeParam.kt @@ -9,3 +9,5 @@ fun T.bar() { fun test(i: Int) { i.foo() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/noImplicitTypeArgInFunWithTypeParam.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/noImplicitTypeArgInFunWithTypeParam.kt.after index d3dcd0a106f5..50c77334be17 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/noImplicitTypeArgInFunWithTypeParam.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/noImplicitTypeArgInFunWithTypeParam.kt.after @@ -9,3 +9,5 @@ fun T.bar() { fun test(i: Int) { i.bar() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/nonEmptyVarargRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/nonEmptyVarargRuntime.kt index 7c3aa1947f1a..5d4e98da0f30 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/nonEmptyVarargRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/nonEmptyVarargRuntime.kt @@ -11,3 +11,5 @@ fun newFun(vararg elements: T){} fun foo() { oldFun("a") } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/nonEmptyVarargRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/nonEmptyVarargRuntime.kt.after index 01ac39205dcd..9382f7d8904b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/nonEmptyVarargRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/nonEmptyVarargRuntime.kt.after @@ -11,3 +11,5 @@ fun newFun(vararg elements: T){} fun foo() { newFun("a") } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/propertyReference.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/propertyReference.kt index 2a3a4cbdf982..f1bca403ba6a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/propertyReference.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/propertyReference.kt @@ -9,4 +9,5 @@ class A { fun test() { val a: KProperty0 = A()::foo -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/propertyReference.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/propertyReference.kt.after index 475041d1878e..7426c201a042 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/propertyReference.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/propertyReference.kt.after @@ -9,4 +9,5 @@ class A { fun test() { val a: KProperty0 = A()::bar -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/propertyReference2.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/propertyReference2.kt index 5ebae4708244..d9c59eab7ab7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/propertyReference2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/propertyReference2.kt @@ -12,4 +12,5 @@ fun test() { with(A()) { val b: KProperty0 = this::foo } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/propertyReference2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/propertyReference2.kt.after index d098a0c2c66b..c7ae9eef469f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/propertyReference2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/propertyReference2.kt.after @@ -12,4 +12,5 @@ fun test() { with(A()) { val b: KProperty0 = this::bar } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/propertyReference3.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/propertyReference3.kt index 3888b3b3be19..ba210a533f6f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/propertyReference3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/propertyReference3.kt @@ -12,4 +12,5 @@ fun test() { with(A()) { val c: KProperty0 = ::foo } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/propertyReference3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/propertyReference3.kt.after index 48c52da8c435..d8130e6b8e4c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/propertyReference3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/propertyReference3.kt.after @@ -12,4 +12,5 @@ fun test() { with(A()) { val c: KProperty0 = ::bar } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/typeReference.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/typeReference.kt index 8cbe6ad5fedb..838579936d0f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/typeReference.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/typeReference.kt @@ -5,4 +5,5 @@ class Old class New -fun foo(): Old? = null \ No newline at end of file +fun foo(): Old? = null +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/typeReference.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/typeReference.kt.after index b701ad62293d..2746964844b5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/typeReference.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/typeReference.kt.after @@ -5,4 +5,5 @@ class Old class New -fun foo(): New? = null \ No newline at end of file +fun foo(): New? = null +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/wholeProject/classConstructor.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/wholeProject/classConstructor.kt index f2ce2393b16d..0a034e271c18 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/wholeProject/classConstructor.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/wholeProject/classConstructor.kt @@ -10,4 +10,5 @@ class B(t: TElement) : A(t) fun b() { A(42) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageInWholeProjectFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/wholeProject/classConstructor.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/wholeProject/classConstructor.kt.after index c01e089b59c1..bdb9ef0f3c98 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/wholeProject/classConstructor.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/typeArguments/wholeProject/classConstructor.kt.after @@ -10,4 +10,5 @@ class B(t: TElement) : A({ t }) fun b() { A({ 42 }) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageInWholeProjectFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/usageInDerivedClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/usageInDerivedClass.kt index c95b29e53b3c..bfba6ca170bc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/usageInDerivedClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/usageInDerivedClass.kt @@ -12,3 +12,5 @@ class Derived : Base() { oldFun("a") } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/usageInDerivedClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/usageInDerivedClass.kt.after index e0c6ba3af0a4..3bf8ed41c8e7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/usageInDerivedClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/usageInDerivedClass.kt.after @@ -12,3 +12,5 @@ class Derived : Base() { newFun("a") } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/usageInDerivedClassGeneric.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/usageInDerivedClassGeneric.kt index 4b7a9d2fc41a..59610d373cbb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/usageInDerivedClassGeneric.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/usageInDerivedClassGeneric.kt @@ -12,3 +12,5 @@ class Derived : Base() { oldFun("a", 1) } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/usageInDerivedClassGeneric.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/usageInDerivedClassGeneric.kt.after index 8bb8f8264b2e..f7916a4f3abd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/usageInDerivedClassGeneric.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/usageInDerivedClassGeneric.kt.after @@ -12,3 +12,5 @@ class Derived : Base() { newFun("a", 1) } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/addedNamedArgumentAfterRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/addedNamedArgumentAfterRuntime.kt index c225943813a1..3852b5aebcb1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/addedNamedArgumentAfterRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/addedNamedArgumentAfterRuntime.kt @@ -11,3 +11,5 @@ fun newFun(vararg p: Int, x: String? = ""){} fun foo() { oldFun(1, 2, 3) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/addedNamedArgumentAfterRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/addedNamedArgumentAfterRuntime.kt.after index 23422ebf34e1..ddfeb04398be 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/addedNamedArgumentAfterRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/addedNamedArgumentAfterRuntime.kt.after @@ -11,3 +11,5 @@ fun newFun(vararg p: Int, x: String? = ""){} fun foo() { newFun(1, 2, 3, x = null) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/addedPositionalArgumentAfterRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/addedPositionalArgumentAfterRuntime.kt index 3833104ed82a..2268f9655113 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/addedPositionalArgumentAfterRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/addedPositionalArgumentAfterRuntime.kt @@ -11,3 +11,5 @@ fun newFun(vararg p: Int){} fun foo() { oldFun(1, 2, 3) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/addedPositionalArgumentAfterRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/addedPositionalArgumentAfterRuntime.kt.after index ad6354172223..44f7fabb4ac6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/addedPositionalArgumentAfterRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/addedPositionalArgumentAfterRuntime.kt.after @@ -11,3 +11,5 @@ fun newFun(vararg p: Int){} fun foo() { newFun(1, 2, 3, 1) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/addedSpreadArgumentAfterRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/addedSpreadArgumentAfterRuntime.kt index b4076e3229ac..3089e9d13815 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/addedSpreadArgumentAfterRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/addedSpreadArgumentAfterRuntime.kt @@ -11,3 +11,5 @@ fun newFun(vararg p: Int){} fun foo(list: List) { oldFun(list, 1, 2, 3) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/addedSpreadArgumentAfterRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/addedSpreadArgumentAfterRuntime.kt.after index dcd827566e82..70678fe4879a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/addedSpreadArgumentAfterRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/addedSpreadArgumentAfterRuntime.kt.after @@ -11,3 +11,5 @@ fun newFun(vararg p: Int){} fun foo(list: List) { newFun(1, 2, 3, *list.toIntArray()) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/booleanArrayRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/booleanArrayRuntime.kt index b16d95f6a4be..a5fe33b64042 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/booleanArrayRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/booleanArrayRuntime.kt @@ -11,3 +11,5 @@ fun newFun(p: BooleanArray){} fun foo() { oldFun(true, false) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/booleanArrayRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/booleanArrayRuntime.kt.after index 924b92eb6005..3997a126b104 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/booleanArrayRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/booleanArrayRuntime.kt.after @@ -11,3 +11,5 @@ fun newFun(p: BooleanArray){} fun foo() { newFun(booleanArrayOf(true, false)) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/byteArrayRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/byteArrayRuntime.kt index dd194724239e..97be9ca6c96d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/byteArrayRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/byteArrayRuntime.kt @@ -11,3 +11,5 @@ fun newFun(p: ByteArray){} fun foo() { oldFun(1, 2, 3) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/byteArrayRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/byteArrayRuntime.kt.after index eb6ee43a713a..baafa5ce26d9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/byteArrayRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/byteArrayRuntime.kt.after @@ -11,3 +11,5 @@ fun newFun(p: ByteArray){} fun foo() { newFun(byteArrayOf(1, 2, 3)) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/doNotShortenUserReferences2Runtime.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/doNotShortenUserReferences2Runtime.kt index 0614d5ab64a2..cd38a4de6fb8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/doNotShortenUserReferences2Runtime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/doNotShortenUserReferences2Runtime.kt @@ -9,3 +9,5 @@ fun newFun(vararg c: Char){} fun foo() { oldFun(*listOf(java.io.File.separatorChar).toCharArray()) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/doNotShortenUserReferences2Runtime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/doNotShortenUserReferences2Runtime.kt.after index 88faad47eefa..f21993621784 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/doNotShortenUserReferences2Runtime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/doNotShortenUserReferences2Runtime.kt.after @@ -9,3 +9,5 @@ fun newFun(vararg c: Char){} fun foo() { newFun(*listOf(java.io.File.separatorChar).toCharArray()) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/doNotShortenUserReferencesRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/doNotShortenUserReferencesRuntime.kt index b7f1b3c4baa0..acaa9d19e772 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/doNotShortenUserReferencesRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/doNotShortenUserReferencesRuntime.kt @@ -9,3 +9,5 @@ fun newFun(vararg c: Char){} fun foo() { oldFun(java.io.File.separatorChar) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/doNotShortenUserReferencesRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/doNotShortenUserReferencesRuntime.kt.after index 9ceac85557a4..abd96a8b010e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/doNotShortenUserReferencesRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/doNotShortenUserReferencesRuntime.kt.after @@ -9,3 +9,5 @@ fun newFun(vararg c: Char){} fun foo() { newFun(java.io.File.separatorChar) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/doNotSimplifyOriginalCallRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/doNotSimplifyOriginalCallRuntime.kt index 61297080967a..aa0b73203c6a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/doNotSimplifyOriginalCallRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/doNotSimplifyOriginalCallRuntime.kt @@ -13,3 +13,5 @@ fun newFun(p: String){} fun foo() { oldFun(foo(*arrayOf("a", "b"))) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/doNotSimplifyOriginalCallRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/doNotSimplifyOriginalCallRuntime.kt.after index 993ba1acb07e..bceec5e7fe8b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/doNotSimplifyOriginalCallRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/doNotSimplifyOriginalCallRuntime.kt.after @@ -13,3 +13,5 @@ fun newFun(p: String){} fun foo() { newFun(foo(*arrayOf("a", "b"))) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/doubleArrayRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/doubleArrayRuntime.kt index 9cdd6ab82518..a82247948843 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/doubleArrayRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/doubleArrayRuntime.kt @@ -11,3 +11,5 @@ fun newFun(p: DoubleArray){} fun foo() { oldFun(1.0, 2.0) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/doubleArrayRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/doubleArrayRuntime.kt.after index 1a0ec916936a..0b89d1ca3f7e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/doubleArrayRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/doubleArrayRuntime.kt.after @@ -11,3 +11,5 @@ fun newFun(p: DoubleArray){} fun foo() { newFun(doubleArrayOf(1.0, 2.0)) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/floatArrayRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/floatArrayRuntime.kt index 5d2b5f5cca29..247f522a524a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/floatArrayRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/floatArrayRuntime.kt @@ -11,3 +11,5 @@ fun newFun(p: FloatArray){} fun foo() { oldFun(1f) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/floatArrayRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/floatArrayRuntime.kt.after index f77175ba83c3..beef9424dda9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/floatArrayRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/floatArrayRuntime.kt.after @@ -11,3 +11,5 @@ fun newFun(p: FloatArray){} fun foo() { newFun(floatArrayOf(1f)) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/longArrayRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/longArrayRuntime.kt index dfb70af5404f..63c741ad39c0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/longArrayRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/longArrayRuntime.kt @@ -11,3 +11,5 @@ fun newFun(p: LongArray){} fun foo() { oldFun(1L) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/longArrayRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/longArrayRuntime.kt.after index 6afd75f7c4a0..8d0a13048ecb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/longArrayRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/longArrayRuntime.kt.after @@ -11,3 +11,5 @@ fun newFun(p: LongArray){} fun foo() { newFun(longArrayOf(1L)) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/multipleSpreadArguments2Runtime.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/multipleSpreadArguments2Runtime.kt index 53f202158a4e..dfe4115a084b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/multipleSpreadArguments2Runtime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/multipleSpreadArguments2Runtime.kt @@ -11,3 +11,5 @@ fun newFun(p: IntArray){} fun foo(list1: List,list2: List) { oldFun(*list1.toIntArray(), 0, *list2.toIntArray()) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/multipleSpreadArguments2Runtime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/multipleSpreadArguments2Runtime.kt.after index dd7777517873..42ceb365b8b8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/multipleSpreadArguments2Runtime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/multipleSpreadArguments2Runtime.kt.after @@ -11,3 +11,5 @@ fun newFun(p: IntArray){} fun foo(list1: List,list2: List) { newFun(intArrayOf(*list1.toIntArray(), 0, *list2.toIntArray())) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/multipleSpreadArgumentsRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/multipleSpreadArgumentsRuntime.kt index 294fe2ae7b7d..8ef74fd20418 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/multipleSpreadArgumentsRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/multipleSpreadArgumentsRuntime.kt @@ -11,3 +11,5 @@ fun newFun(vararg p: Int){} fun foo(list1: List,list2: List) { oldFun(*list1.toIntArray(), 0, *list2.toIntArray()) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/multipleSpreadArgumentsRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/multipleSpreadArgumentsRuntime.kt.after index 4d332a147029..baf1e88a878d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/multipleSpreadArgumentsRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/multipleSpreadArgumentsRuntime.kt.after @@ -11,3 +11,5 @@ fun newFun(vararg p: Int){} fun foo(list1: List,list2: List) { newFun(*list1.toIntArray(), 0, *list2.toIntArray(), 1) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/noImportRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/noImportRuntime.kt index 9222d4b859eb..d8cac0da1e1e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/noImportRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/noImportRuntime.kt @@ -11,3 +11,5 @@ fun newFun(vararg elements: java.io.File?){} fun foo() { oldFun() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/noImportRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/noImportRuntime.kt.after index 537cde8c5a68..212b211a416d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/noImportRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/noImportRuntime.kt.after @@ -11,3 +11,5 @@ fun newFun(vararg elements: java.io.File?){} fun foo() { newFun() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/shortArrayRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/shortArrayRuntime.kt index 357f861508e6..8fb164637ba3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/shortArrayRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/shortArrayRuntime.kt @@ -11,3 +11,5 @@ fun newFun(p: ShortArray){} fun foo() { oldFun(1) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/shortArrayRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/shortArrayRuntime.kt.after index fe908e72a2be..7b8770488026 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/shortArrayRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/shortArrayRuntime.kt.after @@ -11,3 +11,5 @@ fun newFun(p: ShortArray){} fun foo() { newFun(shortArrayOf(1)) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg1Runtime.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg1Runtime.kt index 45e8ea70be7b..88a735812a0c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg1Runtime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg1Runtime.kt @@ -11,3 +11,5 @@ fun newFun(p1: String, vararg p2: Int){} fun foo() { oldFun("a") } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg1Runtime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg1Runtime.kt.after index 996298f089d5..ac8193d999de 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg1Runtime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg1Runtime.kt.after @@ -11,3 +11,5 @@ fun newFun(p1: String, vararg p2: Int){} fun foo() { newFun("a") } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg2Runtime.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg2Runtime.kt index ae102fdc14a3..a2ff416bde0f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg2Runtime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg2Runtime.kt @@ -11,3 +11,5 @@ fun newFun(p1: String, vararg p2: Int){} fun foo() { oldFun("a", 1) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg2Runtime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg2Runtime.kt.after index 9baa230785df..cfaa796d57e8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg2Runtime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg2Runtime.kt.after @@ -11,3 +11,5 @@ fun newFun(p1: String, vararg p2: Int){} fun foo() { newFun("a", 1) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg3Runtime.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg3Runtime.kt index 8514b22468bc..a23996987c66 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg3Runtime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg3Runtime.kt @@ -11,3 +11,5 @@ fun newFun(p1: String, vararg p2: Int){} fun foo() { oldFun("a", 1, 2, 3) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg3Runtime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg3Runtime.kt.after index 4798ba172fbf..36fb306d7831 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg3Runtime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg3Runtime.kt.after @@ -11,3 +11,5 @@ fun newFun(p1: String, vararg p2: Int){} fun foo() { newFun("a", 1, 2, 3) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg4.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg4.kt index 35151141fa96..86ebf0750c5f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg4.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg4.kt @@ -10,3 +10,5 @@ fun newFun(p1: String, vararg p2: Int){} fun foo(array: IntArray) { oldFun("a", *array) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg4.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg4.kt.after index d9f2b970b233..89d67c7b0162 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg4.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg4.kt.after @@ -10,3 +10,5 @@ fun newFun(p1: String, vararg p2: Int){} fun foo(array: IntArray) { newFun("a", *array) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg5.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg5.kt index df4bed2346d9..d4bd87247ccc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg5.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg5.kt @@ -10,3 +10,5 @@ fun newFun(p1: String, p2: IntArray){} fun foo(array: IntArray) { oldFun("a", *array) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg5.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg5.kt.after index 3e1873002b29..b7e4abdd289d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg5.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg5.kt.after @@ -10,3 +10,5 @@ fun newFun(p1: String, p2: IntArray){} fun foo(array: IntArray) { newFun("a", array) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg6Runtime.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg6Runtime.kt index c42de7cd8022..16a1dda501b4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg6Runtime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg6Runtime.kt @@ -11,3 +11,5 @@ fun newFun(p1: String, p2: IntArray){} fun foo() { oldFun("a", 1, 2, 3) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg6Runtime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg6Runtime.kt.after index afb93deac145..376809daa3b6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg6Runtime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg6Runtime.kt.after @@ -11,3 +11,5 @@ fun newFun(p1: String, p2: IntArray){} fun foo() { newFun("a", intArrayOf(1, 2, 3)) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg7.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg7.kt index 4f6cafc9812d..5b9e1a8b4820 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg7.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg7.kt @@ -10,3 +10,5 @@ fun newFun(p1: String, vararg p2: Int){} fun foo(array: IntArray) { oldFun("a", array) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg7.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg7.kt.after index e7109a5355d9..0ee7e0911490 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg7.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg7.kt.after @@ -10,3 +10,5 @@ fun newFun(p1: String, vararg p2: Int){} fun foo(array: IntArray) { newFun("a", *array) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg8Runtime.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg8Runtime.kt index 635b419310a0..af7b75158f84 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg8Runtime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg8Runtime.kt @@ -11,3 +11,5 @@ fun newFun(p1: String, vararg p2: Int){} fun foo() { oldFun("a", intArrayOf(1, 2, 3)) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg8Runtime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg8Runtime.kt.after index 0a840ab43c09..d31c19b8dbe6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg8Runtime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/vararg/vararg8Runtime.kt.after @@ -11,3 +11,5 @@ fun newFun(p1: String, vararg p2: Int){} fun foo() { newFun("a", 1, 2, 3) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/withInnerFunction.kt b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/withInnerFunction.kt index 993a51127976..516bbd47a243 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/withInnerFunction.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/withInnerFunction.kt @@ -12,3 +12,5 @@ private class A { private fun test(a: A) { val c = a.foooo() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/withInnerFunction.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/withInnerFunction.kt.after index 58fa123c3ccd..c337b115ac1c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/withInnerFunction.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/deprecatedSymbolUsage/withInnerFunction.kt.after @@ -12,3 +12,5 @@ private class A { private fun test(a: A) { val c = a.bar } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/equalityNotApplicable/charLiteralConversion/charEqString.kt b/plugins/kotlin/idea/tests/testData/quickfix/equalityNotApplicable/charLiteralConversion/charEqString.kt index db08500e01cd..f902785667f6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/equalityNotApplicable/charLiteralConversion/charEqString.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/equalityNotApplicable/charLiteralConversion/charEqString.kt @@ -1,4 +1,5 @@ // "Convert string to character literal" "true" fun test(c: Char): Boolean { return c == "a" -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertStringToCharLiteralFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/equalityNotApplicable/charLiteralConversion/charEqString.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/equalityNotApplicable/charLiteralConversion/charEqString.kt.after index d8e49a98e907..3792b5c42d44 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/equalityNotApplicable/charLiteralConversion/charEqString.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/equalityNotApplicable/charLiteralConversion/charEqString.kt.after @@ -1,4 +1,5 @@ // "Convert string to character literal" "true" fun test(c: Char): Boolean { return c == 'a' -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertStringToCharLiteralFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/equalityNotApplicable/charLiteralConversion/charEqString2.kt b/plugins/kotlin/idea/tests/testData/quickfix/equalityNotApplicable/charLiteralConversion/charEqString2.kt index 9700d6e94066..9ff24d1368f5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/equalityNotApplicable/charLiteralConversion/charEqString2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/equalityNotApplicable/charLiteralConversion/charEqString2.kt @@ -1,4 +1,5 @@ // "Convert string to character literal" "true" fun test(c: Char): Boolean { return "\t" == c -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertStringToCharLiteralFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/equalityNotApplicable/charLiteralConversion/charEqString2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/equalityNotApplicable/charLiteralConversion/charEqString2.kt.after index 5a1a7a517cf5..bbcf1d8752f6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/equalityNotApplicable/charLiteralConversion/charEqString2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/equalityNotApplicable/charLiteralConversion/charEqString2.kt.after @@ -1,4 +1,5 @@ // "Convert string to character literal" "true" fun test(c: Char): Boolean { return '\t' == c -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertStringToCharLiteralFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/equalityNotApplicable/charLiteralConversion/charEqString3.kt b/plugins/kotlin/idea/tests/testData/quickfix/equalityNotApplicable/charLiteralConversion/charEqString3.kt index 4b1d2521c4b6..5982d2ba5a8d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/equalityNotApplicable/charLiteralConversion/charEqString3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/equalityNotApplicable/charLiteralConversion/charEqString3.kt @@ -1,4 +1,5 @@ // "Convert string to character literal" "true" fun test(c: Char): Boolean { return c == """a""" -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertStringToCharLiteralFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/equalityNotApplicable/charLiteralConversion/charEqString3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/equalityNotApplicable/charLiteralConversion/charEqString3.kt.after index d8e49a98e907..3792b5c42d44 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/equalityNotApplicable/charLiteralConversion/charEqString3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/equalityNotApplicable/charLiteralConversion/charEqString3.kt.after @@ -1,4 +1,5 @@ // "Convert string to character literal" "true" fun test(c: Char): Boolean { return c == 'a' -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertStringToCharLiteralFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/equalityNotApplicable/charLiteralConversion/charEqStringDoubleQuote.kt b/plugins/kotlin/idea/tests/testData/quickfix/equalityNotApplicable/charLiteralConversion/charEqStringDoubleQuote.kt index c9899f58ead1..f3bcf2ca7bbe 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/equalityNotApplicable/charLiteralConversion/charEqStringDoubleQuote.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/equalityNotApplicable/charLiteralConversion/charEqStringDoubleQuote.kt @@ -1,4 +1,5 @@ // "Convert string to character literal" "true" fun test(c: Char): Boolean { return c == "\"" -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertStringToCharLiteralFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/equalityNotApplicable/charLiteralConversion/charEqStringDoubleQuote.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/equalityNotApplicable/charLiteralConversion/charEqStringDoubleQuote.kt.after index 48889964499c..b4e4c34e95bb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/equalityNotApplicable/charLiteralConversion/charEqStringDoubleQuote.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/equalityNotApplicable/charLiteralConversion/charEqStringDoubleQuote.kt.after @@ -1,4 +1,5 @@ // "Convert string to character literal" "true" fun test(c: Char): Boolean { return c == '"' -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertStringToCharLiteralFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/equalityNotApplicable/charLiteralConversion/charEqStringSingleQuote.kt b/plugins/kotlin/idea/tests/testData/quickfix/equalityNotApplicable/charLiteralConversion/charEqStringSingleQuote.kt index 4539bba886d4..ee826dbf98dd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/equalityNotApplicable/charLiteralConversion/charEqStringSingleQuote.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/equalityNotApplicable/charLiteralConversion/charEqStringSingleQuote.kt @@ -1,4 +1,5 @@ // "Convert string to character literal" "true" fun test(c: Char): Boolean { return c == "'" -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertStringToCharLiteralFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/equalityNotApplicable/charLiteralConversion/charEqStringSingleQuote.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/equalityNotApplicable/charLiteralConversion/charEqStringSingleQuote.kt.after index 3ba7e7f2942c..587d382c169c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/equalityNotApplicable/charLiteralConversion/charEqStringSingleQuote.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/equalityNotApplicable/charLiteralConversion/charEqStringSingleQuote.kt.after @@ -1,4 +1,5 @@ // "Convert string to character literal" "true" fun test(c: Char): Boolean { return c == '\'' -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertStringToCharLiteralFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/equalityNotApplicable/numberConversion/left.kt b/plugins/kotlin/idea/tests/testData/quickfix/equalityNotApplicable/numberConversion/left.kt index 614da02ea9cd..96b80dd3c559 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/equalityNotApplicable/numberConversion/left.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/equalityNotApplicable/numberConversion/left.kt @@ -1,4 +1,5 @@ // "Convert left-hand side to 'Int'" "true" fun test(b: Byte, i: Int): Boolean { return b == i -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.NumberConversionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/equalityNotApplicable/numberConversion/left.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/equalityNotApplicable/numberConversion/left.kt.after index b2ae7f54c1a1..6a1f2bc33e02 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/equalityNotApplicable/numberConversion/left.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/equalityNotApplicable/numberConversion/left.kt.after @@ -1,4 +1,5 @@ // "Convert left-hand side to 'Int'" "true" fun test(b: Byte, i: Int): Boolean { return b.toInt() == i -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.NumberConversionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/equalityNotApplicable/numberConversion/nullableLeft.kt b/plugins/kotlin/idea/tests/testData/quickfix/equalityNotApplicable/numberConversion/nullableLeft.kt index da9aeda2e4b9..3eba86fc8d2c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/equalityNotApplicable/numberConversion/nullableLeft.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/equalityNotApplicable/numberConversion/nullableLeft.kt @@ -1,4 +1,5 @@ // "Convert left-hand side to 'Long'" "true" fun test(s: Short?, l: Long?): Boolean { return s == l -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.NumberConversionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/equalityNotApplicable/numberConversion/nullableLeft.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/equalityNotApplicable/numberConversion/nullableLeft.kt.after index 95fb89644d79..31c230b1657d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/equalityNotApplicable/numberConversion/nullableLeft.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/equalityNotApplicable/numberConversion/nullableLeft.kt.after @@ -1,4 +1,5 @@ // "Convert left-hand side to 'Long'" "true" fun test(s: Short?, l: Long?): Boolean { return s?.toLong() == l -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.NumberConversionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/equalityNotApplicable/numberConversion/nullableRight.kt b/plugins/kotlin/idea/tests/testData/quickfix/equalityNotApplicable/numberConversion/nullableRight.kt index 395347c6f205..9e31fe2e5a2e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/equalityNotApplicable/numberConversion/nullableRight.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/equalityNotApplicable/numberConversion/nullableRight.kt @@ -1,4 +1,5 @@ // "Convert right-hand side to 'Short'" "true" fun test(s: Short?, l: Long?): Boolean { return s == l -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.NumberConversionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/equalityNotApplicable/numberConversion/nullableRight.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/equalityNotApplicable/numberConversion/nullableRight.kt.after index a548ab79b098..089d08018b5a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/equalityNotApplicable/numberConversion/nullableRight.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/equalityNotApplicable/numberConversion/nullableRight.kt.after @@ -1,4 +1,5 @@ // "Convert right-hand side to 'Short'" "true" fun test(s: Short?, l: Long?): Boolean { return s == l?.toShort() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.NumberConversionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/equalityNotApplicable/numberConversion/right.kt b/plugins/kotlin/idea/tests/testData/quickfix/equalityNotApplicable/numberConversion/right.kt index 52e3ce6cc892..a85935d15942 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/equalityNotApplicable/numberConversion/right.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/equalityNotApplicable/numberConversion/right.kt @@ -1,4 +1,5 @@ // "Convert right-hand side to 'Byte'" "true" fun test(b: Byte, i: Int): Boolean { return b == i -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.NumberConversionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/equalityNotApplicable/numberConversion/right.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/equalityNotApplicable/numberConversion/right.kt.after index 5d3e60cb1afa..1ffac4f20f0a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/equalityNotApplicable/numberConversion/right.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/equalityNotApplicable/numberConversion/right.kt.after @@ -1,4 +1,5 @@ // "Convert right-hand side to 'Byte'" "true" fun test(b: Byte, i: Int): Boolean { return b == i.toByte() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.NumberConversionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/expressions/kt11594.kt b/plugins/kotlin/idea/tests/testData/quickfix/expressions/kt11594.kt index 2e034b7a603d..d31f39bfd76a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/expressions/kt11594.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/expressions/kt11594.kt @@ -5,3 +5,6 @@ fun callMe(p: String) {} fun callIt(p: Any) { callMe(p as String?) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/expressions/kt11594.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/expressions/kt11594.kt.after index 34309b501a68..2731d1442000 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/expressions/kt11594.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/expressions/kt11594.kt.after @@ -5,3 +5,6 @@ fun callMe(p: String) {} fun callIt(p: Any) { callMe((p as String?)!!) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCast.kt b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCast.kt index 8cc147045e74..7ab313c63266 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCast.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCast.kt @@ -1,4 +1,6 @@ // "Remove useless cast" "true" fun foo(a: String) { val b = a as String -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessCastFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessCastFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCast.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCast.kt.after index d0c326391268..779762c85d1c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCast.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCast.kt.after @@ -1,4 +1,6 @@ // "Remove useless cast" "true" fun foo(a: String) { val b = a -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessCastFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessCastFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastForLambdaInNecessaryNestedParens2.kt b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastForLambdaInNecessaryNestedParens2.kt index cf1d55276ca9..1e7f68a71fef 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastForLambdaInNecessaryNestedParens2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastForLambdaInNecessaryNestedParens2.kt @@ -5,4 +5,6 @@ fun test() { foo() // comment ((({ "" } as () -> String))) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessCastFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessCastFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastForLambdaInNecessaryNestedParens2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastForLambdaInNecessaryNestedParens2.kt.after index 370e99c7de7f..23fedeffddaf 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastForLambdaInNecessaryNestedParens2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastForLambdaInNecessaryNestedParens2.kt.after @@ -5,4 +5,6 @@ fun test() { foo() // comment ({ "" }) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessCastFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessCastFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastForLambdaInNestedParens.kt b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastForLambdaInNestedParens.kt index 2ad82368124a..d406714711ad 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastForLambdaInNestedParens.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastForLambdaInNestedParens.kt @@ -1,4 +1,6 @@ // "Remove useless cast" "true" fun test() { ((({ "" } as () -> String))) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessCastFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessCastFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastForLambdaInNestedParens.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastForLambdaInNestedParens.kt.after index e4038d4b6443..0f4a38f6e90f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastForLambdaInNestedParens.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastForLambdaInNestedParens.kt.after @@ -1,4 +1,6 @@ // "Remove useless cast" "true" fun test() { { "" } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessCastFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessCastFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastForLambdaInParens1.kt b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastForLambdaInParens1.kt index 6a59aee2ffc8..2fe94108a6a1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastForLambdaInParens1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastForLambdaInParens1.kt @@ -1,4 +1,6 @@ // "Remove useless cast" "true" fun test() { ({ "" } as () -> String) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessCastFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessCastFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastForLambdaInParens1.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastForLambdaInParens1.kt.after index e4038d4b6443..0f4a38f6e90f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastForLambdaInParens1.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastForLambdaInParens1.kt.after @@ -1,4 +1,6 @@ // "Remove useless cast" "true" fun test() { { "" } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessCastFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessCastFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastForLambdaInParens2.kt b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastForLambdaInParens2.kt index a9135199793b..442782474a7d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastForLambdaInParens2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastForLambdaInParens2.kt @@ -5,4 +5,6 @@ fun test() { foo() // comment ({ "" } as () -> String) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessCastFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessCastFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastForLambdaInParens2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastForLambdaInParens2.kt.after index 370e99c7de7f..23fedeffddaf 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastForLambdaInParens2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastForLambdaInParens2.kt.after @@ -5,4 +5,6 @@ fun test() { foo() // comment ({ "" }) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessCastFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessCastFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastForLambdaInParens3.kt b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastForLambdaInParens3.kt index ea4f8e4ccabb..29d1318bfde1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastForLambdaInParens3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastForLambdaInParens3.kt @@ -6,4 +6,6 @@ class A { fun test() { A().foo() ({ "" } as () -> String) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessCastFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessCastFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastForLambdaInParens3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastForLambdaInParens3.kt.after index e03f360d5a06..44d7cca9ca0f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastForLambdaInParens3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastForLambdaInParens3.kt.after @@ -6,4 +6,6 @@ class A { fun test() { A().foo() ({ "" }) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessCastFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessCastFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastForLambdaInParens4.kt b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastForLambdaInParens4.kt index e00d9d501699..ea2f94f7a946 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastForLambdaInParens4.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastForLambdaInParens4.kt @@ -2,4 +2,6 @@ fun test() { class A() ({ "" } as () -> String) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessCastFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessCastFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastForLambdaInParens4.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastForLambdaInParens4.kt.after index f9949426d4d9..6c204519154a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastForLambdaInParens4.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastForLambdaInParens4.kt.after @@ -2,4 +2,6 @@ fun test() { class A() ({ "" }) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessCastFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessCastFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastForLambdaInParens5.kt b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastForLambdaInParens5.kt index 1edb7b01f75e..eb636f140fda 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastForLambdaInParens5.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastForLambdaInParens5.kt @@ -4,4 +4,6 @@ open class A fun test() { class B : A() ({ "" } as () -> String) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessCastFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessCastFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastForLambdaInParens5.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastForLambdaInParens5.kt.after index 53ec2a04545b..983e8280d5ff 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastForLambdaInParens5.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastForLambdaInParens5.kt.after @@ -4,4 +4,6 @@ open class A fun test() { class B : A() ({ "" }) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessCastFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessCastFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastForLambdaInParens6.kt b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastForLambdaInParens6.kt index c7d896405cca..986d95446654 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastForLambdaInParens6.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastForLambdaInParens6.kt @@ -4,4 +4,6 @@ fun foo() {} fun main() { foo(); ({ "" } as () -> String) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessCastFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessCastFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastForLambdaInParens6.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastForLambdaInParens6.kt.after index 44e41119b317..17d1801e9e13 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastForLambdaInParens6.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastForLambdaInParens6.kt.after @@ -4,4 +4,6 @@ fun foo() {} fun main() { foo(); { "" } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessCastFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessCastFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastInNestedParens.kt b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastInNestedParens.kt index ddc9cc503bce..5406cb059a0f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastInNestedParens.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastInNestedParens.kt @@ -4,4 +4,6 @@ fun test(x: Any): Int { return (((x as String))).length } return -1 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessCastFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessCastFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastInNestedParens.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastInNestedParens.kt.after index a0f44b32ce4e..fa4f9b8adf04 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastInNestedParens.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastInNestedParens.kt.after @@ -4,4 +4,6 @@ fun test(x: Any): Int { return x.length } return -1 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessCastFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessCastFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastInParens.kt b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastInParens.kt index d535bfade1f8..258ba9287cb3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastInParens.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastInParens.kt @@ -4,4 +4,6 @@ fun test(x: Any): Int { return (x as String).length } return -1 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessCastFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessCastFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastInParens.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastInParens.kt.after index a0f44b32ce4e..fa4f9b8adf04 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastInParens.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastInParens.kt.after @@ -4,4 +4,6 @@ fun test(x: Any): Int { return x.length } return -1 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessCastFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessCastFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastUnderSmartCast.kt b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastUnderSmartCast.kt index 241546de1f11..17d4cd757dad 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastUnderSmartCast.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastUnderSmartCast.kt @@ -4,4 +4,6 @@ fun test(x: Any): String? { return x as String } return null -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessCastFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessCastFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastUnderSmartCast.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastUnderSmartCast.kt.after index 90b65d21d913..54a4918ba638 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastUnderSmartCast.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessCastUnderSmartCast.kt.after @@ -4,4 +4,6 @@ fun test(x: Any): String? { return x } return null -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessCastFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessCastFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessIsCheck.kt b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessIsCheck.kt index 6847f54faa09..307486b9591f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessIsCheck.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessIsCheck.kt @@ -3,4 +3,6 @@ fun foo(a: String) { if (1 is Int) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessIsCheckFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessIsCheckFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessIsCheck.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessIsCheck.kt.after index 14c92b7299ad..6c834898690c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessIsCheck.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessIsCheck.kt.after @@ -3,4 +3,6 @@ fun foo(a: String) { if (true) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessIsCheckFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessIsCheckFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessIsCheckForNull.kt b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessIsCheckForNull.kt index d02db7f68050..4fa5061b9082 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessIsCheckForNull.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessIsCheckForNull.kt @@ -4,4 +4,5 @@ fun foo() { } } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessIsCheckFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessIsCheckForNull.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessIsCheckForNull.kt.after index 4f271c18445d..04aaf9c65104 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessIsCheckForNull.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessIsCheckForNull.kt.after @@ -4,4 +4,5 @@ fun foo() { } } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessIsCheckFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessIsCheckInWhen.kt b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessIsCheckInWhen.kt index 3375691a856b..ac52e1b742a4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessIsCheckInWhen.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessIsCheckInWhen.kt @@ -8,4 +8,6 @@ fun foo(bar: Base):Int { is Base -> 42 else -> 1 } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessIsCheckFixForWhen +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessIsCheckFixForWhen \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessIsCheckInWhen.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessIsCheckInWhen.kt.after index 7537084e9c98..46f739d479f5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessIsCheckInWhen.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessIsCheckInWhen.kt.after @@ -7,4 +7,6 @@ fun foo(bar: Base):Int { is Derived -> 0 else -> 42 } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessIsCheckFixForWhen +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessIsCheckFixForWhen \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessIsCheckInWhenExpressionless.kt b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessIsCheckInWhenExpressionless.kt index 00309c6c3591..ec0c7aed0cba 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessIsCheckInWhenExpressionless.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessIsCheckInWhenExpressionless.kt @@ -9,4 +9,6 @@ fun foo(bar: Base):Int { bar is Base -> 42 else -> 1 } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessIsCheckFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessIsCheckFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessIsCheckInWhenExpressionless.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessIsCheckInWhenExpressionless.kt.after index c8673c835e72..d0a26be6dba9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessIsCheckInWhenExpressionless.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessIsCheckInWhenExpressionless.kt.after @@ -9,4 +9,6 @@ fun foo(bar: Base):Int { true -> 42 else -> 1 } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessIsCheckFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessIsCheckFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessIsCheckInWhenExpressionlessForNull.kt b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessIsCheckInWhenExpressionlessForNull.kt index 2cf61bfff492..67e3476f879c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessIsCheckInWhenExpressionlessForNull.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessIsCheckInWhenExpressionlessForNull.kt @@ -6,4 +6,5 @@ fun foo() { } } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessIsCheckFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessIsCheckInWhenExpressionlessForNull.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessIsCheckInWhenExpressionlessForNull.kt.after index 39a526662e71..032fcdf2b9bc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessIsCheckInWhenExpressionlessForNull.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessIsCheckInWhenExpressionlessForNull.kt.after @@ -6,4 +6,5 @@ fun foo() { } } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessIsCheckFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessIsCheckInWhenExpressionlessNegate.kt b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessIsCheckInWhenExpressionlessNegate.kt index e62165714d3b..1157f003996c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessIsCheckInWhenExpressionlessNegate.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessIsCheckInWhenExpressionlessNegate.kt @@ -9,4 +9,6 @@ fun foo(bar: Base):Int { bar !is Base -> 42 else -> 1 } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessIsCheckFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessIsCheckFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessIsCheckInWhenExpressionlessNegate.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessIsCheckInWhenExpressionlessNegate.kt.after index f014460df3a2..0816636eb151 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessIsCheckInWhenExpressionlessNegate.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessIsCheckInWhenExpressionlessNegate.kt.after @@ -9,4 +9,6 @@ fun foo(bar: Base):Int { false -> 42 else -> 1 } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessIsCheckFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessIsCheckFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessIsCheckInWhenExpressionlessNegateForNull.kt b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessIsCheckInWhenExpressionlessNegateForNull.kt index 9179d2d657d2..6b2d2e7c8b6d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessIsCheckInWhenExpressionlessNegateForNull.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessIsCheckInWhenExpressionlessNegateForNull.kt @@ -6,4 +6,5 @@ fun foo() { } } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessIsCheckFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessIsCheckInWhenExpressionlessNegateForNull.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessIsCheckInWhenExpressionlessNegateForNull.kt.after index bd926dbd92cd..a539ba6a95b2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessIsCheckInWhenExpressionlessNegateForNull.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessIsCheckInWhenExpressionlessNegateForNull.kt.after @@ -6,4 +6,5 @@ fun foo() { } } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessIsCheckFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessIsCheckInWhenNegate.kt b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessIsCheckInWhenNegate.kt index 6a8f42699ecb..7c9d86e51677 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessIsCheckInWhenNegate.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessIsCheckInWhenNegate.kt @@ -8,4 +8,6 @@ fun foo(bar: Base):Int { !is Base -> 42 else -> 1 } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessIsCheckFixForWhen +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessIsCheckFixForWhen \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessIsCheckInWhenNegate.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessIsCheckInWhenNegate.kt.after index 0e5654ef6e62..36d05b542226 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessIsCheckInWhenNegate.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessIsCheckInWhenNegate.kt.after @@ -7,4 +7,6 @@ fun foo(bar: Base):Int { is Derived -> 0 else -> 1 } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessIsCheckFixForWhen +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessIsCheckFixForWhen \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessIsCheckNegate.kt b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessIsCheckNegate.kt index a885349d36f8..417f948b067a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessIsCheckNegate.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessIsCheckNegate.kt @@ -3,4 +3,6 @@ fun foo(a: String) { if (1 !is Int) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessIsCheckFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessIsCheckFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessIsCheckNegate.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessIsCheckNegate.kt.after index 05ffa5b237d4..086bbcb795ac 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessIsCheckNegate.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessIsCheckNegate.kt.after @@ -3,4 +3,6 @@ fun foo(a: String) { if (false) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessIsCheckFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessIsCheckFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessIsCheckNegateForNull.kt b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessIsCheckNegateForNull.kt index e05e4554776d..3872cb2ecaeb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessIsCheckNegateForNull.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessIsCheckNegateForNull.kt @@ -4,4 +4,5 @@ fun foo() { } } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessIsCheckFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessIsCheckNegateForNull.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessIsCheckNegateForNull.kt.after index 0e529849cf08..85f83e1f6ef6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessIsCheckNegateForNull.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/expressions/removeUselessIsCheckNegateForNull.kt.after @@ -4,4 +4,5 @@ fun foo() { } } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessIsCheckFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/expressions/unnecessaryNonNullAssertion1.kt b/plugins/kotlin/idea/tests/testData/quickfix/expressions/unnecessaryNonNullAssertion1.kt index 997fb077345d..1ca94dbf0bc7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/expressions/unnecessaryNonNullAssertion1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/expressions/unnecessaryNonNullAssertion1.kt @@ -2,3 +2,6 @@ fun test(value : Int) : Int { return value!! } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/expressions/unnecessaryNonNullAssertion1.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/expressions/unnecessaryNonNullAssertion1.kt.after index 3f6e5bd7ffe6..5dde381bf095 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/expressions/unnecessaryNonNullAssertion1.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/expressions/unnecessaryNonNullAssertion1.kt.after @@ -2,3 +2,6 @@ fun test(value : Int) : Int { return value } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/expressions/unnecessaryNonNullAssertion2.kt b/plugins/kotlin/idea/tests/testData/quickfix/expressions/unnecessaryNonNullAssertion2.kt index 93a8d4b69ccc..94bfa1fe43ee 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/expressions/unnecessaryNonNullAssertion2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/expressions/unnecessaryNonNullAssertion2.kt @@ -2,3 +2,6 @@ fun test(value : String) { value!!.equals("test") } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/expressions/unnecessaryNonNullAssertion2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/expressions/unnecessaryNonNullAssertion2.kt.after index 1f12846abb61..b58e3b8bd770 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/expressions/unnecessaryNonNullAssertion2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/expressions/unnecessaryNonNullAssertion2.kt.after @@ -2,3 +2,6 @@ fun test(value : String) { value.equals("test") } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/expressions/unnecessaryNonNullAssertion3.kt b/plugins/kotlin/idea/tests/testData/quickfix/expressions/unnecessaryNonNullAssertion3.kt index 2422453b1cbf..b5d278ce1ee3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/expressions/unnecessaryNonNullAssertion3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/expressions/unnecessaryNonNullAssertion3.kt @@ -2,3 +2,6 @@ fun test(value : String) : Int { return value!!.length } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/expressions/unnecessaryNonNullAssertion3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/expressions/unnecessaryNonNullAssertion3.kt.after index 9872deea316e..5804cf546af6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/expressions/unnecessaryNonNullAssertion3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/expressions/unnecessaryNonNullAssertion3.kt.after @@ -2,3 +2,6 @@ fun test(value : String) : Int { return value.length } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/expressions/unnecessaryNonNullAssertion4.kt b/plugins/kotlin/idea/tests/testData/quickfix/expressions/unnecessaryNonNullAssertion4.kt index ba3419bf8bb7..787c9f9698c7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/expressions/unnecessaryNonNullAssertion4.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/expressions/unnecessaryNonNullAssertion4.kt @@ -11,3 +11,6 @@ fun test(foo: Foo?) { !!.foo!!.length ) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/expressions/unnecessaryNonNullAssertion4.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/expressions/unnecessaryNonNullAssertion4.kt.after index 49d66165369a..8e30fd748ac2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/expressions/unnecessaryNonNullAssertion4.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/expressions/unnecessaryNonNullAssertion4.kt.after @@ -11,3 +11,6 @@ fun test(foo: Foo?) { !!.foo.length ) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/expressions/unnecessarySafeCall1.kt b/plugins/kotlin/idea/tests/testData/quickfix/expressions/unnecessarySafeCall1.kt index a80a65cd47d4..718808fa305a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/expressions/unnecessarySafeCall1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/expressions/unnecessarySafeCall1.kt @@ -1,4 +1,6 @@ // "Replace with dot call" "true" fun foo(a: Any) { a?.equals(0) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithDotCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithDotCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/expressions/unnecessarySafeCall1.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/expressions/unnecessarySafeCall1.kt.after index d10697262b6b..f340c98fe1e4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/expressions/unnecessarySafeCall1.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/expressions/unnecessarySafeCall1.kt.after @@ -1,4 +1,6 @@ // "Replace with dot call" "true" fun foo(a: Any) { a.equals(0) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithDotCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithDotCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/expressions/unnecessarySafeCall2.kt b/plugins/kotlin/idea/tests/testData/quickfix/expressions/unnecessarySafeCall2.kt index da8ed45ad8b1..4d87c280c4f2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/expressions/unnecessarySafeCall2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/expressions/unnecessarySafeCall2.kt @@ -1,4 +1,6 @@ // "Replace with dot call" "true" fun Any.foo() { this?.equals(0) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithDotCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithDotCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/expressions/unnecessarySafeCall2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/expressions/unnecessarySafeCall2.kt.after index 46ed3f146503..fe0ddb246fa4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/expressions/unnecessarySafeCall2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/expressions/unnecessarySafeCall2.kt.after @@ -1,4 +1,6 @@ // "Replace with dot call" "true" fun Any.foo() { this.equals(0) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithDotCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithDotCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/expressions/unsafeCall1.kt b/plugins/kotlin/idea/tests/testData/quickfix/expressions/unsafeCall1.kt index 39005f2dffd0..9f228aed1540 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/expressions/unsafeCall1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/expressions/unsafeCall1.kt @@ -1,4 +1,6 @@ // "Replace with safe (?.) call" "true" fun foo(a: Int?) { a.plus(1) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/expressions/unsafeCall1.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/expressions/unsafeCall1.kt.after index 29fdce55a65e..1a079ed4bb1f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/expressions/unsafeCall1.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/expressions/unsafeCall1.kt.after @@ -1,4 +1,6 @@ // "Replace with safe (?.) call" "true" fun foo(a: Int?) { a?.plus(1) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/expressions/unsafeCall2.kt b/plugins/kotlin/idea/tests/testData/quickfix/expressions/unsafeCall2.kt index 25866b37c4bb..64aa58ae1c7c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/expressions/unsafeCall2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/expressions/unsafeCall2.kt @@ -2,3 +2,6 @@ fun foo(a: Int?) { a.plus(1) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/expressions/unsafeCall2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/expressions/unsafeCall2.kt.after index 656198dc506f..02ee73c7f3df 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/expressions/unsafeCall2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/expressions/unsafeCall2.kt.after @@ -2,3 +2,6 @@ fun foo(a: Int?) { a!!.plus(1) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/expressions/unsafeCall3.kt b/plugins/kotlin/idea/tests/testData/quickfix/expressions/unsafeCall3.kt index 946185f33ea9..48b8c253b8f2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/expressions/unsafeCall3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/expressions/unsafeCall3.kt @@ -2,3 +2,6 @@ fun foo(a: Int?) { a.plus(1) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/expressions/unsafeCall3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/expressions/unsafeCall3.kt.after index 656198dc506f..02ee73c7f3df 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/expressions/unsafeCall3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/expressions/unsafeCall3.kt.after @@ -2,3 +2,6 @@ fun foo(a: Int?) { a!!.plus(1) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/expressions/unsafeCall4.kt b/plugins/kotlin/idea/tests/testData/quickfix/expressions/unsafeCall4.kt index 9118f2749b5e..830efcf189b7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/expressions/unsafeCall4.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/expressions/unsafeCall4.kt @@ -2,3 +2,6 @@ operator fun Int.get(row: Int, column: Int) = this fun foo(arg: Int?) = arg[42, 13] + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/expressions/unsafeCall4.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/expressions/unsafeCall4.kt.after index 3d9d87c4d01f..e6b6d0e69d5e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/expressions/unsafeCall4.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/expressions/unsafeCall4.kt.after @@ -2,3 +2,6 @@ operator fun Int.get(row: Int, column: Int) = this fun foo(arg: Int?) = arg!![42, 13] + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/expressions/uselessCastStaticAssertIsFine.kt b/plugins/kotlin/idea/tests/testData/quickfix/expressions/uselessCastStaticAssertIsFine.kt index 58a353220cfb..2e3b3915fc25 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/expressions/uselessCastStaticAssertIsFine.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/expressions/uselessCastStaticAssertIsFine.kt @@ -1,4 +1,6 @@ // "Remove useless cast" "true" fun foo(a: Any) { val b = a as Any -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessCastFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessCastFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/expressions/uselessCastStaticAssertIsFine.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/expressions/uselessCastStaticAssertIsFine.kt.after index 799d00fb4de2..d5d699d8a26a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/expressions/uselessCastStaticAssertIsFine.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/expressions/uselessCastStaticAssertIsFine.kt.after @@ -1,4 +1,6 @@ // "Remove useless cast" "true" fun foo(a: Any) { val b = a -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessCastFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessCastFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/expressions/uselessElvis.kt b/plugins/kotlin/idea/tests/testData/quickfix/expressions/uselessElvis.kt index 97eb6b5bb362..23f8c1af7262 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/expressions/uselessElvis.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/expressions/uselessElvis.kt @@ -2,3 +2,6 @@ fun foo(a: String) { val b : String = a ?: "s" } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessElvisFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessElvisFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/expressions/uselessElvis.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/expressions/uselessElvis.kt.after index 8ed7ed0f216c..c1ed3f7af7f8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/expressions/uselessElvis.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/expressions/uselessElvis.kt.after @@ -2,3 +2,6 @@ fun foo(a: String) { val b : String = a } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessElvisFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessElvisFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/expressions/uselessElvisForLambdaInNecessaryNestedParens.kt b/plugins/kotlin/idea/tests/testData/quickfix/expressions/uselessElvisForLambdaInNecessaryNestedParens.kt index 6c4e87b622c1..7e7b72c32d6f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/expressions/uselessElvisForLambdaInNecessaryNestedParens.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/expressions/uselessElvisForLambdaInNecessaryNestedParens.kt @@ -6,3 +6,6 @@ fun test() { // comment ((({ "" } ?: null))) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessElvisFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessElvisFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/expressions/uselessElvisForLambdaInNecessaryNestedParens.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/expressions/uselessElvisForLambdaInNecessaryNestedParens.kt.after index d0280367b5e5..1a4769c71773 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/expressions/uselessElvisForLambdaInNecessaryNestedParens.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/expressions/uselessElvisForLambdaInNecessaryNestedParens.kt.after @@ -6,3 +6,6 @@ fun test() { // comment ({ "" }) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessElvisFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessElvisFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/expressions/uselessElvisForLambdaInNestedParens.kt b/plugins/kotlin/idea/tests/testData/quickfix/expressions/uselessElvisForLambdaInNestedParens.kt index 872098c2efa1..25b5e0209acd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/expressions/uselessElvisForLambdaInNestedParens.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/expressions/uselessElvisForLambdaInNestedParens.kt @@ -3,3 +3,6 @@ fun test() { ((({ "" } ?: null))) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessElvisFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessElvisFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/expressions/uselessElvisForLambdaInNestedParens.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/expressions/uselessElvisForLambdaInNestedParens.kt.after index ae2dd8687de6..b1bba2ce01db 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/expressions/uselessElvisForLambdaInNestedParens.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/expressions/uselessElvisForLambdaInNestedParens.kt.after @@ -3,3 +3,6 @@ fun test() { { "" } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessElvisFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessElvisFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/expressions/uselessElvisInNestedParens.kt b/plugins/kotlin/idea/tests/testData/quickfix/expressions/uselessElvisInNestedParens.kt index c114f77568ed..1f1ea0a7f95b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/expressions/uselessElvisInNestedParens.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/expressions/uselessElvisInNestedParens.kt @@ -2,3 +2,6 @@ fun foo(a: String) { val b : String = (((a ?: "s"))) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessElvisFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessElvisFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/expressions/uselessElvisInNestedParens.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/expressions/uselessElvisInNestedParens.kt.after index 8ed7ed0f216c..c1ed3f7af7f8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/expressions/uselessElvisInNestedParens.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/expressions/uselessElvisInNestedParens.kt.after @@ -2,3 +2,6 @@ fun foo(a: String) { val b : String = a } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessElvisFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessElvisFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/expressions/uselessElvisRightIsNull.kt b/plugins/kotlin/idea/tests/testData/quickfix/expressions/uselessElvisRightIsNull.kt index 4ba72950c54e..240579666238 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/expressions/uselessElvisRightIsNull.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/expressions/uselessElvisRightIsNull.kt @@ -2,3 +2,6 @@ fun foo(a: String?) { val b = a ?: null } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessElvisFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessElvisFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/expressions/uselessElvisRightIsNull.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/expressions/uselessElvisRightIsNull.kt.after index c81aaf220489..3a9d90c1f721 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/expressions/uselessElvisRightIsNull.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/expressions/uselessElvisRightIsNull.kt.after @@ -2,3 +2,6 @@ fun foo(a: String?) { val b = a } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessElvisFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUselessElvisFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/final/mustBeInitializedOrBeFinal.kt b/plugins/kotlin/idea/tests/testData/quickfix/final/mustBeInitializedOrBeFinal.kt index 4416023ad958..6e491fcd8f07 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/final/mustBeInitializedOrBeFinal.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/final/mustBeInitializedOrBeFinal.kt @@ -8,3 +8,5 @@ open class Foo { foo = 2 } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/final/mustBeInitializedOrBeFinal.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/final/mustBeInitializedOrBeFinal.kt.after index 3091419ad477..1e91e38745a1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/final/mustBeInitializedOrBeFinal.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/final/mustBeInitializedOrBeFinal.kt.after @@ -8,3 +8,5 @@ open class Foo { foo = 2 } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/final/mustBeInitializedOrBeFinalOverride.kt b/plugins/kotlin/idea/tests/testData/quickfix/final/mustBeInitializedOrBeFinalOverride.kt index 7748dd66a5a1..468b2bc5a39a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/final/mustBeInitializedOrBeFinalOverride.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/final/mustBeInitializedOrBeFinalOverride.kt @@ -12,3 +12,5 @@ open class Foo : Base() { foo = 2 } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/final/mustBeInitializedOrBeFinalOverride.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/final/mustBeInitializedOrBeFinalOverride.kt.after index f3a5b4d7856f..4af3341ec4ae 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/final/mustBeInitializedOrBeFinalOverride.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/final/mustBeInitializedOrBeFinalOverride.kt.after @@ -12,3 +12,5 @@ open class Foo : Base() { foo = 2 } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/final/mustBeInitializedOrBeFinalWarning.kt b/plugins/kotlin/idea/tests/testData/quickfix/final/mustBeInitializedOrBeFinalWarning.kt index d33eb711a060..8e1b3341d2f7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/final/mustBeInitializedOrBeFinalWarning.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/final/mustBeInitializedOrBeFinalWarning.kt @@ -8,3 +8,5 @@ open class Foo { foo = 2 } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/final/mustBeInitializedOrBeFinalWarning.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/final/mustBeInitializedOrBeFinalWarning.kt.after index ee8b151b38bf..e55e7d087933 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/final/mustBeInitializedOrBeFinalWarning.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/final/mustBeInitializedOrBeFinalWarning.kt.after @@ -8,3 +8,5 @@ open class Foo { foo = 2 } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/final/mustBeInitializedOrFinalOrAbstract.kt b/plugins/kotlin/idea/tests/testData/quickfix/final/mustBeInitializedOrFinalOrAbstract.kt index a6768fa36ef4..6f207d1dd55a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/final/mustBeInitializedOrFinalOrAbstract.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/final/mustBeInitializedOrFinalOrAbstract.kt @@ -9,3 +9,5 @@ open class Foo { x = "" } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/final/mustBeInitializedOrFinalOrAbstract.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/final/mustBeInitializedOrFinalOrAbstract.kt.after index eaa9afed5626..0ed4c8160292 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/final/mustBeInitializedOrFinalOrAbstract.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/final/mustBeInitializedOrFinalOrAbstract.kt.after @@ -9,3 +9,5 @@ open class Foo { x = "" } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/final/mustBeInitializedOrFinalOrAbstractWarning.kt b/plugins/kotlin/idea/tests/testData/quickfix/final/mustBeInitializedOrFinalOrAbstractWarning.kt index a6768fa36ef4..6f207d1dd55a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/final/mustBeInitializedOrFinalOrAbstractWarning.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/final/mustBeInitializedOrFinalOrAbstractWarning.kt @@ -9,3 +9,5 @@ open class Foo { x = "" } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/final/mustBeInitializedOrFinalOrAbstractWarning.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/final/mustBeInitializedOrFinalOrAbstractWarning.kt.after index eaa9afed5626..0ed4c8160292 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/final/mustBeInitializedOrFinalOrAbstractWarning.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/final/mustBeInitializedOrFinalOrAbstractWarning.kt.after @@ -9,3 +9,5 @@ open class Foo { x = "" } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/foldTryCatch/emptyFinally.kt b/plugins/kotlin/idea/tests/testData/quickfix/foldTryCatch/emptyFinally.kt index 87a57dffc586..fe7b6418f4d3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/foldTryCatch/emptyFinally.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/foldTryCatch/emptyFinally.kt @@ -8,4 +8,5 @@ fun foo() { } catch (e: Exception) { x = 2 } finally {} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.LiftAssignmentOutOfTryFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/foldTryCatch/emptyFinally.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/foldTryCatch/emptyFinally.kt.after index cfdbf50f9835..eb83d320804a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/foldTryCatch/emptyFinally.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/foldTryCatch/emptyFinally.kt.after @@ -8,4 +8,5 @@ fun foo() { } catch (e: Exception) { 2 } finally {} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.LiftAssignmentOutOfTryFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/foldTryCatch/multipleExceptions.kt b/plugins/kotlin/idea/tests/testData/quickfix/foldTryCatch/multipleExceptions.kt index ba93d00ccf40..bc296dbb88b6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/foldTryCatch/multipleExceptions.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/foldTryCatch/multipleExceptions.kt @@ -12,4 +12,5 @@ fun foo() { } catch (e: Throwable) { x = 4 } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.LiftAssignmentOutOfTryFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/foldTryCatch/multipleExceptions.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/foldTryCatch/multipleExceptions.kt.after index c4cf1efddd42..de1c3c753049 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/foldTryCatch/multipleExceptions.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/foldTryCatch/multipleExceptions.kt.after @@ -12,4 +12,5 @@ fun foo() { } catch (e: Throwable) { 4 } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.LiftAssignmentOutOfTryFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/foldTryCatch/simple.kt b/plugins/kotlin/idea/tests/testData/quickfix/foldTryCatch/simple.kt index 58431e779a17..99202936bf9a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/foldTryCatch/simple.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/foldTryCatch/simple.kt @@ -8,4 +8,5 @@ fun foo() { } catch (e: Exception) { x = 2 } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.LiftAssignmentOutOfTryFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/foldTryCatch/simple.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/foldTryCatch/simple.kt.after index 9396e4f47387..5dd7e78cd415 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/foldTryCatch/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/foldTryCatch/simple.kt.after @@ -8,4 +8,5 @@ fun foo() { } catch (e: Exception) { 2 } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.LiftAssignmentOutOfTryFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/abstract.kt b/plugins/kotlin/idea/tests/testData/quickfix/implement/abstract.kt index 7c80a4ff3cba..a749da42264b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/abstract.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/abstract.kt @@ -6,4 +6,5 @@ private abstract class Base { abstract var x: Int abstract fun toInt(arg: String): Int -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/abstract.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/implement/abstract.kt.after index d304be158987..483b49c9f4fc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/abstract.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/abstract.kt.after @@ -16,4 +16,5 @@ private class BaseImpl : Base() { override fun toInt(arg: String): Int { TODO("Not yet implemented") } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/dataClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/implement/dataClass.kt index 88089ef6826c..90b7198dccc8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/dataClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/dataClass.kt @@ -4,4 +4,5 @@ interface I { fun foo() } -data class C(val i: Int) : I \ No newline at end of file +data class C(val i: Int) : I +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.core.overrideImplement.ImplementMembersHandler \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/dataClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/implement/dataClass.kt.after index 715df78bcc5f..0b19bcd128d6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/dataClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/dataClass.kt.after @@ -8,4 +8,5 @@ data class C(val i: Int) : I { override fun foo() { TODO("Not yet implemented") } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.core.overrideImplement.ImplementMembersHandler \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/dataClass2.kt b/plugins/kotlin/idea/tests/testData/quickfix/implement/dataClass2.kt index 12236021eb75..6b04f529be7c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/dataClass2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/dataClass2.kt @@ -4,4 +4,5 @@ interface I { fun foo() } -data class C(val i: Int) : I {} \ No newline at end of file +data class C(val i: Int) : I {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.core.overrideImplement.ImplementMembersHandler \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/dataClass2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/implement/dataClass2.kt.after index 715df78bcc5f..0b19bcd128d6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/dataClass2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/dataClass2.kt.after @@ -8,4 +8,5 @@ data class C(val i: Int) : I { override fun foo() { TODO("Not yet implemented") } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.core.overrideImplement.ImplementMembersHandler \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/dataClass3.kt b/plugins/kotlin/idea/tests/testData/quickfix/implement/dataClass3.kt index cff9de36ed09..2b6c0838a8ff 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/dataClass3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/dataClass3.kt @@ -6,4 +6,5 @@ interface I { data class C(val i: Int) : I { fun bar() {} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.core.overrideImplement.ImplementMembersHandler \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/dataClass3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/implement/dataClass3.kt.after index 4c658096e06f..e0aec5e34fd4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/dataClass3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/dataClass3.kt.after @@ -9,4 +9,5 @@ data class C(val i: Int) : I { override fun foo() { TODO("Not yet implemented") } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.core.overrideImplement.ImplementMembersHandler \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/doNotAddExpectForVal.kt b/plugins/kotlin/idea/tests/testData/quickfix/implement/doNotAddExpectForVal.kt index bbb6286818e0..42549e88002f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/doNotAddExpectForVal.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/doNotAddExpectForVal.kt @@ -12,3 +12,5 @@ expect interface InterfaceWithVals { class ChildOfInterface : InterfaceWithVals{ } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.core.overrideImplement.ImplementMembersHandler \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/doNotAddExpectForVal.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/implement/doNotAddExpectForVal.kt.after index e265923556a9..5a62413f7ed1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/doNotAddExpectForVal.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/doNotAddExpectForVal.kt.after @@ -18,3 +18,5 @@ class ChildOfInterface : InterfaceWithVals{ override val importantVal: Int get() = TODO("Not yet implemented") } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.core.overrideImplement.ImplementMembersHandler \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/doNotAddHeader.kt b/plugins/kotlin/idea/tests/testData/quickfix/implement/doNotAddHeader.kt index 46d35f003cfc..5b10607df4c8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/doNotAddHeader.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/doNotAddHeader.kt @@ -10,3 +10,5 @@ expect interface InterfaceWithFuns { class ChildOfInterface : InterfaceWithFuns{ } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.core.overrideImplement.ImplementMembersHandler \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/doNotAddHeader.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/implement/doNotAddHeader.kt.after index 6624412d6319..eba003567fd3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/doNotAddHeader.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/doNotAddHeader.kt.after @@ -13,3 +13,5 @@ class ChildOfInterface : InterfaceWithFuns{ TODO("Not yet implemented") } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.core.overrideImplement.ImplementMembersHandler \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/hasImplementedInPrimaryConstructor.kt b/plugins/kotlin/idea/tests/testData/quickfix/implement/hasImplementedInPrimaryConstructor.kt index 57c39c081d11..42c05f2a3507 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/hasImplementedInPrimaryConstructor.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/hasImplementedInPrimaryConstructor.kt @@ -7,4 +7,5 @@ abstract class B { class MyImpl( override val p: String? = null -) : B() \ No newline at end of file +) : B() +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.core.overrideImplement.ImplementMembersHandler \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/hasImplementedInPrimaryConstructor.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/implement/hasImplementedInPrimaryConstructor.kt.after index 777f91e8f6ec..35b8c36e339b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/hasImplementedInPrimaryConstructor.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/hasImplementedInPrimaryConstructor.kt.after @@ -11,4 +11,5 @@ class MyImpl( override fun test() { TODO("Not yet implemented") } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.core.overrideImplement.ImplementMembersHandler \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/hasImplementedInPrimaryConstructor2.kt b/plugins/kotlin/idea/tests/testData/quickfix/implement/hasImplementedInPrimaryConstructor2.kt index 9db9ca881438..0b93d2adc0f8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/hasImplementedInPrimaryConstructor2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/hasImplementedInPrimaryConstructor2.kt @@ -8,4 +8,5 @@ abstract class B { class MyImpl2( override val p: String? = null ) : B() { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.core.overrideImplement.ImplementMembersHandler \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/hasImplementedInPrimaryConstructor2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/implement/hasImplementedInPrimaryConstructor2.kt.after index 027d9312b87c..496e15a8d602 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/hasImplementedInPrimaryConstructor2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/hasImplementedInPrimaryConstructor2.kt.after @@ -11,4 +11,5 @@ class MyImpl2( override fun test() { TODO("Not yet implemented") } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.core.overrideImplement.ImplementMembersHandler \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/hasImplementedInPrimaryConstructor3.kt b/plugins/kotlin/idea/tests/testData/quickfix/implement/hasImplementedInPrimaryConstructor3.kt index a43423ba83d3..df167bb62528 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/hasImplementedInPrimaryConstructor3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/hasImplementedInPrimaryConstructor3.kt @@ -10,4 +10,5 @@ abstract class C { override val p: String? = null ) : C() { override val q: Int = 0 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.core.overrideImplement.ImplementMembersHandler \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/hasImplementedInPrimaryConstructor3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/implement/hasImplementedInPrimaryConstructor3.kt.after index 91422263db16..ab5799218698 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/hasImplementedInPrimaryConstructor3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/hasImplementedInPrimaryConstructor3.kt.after @@ -13,4 +13,5 @@ class MyImpl3( override fun test() { TODO("Not yet implemented") } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.core.overrideImplement.ImplementMembersHandler \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/inCompanion.kt b/plugins/kotlin/idea/tests/testData/quickfix/implement/inCompanion.kt index 52425c87c4b3..f73e3f885e3e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/inCompanion.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/inCompanion.kt @@ -6,3 +6,5 @@ class Container { open class Base } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/inCompanion.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/implement/inCompanion.kt.after index 504a3de6cca8..3b61bc5ed2ff 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/inCompanion.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/inCompanion.kt.after @@ -8,3 +8,5 @@ class Container { } class BaseImpl : Container.Companion.Base() + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/inInternalCompanion.kt b/plugins/kotlin/idea/tests/testData/quickfix/implement/inInternalCompanion.kt index 5b614fe40293..271b3442e844 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/inInternalCompanion.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/inInternalCompanion.kt @@ -6,3 +6,5 @@ class Container { open class Base } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/inInternalCompanion.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/implement/inInternalCompanion.kt.after index b5126f5df0cd..c02bac6b7c38 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/inInternalCompanion.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/inInternalCompanion.kt.after @@ -8,3 +8,5 @@ class Container { } internal class BaseImpl : Container.Companion.Base() + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/inPrivateCompanion.kt b/plugins/kotlin/idea/tests/testData/quickfix/implement/inPrivateCompanion.kt index 02c01f5ed05c..2957698c1d00 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/inPrivateCompanion.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/inPrivateCompanion.kt @@ -6,3 +6,5 @@ class Container { open class Base } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/inPrivateCompanion.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/implement/inPrivateCompanion.kt.after index 033b56acf4c8..c7ec9790ccfe 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/inPrivateCompanion.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/inPrivateCompanion.kt.after @@ -8,3 +8,5 @@ class Container { private class BaseImpl : Companion.Base() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/inProtectedCompanion.kt b/plugins/kotlin/idea/tests/testData/quickfix/implement/inProtectedCompanion.kt index 6a261a34b9b7..373c4e1c9cf7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/inProtectedCompanion.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/inProtectedCompanion.kt @@ -6,3 +6,5 @@ class Container { open class Base } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/inProtectedCompanion.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/implement/inProtectedCompanion.kt.after index db4ecaab9438..f9b12d7759a8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/inProtectedCompanion.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/inProtectedCompanion.kt.after @@ -8,3 +8,5 @@ class Container { protected class BaseImpl : Companion.Base() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/inner.kt b/plugins/kotlin/idea/tests/testData/quickfix/implement/inner.kt index b64423d829c5..84132a4b8de0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/inner.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/inner.kt @@ -7,3 +7,5 @@ class Container { abstract fun foo(): String } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/inner.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/implement/inner.kt.after index 0d2aa433166e..7349cf1bc917 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/inner.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/inner.kt.after @@ -13,3 +13,5 @@ class Container { } } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/interface.kt b/plugins/kotlin/idea/tests/testData/quickfix/implement/interface.kt index 0ba89f4937ed..70e5151ded88 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/interface.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/interface.kt @@ -7,3 +7,5 @@ interface Base { fun bar(y: String) = y } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/interface.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/implement/interface.kt.after index 66c2d49956e8..70f8d6a4f464 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/interface.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/interface.kt.after @@ -13,3 +13,5 @@ class BaseImpl : Base { TODO("Not yet implemented") } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/menyImplMemberNotImplemented.kt b/plugins/kotlin/idea/tests/testData/quickfix/implement/menyImplMemberNotImplemented.kt index 171c0a8e2cb3..102a7edfadc5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/menyImplMemberNotImplemented.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/menyImplMemberNotImplemented.kt @@ -11,4 +11,5 @@ open class B { open fun bar() {} } -class C : A, B() \ No newline at end of file +class C : A, B() +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.core.overrideImplement.ImplementMembersHandler \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/menyImplMemberNotImplemented.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/implement/menyImplMemberNotImplemented.kt.after index c3bdb39fdcea..ed68ad66dbab 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/menyImplMemberNotImplemented.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/menyImplMemberNotImplemented.kt.after @@ -27,4 +27,5 @@ class C : A, B() { override fun bar() { TODO("Not yet implemented") } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.core.overrideImplement.ImplementMembersHandler \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/nested.kt b/plugins/kotlin/idea/tests/testData/quickfix/implement/nested.kt index 4b38f1a4667d..0b1a374aff00 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/nested.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/nested.kt @@ -15,3 +15,5 @@ class Container { } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/nested.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/implement/nested.kt.after index b0067e04a788..8fe2d07fafcf 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/nested.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/nested.kt.after @@ -24,3 +24,5 @@ class BaseImpl : Container.Base { } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/nestedPrivateInterface.kt b/plugins/kotlin/idea/tests/testData/quickfix/implement/nestedPrivateInterface.kt index 8658840ccf81..1f71edfdf713 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/nestedPrivateInterface.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/nestedPrivateInterface.kt @@ -6,4 +6,5 @@ class Container { private interface Base { var z: Double } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/nestedPrivateInterface.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/implement/nestedPrivateInterface.kt.after index 44e845e5494a..7813a91449ad 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/nestedPrivateInterface.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/nestedPrivateInterface.kt.after @@ -12,4 +12,5 @@ class Container { get() = TODO("Not yet implemented") set(value) {} } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/private.kt b/plugins/kotlin/idea/tests/testData/quickfix/implement/private.kt index 321f9c8c74a2..255d50cb971d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/private.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/private.kt @@ -1,4 +1,5 @@ // "Create subclass" "true" // SHOULD_BE_AVAILABLE_AFTER_EXECUTION -private open class Base \ No newline at end of file +private open class Base +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/private.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/implement/private.kt.after index 49247c4434ac..39b2ba83bc74 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/private.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/private.kt.after @@ -2,4 +2,5 @@ // SHOULD_BE_AVAILABLE_AFTER_EXECUTION private open class Base -private class BaseImpl : Base() \ No newline at end of file +private class BaseImpl : Base() +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/privateNested.kt b/plugins/kotlin/idea/tests/testData/quickfix/implement/privateNested.kt index 0e81b813fbdf..f9175759e39d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/privateNested.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/privateNested.kt @@ -8,3 +8,5 @@ class Container { open fun foo(): String = "" } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/privateNested.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/implement/privateNested.kt.after index a225ecda7025..91e57b690896 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/privateNested.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/privateNested.kt.after @@ -10,3 +10,5 @@ class Container { private class BaseImpl : Base() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/privateNestedWithConflict.kt b/plugins/kotlin/idea/tests/testData/quickfix/implement/privateNestedWithConflict.kt index b52a9acca7a1..8bb91aea3b47 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/privateNestedWithConflict.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/privateNestedWithConflict.kt @@ -10,3 +10,5 @@ class Container { private class BaseImpl : Base() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/privateNestedWithConflict.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/implement/privateNestedWithConflict.kt.after index 6a28b3dd8943..07aef73988c0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/privateNestedWithConflict.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/privateNestedWithConflict.kt.after @@ -12,3 +12,5 @@ class Container { private class BaseImpl : Base() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/protected.kt b/plugins/kotlin/idea/tests/testData/quickfix/implement/protected.kt index cd57daca13e2..5d1bb305b44d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/protected.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/protected.kt @@ -3,4 +3,5 @@ class Container { protected abstract class Base -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/protected.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/implement/protected.kt.after index 7a66286b76f8..1b11152cde4f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/protected.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/protected.kt.after @@ -4,4 +4,5 @@ class Container { protected abstract class Base protected class BaseImpl : Base() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/sealed.kt b/plugins/kotlin/idea/tests/testData/quickfix/implement/sealed.kt index 4816c2805b90..8270915db5e3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/sealed.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/sealed.kt @@ -5,3 +5,5 @@ sealed class Base { abstract fun foo(): Int } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/sealed.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/implement/sealed.kt.after index d8e570ef3a25..58efae43e8f4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/sealed.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/sealed.kt.after @@ -11,3 +11,5 @@ class BaseImpl : Base() { TODO("Not yet implemented") } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedAfter15.kt b/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedAfter15.kt index fe15314b3f19..3022de6914b5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedAfter15.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedAfter15.kt @@ -5,4 +5,5 @@ sealed class Base { abstract fun foo(): Int -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedAfter15.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedAfter15.kt.after index 73f67e0ce059..0bf512b5655b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedAfter15.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedAfter15.kt.after @@ -11,4 +11,5 @@ class BaseImpl : Base() { override fun foo(): Int { TODO("Not yet implemented") } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedEmpty.kt b/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedEmpty.kt index 4a13b1c0f3dd..3d89ac6f0732 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedEmpty.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedEmpty.kt @@ -2,3 +2,5 @@ // SHOULD_BE_AVAILABLE_AFTER_EXECUTION sealed class Sealed + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedEmpty.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedEmpty.kt.after index 3cc5436491e0..e7624a81e83c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedEmpty.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedEmpty.kt.after @@ -3,3 +3,5 @@ sealed class Sealed class SealedImpl : Sealed() + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedEmptyAfter15.kt b/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedEmptyAfter15.kt index ac81425b4170..8f08dddaf1f8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedEmptyAfter15.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedEmptyAfter15.kt @@ -1,4 +1,5 @@ // "Implement sealed class" "true" // SHOULD_BE_AVAILABLE_AFTER_EXECUTION // COMPILER_ARGUMENTS: -XXLanguage:+SealedInterfaces -sealed class Sealed \ No newline at end of file +sealed class Sealed +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedEmptyAfter15.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedEmptyAfter15.kt.after index 5b417865afdb..12d0f13327e1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedEmptyAfter15.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedEmptyAfter15.kt.after @@ -2,4 +2,5 @@ // SHOULD_BE_AVAILABLE_AFTER_EXECUTION // COMPILER_ARGUMENTS: -XXLanguage:+SealedInterfaces sealed class Sealed -class SealedImpl : Sealed() \ No newline at end of file +class SealedImpl : Sealed() +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedWithConflict.kt b/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedWithConflict.kt index e98137e056b6..75b319b6cad8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedWithConflict.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedWithConflict.kt @@ -9,3 +9,5 @@ sealed class Base { override fun foo() = throw UnsupportedOperationException() } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedWithConflict.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedWithConflict.kt.after index 5811406b6260..c81ae292e243 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedWithConflict.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedWithConflict.kt.after @@ -15,3 +15,5 @@ class BaseImpl : Base() { TODO("Not yet implemented") } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedWithConflictAfter15.kt b/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedWithConflictAfter15.kt index c5a58e51700a..a64c96035bcd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedWithConflictAfter15.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedWithConflictAfter15.kt @@ -9,4 +9,5 @@ sealed class Base { class BaseImpl : Base() { override fun foo() = throw UnsupportedOperationException() } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedWithConflictAfter15.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedWithConflictAfter15.kt.after index e9add3befeb2..546e36ade5c7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedWithConflictAfter15.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedWithConflictAfter15.kt.after @@ -15,4 +15,5 @@ class BaseImpl : Base() { override fun foo(): Int { TODO("Not yet implemented") } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/typeParameter.kt b/plugins/kotlin/idea/tests/testData/quickfix/implement/typeParameter.kt index be28d93f12ed..0c5b819953fb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/typeParameter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/typeParameter.kt @@ -1,4 +1,5 @@ // "Implement interface" "true" // SHOULD_BE_AVAILABLE_AFTER_EXECUTION -interface Base \ No newline at end of file +interface Base +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/typeParameter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/implement/typeParameter.kt.after index 22491f0d61ea..364f1717b09e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/typeParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/typeParameter.kt.after @@ -2,4 +2,5 @@ // SHOULD_BE_AVAILABLE_AFTER_EXECUTION interface Base -class BaseImpl : Base \ No newline at end of file +class BaseImpl : Base +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/typeParameterOut.kt b/plugins/kotlin/idea/tests/testData/quickfix/implement/typeParameterOut.kt index 7813a8d52e27..45095bc0f9af 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/typeParameterOut.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/typeParameterOut.kt @@ -1,4 +1,5 @@ // "Implement interface" "true" // SHOULD_BE_AVAILABLE_AFTER_EXECUTION -interface Base \ No newline at end of file +interface Base +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/typeParameterOut.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/implement/typeParameterOut.kt.after index 23d45a626c43..c6c4014b7b73 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/typeParameterOut.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/typeParameterOut.kt.after @@ -2,4 +2,5 @@ // SHOULD_BE_AVAILABLE_AFTER_EXECUTION interface Base -class BaseImpl : Base \ No newline at end of file +class BaseImpl : Base +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/typeParameterWhere.kt b/plugins/kotlin/idea/tests/testData/quickfix/implement/typeParameterWhere.kt index ea9911af337f..f38299dc35aa 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/typeParameterWhere.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/typeParameterWhere.kt @@ -1,4 +1,5 @@ // "Implement interface" "true" // SHOULD_BE_AVAILABLE_AFTER_EXECUTION -interface Base where T : Any \ No newline at end of file +interface Base where T : Any +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/typeParameterWhere.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/implement/typeParameterWhere.kt.after index 52ce76024940..286b122c62e4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/typeParameterWhere.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/typeParameterWhere.kt.after @@ -2,4 +2,5 @@ // SHOULD_BE_AVAILABLE_AFTER_EXECUTION interface Base where T : Any -class BaseImpl : Base where T : Any \ No newline at end of file +class BaseImpl : Base where T : Any +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/typeParametersClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/implement/typeParametersClass.kt index b22800e83995..306c163ad5cb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/typeParametersClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/typeParametersClass.kt @@ -1,4 +1,5 @@ // "Create subclass" "true" // SHOULD_BE_AVAILABLE_AFTER_EXECUTION -open class Base> \ No newline at end of file +open class Base> +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/typeParametersClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/implement/typeParametersClass.kt.after index 0fdde9f2e714..b3b68f29f240 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/typeParametersClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/typeParametersClass.kt.after @@ -2,4 +2,5 @@ // SHOULD_BE_AVAILABLE_AFTER_EXECUTION open class Base> -class BaseImpl> : Base() \ No newline at end of file +class BaseImpl> : Base() +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/importAlias/simple.kt b/plugins/kotlin/idea/tests/testData/quickfix/importAlias/simple.kt index 971bd6c2979d..1228ed986d3a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/importAlias/simple.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/importAlias/simple.kt @@ -6,4 +6,5 @@ // ACTION: Replace with a 'for' loop fun foo() { listOf("a", "b", "c").forEach { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.IntroduceImportAliasIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/importAlias/simple.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/importAlias/simple.kt.after index 9864f3b31072..351e47932197 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/importAlias/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/importAlias/simple.kt.after @@ -8,4 +8,5 @@ import kotlin.collections.forEach as forEach1 // ACTION: Replace with a 'for' loop fun foo() { listOf("a", "b", "c").forEach1 { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.IntroduceImportAliasIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedParameterType.kt b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedParameterType.kt index dab0ac402c07..b2684db63f8e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedParameterType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedParameterType.kt @@ -11,4 +11,5 @@ class Outer { class Generic -internal fun foo(arg: Generic) {} \ No newline at end of file +internal fun foo(arg: Generic) {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToInternalFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedParameterType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedParameterType.kt.after index 168f6c1b405e..e8c78455c6f7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedParameterType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedParameterType.kt.after @@ -11,4 +11,5 @@ class Outer { class Generic -internal fun foo(arg: Generic) {} \ No newline at end of file +internal fun foo(arg: Generic) {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToInternalFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedParameterTypePublic.kt b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedParameterTypePublic.kt index 1cbeb5905087..f9ab9a0de974 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedParameterTypePublic.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedParameterTypePublic.kt @@ -11,4 +11,5 @@ class Outer { class Generic -internal fun foo(arg: Generic) {} \ No newline at end of file +internal fun foo(arg: Generic) {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToPublicFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedParameterTypePublic.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedParameterTypePublic.kt.after index 1b35b270d483..5972059b4a83 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedParameterTypePublic.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedParameterTypePublic.kt.after @@ -11,4 +11,5 @@ class Outer { class Generic -internal fun foo(arg: Generic) {} \ No newline at end of file +internal fun foo(arg: Generic) {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToPublicFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedPropertyType.kt b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedPropertyType.kt index 8b3956ae2f91..4636bbf42d9f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedPropertyType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedPropertyType.kt @@ -15,3 +15,5 @@ private data class Data(val x: Int) class First { val foo = Data(13) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToPublicFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedPropertyType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedPropertyType.kt.after index 989ddd355ceb..cb13e5c5fced 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedPropertyType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedPropertyType.kt.after @@ -15,3 +15,5 @@ data class Data(val x: Int) class First { val foo = Data(13) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToPublicFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedReceiverType.kt b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedReceiverType.kt index 69205c36c891..63e901c4261f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedReceiverType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedReceiverType.kt @@ -10,4 +10,5 @@ abstract class My { private class Private abstract protected fun Receiver.foo() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToProtectedFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedReceiverType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedReceiverType.kt.after index 8fbbb6800734..347f656cf876 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedReceiverType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedReceiverType.kt.after @@ -10,4 +10,5 @@ abstract class My { protected class Private abstract protected fun Receiver.foo() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToProtectedFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedReturnType.kt b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedReturnType.kt index 762340a8a0e6..a3329d9e35b0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedReturnType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedReturnType.kt @@ -12,3 +12,5 @@ private data class Data(val x: Int) class First { internal fun bar(x: Int) = Data(x) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToInternalFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedReturnType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedReturnType.kt.after index 3be5ef5b5e5e..80df3f7a9773 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedReturnType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedReturnType.kt.after @@ -12,3 +12,5 @@ internal data class Data(val x: Int) class First { internal fun bar(x: Int) = Data(x) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToInternalFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedSuperClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedSuperClass.kt index d79da14c6199..7fea6345da8c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedSuperClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedSuperClass.kt @@ -11,4 +11,5 @@ class Outer { private open class Data(val x: Int) protected class First : Data(42) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToProtectedFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedSuperClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedSuperClass.kt.after index 1a38ebfb0db7..1efd041c4faa 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedSuperClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedSuperClass.kt.after @@ -11,4 +11,5 @@ class Outer { protected open class Data(val x: Int) protected class First : Data(42) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToProtectedFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedSuperClassProtectedBase.kt b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedSuperClassProtectedBase.kt index 0024ff98b5b1..03e0c0c47236 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedSuperClassProtectedBase.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedSuperClassProtectedBase.kt @@ -9,4 +9,5 @@ private open class Data(val x: Int) class Outer { protected class First : Data(42) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToPublicFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedSuperClassProtectedBase.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedSuperClassProtectedBase.kt.after index 4cd755d2fa76..97060976147e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedSuperClassProtectedBase.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedSuperClassProtectedBase.kt.after @@ -9,4 +9,5 @@ open class Data(val x: Int) class Outer { protected class First : Data(42) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToPublicFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedSuperClassProtectedInAnother.kt b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedSuperClassProtectedInAnother.kt index 26282f8e7235..457504a61f86 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedSuperClassProtectedInAnother.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedSuperClassProtectedInAnother.kt @@ -11,4 +11,5 @@ class Other { class Another { protected class First : Other.Data(42) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToPublicFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedSuperClassProtectedInAnother.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedSuperClassProtectedInAnother.kt.after index 769b1708728c..54b21b60b514 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedSuperClassProtectedInAnother.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedSuperClassProtectedInAnother.kt.after @@ -11,4 +11,5 @@ class Other { class Another { protected class First : Other.Data(42) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToPublicFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedSuperClassProtectedInAnotherFromPrivate.kt b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedSuperClassProtectedInAnotherFromPrivate.kt index fe6c09c339b1..757787ab29f7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedSuperClassProtectedInAnotherFromPrivate.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedSuperClassProtectedInAnotherFromPrivate.kt @@ -6,4 +6,5 @@ class Other { class Another { protected class First : Other.Data(42) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToPublicFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedSuperClassProtectedInAnotherFromPrivate.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedSuperClassProtectedInAnotherFromPrivate.kt.after index 093e99a1c9d2..4a03756087a8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedSuperClassProtectedInAnotherFromPrivate.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedSuperClassProtectedInAnotherFromPrivate.kt.after @@ -6,4 +6,5 @@ class Other { class Another { protected class First : Other.Data(42) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToPublicFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedSuperInterface.kt b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedSuperInterface.kt index 714485c3427d..b11d4531e30d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedSuperInterface.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedSuperInterface.kt @@ -14,4 +14,5 @@ internal class Outer { class Container { interface Derived : Base -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToPublicFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedSuperInterface.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedSuperInterface.kt.after index 35900c877e48..bbfe77182bd0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedSuperInterface.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedSuperInterface.kt.after @@ -14,4 +14,5 @@ class Outer { class Container { interface Derived : Base -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToPublicFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedTypeParameterBound.kt b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedTypeParameterBound.kt index 45687ccd822c..f1f6045d57bb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedTypeParameterBound.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedTypeParameterBound.kt @@ -8,4 +8,5 @@ internal open class InternalString -class UserUser, R> \ No newline at end of file +class UserUser, R> +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToPublicFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedTypeParameterBound.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedTypeParameterBound.kt.after index 7c33bf4b3118..7cd9eebffb80 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedTypeParameterBound.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedTypeParameterBound.kt.after @@ -8,4 +8,5 @@ open class InternalString -class User, R> \ No newline at end of file +class User, R> +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToPublicFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedTypeParameterBoundNested.kt b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedTypeParameterBoundNested.kt index 1434eae7e723..3a3e7a740b94 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedTypeParameterBoundNested.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedTypeParameterBoundNested.kt @@ -8,3 +8,5 @@ private class PrivateInFileClassPrivateInFileClass.PrivateInnerClass> { private class PrivateInnerClass } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToPublicFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedTypeParameterBoundNested.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedTypeParameterBoundNested.kt.after index fdd7a084314e..1531c691f68f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedTypeParameterBoundNested.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/exposedTypeParameterBoundNested.kt.after @@ -8,3 +8,5 @@ private class PrivateInFileClassPrivateInFileClass.PrivateInnerClass> { class PrivateInnerClass } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToPublicFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/invisibleFake/methodToInternal.kt b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/invisibleFake/methodToInternal.kt index 556bc694e39a..33872204ec82 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/invisibleFake/methodToInternal.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/invisibleFake/methodToInternal.kt @@ -9,4 +9,5 @@ class B : A() { fun bar() { doSth() } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToInternalFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/invisibleFake/methodToInternal.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/invisibleFake/methodToInternal.kt.after index 4b25215962e3..5f0df7634822 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/invisibleFake/methodToInternal.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/invisibleFake/methodToInternal.kt.after @@ -9,4 +9,5 @@ class B : A() { fun bar() { doSth() } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToInternalFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/invisibleFake/methodToProtected.kt b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/invisibleFake/methodToProtected.kt index de8d09ad5c35..0c95def11193 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/invisibleFake/methodToProtected.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/invisibleFake/methodToProtected.kt @@ -9,4 +9,5 @@ class B : A() { fun bar() { doSth() } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToProtectedFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/invisibleFake/methodToProtected.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/invisibleFake/methodToProtected.kt.after index 272eb77d741a..3c7033246c3e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/invisibleFake/methodToProtected.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/invisibleFake/methodToProtected.kt.after @@ -9,4 +9,5 @@ class B : A() { fun bar() { doSth() } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToProtectedFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/invisibleFake/methodToProtected2.kt b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/invisibleFake/methodToProtected2.kt index c17df4995a37..41a7ca5371df 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/invisibleFake/methodToProtected2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/invisibleFake/methodToProtected2.kt @@ -11,4 +11,5 @@ class C : B() { fun bar() { doSth() } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToProtectedFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/invisibleFake/methodToProtected2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/invisibleFake/methodToProtected2.kt.after index 6b352f4847f3..1bc849bf9543 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/invisibleFake/methodToProtected2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/invisibleFake/methodToProtected2.kt.after @@ -11,4 +11,5 @@ class C : B() { fun bar() { doSth() } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToProtectedFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/invisibleFake/methodToPublic.kt b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/invisibleFake/methodToPublic.kt index 98aae4ae9017..da0b4bb40681 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/invisibleFake/methodToPublic.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/invisibleFake/methodToPublic.kt @@ -9,4 +9,5 @@ class B : A() { fun bar() { doSth() } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToPublicFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/invisibleFake/methodToPublic.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/invisibleFake/methodToPublic.kt.after index 7480fb90ed1a..432e7c1093a1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/invisibleFake/methodToPublic.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/invisibleFake/methodToPublic.kt.after @@ -9,4 +9,5 @@ class B : A() { fun bar() { doSth() } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToPublicFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/invisibleFake/propertyToInternal.kt b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/invisibleFake/propertyToInternal.kt index d2e7b11b6da6..9008330ca2bc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/invisibleFake/propertyToInternal.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/invisibleFake/propertyToInternal.kt @@ -8,4 +8,5 @@ class B : A() { fun bar() { foo } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToInternalFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/invisibleFake/propertyToInternal.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/invisibleFake/propertyToInternal.kt.after index 3f59cb46b469..5579d17e090f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/invisibleFake/propertyToInternal.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/invisibleFake/propertyToInternal.kt.after @@ -8,4 +8,5 @@ class B : A() { fun bar() { foo } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToInternalFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/invisibleFake/propertyToProtected.kt b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/invisibleFake/propertyToProtected.kt index 5af6b225961d..21351ff9e4e6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/invisibleFake/propertyToProtected.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/invisibleFake/propertyToProtected.kt @@ -8,4 +8,5 @@ class B : A() { fun bar() { foo } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToProtectedFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/invisibleFake/propertyToProtected.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/invisibleFake/propertyToProtected.kt.after index 60812698abaa..9b1b18a13458 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/invisibleFake/propertyToProtected.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/invisibleFake/propertyToProtected.kt.after @@ -8,4 +8,5 @@ class B : A() { fun bar() { foo } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToProtectedFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/invisibleFake/propertyToProtected2.kt b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/invisibleFake/propertyToProtected2.kt index 1e1248448dd6..c6b57a3fbc4d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/invisibleFake/propertyToProtected2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/invisibleFake/propertyToProtected2.kt @@ -10,4 +10,5 @@ class C : B() { fun bar() { foo } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToProtectedFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/invisibleFake/propertyToProtected2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/invisibleFake/propertyToProtected2.kt.after index 635fe75f9f69..4f61efbc0046 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/invisibleFake/propertyToProtected2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/invisibleFake/propertyToProtected2.kt.after @@ -10,4 +10,5 @@ class C : B() { fun bar() { foo } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToProtectedFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/invisibleFake/propertyToPublic.kt b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/invisibleFake/propertyToPublic.kt index d1604595ffb1..6967467d2488 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/invisibleFake/propertyToPublic.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/invisibleFake/propertyToPublic.kt @@ -8,4 +8,5 @@ class B : A() { fun bar() { foo } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToPublicFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/invisibleFake/propertyToPublic.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/invisibleFake/propertyToPublic.kt.after index bec6a4a5f6a1..d00a364a4b8e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/invisibleFake/propertyToPublic.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/invisibleFake/propertyToPublic.kt.after @@ -8,4 +8,5 @@ class B : A() { fun bar() { foo } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToPublicFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/overriddenProtectedMemberToPublicSingleFile.kt b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/overriddenProtectedMemberToPublicSingleFile.kt index ce421fe9e5d0..ae5949f535f0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/overriddenProtectedMemberToPublicSingleFile.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/overriddenProtectedMemberToPublicSingleFile.kt @@ -7,3 +7,5 @@ class First(override val x: Int) : Base(x) class Second(f: First) { val y = f.x } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToPublicFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/overriddenProtectedMemberToPublicSingleFile.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/overriddenProtectedMemberToPublicSingleFile.kt.after index 12fbae0bb85e..77ce0652a92b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/overriddenProtectedMemberToPublicSingleFile.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/overriddenProtectedMemberToPublicSingleFile.kt.after @@ -7,3 +7,5 @@ class First(public override val x: Int) : Base(x) class Second(f: First) { val y = f.x } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToPublicFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/privateInFileExposesPrivateInFile.kt b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/privateInFileExposesPrivateInFile.kt index ab0c99d8d96e..9d5c8facc638 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/privateInFileExposesPrivateInFile.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/privateInFileExposesPrivateInFile.kt @@ -3,4 +3,5 @@ private interface I2 { private class Private fun pp() = Private() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToPublicFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/privateInFileExposesPrivateInFile.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/privateInFileExposesPrivateInFile.kt.after index 0e2cce58564b..72b3ee7c4703 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/privateInFileExposesPrivateInFile.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/privateInFileExposesPrivateInFile.kt.after @@ -3,4 +3,5 @@ private interface I2 { class Private fun pp() = Private() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToPublicFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/privateMemberToInternalSingleFile.kt b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/privateMemberToInternalSingleFile.kt index 7dea88ed838b..1c8b8c9e4bd1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/privateMemberToInternalSingleFile.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/privateMemberToInternalSingleFile.kt @@ -4,3 +4,5 @@ class First(private val x: Int) class Second(f: First) { val y = f.x } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToInternalFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/privateMemberToInternalSingleFile.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/privateMemberToInternalSingleFile.kt.after index f41b225fb143..ad32e495b81b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/privateMemberToInternalSingleFile.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/privateMemberToInternalSingleFile.kt.after @@ -4,3 +4,5 @@ class First(internal val x: Int) class Second(f: First) { val y = f.x } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToInternalFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/privateMemberToPublicSingleFile.kt b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/privateMemberToPublicSingleFile.kt index 679d84b8b84b..4aa2250690f6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/privateMemberToPublicSingleFile.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/privateMemberToPublicSingleFile.kt @@ -4,3 +4,5 @@ class First(private val x: Int) class Second(f: First) { val y = f.x } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToPublicFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/privateMemberToPublicSingleFile.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/privateMemberToPublicSingleFile.kt.after index abec34524aad..f77c16612a87 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/privateMemberToPublicSingleFile.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/privateMemberToPublicSingleFile.kt.after @@ -4,3 +4,5 @@ class First(val x: Int) class Second(f: First) { val y = f.x } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToPublicFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/privateSealedClassInheritance.kt b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/privateSealedClassInheritance.kt index 263fa9c2f660..48bcef9c1c4c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/privateSealedClassInheritance.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/privateSealedClassInheritance.kt @@ -6,4 +6,5 @@ private sealed class SealedClass -class Test : SealedClass() \ No newline at end of file +class Test : SealedClass() +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToPublicFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/privateSealedClassInheritance.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/privateSealedClassInheritance.kt.after index 89a643b05f62..af9a625329f8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/privateSealedClassInheritance.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/privateSealedClassInheritance.kt.after @@ -6,4 +6,5 @@ sealed class SealedClass -class Test : SealedClass() \ No newline at end of file +class Test : SealedClass() +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToPublicFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/privateSetterToInternal.kt b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/privateSetterToInternal.kt index 2288d7625f73..c6b0b1881f4c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/privateSetterToInternal.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/privateSetterToInternal.kt @@ -11,4 +11,5 @@ class Demo { fun main() { val c = Demo() c.attribute = "test" -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToInternalFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/privateSetterToInternal.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/privateSetterToInternal.kt.after index db12f58dd9c4..e322adb55c3f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/privateSetterToInternal.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/privateSetterToInternal.kt.after @@ -11,4 +11,5 @@ class Demo { fun main() { val c = Demo() c.attribute = "test" -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToInternalFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/privateSetterToPublic.kt b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/privateSetterToPublic.kt index c2e3c8a3556d..4caf04d12034 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/privateSetterToPublic.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/privateSetterToPublic.kt @@ -11,4 +11,5 @@ class Demo { fun main() { val c = Demo() c.attribute = "test" -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToPublicFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/privateSetterToPublic.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/privateSetterToPublic.kt.after index 5c0b575499c7..48941f33dacd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/privateSetterToPublic.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/privateSetterToPublic.kt.after @@ -10,4 +10,5 @@ class Demo { fun main() { val c = Demo() c.attribute = "test" -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToPublicFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/protectedMemberToPublicSingleFile.kt b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/protectedMemberToPublicSingleFile.kt index 7f4b471b05ec..91105dd6e6e1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/protectedMemberToPublicSingleFile.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/protectedMemberToPublicSingleFile.kt @@ -4,3 +4,5 @@ class First(protected val x: Int) class Second(f: First) { val y = f.x } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToPublicFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/protectedMemberToPublicSingleFile.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/protectedMemberToPublicSingleFile.kt.after index abec34524aad..f77c16612a87 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/protectedMemberToPublicSingleFile.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/protectedMemberToPublicSingleFile.kt.after @@ -4,3 +4,5 @@ class First(val x: Int) class Second(f: First) { val y = f.x } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToPublicFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/constructorWithThisDelegation.kt b/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/constructorWithThisDelegation.kt index 667b8456fd5b..5671a5358bcd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/constructorWithThisDelegation.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/constructorWithThisDelegation.kt @@ -5,4 +5,5 @@ open class RAccessor : RGrandAccessor { val f: Int constructor(p: Boolean) : super(1) constructor(p: String) : this(true) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.InitializePropertyQuickFixFactory$InitializeWithConstructorParameter \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/constructorWithThisDelegation.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/constructorWithThisDelegation.kt.after index fae794984c1e..c9baa24891c5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/constructorWithThisDelegation.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/constructorWithThisDelegation.kt.after @@ -8,4 +8,5 @@ open class RAccessor : RGrandAccessor { } constructor(p: String) : this(true, 0) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.InitializePropertyQuickFixFactory$InitializeWithConstructorParameter \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/genericParameterInScope.kt b/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/genericParameterInScope.kt index 4041cbbf52ce..7451e48291ed 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/genericParameterInScope.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/genericParameterInScope.kt @@ -8,4 +8,5 @@ abstract class Form(val name: String){ } abstract protected fun processData(data: T) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.InitializePropertyQuickFixFactory$InitializeWithConstructorParameter \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/genericParameterInScope.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/genericParameterInScope.kt.after index d18fcc505fbb..92ebb969e763 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/genericParameterInScope.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/genericParameterInScope.kt.after @@ -8,4 +8,5 @@ abstract class Form(val name: String, data: T?){ } abstract protected fun processData(data: T) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.InitializePropertyQuickFixFactory$InitializeWithConstructorParameter \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/memberPropertyInClassNameClashInPrimaryConstructor.kt b/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/memberPropertyInClassNameClashInPrimaryConstructor.kt index f84889c8fa1f..91cc61da2100 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/memberPropertyInClassNameClashInPrimaryConstructor.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/memberPropertyInClassNameClashInPrimaryConstructor.kt @@ -8,4 +8,5 @@ class B : A(0) fun test() { val a = A(0) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.InitializePropertyQuickFixFactory$InitializeWithConstructorParameter \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/memberPropertyInClassNameClashInPrimaryConstructor.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/memberPropertyInClassNameClashInPrimaryConstructor.kt.after index 8185492d4f18..28dcae292a45 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/memberPropertyInClassNameClashInPrimaryConstructor.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/memberPropertyInClassNameClashInPrimaryConstructor.kt.after @@ -8,4 +8,5 @@ class B : A(0, 0) fun test() { val a = A(0, 0) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.InitializePropertyQuickFixFactory$InitializeWithConstructorParameter \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/memberPropertyInClassNameClashInSecondaryConstructor.kt b/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/memberPropertyInClassNameClashInSecondaryConstructor.kt index 2c96b0c75fb4..89fbea0616a5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/memberPropertyInClassNameClashInSecondaryConstructor.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/memberPropertyInClassNameClashInSecondaryConstructor.kt @@ -9,4 +9,5 @@ class B : A(1) fun test() { val a = A(1) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.InitializePropertyQuickFixFactory$InitializeWithConstructorParameter \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/memberPropertyInClassNameClashInSecondaryConstructor.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/memberPropertyInClassNameClashInSecondaryConstructor.kt.after index c99428a61433..2e4498c200ec 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/memberPropertyInClassNameClashInSecondaryConstructor.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/memberPropertyInClassNameClashInSecondaryConstructor.kt.after @@ -11,4 +11,5 @@ class B : A(1, 0) fun test() { val a = A(1, 0) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.InitializePropertyQuickFixFactory$InitializeWithConstructorParameter \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/memberPropertyInClassNoConstructors.kt b/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/memberPropertyInClassNoConstructors.kt index 2dabc2aec310..e48d6e467a7e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/memberPropertyInClassNoConstructors.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/memberPropertyInClassNoConstructors.kt @@ -8,4 +8,5 @@ class B : A() fun test() { val a = A() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.InitializePropertyQuickFixFactory$InitializeWithConstructorParameter \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/memberPropertyInClassNoConstructors.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/memberPropertyInClassNoConstructors.kt.after index 926915781470..fa342cdcf09b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/memberPropertyInClassNoConstructors.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/memberPropertyInClassNoConstructors.kt.after @@ -8,4 +8,5 @@ class B : A(0) fun test() { val a = A(0) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.InitializePropertyQuickFixFactory$InitializeWithConstructorParameter \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/memberPropertyInClassPrimaryAndSecondaryConstructors.kt b/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/memberPropertyInClassPrimaryAndSecondaryConstructors.kt index fb57df0067f9..8ce9ae631ea7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/memberPropertyInClassPrimaryAndSecondaryConstructors.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/memberPropertyInClassPrimaryAndSecondaryConstructors.kt @@ -11,4 +11,5 @@ class B : A("") fun test() { val a = A("") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.InitializePropertyQuickFixFactory$InitializeWithConstructorParameter \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/memberPropertyInClassPrimaryAndSecondaryConstructors.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/memberPropertyInClassPrimaryAndSecondaryConstructors.kt.after index 9a87b372994b..295bb6069f6d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/memberPropertyInClassPrimaryAndSecondaryConstructors.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/memberPropertyInClassPrimaryAndSecondaryConstructors.kt.after @@ -11,4 +11,5 @@ class B : A("", 0) fun test() { val a = A("", 0) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.InitializePropertyQuickFixFactory$InitializeWithConstructorParameter \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/memberPropertyInClassPrimaryConstructorOnly.kt b/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/memberPropertyInClassPrimaryConstructorOnly.kt index f1d023ceb584..bca4afb83b59 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/memberPropertyInClassPrimaryConstructorOnly.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/memberPropertyInClassPrimaryConstructorOnly.kt @@ -8,4 +8,5 @@ class B : A("") fun test() { val a = A("") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.InitializePropertyQuickFixFactory$InitializeWithConstructorParameter \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/memberPropertyInClassPrimaryConstructorOnly.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/memberPropertyInClassPrimaryConstructorOnly.kt.after index 01176b649e6a..78dccf9e748b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/memberPropertyInClassPrimaryConstructorOnly.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/memberPropertyInClassPrimaryConstructorOnly.kt.after @@ -8,4 +8,5 @@ class B : A("", 0) fun test() { val a = A("", 0) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.InitializePropertyQuickFixFactory$InitializeWithConstructorParameter \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/memberPropertyInClassSecondaryConstructorsOnly.kt b/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/memberPropertyInClassSecondaryConstructorsOnly.kt index 489487120cd7..d647c7907829 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/memberPropertyInClassSecondaryConstructorsOnly.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/memberPropertyInClassSecondaryConstructorsOnly.kt @@ -16,4 +16,5 @@ class C : A(1) fun test() { val a = A("") val aa = A(1) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.InitializePropertyQuickFixFactory$InitializeWithConstructorParameter \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/memberPropertyInClassSecondaryConstructorsOnly.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/memberPropertyInClassSecondaryConstructorsOnly.kt.after index 8add538b6569..731954504032 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/memberPropertyInClassSecondaryConstructorsOnly.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/memberPropertyInClassSecondaryConstructorsOnly.kt.after @@ -19,4 +19,5 @@ class C : A(1, 0) fun test() { val a = A("", 0) val aa = A(1, 0) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.InitializePropertyQuickFixFactory$InitializeWithConstructorParameter \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/multipleConstructors.kt b/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/multipleConstructors.kt index 04f81946a5be..e0044d5b048a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/multipleConstructors.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/multipleConstructors.kt @@ -5,4 +5,5 @@ class User { constructor(blah: String) val userName: String -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.InitializePropertyQuickFixFactory$InitializeWithConstructorParameter \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/multipleConstructors.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/multipleConstructors.kt.after index 5f82ae0fbcd9..2f194bab4d67 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/multipleConstructors.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/initializeWithConstructorParameter/multipleConstructors.kt.after @@ -10,4 +10,5 @@ class User { } val userName: String -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.InitializePropertyQuickFixFactory$InitializeWithConstructorParameter \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/inlineClass/inlineClassDeprecated.kt b/plugins/kotlin/idea/tests/testData/quickfix/inlineClass/inlineClassDeprecated.kt index ae0f8ff8fdb2..05ed1c9a98ed 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/inlineClass/inlineClassDeprecated.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/inlineClass/inlineClassDeprecated.kt @@ -1,4 +1,5 @@ // "Replace with '@JvmInline value'" "true" // WITH_STDLIB -inline class IC(val i: Int) \ No newline at end of file +inline class IC(val i: Int) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.InlineClassDeprecatedFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/inlineClass/inlineClassDeprecated.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/inlineClass/inlineClassDeprecated.kt.after index 78953192ea09..725a5ca5c69e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/inlineClass/inlineClassDeprecated.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/inlineClass/inlineClassDeprecated.kt.after @@ -2,4 +2,5 @@ // WITH_STDLIB @JvmInline -value class IC(val i: Int) \ No newline at end of file +value class IC(val i: Int) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.InlineClassDeprecatedFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/inlineClass/inlineClassDeprecated_js.kt b/plugins/kotlin/idea/tests/testData/quickfix/inlineClass/inlineClassDeprecated_js.kt index eefd3433356a..942d7bcd10d4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/inlineClass/inlineClassDeprecated_js.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/inlineClass/inlineClassDeprecated_js.kt @@ -1,4 +1,5 @@ // "Replace with 'value'" "true" // JS -inline class IC(val i: Int) \ No newline at end of file +inline class IC(val i: Int) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.InlineClassDeprecatedFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/inlineClass/inlineClassDeprecated_js.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/inlineClass/inlineClassDeprecated_js.kt.after index 2362ca9b4f2d..d95bc8d98ce1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/inlineClass/inlineClassDeprecated_js.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/inlineClass/inlineClassDeprecated_js.kt.after @@ -1,4 +1,5 @@ // "Replace with 'value'" "true" // JS -value class IC(val i: Int) \ No newline at end of file +value class IC(val i: Int) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.InlineClassDeprecatedFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/inlineClass/inlineClassWithGeneric.kt b/plugins/kotlin/idea/tests/testData/quickfix/inlineClass/inlineClassWithGeneric.kt index f1dcff8c41b2..10dc7596bd5f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/inlineClass/inlineClassWithGeneric.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/inlineClass/inlineClassWithGeneric.kt @@ -3,3 +3,5 @@ // WITH_STDLIB inline class IC(val i: T) + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.InlineClassDeprecatedFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/inlineClass/inlineClassWithGeneric.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/inlineClass/inlineClassWithGeneric.kt.after index 885191de63d3..e1bdc7b52da1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/inlineClass/inlineClassWithGeneric.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/inlineClass/inlineClassWithGeneric.kt.after @@ -4,3 +4,5 @@ @JvmInline value class IC(val i: T) + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.InlineClassDeprecatedFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/inlineClass/publicInlineClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/inlineClass/publicInlineClass.kt index 6e106ed6a5ec..cbde83ef0397 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/inlineClass/publicInlineClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/inlineClass/publicInlineClass.kt @@ -1,4 +1,5 @@ // "Replace with '@JvmInline value'" "true" // WITH_STDLIB -public inline class IC(val i: Int) \ No newline at end of file +public inline class IC(val i: Int) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.InlineClassDeprecatedFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/inlineClass/publicInlineClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/inlineClass/publicInlineClass.kt.after index 64b0677ad462..d592003057dc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/inlineClass/publicInlineClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/inlineClass/publicInlineClass.kt.after @@ -2,4 +2,5 @@ // WITH_STDLIB @JvmInline -public value class IC(val i: Int) \ No newline at end of file +public value class IC(val i: Int) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.InlineClassDeprecatedFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/inlineTypeParameterFix/basic.kt b/plugins/kotlin/idea/tests/testData/quickfix/inlineTypeParameterFix/basic.kt index db952753a99c..34fefdb3e502 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/inlineTypeParameterFix/basic.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/inlineTypeParameterFix/basic.kt @@ -1,3 +1,4 @@ // "Inline type parameter" "true" -data class DC>(val x: T, val y: String) \ No newline at end of file +data class DC>(val x: T, val y: String) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.InlineTypeParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/inlineTypeParameterFix/basic.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/inlineTypeParameterFix/basic.kt.after index ac9f9aed0937..ac8037eb14f0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/inlineTypeParameterFix/basic.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/inlineTypeParameterFix/basic.kt.after @@ -1,3 +1,4 @@ // "Inline type parameter" "true" -data class DC(val x: Int, val y: String) \ No newline at end of file +data class DC(val x: Int, val y: String) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.InlineTypeParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/inlineTypeParameterFix/basicMultipleDef.kt b/plugins/kotlin/idea/tests/testData/quickfix/inlineTypeParameterFix/basicMultipleDef.kt index 7ea161098ee5..2c633149c513 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/inlineTypeParameterFix/basicMultipleDef.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/inlineTypeParameterFix/basicMultipleDef.kt @@ -6,4 +6,5 @@ data class DC, S : String>(val x: T, val y: String) { fun foo(b: T) { val c: T = Int.MIN_VALUE } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.InlineTypeParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/inlineTypeParameterFix/basicMultipleDef.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/inlineTypeParameterFix/basicMultipleDef.kt.after index d51692a51304..518d66325c00 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/inlineTypeParameterFix/basicMultipleDef.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/inlineTypeParameterFix/basicMultipleDef.kt.after @@ -6,4 +6,5 @@ data class DC(val x: Int, val y: String) { fun foo(b: Int) { val c: Int = Int.MIN_VALUE } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.InlineTypeParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/inlineTypeParameterFix/function.kt b/plugins/kotlin/idea/tests/testData/quickfix/inlineTypeParameterFix/function.kt index 54d7b6f2a67d..4811a77f2401 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/inlineTypeParameterFix/function.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/inlineTypeParameterFix/function.kt @@ -4,4 +4,5 @@ data class DC(val x: Int, val y: String) { fun > foo() { val a: S = Int.MAX_VALUE } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.InlineTypeParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/inlineTypeParameterFix/function.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/inlineTypeParameterFix/function.kt.after index bd53c2899e0e..4f64d5c6aa23 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/inlineTypeParameterFix/function.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/inlineTypeParameterFix/function.kt.after @@ -4,4 +4,5 @@ data class DC(val x: Int, val y: String) { fun foo() { val a: Int = Int.MAX_VALUE } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.InlineTypeParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/inlineTypeParameterFix/typeConstraint.kt b/plugins/kotlin/idea/tests/testData/quickfix/inlineTypeParameterFix/typeConstraint.kt index 39157d48ebe4..047612ad3e04 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/inlineTypeParameterFix/typeConstraint.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/inlineTypeParameterFix/typeConstraint.kt @@ -1,2 +1,3 @@ // "Inline type parameter" "true" -fun test(p: T, q: T) where T : String = p.length + q.length \ No newline at end of file +fun test(p: T, q: T) where T : String = p.length + q.length +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.InlineTypeParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/inlineTypeParameterFix/typeConstraint.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/inlineTypeParameterFix/typeConstraint.kt.after index 87fdcd7296ea..164a8896d7ce 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/inlineTypeParameterFix/typeConstraint.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/inlineTypeParameterFix/typeConstraint.kt.after @@ -1,2 +1,3 @@ // "Inline type parameter" "true" -fun test(p: String, q: String) = p.length + q.length \ No newline at end of file +fun test(p: String, q: String) = p.length + q.length +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.InlineTypeParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/inlineTypeParameterFix/typeConstraintMultipleDef.kt b/plugins/kotlin/idea/tests/testData/quickfix/inlineTypeParameterFix/typeConstraintMultipleDef.kt index 2723440c48f0..2cbe7852e698 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/inlineTypeParameterFix/typeConstraintMultipleDef.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/inlineTypeParameterFix/typeConstraintMultipleDef.kt @@ -1,3 +1,4 @@ // "Inline type parameter" "true" open class MyClass { val length = 0 } -fun test(p: T, q: U) where T : MyClass, U: Int = p.length + q \ No newline at end of file +fun test(p: T, q: U) where T : MyClass, U: Int = p.length + q +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.InlineTypeParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/inlineTypeParameterFix/typeConstraintMultipleDef.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/inlineTypeParameterFix/typeConstraintMultipleDef.kt.after index baf38b842a78..bb4928c388e6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/inlineTypeParameterFix/typeConstraintMultipleDef.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/inlineTypeParameterFix/typeConstraintMultipleDef.kt.after @@ -1,3 +1,4 @@ // "Inline type parameter" "true" open class MyClass { val length = 0 } -fun test(p: T, q: Int) where T : MyClass = p.length + q \ No newline at end of file +fun test(p: T, q: Int) where T : MyClass = p.length + q +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.InlineTypeParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/insertDelegationCall/nonApplicableInsertSuper.kt b/plugins/kotlin/idea/tests/testData/quickfix/insertDelegationCall/nonApplicableInsertSuper.kt index 6b714b3c1164..7bb6c62cafa1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/insertDelegationCall/nonApplicableInsertSuper.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/insertDelegationCall/nonApplicableInsertSuper.kt @@ -6,3 +6,5 @@ open class B(val x: Int) class A : B { constructor(x: String) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.InsertDelegationCallQuickfix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/insertDelegationCall/nonApplicableInsertSuper.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/insertDelegationCall/nonApplicableInsertSuper.kt.after index f51368120870..cda906d264b7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/insertDelegationCall/nonApplicableInsertSuper.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/insertDelegationCall/nonApplicableInsertSuper.kt.after @@ -6,3 +6,5 @@ open class B(val x: Int) class A : B { constructor(x: String) : super() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.InsertDelegationCallQuickfix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/insertDelegationCall/nonApplicableInsertThis.kt b/plugins/kotlin/idea/tests/testData/quickfix/insertDelegationCall/nonApplicableInsertThis.kt index d2250f238b49..02f6a359d14c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/insertDelegationCall/nonApplicableInsertThis.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/insertDelegationCall/nonApplicableInsertThis.kt @@ -7,3 +7,5 @@ class A : B { constructor() : super(1) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.InsertDelegationCallQuickfix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/insertDelegationCall/nonApplicableInsertThis.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/insertDelegationCall/nonApplicableInsertThis.kt.after index fd55257544d7..6feb85edb033 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/insertDelegationCall/nonApplicableInsertThis.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/insertDelegationCall/nonApplicableInsertThis.kt.after @@ -7,3 +7,5 @@ class A : B { constructor() : super(1) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.InsertDelegationCallQuickfix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/insertDelegationCall/nonApplicableOnEmpty.kt b/plugins/kotlin/idea/tests/testData/quickfix/insertDelegationCall/nonApplicableOnEmpty.kt index 15bda09cf734..8885a45c0a0e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/insertDelegationCall/nonApplicableOnEmpty.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/insertDelegationCall/nonApplicableOnEmpty.kt @@ -8,3 +8,5 @@ class A : B { constructor(x: String) : super(1) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.InsertDelegationCallQuickfix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/insertDelegationCall/nonApplicableOnEmpty.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/insertDelegationCall/nonApplicableOnEmpty.kt.after index 13e6a80a1ed9..13ff965b6038 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/insertDelegationCall/nonApplicableOnEmpty.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/insertDelegationCall/nonApplicableOnEmpty.kt.after @@ -8,3 +8,5 @@ class A : B { constructor(x: String) : super(1) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.InsertDelegationCallQuickfix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/insertDelegationCall/primaryRequiredParameterless.kt b/plugins/kotlin/idea/tests/testData/quickfix/insertDelegationCall/primaryRequiredParameterless.kt index 01bce14eb62d..f25a1d5e655f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/insertDelegationCall/primaryRequiredParameterless.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/insertDelegationCall/primaryRequiredParameterless.kt @@ -3,3 +3,5 @@ class A() { constructor(x: String) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.InsertDelegationCallQuickfix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/insertDelegationCall/primaryRequiredParameterless.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/insertDelegationCall/primaryRequiredParameterless.kt.after index e6ad310e08f6..a2e6dc38139b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/insertDelegationCall/primaryRequiredParameterless.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/insertDelegationCall/primaryRequiredParameterless.kt.after @@ -3,3 +3,5 @@ class A() { constructor(x: String) : this() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.InsertDelegationCallQuickfix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/insertDelegationCall/primaryRequiredWithBody.kt b/plugins/kotlin/idea/tests/testData/quickfix/insertDelegationCall/primaryRequiredWithBody.kt index bf9c295d2d7f..44c52589cde1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/insertDelegationCall/primaryRequiredWithBody.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/insertDelegationCall/primaryRequiredWithBody.kt @@ -5,3 +5,5 @@ class A() { } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.InsertDelegationCallQuickfix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/insertDelegationCall/primaryRequiredWithBody.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/insertDelegationCall/primaryRequiredWithBody.kt.after index 73509bdb04ad..00acb4630c78 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/insertDelegationCall/primaryRequiredWithBody.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/insertDelegationCall/primaryRequiredWithBody.kt.after @@ -5,3 +5,5 @@ class A() { } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.InsertDelegationCallQuickfix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/insertDelegationCall/primaryRequiredWithParameter.kt b/plugins/kotlin/idea/tests/testData/quickfix/insertDelegationCall/primaryRequiredWithParameter.kt index ec0a864d58d9..33e0eb5457de 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/insertDelegationCall/primaryRequiredWithParameter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/insertDelegationCall/primaryRequiredWithParameter.kt @@ -4,3 +4,5 @@ class A(val x: Int) { constructor(x: String) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.InsertDelegationCallQuickfix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/insertDelegationCall/primaryRequiredWithParameter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/insertDelegationCall/primaryRequiredWithParameter.kt.after index 131a70a72642..92ec3dc63459 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/insertDelegationCall/primaryRequiredWithParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/insertDelegationCall/primaryRequiredWithParameter.kt.after @@ -4,3 +4,5 @@ class A(val x: Int) { constructor(x: String) : this() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.InsertDelegationCallQuickfix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/isEnumEntry/is.kt b/plugins/kotlin/idea/tests/testData/quickfix/isEnumEntry/is.kt index fc4fd1781524..70662d3612fb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/isEnumEntry/is.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/isEnumEntry/is.kt @@ -2,3 +2,5 @@ enum class Foo { A } fun test(foo: Foo): Boolean = foo is Foo.A + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.IsEnumEntryFactory$ReplaceWithComparisonFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/isEnumEntry/is.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/isEnumEntry/is.kt.after index ff3efc660478..a02d5d969b79 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/isEnumEntry/is.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/isEnumEntry/is.kt.after @@ -2,3 +2,5 @@ enum class Foo { A } fun test(foo: Foo): Boolean = foo == Foo.A + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.IsEnumEntryFactory$ReplaceWithComparisonFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/isEnumEntry/isWhenCondition.kt b/plugins/kotlin/idea/tests/testData/quickfix/isEnumEntry/isWhenCondition.kt index fbe649195b60..efe835023d4b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/isEnumEntry/isWhenCondition.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/isEnumEntry/isWhenCondition.kt @@ -5,3 +5,5 @@ fun test(foo: Foo): Int = when (foo) { is Foo.A -> 1 else -> 2 } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.IsEnumEntryFactory$RemoveIsFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/isEnumEntry/isWhenCondition.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/isEnumEntry/isWhenCondition.kt.after index 6663757f6dde..aa99e217e3d8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/isEnumEntry/isWhenCondition.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/isEnumEntry/isWhenCondition.kt.after @@ -5,3 +5,5 @@ fun test(foo: Foo): Int = when (foo) { Foo.A -> 1 else -> 2 } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.IsEnumEntryFactory$RemoveIsFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/isEnumEntry/notIs.kt b/plugins/kotlin/idea/tests/testData/quickfix/isEnumEntry/notIs.kt index 120573094392..8163d6f411d7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/isEnumEntry/notIs.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/isEnumEntry/notIs.kt @@ -2,3 +2,5 @@ enum class Foo { A } fun test(foo: Foo): Boolean = foo !is Foo.A + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.IsEnumEntryFactory$ReplaceWithComparisonFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/isEnumEntry/notIs.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/isEnumEntry/notIs.kt.after index e34d556dc726..89b6c1810802 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/isEnumEntry/notIs.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/isEnumEntry/notIs.kt.after @@ -2,3 +2,5 @@ enum class Foo { A } fun test(foo: Foo): Boolean = foo != Foo.A + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.IsEnumEntryFactory$ReplaceWithComparisonFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithClassJava/hasType.kt b/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithClassJava/hasType.kt index 50621dd59ad3..58b73527ed16 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithClassJava/hasType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithClassJava/hasType.kt @@ -3,4 +3,5 @@ // DISABLE-ERRORS fun main() { val c: Class = Int.javaClass -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithClassJavaFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithClassJava/hasType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithClassJava/hasType.kt.after index 94b35d119ffd..9f64bba1ac7c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithClassJava/hasType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithClassJava/hasType.kt.after @@ -3,4 +3,5 @@ // DISABLE-ERRORS fun main() { val c: Class = Int::class.java -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithClassJavaFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithClassJava/simple.kt b/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithClassJava/simple.kt index 54de85f043ff..ee8d0f9661c7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithClassJava/simple.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithClassJava/simple.kt @@ -2,4 +2,5 @@ // WITH_STDLIB fun main() { val c = Int.javaClass -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithClassJavaFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithClassJava/simple.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithClassJava/simple.kt.after index 366a02433caa..aef1da4013f4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithClassJava/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithClassJava/simple.kt.after @@ -2,4 +2,5 @@ // WITH_STDLIB fun main() { val c = Int::class.java -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithClassJavaFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithClassJava/withName.kt b/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithClassJava/withName.kt index 83ec45934f91..1b8af4f98408 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithClassJava/withName.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithClassJava/withName.kt @@ -2,4 +2,5 @@ // WITH_STDLIB fun main() { val name = Int.javaClass.name -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithClassJavaFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithClassJava/withName.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithClassJava/withName.kt.after index fdddf686f5e9..cf62a2ac0cb7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithClassJava/withName.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithClassJava/withName.kt.after @@ -2,4 +2,5 @@ // WITH_STDLIB fun main() { val name = Int::class.java.name -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithClassJavaFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithCompanionClassJava/hasType.kt b/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithCompanionClassJava/hasType.kt index 3434dba1f18a..a22053a60364 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithCompanionClassJava/hasType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithCompanionClassJava/hasType.kt @@ -2,4 +2,5 @@ // WITH_STDLIB fun main() { val c: Class = Int.javaClass -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithCompanionClassJavaFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithCompanionClassJava/hasType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithCompanionClassJava/hasType.kt.after index 25bc17514613..4253e5e5e576 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithCompanionClassJava/hasType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithCompanionClassJava/hasType.kt.after @@ -2,4 +2,5 @@ // WITH_STDLIB fun main() { val c: Class = Int.Companion::class.java -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithCompanionClassJavaFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithCompanionClassJava/namedCompanion.kt b/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithCompanionClassJava/namedCompanion.kt index 95672ce4c58d..e465dff5b7e3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithCompanionClassJava/namedCompanion.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithCompanionClassJava/namedCompanion.kt @@ -6,4 +6,5 @@ class Foo { fun test() { Foo.javaClass -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithCompanionClassJavaFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithCompanionClassJava/namedCompanion.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithCompanionClassJava/namedCompanion.kt.after index 7cf203bab277..8fbe47ef7b64 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithCompanionClassJava/namedCompanion.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithCompanionClassJava/namedCompanion.kt.after @@ -6,4 +6,5 @@ class Foo { fun test() { Foo.Bar::class.java -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithCompanionClassJavaFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithCompanionClassJava/simple.kt b/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithCompanionClassJava/simple.kt index d81c7780843c..cd2ad2c5fc53 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithCompanionClassJava/simple.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithCompanionClassJava/simple.kt @@ -2,4 +2,5 @@ // WITH_STDLIB fun main() { val c = Int.javaClass -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithCompanionClassJavaFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithCompanionClassJava/simple.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithCompanionClassJava/simple.kt.after index 65b48af85a3b..b8a99edf8b08 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithCompanionClassJava/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithCompanionClassJava/simple.kt.after @@ -2,4 +2,5 @@ // WITH_STDLIB fun main() { val c = Int.Companion::class.java -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithCompanionClassJavaFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithCompanionClassJava/withName.kt b/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithCompanionClassJava/withName.kt index 9fae9bc4fa20..4d74e9019bd1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithCompanionClassJava/withName.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithCompanionClassJava/withName.kt @@ -2,4 +2,5 @@ // WITH_STDLIB fun main() { val name = Int.javaClass.name -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithCompanionClassJavaFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithCompanionClassJava/withName.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithCompanionClassJava/withName.kt.after index ae06e25e19e2..cc2650ca63a4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithCompanionClassJava/withName.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/javaClassOnCompanion/replaceWithCompanionClassJava/withName.kt.after @@ -2,4 +2,5 @@ // WITH_STDLIB fun main() { val name = Int.Companion::class.java.name -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithCompanionClassJavaFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/kdocMissingDocumentation/simple.kt b/plugins/kotlin/idea/tests/testData/quickfix/kdocMissingDocumentation/simple.kt index 0ebe9fe35514..6345a79fbbc7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/kdocMissingDocumentation/simple.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/kdocMissingDocumentation/simple.kt @@ -2,3 +2,5 @@ class C { } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.kdoc.KDocMissingDocumentationInspection$AddDocumentationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/kdocMissingDocumentation/simple.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/kdocMissingDocumentation/simple.kt.after index 6d65b8665679..dfe1ed6acb08 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/kdocMissingDocumentation/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/kdocMissingDocumentation/simple.kt.after @@ -5,3 +5,5 @@ */ class C { } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.kdoc.KDocMissingDocumentationInspection$AddDocumentationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/kdocMissingDocumentation/withIndentation.kt b/plugins/kotlin/idea/tests/testData/quickfix/kdocMissingDocumentation/withIndentation.kt index 0ac9226e5225..525ed9ad040c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/kdocMissingDocumentation/withIndentation.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/kdocMissingDocumentation/withIndentation.kt @@ -7,3 +7,5 @@ class C { } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.kdoc.KDocMissingDocumentationInspection$AddDocumentationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/kdocMissingDocumentation/withIndentation.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/kdocMissingDocumentation/withIndentation.kt.after index 1170e94f3991..f672bb838b34 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/kdocMissingDocumentation/withIndentation.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/kdocMissingDocumentation/withIndentation.kt.after @@ -10,3 +10,5 @@ class C { } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.kdoc.KDocMissingDocumentationInspection$AddDocumentationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/lateinit/nullable.kt b/plugins/kotlin/idea/tests/testData/quickfix/lateinit/nullable.kt index 845cc34778af..4b3e52585965 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/lateinit/nullable.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/lateinit/nullable.kt @@ -2,4 +2,6 @@ class A() { lateinit var foo: String? -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveNullableFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveNullableFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/lateinit/nullable.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/lateinit/nullable.kt.after index ad81581c0c22..cc0f99580d9a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/lateinit/nullable.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/lateinit/nullable.kt.after @@ -2,4 +2,6 @@ class A() { lateinit var foo: String -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveNullableFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveNullableFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/lateinit/val.kt b/plugins/kotlin/idea/tests/testData/quickfix/lateinit/val.kt index 08027f9b42c7..62be764a739a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/lateinit/val.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/lateinit/val.kt @@ -3,3 +3,6 @@ class A() { lateinit val foo: String } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.quickFix.ChangeVariableMutabilityFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.quickFix.ChangeVariableMutabilityFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/lateinit/val.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/lateinit/val.kt.after index de4022ae6b78..376b13556471 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/lateinit/val.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/lateinit/val.kt.after @@ -3,3 +3,6 @@ class A() { lateinit var foo: String } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.quickFix.ChangeVariableMutabilityFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.quickFix.ChangeVariableMutabilityFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/lateinit/withGetter.kt b/plugins/kotlin/idea/tests/testData/quickfix/lateinit/withGetter.kt index 136fce159b48..77a18c426cb8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/lateinit/withGetter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/lateinit/withGetter.kt @@ -4,4 +4,5 @@ class A { lateinit var str: String get() = "" } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemovePartsFromPropertyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/lateinit/withGetter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/lateinit/withGetter.kt.after index 850591e2a457..3a8dd90bf1f8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/lateinit/withGetter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/lateinit/withGetter.kt.after @@ -3,4 +3,5 @@ class A { lateinit var str: String } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemovePartsFromPropertyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/lateinit/withGetterSetter.kt b/plugins/kotlin/idea/tests/testData/quickfix/lateinit/withGetterSetter.kt index fa91c791527c..59aa749e0517 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/lateinit/withGetterSetter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/lateinit/withGetterSetter.kt @@ -5,4 +5,5 @@ class A { get() = "" set(value) {} } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemovePartsFromPropertyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/lateinit/withGetterSetter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/lateinit/withGetterSetter.kt.after index d027e3afe73f..0e0f38a14caf 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/lateinit/withGetterSetter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/lateinit/withGetterSetter.kt.after @@ -3,4 +3,5 @@ class A { lateinit var str: String } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemovePartsFromPropertyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/lateinit/withInitializer.kt b/plugins/kotlin/idea/tests/testData/quickfix/lateinit/withInitializer.kt index 1d85e9f372d0..23133138126e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/lateinit/withInitializer.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/lateinit/withInitializer.kt @@ -3,4 +3,5 @@ class A { lateinit var str = "" } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemovePartsFromPropertyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/lateinit/withInitializer.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/lateinit/withInitializer.kt.after index 17bbcf6ec7a8..b34836214de2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/lateinit/withInitializer.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/lateinit/withInitializer.kt.after @@ -3,4 +3,5 @@ class A { lateinit var str: String } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemovePartsFromPropertyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/lateinit/withSetter.kt b/plugins/kotlin/idea/tests/testData/quickfix/lateinit/withSetter.kt index 77a9365eecd0..f2055579cfd0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/lateinit/withSetter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/lateinit/withSetter.kt @@ -4,4 +4,5 @@ class A { lateinit var str: String set(value) {} } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemovePartsFromPropertyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/lateinit/withSetter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/lateinit/withSetter.kt.after index 8c245b1d76ce..4ec0ab5d5219 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/lateinit/withSetter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/lateinit/withSetter.kt.after @@ -3,4 +3,5 @@ class A { lateinit var str: String } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemovePartsFromPropertyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/leakingThis/accessOpenProperty.kt b/plugins/kotlin/idea/tests/testData/quickfix/leakingThis/accessOpenProperty.kt index d846990c4182..7d47c4333e0e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/leakingThis/accessOpenProperty.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/leakingThis/accessOpenProperty.kt @@ -2,4 +2,5 @@ open class My(open val x: Int) { val y = x -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/leakingThis/accessOpenProperty.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/leakingThis/accessOpenProperty.kt.after index a0b062aeb861..00121a5a490e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/leakingThis/accessOpenProperty.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/leakingThis/accessOpenProperty.kt.after @@ -2,4 +2,5 @@ open class My(val x: Int) { val y = x -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/leakingThis/accessOpenPropertyClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/leakingThis/accessOpenPropertyClass.kt index b38b8e7f4c0d..cc92c8fc6d12 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/leakingThis/accessOpenPropertyClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/leakingThis/accessOpenPropertyClass.kt @@ -2,4 +2,5 @@ open class My(open val x: Int) { val y = x -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/leakingThis/accessOpenPropertyClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/leakingThis/accessOpenPropertyClass.kt.after index d8d0c6084725..683b5c78c461 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/leakingThis/accessOpenPropertyClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/leakingThis/accessOpenPropertyClass.kt.after @@ -2,4 +2,5 @@ class My(open val x: Int) { val y = x -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/leakingThis/callOpenMethod.kt b/plugins/kotlin/idea/tests/testData/quickfix/leakingThis/callOpenMethod.kt index 9b99d99c53ea..acc069f08c2f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/leakingThis/callOpenMethod.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/leakingThis/callOpenMethod.kt @@ -7,4 +7,5 @@ open class My { } open fun init() {} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/leakingThis/callOpenMethod.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/leakingThis/callOpenMethod.kt.after index ac2079a638e4..3f54b722dd9a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/leakingThis/callOpenMethod.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/leakingThis/callOpenMethod.kt.after @@ -7,4 +7,5 @@ open class My { } fun init() {} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/leakingThis/callOpenMethodClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/leakingThis/callOpenMethodClass.kt index b18a9633d2a4..119a903b38ea 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/leakingThis/callOpenMethodClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/leakingThis/callOpenMethodClass.kt @@ -7,4 +7,5 @@ open class My { } open fun init() {} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/leakingThis/callOpenMethodClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/leakingThis/callOpenMethodClass.kt.after index 10810aa3d134..e910c62315bf 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/leakingThis/callOpenMethodClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/leakingThis/callOpenMethodClass.kt.after @@ -7,4 +7,5 @@ class My { } open fun init() {} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/leakingThis/inNonFinal.kt b/plugins/kotlin/idea/tests/testData/quickfix/leakingThis/inNonFinal.kt index 03473e4a49cb..897707756970 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/leakingThis/inNonFinal.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/leakingThis/inNonFinal.kt @@ -6,4 +6,5 @@ open class My { } } -fun register(my: My) {} \ No newline at end of file +fun register(my: My) {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/leakingThis/inNonFinal.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/leakingThis/inNonFinal.kt.after index 75d01066f268..a4ee67501db7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/leakingThis/inNonFinal.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/leakingThis/inNonFinal.kt.after @@ -6,4 +6,5 @@ class My { } } -fun register(my: My) {} \ No newline at end of file +fun register(my: My) {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/localVariableWithTypeParameters/removeTypeParametersFromLocalVariable.kt b/plugins/kotlin/idea/tests/testData/quickfix/localVariableWithTypeParameters/removeTypeParametersFromLocalVariable.kt index 61fccba7ed70..baebb2318ec4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/localVariableWithTypeParameters/removeTypeParametersFromLocalVariable.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/localVariableWithTypeParameters/removeTypeParametersFromLocalVariable.kt @@ -2,4 +2,6 @@ fun test() { val x = 0 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemovePsiElementSimpleFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemovePsiElementSimpleFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/localVariableWithTypeParameters/removeTypeParametersFromLocalVariable.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/localVariableWithTypeParameters/removeTypeParametersFromLocalVariable.kt.after index edca5085d6b2..b1ba69b27c5b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/localVariableWithTypeParameters/removeTypeParametersFromLocalVariable.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/localVariableWithTypeParameters/removeTypeParametersFromLocalVariable.kt.after @@ -2,4 +2,6 @@ fun test() { val x = 0 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemovePsiElementSimpleFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemovePsiElementSimpleFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/makeConstructorParameterProperty/inner.kt b/plugins/kotlin/idea/tests/testData/quickfix/makeConstructorParameterProperty/inner.kt index e67d183cc2ff..aab23b28c98b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/makeConstructorParameterProperty/inner.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/makeConstructorParameterProperty/inner.kt @@ -7,4 +7,5 @@ class B(bar: String) { val a = bar } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MakeConstructorParameterPropertyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/makeConstructorParameterProperty/inner.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/makeConstructorParameterProperty/inner.kt.after index 8480bbf4ae2f..443a181a3f08 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/makeConstructorParameterProperty/inner.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/makeConstructorParameterProperty/inner.kt.after @@ -7,4 +7,5 @@ class B(private val bar: String) { val a = bar } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MakeConstructorParameterPropertyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/makeConstructorParameterProperty/val.kt b/plugins/kotlin/idea/tests/testData/quickfix/makeConstructorParameterProperty/val.kt index 330a78945e8a..0b813699e8e8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/makeConstructorParameterProperty/val.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/makeConstructorParameterProperty/val.kt @@ -4,4 +4,5 @@ class A(foo: String) { fun bar() { val a = foo } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MakeConstructorParameterPropertyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/makeConstructorParameterProperty/val.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/makeConstructorParameterProperty/val.kt.after index 4b09e8de8878..b8f8e29e7a33 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/makeConstructorParameterProperty/val.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/makeConstructorParameterProperty/val.kt.after @@ -4,4 +4,5 @@ class A(private val foo: String) { fun bar() { val a = foo } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MakeConstructorParameterPropertyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/makeConstructorParameterProperty/var.kt b/plugins/kotlin/idea/tests/testData/quickfix/makeConstructorParameterProperty/var.kt index 9df5032e97f1..ea7c039aa0d0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/makeConstructorParameterProperty/var.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/makeConstructorParameterProperty/var.kt @@ -4,4 +4,5 @@ class A(foo: String) { fun bar() { foo = "" } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MakeConstructorParameterPropertyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/makeConstructorParameterProperty/var.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/makeConstructorParameterProperty/var.kt.after index a48e19d3a980..02e529c2be3e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/makeConstructorParameterProperty/var.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/makeConstructorParameterProperty/var.kt.after @@ -4,4 +4,5 @@ class A(private var foo: String) { fun bar() { foo = "" } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MakeConstructorParameterPropertyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/makeConstructorParameterProperty/vararg.kt b/plugins/kotlin/idea/tests/testData/quickfix/makeConstructorParameterProperty/vararg.kt index 1aba6bf8590c..156421bb9ef0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/makeConstructorParameterProperty/vararg.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/makeConstructorParameterProperty/vararg.kt @@ -4,4 +4,5 @@ class SomeClass(vararg dismissibleViewTypes: Int) { fun someFun() { dismissibleViewTypes } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MakeConstructorParameterPropertyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/makeConstructorParameterProperty/vararg.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/makeConstructorParameterProperty/vararg.kt.after index 3caa949ff9ee..e8059b6728e0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/makeConstructorParameterProperty/vararg.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/makeConstructorParameterProperty/vararg.kt.after @@ -4,4 +4,5 @@ class SomeClass(private vararg val dismissibleViewTypes: Int) { fun someFun() { dismissibleViewTypes } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MakeConstructorParameterPropertyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/makeTypeParameterReified/typeParameter.kt b/plugins/kotlin/idea/tests/testData/quickfix/makeTypeParameterReified/typeParameter.kt index 7c53208335a0..0105a70a8f70 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/makeTypeParameterReified/typeParameter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/makeTypeParameterReified/typeParameter.kt @@ -1,2 +1,3 @@ // "Make type parameter reified and function inline" "true" -fun test(a: String) = a is T \ No newline at end of file +fun test(a: String) = a is T +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MakeTypeParameterReifiedAndFunctionInlineFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/makeTypeParameterReified/typeParameter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/makeTypeParameterReified/typeParameter.kt.after index df96043aee33..d2ca1f7a6cd6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/makeTypeParameterReified/typeParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/makeTypeParameterReified/typeParameter.kt.after @@ -1,2 +1,3 @@ // "Make type parameter reified and function inline" "true" -inline fun test(a: String) = a is T \ No newline at end of file +inline fun test(a: String) = a is T +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MakeTypeParameterReifiedAndFunctionInlineFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/makeUpperBoundNonNullable/typeMismatchAny1.kt b/plugins/kotlin/idea/tests/testData/quickfix/makeUpperBoundNonNullable/typeMismatchAny1.kt index 7c1eaea399d4..6cb7b5977ab2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/makeUpperBoundNonNullable/typeMismatchAny1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/makeUpperBoundNonNullable/typeMismatchAny1.kt @@ -6,3 +6,5 @@ fun foo(x: R & Any) {} fun bar(x: T) { foo(x) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.HighPriorityMakeUpperBoundNonNullableFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/makeUpperBoundNonNullable/typeMismatchAny1.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/makeUpperBoundNonNullable/typeMismatchAny1.kt.after index 25e84810d764..5e2327aeea13 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/makeUpperBoundNonNullable/typeMismatchAny1.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/makeUpperBoundNonNullable/typeMismatchAny1.kt.after @@ -6,3 +6,5 @@ fun foo(x: R & Any) {} fun bar(x: T) { foo(x) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.HighPriorityMakeUpperBoundNonNullableFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/makeUpperBoundNonNullable/typeMismatchAny2.kt b/plugins/kotlin/idea/tests/testData/quickfix/makeUpperBoundNonNullable/typeMismatchAny2.kt index c3253bda1d7a..299a48f2e568 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/makeUpperBoundNonNullable/typeMismatchAny2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/makeUpperBoundNonNullable/typeMismatchAny2.kt @@ -8,3 +8,5 @@ class Bar { foo(x) } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.HighPriorityMakeUpperBoundNonNullableFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/makeUpperBoundNonNullable/typeMismatchAny2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/makeUpperBoundNonNullable/typeMismatchAny2.kt.after index 0190c0c1fea7..f2ff2c4c8d56 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/makeUpperBoundNonNullable/typeMismatchAny2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/makeUpperBoundNonNullable/typeMismatchAny2.kt.after @@ -8,3 +8,5 @@ class Bar { foo(x) } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.HighPriorityMakeUpperBoundNonNullableFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/makeUpperBoundNonNullable/typeMismatchAny3.kt b/plugins/kotlin/idea/tests/testData/quickfix/makeUpperBoundNonNullable/typeMismatchAny3.kt index 0d2c7f248dcc..38b27057d891 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/makeUpperBoundNonNullable/typeMismatchAny3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/makeUpperBoundNonNullable/typeMismatchAny3.kt @@ -10,3 +10,5 @@ class Bar { } } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.HighPriorityMakeUpperBoundNonNullableFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/makeUpperBoundNonNullable/typeMismatchAny3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/makeUpperBoundNonNullable/typeMismatchAny3.kt.after index 458200bcfa23..62d45a70d4ef 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/makeUpperBoundNonNullable/typeMismatchAny3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/makeUpperBoundNonNullable/typeMismatchAny3.kt.after @@ -10,3 +10,5 @@ class Bar { } } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.HighPriorityMakeUpperBoundNonNullableFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/makeUpperBoundNonNullable/typeMismatchAny4.kt b/plugins/kotlin/idea/tests/testData/quickfix/makeUpperBoundNonNullable/typeMismatchAny4.kt index 54cdf5309f6f..511f643df207 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/makeUpperBoundNonNullable/typeMismatchAny4.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/makeUpperBoundNonNullable/typeMismatchAny4.kt @@ -8,3 +8,5 @@ class Bar { foo(x) } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.HighPriorityMakeUpperBoundNonNullableFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/makeUpperBoundNonNullable/typeMismatchAny4.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/makeUpperBoundNonNullable/typeMismatchAny4.kt.after index 0a85f47aca75..1e196fd58cbc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/makeUpperBoundNonNullable/typeMismatchAny4.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/makeUpperBoundNonNullable/typeMismatchAny4.kt.after @@ -8,3 +8,5 @@ class Bar { foo(x) } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.HighPriorityMakeUpperBoundNonNullableFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/makeUpperBoundNonNullable/typeMismatchAny5.kt b/plugins/kotlin/idea/tests/testData/quickfix/makeUpperBoundNonNullable/typeMismatchAny5.kt index 87ba986f6529..b49dfb5d42c1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/makeUpperBoundNonNullable/typeMismatchAny5.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/makeUpperBoundNonNullable/typeMismatchAny5.kt @@ -10,3 +10,5 @@ class Bar { foo(x) } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.HighPriorityMakeUpperBoundNonNullableFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/makeUpperBoundNonNullable/typeMismatchAny5.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/makeUpperBoundNonNullable/typeMismatchAny5.kt.after index b57c931491cd..58856923d0b6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/makeUpperBoundNonNullable/typeMismatchAny5.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/makeUpperBoundNonNullable/typeMismatchAny5.kt.after @@ -10,3 +10,5 @@ class Bar { foo(x) } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.HighPriorityMakeUpperBoundNonNullableFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/makeUpperBoundNonNullable/typeMismatchAny6.kt b/plugins/kotlin/idea/tests/testData/quickfix/makeUpperBoundNonNullable/typeMismatchAny6.kt index 8ea5a4233846..1d86f11755ea 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/makeUpperBoundNonNullable/typeMismatchAny6.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/makeUpperBoundNonNullable/typeMismatchAny6.kt @@ -6,3 +6,5 @@ fun foo(x: R) {} fun bar(x: T) { foo(x) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.HighPriorityMakeUpperBoundNonNullableFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/makeUpperBoundNonNullable/typeMismatchAny6.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/makeUpperBoundNonNullable/typeMismatchAny6.kt.after index 34c604dcddde..ca6a024cdaeb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/makeUpperBoundNonNullable/typeMismatchAny6.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/makeUpperBoundNonNullable/typeMismatchAny6.kt.after @@ -6,3 +6,5 @@ fun foo(x: R) {} fun bar(x: T) { foo(x) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.HighPriorityMakeUpperBoundNonNullableFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/makeUpperBoundNonNullable/typeMismatchAny6LanguageVersion16.kt b/plugins/kotlin/idea/tests/testData/quickfix/makeUpperBoundNonNullable/typeMismatchAny6LanguageVersion16.kt index 695eab2a32a0..fff3102a527b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/makeUpperBoundNonNullable/typeMismatchAny6LanguageVersion16.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/makeUpperBoundNonNullable/typeMismatchAny6LanguageVersion16.kt @@ -6,3 +6,5 @@ fun foo(x: R) {} fun bar(x: T) { foo(x) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.HighPriorityMakeUpperBoundNonNullableFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/makeUpperBoundNonNullable/typeMismatchAny6LanguageVersion16.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/makeUpperBoundNonNullable/typeMismatchAny6LanguageVersion16.kt.after index cdc3dd6a4d70..89ad52f640d1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/makeUpperBoundNonNullable/typeMismatchAny6LanguageVersion16.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/makeUpperBoundNonNullable/typeMismatchAny6LanguageVersion16.kt.after @@ -6,3 +6,5 @@ fun foo(x: R) {} fun bar(x: T) { foo(x) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.HighPriorityMakeUpperBoundNonNullableFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/makeUpperBoundNonNullable/typeMismatchReplace1.kt b/plugins/kotlin/idea/tests/testData/quickfix/makeUpperBoundNonNullable/typeMismatchReplace1.kt index 7a3842cf0b4d..5e1f3f9db86c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/makeUpperBoundNonNullable/typeMismatchReplace1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/makeUpperBoundNonNullable/typeMismatchReplace1.kt @@ -8,3 +8,5 @@ fun foo(x: R & Any) {} fun bar(x: T) { foo(x) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.HighPriorityMakeUpperBoundNonNullableFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/makeUpperBoundNonNullable/typeMismatchReplace1.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/makeUpperBoundNonNullable/typeMismatchReplace1.kt.after index 3c51dd03df8a..1521524b0e4d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/makeUpperBoundNonNullable/typeMismatchReplace1.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/makeUpperBoundNonNullable/typeMismatchReplace1.kt.after @@ -8,3 +8,5 @@ fun foo(x: R & Any) {} fun bar(x: T) { foo(x) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.HighPriorityMakeUpperBoundNonNullableFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/makeUpperBoundNonNullable/typeMismatchReplace2.kt b/plugins/kotlin/idea/tests/testData/quickfix/makeUpperBoundNonNullable/typeMismatchReplace2.kt index 310709c6325f..19cb24ecb94a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/makeUpperBoundNonNullable/typeMismatchReplace2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/makeUpperBoundNonNullable/typeMismatchReplace2.kt @@ -12,3 +12,5 @@ class Bar { foo(x) } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.HighPriorityMakeUpperBoundNonNullableFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/makeUpperBoundNonNullable/typeMismatchReplace2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/makeUpperBoundNonNullable/typeMismatchReplace2.kt.after index 02a2188a5072..7fcb9856ad91 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/makeUpperBoundNonNullable/typeMismatchReplace2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/makeUpperBoundNonNullable/typeMismatchReplace2.kt.after @@ -12,3 +12,5 @@ class Bar { foo(x) } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.HighPriorityMakeUpperBoundNonNullableFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/memberVisibilityCanBePrivate/constructorParam.kt b/plugins/kotlin/idea/tests/testData/quickfix/memberVisibilityCanBePrivate/constructorParam.kt index dc5f7603ed6d..0397ab0cd24f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/memberVisibilityCanBePrivate/constructorParam.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/memberVisibilityCanBePrivate/constructorParam.kt @@ -4,3 +4,5 @@ class A(internal val a: String = "") { a } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/memberVisibilityCanBePrivate/constructorParam.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/memberVisibilityCanBePrivate/constructorParam.kt.after index 54161e697ba6..db02bfd39635 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/memberVisibilityCanBePrivate/constructorParam.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/memberVisibilityCanBePrivate/constructorParam.kt.after @@ -4,3 +4,5 @@ class A(private val a: String = "") { a } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/memberVisibilityCanBePrivate/internal.kt b/plugins/kotlin/idea/tests/testData/quickfix/memberVisibilityCanBePrivate/internal.kt index 5f3e1d89ec7b..8814e9010662 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/memberVisibilityCanBePrivate/internal.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/memberVisibilityCanBePrivate/internal.kt @@ -5,4 +5,5 @@ class A { fun foo() { a } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/memberVisibilityCanBePrivate/internal.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/memberVisibilityCanBePrivate/internal.kt.after index fd628ed27c08..e8e31ecf770f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/memberVisibilityCanBePrivate/internal.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/memberVisibilityCanBePrivate/internal.kt.after @@ -5,4 +5,5 @@ class A { fun foo() { a } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/memberVisibilityCanBePrivate/noModifier.kt b/plugins/kotlin/idea/tests/testData/quickfix/memberVisibilityCanBePrivate/noModifier.kt index a31c4255f04f..f5d4b63a0c92 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/memberVisibilityCanBePrivate/noModifier.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/memberVisibilityCanBePrivate/noModifier.kt @@ -5,4 +5,5 @@ class A { fun foo() { a } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/memberVisibilityCanBePrivate/noModifier.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/memberVisibilityCanBePrivate/noModifier.kt.after index fd628ed27c08..e8e31ecf770f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/memberVisibilityCanBePrivate/noModifier.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/memberVisibilityCanBePrivate/noModifier.kt.after @@ -5,4 +5,5 @@ class A { fun foo() { a } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/memberVisibilityCanBePrivate/protected.kt b/plugins/kotlin/idea/tests/testData/quickfix/memberVisibilityCanBePrivate/protected.kt index 2dc6c86c5812..87fbd2fbcc2a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/memberVisibilityCanBePrivate/protected.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/memberVisibilityCanBePrivate/protected.kt @@ -5,4 +5,5 @@ open class A { fun foo() { a } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/memberVisibilityCanBePrivate/protected.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/memberVisibilityCanBePrivate/protected.kt.after index 3613fb294150..ab4c51a3f78c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/memberVisibilityCanBePrivate/protected.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/memberVisibilityCanBePrivate/protected.kt.after @@ -5,4 +5,5 @@ open class A { fun foo() { a } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/memberVisibilityCanBePrivate/public.kt b/plugins/kotlin/idea/tests/testData/quickfix/memberVisibilityCanBePrivate/public.kt index c2112e81354a..b8046fcebe05 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/memberVisibilityCanBePrivate/public.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/memberVisibilityCanBePrivate/public.kt @@ -5,4 +5,5 @@ class A { fun foo() { a } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/memberVisibilityCanBePrivate/public.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/memberVisibilityCanBePrivate/public.kt.after index fd628ed27c08..e8e31ecf770f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/memberVisibilityCanBePrivate/public.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/memberVisibilityCanBePrivate/public.kt.after @@ -5,4 +5,5 @@ class A { fun foo() { a } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/commasInWhenWithoutArgument/commasInConditionWithNoArguments.kt b/plugins/kotlin/idea/tests/testData/quickfix/migration/commasInWhenWithoutArgument/commasInConditionWithNoArguments.kt index 9967424c9a9d..3f9ad2a62ebe 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/commasInWhenWithoutArgument/commasInConditionWithNoArguments.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/commasInWhenWithoutArgument/commasInConditionWithNoArguments.kt @@ -8,4 +8,5 @@ fun test(i: Int, j: Int) { i < 0, j < 0, j > i -> { /* code 4 */ } else -> { /* other code */ } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.CommaInWhenConditionWithoutArgumentFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/commasInWhenWithoutArgument/commasInConditionWithNoArguments.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/migration/commasInWhenWithoutArgument/commasInConditionWithNoArguments.kt.after index 49cb116ac7b4..6cf4b7389505 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/commasInWhenWithoutArgument/commasInConditionWithNoArguments.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/commasInWhenWithoutArgument/commasInConditionWithNoArguments.kt.after @@ -8,4 +8,5 @@ fun test(i: Int, j: Int) { i < 0 || j < 0 || j > i -> { /* code 4 */ } else -> { /* other code */ } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.CommaInWhenConditionWithoutArgumentFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/commasInWhenWithoutArgument/commasInConditionWithNoArguments2.kt b/plugins/kotlin/idea/tests/testData/quickfix/migration/commasInWhenWithoutArgument/commasInConditionWithNoArguments2.kt index 7991e30c837b..d646b0ccd811 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/commasInWhenWithoutArgument/commasInConditionWithNoArguments2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/commasInWhenWithoutArgument/commasInConditionWithNoArguments2.kt @@ -5,4 +5,5 @@ fun test(a: Boolean, b: Boolean, c: Boolean) { c -> "b" else -> "e" } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.CommaInWhenConditionWithoutArgumentFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/commasInWhenWithoutArgument/commasInConditionWithNoArguments2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/migration/commasInWhenWithoutArgument/commasInConditionWithNoArguments2.kt.after index 5b55bd2e79de..640a3a398a32 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/commasInWhenWithoutArgument/commasInConditionWithNoArguments2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/commasInWhenWithoutArgument/commasInConditionWithNoArguments2.kt.after @@ -5,4 +5,5 @@ fun test(a: Boolean, b: Boolean, c: Boolean) { c -> "b" else -> "e" } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.CommaInWhenConditionWithoutArgumentFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/conflictingExtension/explicitThis.kt b/plugins/kotlin/idea/tests/testData/quickfix/migration/conflictingExtension/explicitThis.kt index 18d56b3d5a18..13cfc66abcdd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/conflictingExtension/explicitThis.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/conflictingExtension/explicitThis.kt @@ -4,4 +4,5 @@ var Thread.priority: Int get() = this.getPriority() set(value) { this.setPriority(value) - } \ No newline at end of file + } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.ConflictingExtensionPropertyInspection$DeleteRedundantExtensionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/conflictingExtension/explicitThis.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/migration/conflictingExtension/explicitThis.kt.after index 1aceb5e4c7ef..04b3e1f04c17 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/conflictingExtension/explicitThis.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/conflictingExtension/explicitThis.kt.after @@ -1,2 +1,3 @@ // "Delete redundant extension property" "true" +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.ConflictingExtensionPropertyInspection$DeleteRedundantExtensionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/conflictingExtension/markHiddenAndDeprecated.kt b/plugins/kotlin/idea/tests/testData/quickfix/migration/conflictingExtension/markHiddenAndDeprecated.kt index 5c81b5471d40..d866368ab960 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/conflictingExtension/markHiddenAndDeprecated.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/conflictingExtension/markHiddenAndDeprecated.kt @@ -2,4 +2,5 @@ import java.io.File val File.name: String - get() = getName() \ No newline at end of file + get() = getName() +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.ConflictingExtensionPropertyInspection$MarkHiddenAndDeprecatedAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/conflictingExtension/markHiddenAndDeprecated.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/migration/conflictingExtension/markHiddenAndDeprecated.kt.after index 36d376f4a2a5..f634fe83c45f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/conflictingExtension/markHiddenAndDeprecated.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/conflictingExtension/markHiddenAndDeprecated.kt.after @@ -3,4 +3,5 @@ import java.io.File @Deprecated("Is replaced with automatic synthetic extension", ReplaceWith("name"), level = DeprecationLevel.HIDDEN) val File.name: String - get() = getName() \ No newline at end of file + get() = getName() +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.ConflictingExtensionPropertyInspection$MarkHiddenAndDeprecatedAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/conflictingExtension/memberExtension.kt b/plugins/kotlin/idea/tests/testData/quickfix/migration/conflictingExtension/memberExtension.kt index 5e17941aba27..1ae6691ec360 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/conflictingExtension/memberExtension.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/conflictingExtension/memberExtension.kt @@ -5,3 +5,5 @@ class C { val File.name: String get() = getName() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.ConflictingExtensionPropertyInspection$DeleteRedundantExtensionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/conflictingExtension/memberExtension.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/migration/conflictingExtension/memberExtension.kt.after index c1444359acd0..ed189a688f62 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/conflictingExtension/memberExtension.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/conflictingExtension/memberExtension.kt.after @@ -3,3 +3,5 @@ import java.io.File class C { } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.ConflictingExtensionPropertyInspection$DeleteRedundantExtensionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/conflictingExtension/returnInGetter.kt b/plugins/kotlin/idea/tests/testData/quickfix/migration/conflictingExtension/returnInGetter.kt index 4271fe88d04e..99ed502c365e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/conflictingExtension/returnInGetter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/conflictingExtension/returnInGetter.kt @@ -2,4 +2,5 @@ import java.io.File val File.name: String - get() { return getName() } \ No newline at end of file + get() { return getName() } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.ConflictingExtensionPropertyInspection$DeleteRedundantExtensionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/conflictingExtension/returnInGetter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/migration/conflictingExtension/returnInGetter.kt.after index c2fe797d1499..87538d755dc1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/conflictingExtension/returnInGetter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/conflictingExtension/returnInGetter.kt.after @@ -1,3 +1,4 @@ // "Delete redundant extension property" "true" import java.io.File +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.ConflictingExtensionPropertyInspection$DeleteRedundantExtensionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/conflictingExtension/setterWithExpressionBody.kt b/plugins/kotlin/idea/tests/testData/quickfix/migration/conflictingExtension/setterWithExpressionBody.kt index 8e60585cd78d..d6c94ffdec38 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/conflictingExtension/setterWithExpressionBody.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/conflictingExtension/setterWithExpressionBody.kt @@ -3,3 +3,5 @@ var Thread.priority: Int get() = getPriority() set(value) = setPriority(value) + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.ConflictingExtensionPropertyInspection$DeleteRedundantExtensionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/conflictingExtension/setterWithExpressionBody.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/migration/conflictingExtension/setterWithExpressionBody.kt.after index 1aceb5e4c7ef..04b3e1f04c17 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/conflictingExtension/setterWithExpressionBody.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/conflictingExtension/setterWithExpressionBody.kt.after @@ -1,2 +1,3 @@ // "Delete redundant extension property" "true" +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.ConflictingExtensionPropertyInspection$DeleteRedundantExtensionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/conflictingExtension/simple.kt b/plugins/kotlin/idea/tests/testData/quickfix/migration/conflictingExtension/simple.kt index 4c2f05414882..89c405d9f9d1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/conflictingExtension/simple.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/conflictingExtension/simple.kt @@ -2,4 +2,5 @@ import java.io.File val File.name: String - get() = getName() \ No newline at end of file + get() = getName() +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.ConflictingExtensionPropertyInspection$DeleteRedundantExtensionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/conflictingExtension/simple.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/migration/conflictingExtension/simple.kt.after index c2fe797d1499..87538d755dc1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/conflictingExtension/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/conflictingExtension/simple.kt.after @@ -1,3 +1,4 @@ // "Delete redundant extension property" "true" import java.io.File +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.ConflictingExtensionPropertyInspection$DeleteRedundantExtensionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/conflictingExtension/valInsteadOfVar.kt b/plugins/kotlin/idea/tests/testData/quickfix/migration/conflictingExtension/valInsteadOfVar.kt index 1cde1940de08..3747766d6c52 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/conflictingExtension/valInsteadOfVar.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/conflictingExtension/valInsteadOfVar.kt @@ -2,3 +2,5 @@ val Thread.priority: Int get() = getPriority() + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.ConflictingExtensionPropertyInspection$DeleteRedundantExtensionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/conflictingExtension/valInsteadOfVar.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/migration/conflictingExtension/valInsteadOfVar.kt.after index 1aceb5e4c7ef..04b3e1f04c17 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/conflictingExtension/valInsteadOfVar.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/conflictingExtension/valInsteadOfVar.kt.after @@ -1,2 +1,3 @@ // "Delete redundant extension property" "true" +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.ConflictingExtensionPropertyInspection$DeleteRedundantExtensionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/conflictingExtension/withSetter.kt b/plugins/kotlin/idea/tests/testData/quickfix/migration/conflictingExtension/withSetter.kt index 83e0f50a7d8b..463cac58a155 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/conflictingExtension/withSetter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/conflictingExtension/withSetter.kt @@ -4,4 +4,5 @@ var Thread.priority: Int get() = getPriority() set(value) { setPriority(value) - } \ No newline at end of file + } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.ConflictingExtensionPropertyInspection$DeleteRedundantExtensionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/conflictingExtension/withSetter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/migration/conflictingExtension/withSetter.kt.after index 1aceb5e4c7ef..04b3e1f04c17 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/conflictingExtension/withSetter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/conflictingExtension/withSetter.kt.after @@ -1,2 +1,3 @@ // "Delete redundant extension property" "true" +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.ConflictingExtensionPropertyInspection$DeleteRedundantExtensionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/anotherAnnotationExists.kt b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/anotherAnnotationExists.kt index 5e0885734a5a..9b590df5bec1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/anotherAnnotationExists.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/anotherAnnotationExists.kt @@ -5,3 +5,5 @@ @Experimental @Target(AnnotationTarget.TYPEALIAS) annotation class Marker + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.migration.MigrateExperimentalToRequiresOptInFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/anotherAnnotationExists.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/anotherAnnotationExists.kt.after index 1b77a981c541..63504f620cb6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/anotherAnnotationExists.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/anotherAnnotationExists.kt.after @@ -5,3 +5,5 @@ @RequiresOptIn @Target(AnnotationTarget.TYPEALIAS) annotation class Marker + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.migration.MigrateExperimentalToRequiresOptInFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/bothAnnotations1.kt b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/bothAnnotations1.kt index ee4dd29f6c4e..047dc3b1f70f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/bothAnnotations1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/bothAnnotations1.kt @@ -5,3 +5,5 @@ @Experimental @RequiresOptIn annotation class Marker + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.RemoveAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/bothAnnotations1.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/bothAnnotations1.kt.after index 476a3cf1df6e..c77297ccd2aa 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/bothAnnotations1.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/bothAnnotations1.kt.after @@ -4,3 +4,5 @@ @RequiresOptIn annotation class Marker + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.RemoveAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/bothAnnotations2.kt b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/bothAnnotations2.kt index 5ba5b9a9c154..a12227a803fd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/bothAnnotations2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/bothAnnotations2.kt @@ -5,3 +5,5 @@ @Experimental(level = Experimental.Level.WARNING) @RequiresOptIn(message = "Some experimental API", level = RequiresOptIn.Level.ERROR) annotation class Marker + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.RemoveAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/bothAnnotations2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/bothAnnotations2.kt.after index f2b8b3d79eb1..a49af7b2a903 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/bothAnnotations2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/bothAnnotations2.kt.after @@ -4,3 +4,5 @@ @RequiresOptIn(message = "Some experimental API", level = RequiresOptIn.Level.ERROR) annotation class Marker + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.RemoveAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/namedArgumentError1.kt b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/namedArgumentError1.kt index fc13600b97cf..8b9c730f0250 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/namedArgumentError1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/namedArgumentError1.kt @@ -4,3 +4,5 @@ @Experimental(level=Experimental.Level.ERROR) annotation class Marker + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.migration.MigrateExperimentalToRequiresOptInFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/namedArgumentError1.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/namedArgumentError1.kt.after index 85de4567ef80..18ecc268d55a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/namedArgumentError1.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/namedArgumentError1.kt.after @@ -4,3 +4,5 @@ @RequiresOptIn(level = RequiresOptIn.Level.ERROR) annotation class Marker + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.migration.MigrateExperimentalToRequiresOptInFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/namedArgumentError2.kt b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/namedArgumentError2.kt index e3192c6cdf0e..4c0d1f49e986 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/namedArgumentError2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/namedArgumentError2.kt @@ -7,3 +7,5 @@ import kotlin.Experimental.* @Experimental(Level.ERROR) annotation class Marker + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.migration.MigrateExperimentalToRequiresOptInFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/namedArgumentError2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/namedArgumentError2.kt.after index b6164db1e700..708e3b61e053 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/namedArgumentError2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/namedArgumentError2.kt.after @@ -7,3 +7,5 @@ import kotlin.Experimental.* @RequiresOptIn(level = RequiresOptIn.Level.ERROR) annotation class Marker + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.migration.MigrateExperimentalToRequiresOptInFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/namedArgumentWarning.kt b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/namedArgumentWarning.kt index e56d2b9a60a9..3700a38c53b9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/namedArgumentWarning.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/namedArgumentWarning.kt @@ -4,3 +4,5 @@ @Experimental(level=Experimental.Level.WARNING) annotation class Marker + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.migration.MigrateExperimentalToRequiresOptInFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/namedArgumentWarning.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/namedArgumentWarning.kt.after index 4f03e2b54b29..394fc9ec539c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/namedArgumentWarning.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/namedArgumentWarning.kt.after @@ -4,3 +4,5 @@ @RequiresOptIn(level = RequiresOptIn.Level.WARNING) annotation class Marker + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.migration.MigrateExperimentalToRequiresOptInFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/newAnnotationImportShortenedName.kt b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/newAnnotationImportShortenedName.kt index f86d9cfb60a7..1391bf800947 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/newAnnotationImportShortenedName.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/newAnnotationImportShortenedName.kt @@ -6,3 +6,5 @@ import kotlin.RequiresOptIn.* @Experimental(Experimental.Level.ERROR) annotation class Marker + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.migration.MigrateExperimentalToRequiresOptInFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/newAnnotationImportShortenedName.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/newAnnotationImportShortenedName.kt.after index f89801204713..0631f034f347 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/newAnnotationImportShortenedName.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/newAnnotationImportShortenedName.kt.after @@ -6,3 +6,5 @@ import kotlin.RequiresOptIn.* @RequiresOptIn(level = Level.ERROR) annotation class Marker + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.migration.MigrateExperimentalToRequiresOptInFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/noArguments.kt b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/noArguments.kt index 10b30d64ae3b..2361183fecda 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/noArguments.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/noArguments.kt @@ -4,3 +4,5 @@ @Experimental annotation class Marker + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.migration.MigrateExperimentalToRequiresOptInFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/noArguments.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/noArguments.kt.after index 35ccbe4c9f2b..c9f1da94d401 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/noArguments.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/noArguments.kt.after @@ -4,3 +4,5 @@ @RequiresOptIn annotation class Marker + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.migration.MigrateExperimentalToRequiresOptInFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/noArgumentsEmptyParens.kt b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/noArgumentsEmptyParens.kt index c4695d06b528..9b2e9750a372 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/noArgumentsEmptyParens.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/noArgumentsEmptyParens.kt @@ -4,3 +4,5 @@ @Experimental() annotation class Marker + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.migration.MigrateExperimentalToRequiresOptInFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/noArgumentsEmptyParens.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/noArgumentsEmptyParens.kt.after index 35ccbe4c9f2b..c9f1da94d401 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/noArgumentsEmptyParens.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/noArgumentsEmptyParens.kt.after @@ -4,3 +4,5 @@ @RequiresOptIn annotation class Marker + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.migration.MigrateExperimentalToRequiresOptInFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/unnamedArgumentError.kt b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/unnamedArgumentError.kt index 1d9b01be7171..89f3742c24b0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/unnamedArgumentError.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/unnamedArgumentError.kt @@ -4,3 +4,5 @@ @Experimental(Experimental.Level.ERROR) annotation class Marker + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.migration.MigrateExperimentalToRequiresOptInFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/unnamedArgumentError.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/unnamedArgumentError.kt.after index 85de4567ef80..18ecc268d55a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/unnamedArgumentError.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/unnamedArgumentError.kt.after @@ -4,3 +4,5 @@ @RequiresOptIn(level = RequiresOptIn.Level.ERROR) annotation class Marker + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.migration.MigrateExperimentalToRequiresOptInFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/unnamedArgumentWarning.kt b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/unnamedArgumentWarning.kt index 32e610ba72b9..743c45bbd2b9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/unnamedArgumentWarning.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/unnamedArgumentWarning.kt @@ -4,3 +4,5 @@ @Experimental(Experimental.Level.WARNING) annotation class Marker + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.migration.MigrateExperimentalToRequiresOptInFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/unnamedArgumentWarning.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/unnamedArgumentWarning.kt.after index 88a4b87534a1..51ef18ae14c2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/unnamedArgumentWarning.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/experimentalToRequiresOptIn/unnamedArgumentWarning.kt.after @@ -4,3 +4,5 @@ @RequiresOptIn(level = RequiresOptIn.Level.WARNING) annotation class Marker + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.migration.MigrateExperimentalToRequiresOptInFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/jsExternal/externalExtensionFunJsRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/migration/jsExternal/externalExtensionFunJsRuntime.kt index 103da0f759ff..6ed681a21b39 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/jsExternal/externalExtensionFunJsRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/jsExternal/externalExtensionFunJsRuntime.kt @@ -4,3 +4,5 @@ class A external fun A.bar(): Unit = noImpl + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.migration.MigrateExternalExtensionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/jsExternal/externalExtensionFunJsRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/migration/jsExternal/externalExtensionFunJsRuntime.kt.after index 28adccdd6280..7026ed2fad03 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/jsExternal/externalExtensionFunJsRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/jsExternal/externalExtensionFunJsRuntime.kt.after @@ -5,3 +5,5 @@ class A @Suppress("NOTHING_TO_INLINE") inline fun A.bar(): Unit = asDynamic().bar() + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.migration.MigrateExternalExtensionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/jsExternal/externalExtensionFunParamsJsRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/migration/jsExternal/externalExtensionFunParamsJsRuntime.kt index e20d1a6d14b8..ab83691956c9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/jsExternal/externalExtensionFunParamsJsRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/jsExternal/externalExtensionFunParamsJsRuntime.kt @@ -5,3 +5,5 @@ class A external fun A.bar(a: Int, b: String) + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.migration.MigrateExternalExtensionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/jsExternal/externalExtensionFunParamsJsRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/migration/jsExternal/externalExtensionFunParamsJsRuntime.kt.after index 1904e106bef7..e3484c3c6cf0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/jsExternal/externalExtensionFunParamsJsRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/jsExternal/externalExtensionFunParamsJsRuntime.kt.after @@ -6,3 +6,5 @@ class A @Suppress("NOTHING_TO_INLINE") inline fun A.bar(a: Int, b: String): Unit = asDynamic().bar(a, b) + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.migration.MigrateExternalExtensionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/jsExternal/externalExtensionVarJsRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/migration/jsExternal/externalExtensionVarJsRuntime.kt index 3e6ae284a8bf..5ede01c71596 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/jsExternal/externalExtensionVarJsRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/jsExternal/externalExtensionVarJsRuntime.kt @@ -4,3 +4,5 @@ class A external var A.baz: String + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.migration.MigrateExternalExtensionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/jsExternal/externalExtensionVarJsRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/migration/jsExternal/externalExtensionVarJsRuntime.kt.after index 7a6206a5c09d..b35887ad2466 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/jsExternal/externalExtensionVarJsRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/jsExternal/externalExtensionVarJsRuntime.kt.after @@ -8,3 +8,5 @@ inline var A.baz: String set(value) { asDynamic().baz = value } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.migration.MigrateExternalExtensionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/jsExternal/funPlacementOnCompanionObjectJsRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/migration/jsExternal/funPlacementOnCompanionObjectJsRuntime.kt index ebbb10e7407d..fdbaed78feaf 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/jsExternal/funPlacementOnCompanionObjectJsRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/jsExternal/funPlacementOnCompanionObjectJsRuntime.kt @@ -8,3 +8,5 @@ external class A { fun test() { A.foo() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/jsExternal/funPlacementOnCompanionObjectJsRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/migration/jsExternal/funPlacementOnCompanionObjectJsRuntime.kt.after index d3ae5f459055..52e002bbbc48 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/jsExternal/funPlacementOnCompanionObjectJsRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/jsExternal/funPlacementOnCompanionObjectJsRuntime.kt.after @@ -10,3 +10,5 @@ external class A { fun test() { A.foo() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/jsExternal/funPlacementOnExternalClassJsRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/migration/jsExternal/funPlacementOnExternalClassJsRuntime.kt index a29f239c1aef..155f859078bd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/jsExternal/funPlacementOnExternalClassJsRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/jsExternal/funPlacementOnExternalClassJsRuntime.kt @@ -6,3 +6,5 @@ external class A fun test() { A().foo() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/jsExternal/funPlacementOnExternalClassJsRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/migration/jsExternal/funPlacementOnExternalClassJsRuntime.kt.after index 5955ab553c0d..59d1428fb15a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/jsExternal/funPlacementOnExternalClassJsRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/jsExternal/funPlacementOnExternalClassJsRuntime.kt.after @@ -8,3 +8,5 @@ external class A { fun test() { A().foo() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/jsExternal/funPlacementOnExternalObjectJsRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/migration/jsExternal/funPlacementOnExternalObjectJsRuntime.kt index 0e4a725a437a..2956cc989fa7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/jsExternal/funPlacementOnExternalObjectJsRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/jsExternal/funPlacementOnExternalObjectJsRuntime.kt @@ -6,3 +6,5 @@ external object A fun test() { A.foo() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/jsExternal/funPlacementOnExternalObjectJsRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/migration/jsExternal/funPlacementOnExternalObjectJsRuntime.kt.after index 89cea8fe42f9..412cd9b19a7b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/jsExternal/funPlacementOnExternalObjectJsRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/jsExternal/funPlacementOnExternalObjectJsRuntime.kt.after @@ -8,3 +8,5 @@ external object A { fun test() { A.foo() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/jsExternal/nativeGetterExtensionFunJsRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/migration/jsExternal/nativeGetterExtensionFunJsRuntime.kt index 36b38314d6fa..fe2b984b2e64 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/jsExternal/nativeGetterExtensionFunJsRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/jsExternal/nativeGetterExtensionFunJsRuntime.kt @@ -4,4 +4,5 @@ external class B @nativeGetter -fun B.boo(i: Int): B? \ No newline at end of file +fun B.boo(i: Int): B? +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.migration.MigrateExternalExtensionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/jsExternal/nativeGetterExtensionFunJsRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/migration/jsExternal/nativeGetterExtensionFunJsRuntime.kt.after index a7445ccf5c23..aa4f343cdee8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/jsExternal/nativeGetterExtensionFunJsRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/jsExternal/nativeGetterExtensionFunJsRuntime.kt.after @@ -4,4 +4,5 @@ external class B @Suppress("NOTHING_TO_INLINE") -inline fun B.boo(i: Int): B? = asDynamic()[i] \ No newline at end of file +inline fun B.boo(i: Int): B? = asDynamic()[i] +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.migration.MigrateExternalExtensionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/jsExternal/nativeInvokeExtensionFunJsRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/migration/jsExternal/nativeInvokeExtensionFunJsRuntime.kt index 7888dcf971ba..21346eda68a2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/jsExternal/nativeInvokeExtensionFunJsRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/jsExternal/nativeInvokeExtensionFunJsRuntime.kt @@ -4,4 +4,5 @@ external class B @nativeInvoke -fun B.baz(a: B) \ No newline at end of file +fun B.baz(a: B) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.migration.MigrateExternalExtensionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/jsExternal/nativeInvokeExtensionFunJsRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/migration/jsExternal/nativeInvokeExtensionFunJsRuntime.kt.after index cdbf22c962c7..09d5bb665d6b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/jsExternal/nativeInvokeExtensionFunJsRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/jsExternal/nativeInvokeExtensionFunJsRuntime.kt.after @@ -6,4 +6,5 @@ external class B @Suppress("NOTHING_TO_INLINE") inline fun B.baz(a: B) { asDynamic()(a) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.migration.MigrateExternalExtensionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/jsExternal/nativeMemberAll03.kt b/plugins/kotlin/idea/tests/testData/quickfix/migration/jsExternal/nativeMemberAll03.kt index ac5b3c2a4f96..58636b045286 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/jsExternal/nativeMemberAll03.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/jsExternal/nativeMemberAll03.kt @@ -18,4 +18,5 @@ external class B { fun dontTouch(): Nothing = definedExternally fun B.doNotTouchNestedExtensionMembers(): Nothing = definedExternally -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.migration.MigrateExternalExtensionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/jsExternal/nativeMemberAll03.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/migration/jsExternal/nativeMemberAll03.kt.after index f70695d0d447..92e533ace38d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/jsExternal/nativeMemberAll03.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/jsExternal/nativeMemberAll03.kt.after @@ -25,4 +25,5 @@ inline fun B.bar(a: B) { @Suppress("NOTHING_TO_INLINE") inline fun B.exp(t: T) { asDynamic()(t) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.migration.MigrateExternalExtensionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/jsExternal/nativeSetterExtensionFunJsRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/migration/jsExternal/nativeSetterExtensionFunJsRuntime.kt index b1ef2984b054..2f86b8d05524 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/jsExternal/nativeSetterExtensionFunJsRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/jsExternal/nativeSetterExtensionFunJsRuntime.kt @@ -4,4 +4,5 @@ external class B @nativeSetter -fun B.boo(i: Int, v: B) \ No newline at end of file +fun B.boo(i: Int, v: B) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.migration.MigrateExternalExtensionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/jsExternal/nativeSetterExtensionFunJsRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/migration/jsExternal/nativeSetterExtensionFunJsRuntime.kt.after index 7b2ea9872c96..38b6799e1c6b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/jsExternal/nativeSetterExtensionFunJsRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/jsExternal/nativeSetterExtensionFunJsRuntime.kt.after @@ -6,4 +6,5 @@ external class B @Suppress("NOTHING_TO_INLINE") inline fun B.boo(i: Int, v: B) { asDynamic()[i] = v -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.migration.MigrateExternalExtensionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/missingConstructorKeyword/basic.kt b/plugins/kotlin/idea/tests/testData/quickfix/migration/missingConstructorKeyword/basic.kt index dd5d4f44a66d..40cad6ea3510 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/missingConstructorKeyword/basic.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/missingConstructorKeyword/basic.kt @@ -1,3 +1,5 @@ // "Add 'constructor' keyword" "true" class A private() + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MissingConstructorKeywordFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/missingConstructorKeyword/basic.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/migration/missingConstructorKeyword/basic.kt.after index 69df9eecd7ab..0465a23a01ac 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/missingConstructorKeyword/basic.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/missingConstructorKeyword/basic.kt.after @@ -1,3 +1,5 @@ // "Add 'constructor' keyword" "true" class A private constructor() + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MissingConstructorKeywordFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/missingConstructorKeyword/noParentheses.kt b/plugins/kotlin/idea/tests/testData/quickfix/migration/missingConstructorKeyword/noParentheses.kt index c152fadca33a..0509a4e2024b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/missingConstructorKeyword/noParentheses.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/missingConstructorKeyword/noParentheses.kt @@ -1,3 +1,4 @@ // "Add 'constructor' keyword" "true" class A private { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MissingConstructorKeywordFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/missingConstructorKeyword/noParentheses.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/migration/missingConstructorKeyword/noParentheses.kt.after index c0ad6f436eaf..6406bd301427 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/missingConstructorKeyword/noParentheses.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/missingConstructorKeyword/noParentheses.kt.after @@ -1,3 +1,4 @@ // "Add 'constructor' keyword" "true" class A private constructor() { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MissingConstructorKeywordFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/missingConstructorKeyword/noParenthesesWithAnnotation.kt b/plugins/kotlin/idea/tests/testData/quickfix/migration/missingConstructorKeyword/noParenthesesWithAnnotation.kt index c6865ddb71c8..e9a9169bcf5f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/missingConstructorKeyword/noParenthesesWithAnnotation.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/missingConstructorKeyword/noParenthesesWithAnnotation.kt @@ -2,4 +2,5 @@ annotation class Ann class A @Ann() { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MissingConstructorKeywordFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/missingConstructorKeyword/noParenthesesWithAnnotation.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/migration/missingConstructorKeyword/noParenthesesWithAnnotation.kt.after index 659606136564..0089d2c21636 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/missingConstructorKeyword/noParenthesesWithAnnotation.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/missingConstructorKeyword/noParenthesesWithAnnotation.kt.after @@ -2,4 +2,5 @@ annotation class Ann class A @Ann() constructor() { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MissingConstructorKeywordFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/obsoleteLabelSyntax/lambda.kt b/plugins/kotlin/idea/tests/testData/quickfix/migration/obsoleteLabelSyntax/lambda.kt index f422ab0f84e4..fb3f414f7b32 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/obsoleteLabelSyntax/lambda.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/obsoleteLabelSyntax/lambda.kt @@ -7,3 +7,5 @@ fun foo() { return@label } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceObsoleteLabelSyntaxFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/obsoleteLabelSyntax/lambda.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/migration/obsoleteLabelSyntax/lambda.kt.after index 3a075a9bce76..6657eb4f794b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/obsoleteLabelSyntax/lambda.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/obsoleteLabelSyntax/lambda.kt.after @@ -7,3 +7,5 @@ fun foo() { return@label } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceObsoleteLabelSyntaxFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/obsoleteLabelSyntax/loop.kt b/plugins/kotlin/idea/tests/testData/quickfix/migration/obsoleteLabelSyntax/loop.kt index 3c1e5b5579af..f74180df322a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/obsoleteLabelSyntax/loop.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/obsoleteLabelSyntax/loop.kt @@ -5,3 +5,5 @@ fun foo() { break@loop } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceObsoleteLabelSyntaxFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/obsoleteLabelSyntax/loop.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/migration/obsoleteLabelSyntax/loop.kt.after index bf62ccdc9e27..ab06dd853a3b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/obsoleteLabelSyntax/loop.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/obsoleteLabelSyntax/loop.kt.after @@ -5,3 +5,5 @@ fun foo() { break@loop } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceObsoleteLabelSyntaxFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/removeNameFromFunctionExpression/basic.kt b/plugins/kotlin/idea/tests/testData/quickfix/migration/removeNameFromFunctionExpression/basic.kt index afa906111432..252b2442dc0c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/removeNameFromFunctionExpression/basic.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/removeNameFromFunctionExpression/basic.kt @@ -5,3 +5,5 @@ fun foo() { return@bar }) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveNameFromFunctionExpressionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/removeNameFromFunctionExpression/basic.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/migration/removeNameFromFunctionExpression/basic.kt.after index f1dc70f54fd6..1cf96d7cd1b0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/removeNameFromFunctionExpression/basic.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/removeNameFromFunctionExpression/basic.kt.after @@ -5,3 +5,5 @@ fun foo() { return@bar }) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveNameFromFunctionExpressionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/typeParameterList/basic.kt b/plugins/kotlin/idea/tests/testData/quickfix/migration/typeParameterList/basic.kt index 490806ce10b2..b0309f2b3cba 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/typeParameterList/basic.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/typeParameterList/basic.kt @@ -1,2 +1,4 @@ // "Migrate type parameter list syntax" "true" fun f() {} + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.migration.MigrateTypeParameterListFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/typeParameterList/basic.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/migration/typeParameterList/basic.kt.after index 0e4efc76ac9b..9cf6ccb6f602 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/typeParameterList/basic.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/typeParameterList/basic.kt.after @@ -1,2 +1,4 @@ // "Migrate type parameter list syntax" "true" fun f() {} + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.migration.MigrateTypeParameterListFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/typeParameterList/extension.kt b/plugins/kotlin/idea/tests/testData/quickfix/migration/typeParameterList/extension.kt index 65d13e284368..5a5cdedf64b8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/typeParameterList/extension.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/typeParameterList/extension.kt @@ -3,3 +3,5 @@ class Foo fun Foo.f() {} + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.migration.MigrateTypeParameterListFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/migration/typeParameterList/extension.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/migration/typeParameterList/extension.kt.after index ac8fba15c2e7..51286fa9eda7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/migration/typeParameterList/extension.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/migration/typeParameterList/extension.kt.after @@ -3,3 +3,5 @@ class Foo fun Foo.f() {} + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.migration.MigrateTypeParameterListFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/missingConstructorBrackets/basic.kt b/plugins/kotlin/idea/tests/testData/quickfix/missingConstructorBrackets/basic.kt index f30e2b78aba2..a93b160ca613 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/missingConstructorBrackets/basic.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/missingConstructorBrackets/basic.kt @@ -1,4 +1,5 @@ // "Add empty brackets after primary constructor" "true" class Fruit private constructor { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MissingConstructorBracketsFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/missingConstructorBrackets/basic.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/missingConstructorBrackets/basic.kt.after index d46f482cccbd..881347df62d2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/missingConstructorBrackets/basic.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/missingConstructorBrackets/basic.kt.after @@ -1,4 +1,5 @@ // "Add empty brackets after primary constructor" "true" class Fruit private constructor() { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MissingConstructorBracketsFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/abstractClassMemberNotImplemented.kt b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/abstractClassMemberNotImplemented.kt index 064c156ec800..6b930ef48fb2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/abstractClassMemberNotImplemented.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/abstractClassMemberNotImplemented.kt @@ -4,4 +4,6 @@ abstract class Bar { abstract val i: Int } -class Foo : Bar() {} \ No newline at end of file +class Foo : Bar() {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/abstractClassMemberNotImplemented.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/abstractClassMemberNotImplemented.kt.after index 251e19a8fc0c..86596a3763fa 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/abstractClassMemberNotImplemented.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/abstractClassMemberNotImplemented.kt.after @@ -4,4 +4,6 @@ abstract class Bar { abstract val i: Int } -abstract class Foo : Bar() {} \ No newline at end of file +abstract class Foo : Bar() {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/abstractMemberNotImplemented.kt b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/abstractMemberNotImplemented.kt index 541261e85b4d..782ecebb21bf 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/abstractMemberNotImplemented.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/abstractMemberNotImplemented.kt @@ -1,3 +1,5 @@ // "Make 'Foo' 'abstract'" "true" -class Foo : List {} \ No newline at end of file +class Foo : List {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/abstractMemberNotImplemented.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/abstractMemberNotImplemented.kt.after index a20ab0ceb99f..62e4feecceb6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/abstractMemberNotImplemented.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/abstractMemberNotImplemented.kt.after @@ -1,3 +1,5 @@ // "Make 'Foo' 'abstract'" "true" -abstract class Foo : List {} \ No newline at end of file +abstract class Foo : List {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/abstractModifierInEnum.kt b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/abstractModifierInEnum.kt index 553cded72222..66b3291a52f8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/abstractModifierInEnum.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/abstractModifierInEnum.kt @@ -2,3 +2,6 @@ abstract enum class A() { } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/abstractModifierInEnum.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/abstractModifierInEnum.kt.after index e4e594fda211..a0887e6a56f2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/abstractModifierInEnum.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/abstractModifierInEnum.kt.after @@ -2,3 +2,6 @@ enum class A() { } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/abstractVarWithPrivateSetter.kt b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/abstractVarWithPrivateSetter.kt index 88652b475be5..0a19d2c0c158 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/abstractVarWithPrivateSetter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/abstractVarWithPrivateSetter.kt @@ -3,3 +3,6 @@ abstract class My { abstract var foo: Int private set } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/abstractVarWithPrivateSetter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/abstractVarWithPrivateSetter.kt.after index 569ca407e83b..64c151c58752 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/abstractVarWithPrivateSetter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/abstractVarWithPrivateSetter.kt.after @@ -3,3 +3,6 @@ abstract class My { abstract var foo: Int set } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addDataForJvmRecord.kt b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addDataForJvmRecord.kt index eb3964705ad4..06eac0ea60fa 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addDataForJvmRecord.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addDataForJvmRecord.kt @@ -2,4 +2,6 @@ // JVM_TARGET: 16 // WITH_STDLIB @JvmRecord -class Rec(val length: Double, val width: Double) \ No newline at end of file +class Rec(val length: Double, val width: Double) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addDataForJvmRecord.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addDataForJvmRecord.kt.after index d83cad265485..f1f342e17f87 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addDataForJvmRecord.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addDataForJvmRecord.kt.after @@ -2,4 +2,6 @@ // JVM_TARGET: 16 // WITH_STDLIB @JvmRecord -data class Rec(val length: Double, val width: Double) \ No newline at end of file +data class Rec(val length: Double, val width: Double) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addLateinit.kt b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addLateinit.kt index 90310da8de9c..615d3039c74b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addLateinit.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addLateinit.kt @@ -3,3 +3,6 @@ class A { private var a: String } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addLateinit.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addLateinit.kt.after index 08513737b601..0b6f5e9b4b67 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addLateinit.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addLateinit.kt.after @@ -3,3 +3,6 @@ class A { private lateinit var a: String } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addOpenToClassDeclaration/explicitlyFinalSupertype.kt b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addOpenToClassDeclaration/explicitlyFinalSupertype.kt index c9043c369650..ab0ad20356c7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addOpenToClassDeclaration/explicitlyFinalSupertype.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addOpenToClassDeclaration/explicitlyFinalSupertype.kt @@ -1,3 +1,6 @@ // "Make 'A' 'open'" "true" final class A {} class B : A() {} + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addOpenToClassDeclaration/explicitlyFinalSupertype.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addOpenToClassDeclaration/explicitlyFinalSupertype.kt.after index 656230562493..1a1817829c41 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addOpenToClassDeclaration/explicitlyFinalSupertype.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addOpenToClassDeclaration/explicitlyFinalSupertype.kt.after @@ -1,3 +1,6 @@ // "Make 'A' 'open'" "true" open class A {} class B : A() {} + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addOpenToClassDeclaration/explicitlyFinalUpperBound.kt b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addOpenToClassDeclaration/explicitlyFinalUpperBound.kt index 299eb1629a9e..9f51ffa38a51 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addOpenToClassDeclaration/explicitlyFinalUpperBound.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addOpenToClassDeclaration/explicitlyFinalUpperBound.kt @@ -1,3 +1,6 @@ // "Make 'A' 'open'" "true" final class A {} class B> {} + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addOpenToClassDeclaration/explicitlyFinalUpperBound.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addOpenToClassDeclaration/explicitlyFinalUpperBound.kt.after index 92ca15f80fe7..7cf3f8abac50 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addOpenToClassDeclaration/explicitlyFinalUpperBound.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addOpenToClassDeclaration/explicitlyFinalUpperBound.kt.after @@ -1,3 +1,6 @@ // "Make 'A' 'open'" "true" open class A {} class B> {} + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addOpenToClassDeclaration/finalSupertype.kt b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addOpenToClassDeclaration/finalSupertype.kt index 71348fa0d1d8..34beab13e352 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addOpenToClassDeclaration/finalSupertype.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addOpenToClassDeclaration/finalSupertype.kt @@ -1,3 +1,6 @@ // "Make 'A' 'open'" "true" class A {} class B : A() {} + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addOpenToClassDeclaration/finalSupertype.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addOpenToClassDeclaration/finalSupertype.kt.after index 656230562493..1a1817829c41 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addOpenToClassDeclaration/finalSupertype.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addOpenToClassDeclaration/finalSupertype.kt.after @@ -1,3 +1,6 @@ // "Make 'A' 'open'" "true" open class A {} class B : A() {} + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addOpenToClassDeclaration/finalUpperBound.kt b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addOpenToClassDeclaration/finalUpperBound.kt index 299eb1629a9e..9f51ffa38a51 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addOpenToClassDeclaration/finalUpperBound.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addOpenToClassDeclaration/finalUpperBound.kt @@ -1,3 +1,6 @@ // "Make 'A' 'open'" "true" final class A {} class B> {} + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addOpenToClassDeclaration/finalUpperBound.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addOpenToClassDeclaration/finalUpperBound.kt.after index 92ca15f80fe7..7cf3f8abac50 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addOpenToClassDeclaration/finalUpperBound.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addOpenToClassDeclaration/finalUpperBound.kt.after @@ -1,3 +1,6 @@ // "Make 'A' 'open'" "true" open class A {} class B> {} + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addOpenToClassDeclaration/implementInterfaceFinalSupertype.kt b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addOpenToClassDeclaration/implementInterfaceFinalSupertype.kt index 1bc8e38313fa..2eb20ed57258 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addOpenToClassDeclaration/implementInterfaceFinalSupertype.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addOpenToClassDeclaration/implementInterfaceFinalSupertype.kt @@ -4,3 +4,6 @@ interface Y {} class A {} class B : X, A(), Y {} + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addOpenToClassDeclaration/implementInterfaceFinalSupertype.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addOpenToClassDeclaration/implementInterfaceFinalSupertype.kt.after index 437f793c67f6..6a1e26a7d704 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addOpenToClassDeclaration/implementInterfaceFinalSupertype.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addOpenToClassDeclaration/implementInterfaceFinalSupertype.kt.after @@ -4,3 +4,6 @@ interface Y {} open class A {} class B : X, A(), Y {} + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addOpenToClassDeclaration/nestedFinalClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addOpenToClassDeclaration/nestedFinalClass.kt index 6c3ab2b7cc25..eb4f5da9a6ae 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addOpenToClassDeclaration/nestedFinalClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addOpenToClassDeclaration/nestedFinalClass.kt @@ -3,4 +3,6 @@ class A { class B } -class C : A.B() \ No newline at end of file +class C : A.B() +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addOpenToClassDeclaration/nestedFinalClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addOpenToClassDeclaration/nestedFinalClass.kt.after index c62bdcc19e81..2fd53ff31b3b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addOpenToClassDeclaration/nestedFinalClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addOpenToClassDeclaration/nestedFinalClass.kt.after @@ -3,4 +3,6 @@ class A { open class B } -class C : A.B() \ No newline at end of file +class C : A.B() +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addOpenToClassDeclaration/secondaryCtrDelegationInHeader.kt b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addOpenToClassDeclaration/secondaryCtrDelegationInHeader.kt index 345ca44ef22e..bdff0fbb3d6f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addOpenToClassDeclaration/secondaryCtrDelegationInHeader.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addOpenToClassDeclaration/secondaryCtrDelegationInHeader.kt @@ -5,3 +5,6 @@ class B { } class A : B() + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addOpenToClassDeclaration/secondaryCtrDelegationInHeader.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addOpenToClassDeclaration/secondaryCtrDelegationInHeader.kt.after index d2022cbe90a5..5582b691ca4d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addOpenToClassDeclaration/secondaryCtrDelegationInHeader.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addOpenToClassDeclaration/secondaryCtrDelegationInHeader.kt.after @@ -5,3 +5,6 @@ open class B { } class A : B() + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addOpenToClassDeclaration/secondaryCtrDelegationInSecondary.kt b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addOpenToClassDeclaration/secondaryCtrDelegationInSecondary.kt index 045dda1cdbc3..a593be0772a6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addOpenToClassDeclaration/secondaryCtrDelegationInSecondary.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addOpenToClassDeclaration/secondaryCtrDelegationInSecondary.kt @@ -7,3 +7,6 @@ class B { class A : B { constructor() {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addOpenToClassDeclaration/secondaryCtrDelegationInSecondary.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addOpenToClassDeclaration/secondaryCtrDelegationInSecondary.kt.after index c270d50f64b0..8fce44c0a92e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addOpenToClassDeclaration/secondaryCtrDelegationInSecondary.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addOpenToClassDeclaration/secondaryCtrDelegationInSecondary.kt.after @@ -7,3 +7,6 @@ open class B { class A : B { constructor() {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addOpenToClassDeclaration/withConstructor.kt b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addOpenToClassDeclaration/withConstructor.kt index b740ee64a16b..429d6a5e4d72 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addOpenToClassDeclaration/withConstructor.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addOpenToClassDeclaration/withConstructor.kt @@ -2,3 +2,6 @@ class A(val v: Int) class B : A(1) + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addOpenToClassDeclaration/withConstructor.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addOpenToClassDeclaration/withConstructor.kt.after index 8cca4cf83cfd..d882b50be905 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addOpenToClassDeclaration/withConstructor.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/addOpenToClassDeclaration/withConstructor.kt.after @@ -2,3 +2,6 @@ open class A(val v: Int) class B : A(1) + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/finalInterface.kt b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/finalInterface.kt index 779fed48366b..ecebeb50aa07 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/finalInterface.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/finalInterface.kt @@ -1,2 +1,5 @@ // "Remove 'final' modifier" "true" final interface A {} + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/finalInterface.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/finalInterface.kt.after index 1ae50142a061..fcb212007289 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/finalInterface.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/finalInterface.kt.after @@ -1,2 +1,5 @@ // "Remove 'final' modifier" "true" interface A {} + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/illegalEnumAnnotation1.kt b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/illegalEnumAnnotation1.kt index 15a15d7f8b51..1733d5db449f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/illegalEnumAnnotation1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/illegalEnumAnnotation1.kt @@ -2,3 +2,6 @@ enum interface A { } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/illegalEnumAnnotation1.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/illegalEnumAnnotation1.kt.after index 649881f153a2..09f3fa9b5c8e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/illegalEnumAnnotation1.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/illegalEnumAnnotation1.kt.after @@ -2,3 +2,6 @@ interface A { } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/illegalEnumAnnotation2.kt b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/illegalEnumAnnotation2.kt index 20d9f48c05f9..0615e7325e97 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/illegalEnumAnnotation2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/illegalEnumAnnotation2.kt @@ -3,3 +3,6 @@ class A() { enum fun foo() {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/illegalEnumAnnotation2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/illegalEnumAnnotation2.kt.after index baa649c699bc..df6fb2de1cac 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/illegalEnumAnnotation2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/illegalEnumAnnotation2.kt.after @@ -3,3 +3,6 @@ class A() { fun foo() {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/infixModifier.kt b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/infixModifier.kt index 63c576eafdbb..d065186507ba 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/infixModifier.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/infixModifier.kt @@ -6,4 +6,5 @@ class A { fun foo() { A() xyzzy 5 } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.AddModifierFixFactory$createAction$1 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/infixModifier.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/infixModifier.kt.after index ef448b5ae110..c5839c87deee 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/infixModifier.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/infixModifier.kt.after @@ -6,4 +6,5 @@ class A { fun foo() { A() xyzzy 5 } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.AddModifierFixFactory$createAction$1 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/kt10409.kt b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/kt10409.kt index eb12edede498..9d8329837d4d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/kt10409.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/kt10409.kt @@ -11,4 +11,6 @@ interface Pipeline { class IterablePipeline : Pipeline { override fun pipe(block: Pipeline) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/kt10409.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/kt10409.kt.after index 70fc15d1706b..aac7334e4f66 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/kt10409.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/kt10409.kt.after @@ -11,4 +11,6 @@ interface Pipeline { abstract class IterablePipeline : Pipeline { override fun pipe(block: Pipeline) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/nestedAbstractClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/nestedAbstractClass.kt index 12e31ae06ab3..3c5519673af9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/nestedAbstractClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/nestedAbstractClass.kt @@ -4,3 +4,6 @@ class A() { abstract class C } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/nestedAbstractClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/nestedAbstractClass.kt.after index 0525a8c1f2fe..ec70ce8221e4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/nestedAbstractClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/nestedAbstractClass.kt.after @@ -4,3 +4,6 @@ class A() { abstract inner class C } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/nestedClassNotAllowed.kt b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/nestedClassNotAllowed.kt index a4304a270987..9526d83bc52a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/nestedClassNotAllowed.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/nestedClassNotAllowed.kt @@ -5,3 +5,6 @@ class A() { } } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/nestedClassNotAllowed.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/nestedClassNotAllowed.kt.after index 0c894b0e1854..23b6da221dc5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/nestedClassNotAllowed.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/nestedClassNotAllowed.kt.after @@ -5,3 +5,6 @@ class A() { } } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/notAnAnnotationClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/notAnAnnotationClass.kt index f1156bab06e1..7805071f942d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/notAnAnnotationClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/notAnAnnotationClass.kt @@ -3,4 +3,5 @@ class fancy @fancy class foo {} -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MakeClassAnAnnotationClassFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/notAnAnnotationClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/notAnAnnotationClass.kt.after index dacd418f4698..042741a8f186 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/notAnAnnotationClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/notAnAnnotationClass.kt.after @@ -3,4 +3,5 @@ annotation class fancy @fancy class foo {} -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MakeClassAnAnnotationClassFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openCompanionObject.kt b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openCompanionObject.kt index 4be0eaf4e35f..a69099803d33 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openCompanionObject.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openCompanionObject.kt @@ -4,3 +4,6 @@ class A { fun a(): Int = 1 } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openCompanionObject.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openCompanionObject.kt.after index 9fe1f42eb30b..29e58ee95eb9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openCompanionObject.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openCompanionObject.kt.after @@ -4,3 +4,6 @@ class A { fun a(): Int = 1 } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openCompanionObject2.kt b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openCompanionObject2.kt index a4d9274c2b29..6230bf5de98b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openCompanionObject2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openCompanionObject2.kt @@ -4,3 +4,6 @@ class A { fun a(): Int = 1 } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openCompanionObject2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openCompanionObject2.kt.after index 5671da2079e1..068440e6fe14 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openCompanionObject2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openCompanionObject2.kt.after @@ -4,3 +4,6 @@ class A { fun a(): Int = 1 } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openMemberInFinalClass1.kt b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openMemberInFinalClass1.kt index 37f71f77f508..34dcbe28fa26 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openMemberInFinalClass1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openMemberInFinalClass1.kt @@ -2,3 +2,6 @@ class A() { open fun foo() {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openMemberInFinalClass1.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openMemberInFinalClass1.kt.after index c121722b204b..2b5b58ab0cab 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openMemberInFinalClass1.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openMemberInFinalClass1.kt.after @@ -2,3 +2,6 @@ open class A() { open fun foo() {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openMemberInFinalClass2.kt b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openMemberInFinalClass2.kt index f46a98892ae9..9b71efbe0685 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openMemberInFinalClass2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openMemberInFinalClass2.kt @@ -2,3 +2,6 @@ class A() { open fun foo() {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openMemberInFinalClass2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openMemberInFinalClass2.kt.after index 1d4c97459f70..848f0223f9b9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openMemberInFinalClass2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openMemberInFinalClass2.kt.after @@ -2,3 +2,6 @@ class A() { fun foo() {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openMemberInFinalClass3.kt b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openMemberInFinalClass3.kt index bb75558fb6a5..82b004ebd719 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openMemberInFinalClass3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openMemberInFinalClass3.kt @@ -2,3 +2,6 @@ public class A() { open fun foo() {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openMemberInFinalClass3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openMemberInFinalClass3.kt.after index 6e8dbadb2f34..890688e96367 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openMemberInFinalClass3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openMemberInFinalClass3.kt.after @@ -2,3 +2,6 @@ public open class A() { open fun foo() {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openMemberInFinalClass4.kt b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openMemberInFinalClass4.kt index 93c0dcb75beb..53ddfe1369a9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openMemberInFinalClass4.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openMemberInFinalClass4.kt @@ -2,3 +2,6 @@ @Deprecated("") class A() { open fun foo() {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openMemberInFinalClass4.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openMemberInFinalClass4.kt.after index b35f4dc66ba2..10565dbc2c11 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openMemberInFinalClass4.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openMemberInFinalClass4.kt.after @@ -3,3 +3,6 @@ open class A() { open fun foo() {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openMemberInObject.kt b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openMemberInObject.kt index 920205193ad8..570071a26d3c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openMemberInObject.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openMemberInObject.kt @@ -1,4 +1,6 @@ // "Make 'bar' not open" "true" object Foo { open fun bar() {} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openMemberInObject.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openMemberInObject.kt.after index 208624d6d25a..07ec8774e3ea 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openMemberInObject.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openMemberInObject.kt.after @@ -1,4 +1,6 @@ // "Make 'bar' not open" "true" object Foo { fun bar() {} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openModifierInEnum.kt b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openModifierInEnum.kt index f60c0af626b4..d08207f7c640 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openModifierInEnum.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openModifierInEnum.kt @@ -2,3 +2,6 @@ open enum class A() { } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openModifierInEnum.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openModifierInEnum.kt.after index f302e63bbf64..4831974bdadb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openModifierInEnum.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openModifierInEnum.kt.after @@ -2,3 +2,6 @@ enum class A() { } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openObject.kt b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openObject.kt index 79d71c32b461..149f4a44da0a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openObject.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openObject.kt @@ -2,3 +2,6 @@ open object Foo { fun a(): Int = 1 } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openObject.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openObject.kt.after index 6e0dab377839..d6d1f747472f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openObject.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openObject.kt.after @@ -2,3 +2,6 @@ object Foo { fun a(): Int = 1 } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openVarWithPrivateSetter1.kt b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openVarWithPrivateSetter1.kt index 26d4907af381..556dfec3d346 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openVarWithPrivateSetter1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openVarWithPrivateSetter1.kt @@ -3,3 +3,6 @@ open class My { open var foo = 42 private set } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openVarWithPrivateSetter1.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openVarWithPrivateSetter1.kt.after index cf3633af8122..039219bd9259 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openVarWithPrivateSetter1.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openVarWithPrivateSetter1.kt.after @@ -3,3 +3,6 @@ open class My { var foo = 42 private set } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openVarWithPrivateSetter2.kt b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openVarWithPrivateSetter2.kt index cae6a9c6aa42..f1aab927ea4b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openVarWithPrivateSetter2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openVarWithPrivateSetter2.kt @@ -3,3 +3,6 @@ open class My { open var foo = 42 private set } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openVarWithPrivateSetter2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openVarWithPrivateSetter2.kt.after index afafbb6744fe..af8869a2553f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openVarWithPrivateSetter2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/openVarWithPrivateSetter2.kt.after @@ -3,3 +3,6 @@ open class My { open var foo = 42 set } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/operatorModifier.kt b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/operatorModifier.kt index 38b8712a5508..b515021cdd10 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/operatorModifier.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/operatorModifier.kt @@ -7,4 +7,5 @@ fun foo() { A() + A() } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.AddModifierFixFactory$createAction$1 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/operatorModifier.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/operatorModifier.kt.after index db3ee348b1cf..2213ef1739b6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/operatorModifier.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/operatorModifier.kt.after @@ -7,4 +7,5 @@ fun foo() { A() + A() } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.AddModifierFixFactory$createAction$1 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/operatorModifierCollection.kt b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/operatorModifierCollection.kt index bd0932773bfb..f7f3842a52f8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/operatorModifierCollection.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/operatorModifierCollection.kt @@ -5,4 +5,5 @@ class A { fun foo() = 0 in A() -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.AddModifierFixFactory$createAction$1 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/operatorModifierCollection.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/operatorModifierCollection.kt.after index c31a9abfd455..2aa01de69a66 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/operatorModifierCollection.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/operatorModifierCollection.kt.after @@ -5,4 +5,5 @@ class A { fun foo() = 0 in A() -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.AddModifierFixFactory$createAction$1 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/operatorModifierComponent.kt b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/operatorModifierComponent.kt index 4a19e8a5fd00..e90d16d8238d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/operatorModifierComponent.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/operatorModifierComponent.kt @@ -11,4 +11,5 @@ fun foo() { } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.AddModifierFixFactory$createAction$1 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/operatorModifierComponent.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/operatorModifierComponent.kt.after index f4c3e51387d4..28e478ce8969 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/operatorModifierComponent.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/operatorModifierComponent.kt.after @@ -11,4 +11,5 @@ fun foo() { } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.AddModifierFixFactory$createAction$1 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/operatorModifierGet.kt b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/operatorModifierGet.kt index 94147c6f52c8..6f77ccb9279b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/operatorModifierGet.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/operatorModifierGet.kt @@ -5,4 +5,5 @@ class A { fun foo() = A()[0] -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.AddModifierFixFactory$createAction$1 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/operatorModifierGet.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/operatorModifierGet.kt.after index 06057e999c60..4c00af97e145 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/operatorModifierGet.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/operatorModifierGet.kt.after @@ -5,4 +5,5 @@ class A { fun foo() = A()[0] -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.AddModifierFixFactory$createAction$1 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/operatorModifierInherited.kt b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/operatorModifierInherited.kt index 01427f0bae53..9074643e92ea 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/operatorModifierInherited.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/operatorModifierInherited.kt @@ -9,4 +9,5 @@ fun test(): Any { return Bar[5] } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.AddModifierFixFactory$createAction$1 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/operatorModifierInherited.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/operatorModifierInherited.kt.after index df70508bcd04..635f401cd2ea 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/operatorModifierInherited.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/operatorModifierInherited.kt.after @@ -9,4 +9,5 @@ fun test(): Any { return Bar[5] } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.AddModifierFixFactory$createAction$1 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/overrideWithPrivateSetter1.kt b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/overrideWithPrivateSetter1.kt index ce5e3fe59719..a77f3096d891 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/overrideWithPrivateSetter1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/overrideWithPrivateSetter1.kt @@ -7,3 +7,6 @@ open class FooImpl : Foo { override var bar: String = "" private set } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/overrideWithPrivateSetter1.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/overrideWithPrivateSetter1.kt.after index 9cf50afc785c..61f1e5bbafb8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/overrideWithPrivateSetter1.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/overrideWithPrivateSetter1.kt.after @@ -7,3 +7,6 @@ open class FooImpl : Foo { final override var bar: String = "" private set } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/overrideWithPrivateSetter2.kt b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/overrideWithPrivateSetter2.kt index 1b117cfc6adf..1e2ee8187647 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/overrideWithPrivateSetter2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/overrideWithPrivateSetter2.kt @@ -7,3 +7,6 @@ open class FooImpl : Foo { override var bar: String = "" private set } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/overrideWithPrivateSetter2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/overrideWithPrivateSetter2.kt.after index 020fdf7c6b42..eb66f56a44eb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/overrideWithPrivateSetter2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/overrideWithPrivateSetter2.kt.after @@ -7,3 +7,6 @@ open class FooImpl : Foo { override var bar: String = "" set } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/packageMemberCannotBeProtected.kt b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/packageMemberCannotBeProtected.kt index 1f0c7cc9ed03..ada47cabd6ff 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/packageMemberCannotBeProtected.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/packageMemberCannotBeProtected.kt @@ -3,3 +3,6 @@ package test protected val a: Int = 0 + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/packageMemberCannotBeProtected.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/packageMemberCannotBeProtected.kt.after index cac0dbf04199..347631b65905 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/packageMemberCannotBeProtected.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/packageMemberCannotBeProtected.kt.after @@ -3,3 +3,6 @@ package test val a: Int = 0 + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/redundantOpenInInterface.kt b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/redundantOpenInInterface.kt index 0239e948c845..e73a7cc3e39a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/redundantOpenInInterface.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/redundantOpenInInterface.kt @@ -6,4 +6,5 @@ interface My { // Ignore in K2 as the `RedundantOpenInInterface` quickfix has been removed in K2 and a `TOOL_FIR` test directive doesn't exist. In K2, // this test case is covered by `redundantOpenFunctionInInterface.kt` in the `inspections-k2` module. -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/redundantOpenInInterface.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/redundantOpenInInterface.kt.after index 349bc3740468..0aa1749776e5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/redundantOpenInInterface.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/redundantOpenInInterface.kt.after @@ -6,4 +6,5 @@ interface My { // Ignore in K2 as the `RedundantOpenInInterface` quickfix has been removed in K2 and a `TOOL_FIR` test directive doesn't exist. In K2, // this test case is covered by `redundantOpenFunctionInInterface.kt` in the `inspections-k2` module. -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeAbstractModifier.kt b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeAbstractModifier.kt index 1ca77f6227d1..ae29649df1db 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeAbstractModifier.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeAbstractModifier.kt @@ -4,3 +4,6 @@ class A abstract() { } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeAbstractModifier.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeAbstractModifier.kt.after index f4f67cd1b246..3248425113ba 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeAbstractModifier.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeAbstractModifier.kt.after @@ -4,3 +4,6 @@ class A() { } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeConst.kt b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeConst.kt index f49d9d8a610a..20299d47dfce 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeConst.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeConst.kt @@ -5,4 +5,5 @@ class Foo object Test { const val c = Foo() } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeConst.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeConst.kt.after index 37c0c629dc7a..b9e9377f85fb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeConst.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeConst.kt.after @@ -5,4 +5,5 @@ class Foo object Test { val c = Foo() } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeExternalModifier.kt b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeExternalModifier.kt index 4281aac13ccc..ee6946541f46 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeExternalModifier.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeExternalModifier.kt @@ -2,4 +2,6 @@ class B { external val foo: Int = 23 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeExternalModifier.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeExternalModifier.kt.after index 67e909ab0aba..f67f6c24960a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeExternalModifier.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeExternalModifier.kt.after @@ -2,4 +2,6 @@ class B { val foo: Int = 23 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeIncompatibleModifier.kt b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeIncompatibleModifier.kt index c0274148eaa4..203d84fad9aa 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeIncompatibleModifier.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeIncompatibleModifier.kt @@ -2,3 +2,6 @@ class Foo { public private fun bar() { } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeIncompatibleModifier.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeIncompatibleModifier.kt.after index 85a3b784ea4f..f41eaca2f075 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeIncompatibleModifier.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeIncompatibleModifier.kt.after @@ -2,3 +2,6 @@ class Foo { private fun bar() { } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeInnerForClassInInterface.kt b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeInnerForClassInInterface.kt index eb840ca16e84..05cc45913abf 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeInnerForClassInInterface.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeInnerForClassInInterface.kt @@ -3,4 +3,5 @@ interface A { inner class B } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeInnerForClassInInterface.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeInnerForClassInInterface.kt.after index 21c0415f13ca..bd13a8b12ab5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeInnerForClassInInterface.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeInnerForClassInInterface.kt.after @@ -3,4 +3,5 @@ interface A { class B } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeModifierFromForbiddenOperatorMod.kt b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeModifierFromForbiddenOperatorMod.kt index c9784b35da09..ded389378a16 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeModifierFromForbiddenOperatorMod.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeModifierFromForbiddenOperatorMod.kt @@ -4,4 +4,5 @@ object A { operator fun mod(x: Int) {} } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeModifierFromForbiddenOperatorMod.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeModifierFromForbiddenOperatorMod.kt.after index 422a7a64cce9..19ea8a92ae83 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeModifierFromForbiddenOperatorMod.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeModifierFromForbiddenOperatorMod.kt.after @@ -4,4 +4,5 @@ object A { fun mod(x: Int) {} } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeModifierFromOperatorMod.kt b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeModifierFromOperatorMod.kt index 0fccf9f640f9..7204ae34b650 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeModifierFromOperatorMod.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeModifierFromOperatorMod.kt @@ -3,4 +3,5 @@ object A { operator fun mod(x: Int) {} } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeModifierFromOperatorMod.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeModifierFromOperatorMod.kt.after index 00d61274f76d..352f8fac2152 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeModifierFromOperatorMod.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeModifierFromOperatorMod.kt.after @@ -3,4 +3,5 @@ object A { fun mod(x: Int) {} } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeModifierFromOperatorModAssign.kt b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeModifierFromOperatorModAssign.kt index eb6bd015067d..bfad7af73ce4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeModifierFromOperatorModAssign.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeModifierFromOperatorModAssign.kt @@ -3,4 +3,5 @@ object A { operator fun modAssign(x: Int) {} } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeModifierFromOperatorModAssign.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeModifierFromOperatorModAssign.kt.after index 343db868c7c1..fd6d83190157 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeModifierFromOperatorModAssign.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeModifierFromOperatorModAssign.kt.after @@ -3,4 +3,5 @@ object A { fun modAssign(x: Int) {} } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeProtectedModifier.kt b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeProtectedModifier.kt index 633f449798e1..b071b5a80696 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeProtectedModifier.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeProtectedModifier.kt @@ -3,3 +3,6 @@ class A private protected constructor() { } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeProtectedModifier.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeProtectedModifier.kt.after index cb41cc26b7d2..054768545850 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeProtectedModifier.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeProtectedModifier.kt.after @@ -3,3 +3,6 @@ class A private constructor() { } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeRedundantModifier1.kt b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeRedundantModifier1.kt index b208c170dd4f..32a89564b9f6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeRedundantModifier1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeRedundantModifier1.kt @@ -7,3 +7,6 @@ abstract class A() : B() { open abstract override fun foo() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeRedundantModifier1.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeRedundantModifier1.kt.after index 3f015e3575a5..c91d8e9cf875 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeRedundantModifier1.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeRedundantModifier1.kt.after @@ -7,3 +7,6 @@ abstract class A() : B() { abstract override fun foo() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeRedundantModifier2.kt b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeRedundantModifier2.kt index 81f4b5178899..6b57f2895947 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeRedundantModifier2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeRedundantModifier2.kt @@ -7,3 +7,6 @@ abstract class A() : B() { abstract open override fun foo() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeRedundantModifier2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeRedundantModifier2.kt.after index c7e545395cd1..3074a30a2883 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeRedundantModifier2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeRedundantModifier2.kt.after @@ -7,3 +7,6 @@ abstract class A() : B() { abstract override fun foo() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeRedundantModifier3.kt b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeRedundantModifier3.kt index c23e0bd24eac..9d79382fdf11 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeRedundantModifier3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeRedundantModifier3.kt @@ -7,3 +7,6 @@ abstract class A() : B() { abstract override open fun foo() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeRedundantModifier3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeRedundantModifier3.kt.after index f3b75288c7b2..473d8194681f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeRedundantModifier3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeRedundantModifier3.kt.after @@ -7,3 +7,6 @@ abstract class A() : B() { abstract override fun foo() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeSupertype1.kt b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeSupertype1.kt index 864ec8a8c264..647a29f99f3e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeSupertype1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeSupertype1.kt @@ -3,4 +3,5 @@ open class C1 {} open class C2 {} class C3: C1(), C2() {} -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveSupertypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeSupertype1.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeSupertype1.kt.after index e8de75ed7a2c..718bc4c9f05a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeSupertype1.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeSupertype1.kt.after @@ -3,4 +3,5 @@ open class C1 {} open class C2 {} class C3: C1() {} -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveSupertypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeSupertype2.kt b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeSupertype2.kt index 99bd8192b8f3..862f46029bc3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeSupertype2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeSupertype2.kt @@ -3,4 +3,5 @@ open class C1 {} open class C2 {} class C3: C1(),C2() {} -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveSupertypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeSupertype2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeSupertype2.kt.after index e8de75ed7a2c..718bc4c9f05a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeSupertype2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeSupertype2.kt.after @@ -3,4 +3,5 @@ open class C1 {} open class C2 {} class C3: C1() {} -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveSupertypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeSupertype3.kt b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeSupertype3.kt index 95e69efed0d2..37eae1f1b037 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeSupertype3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeSupertype3.kt @@ -3,4 +3,5 @@ open class C1 {} open class C2 {} class C3: C1(), C2 {} -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveSupertypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeSupertype3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeSupertype3.kt.after index e8de75ed7a2c..718bc4c9f05a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeSupertype3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeSupertype3.kt.after @@ -3,4 +3,5 @@ open class C1 {} open class C2 {} class C3: C1() {} -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveSupertypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeSupertype4.kt b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeSupertype4.kt index 9053ee289c6f..e90f2a6cea6e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeSupertype4.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeSupertype4.kt @@ -3,4 +3,5 @@ open class C1 {} open class C2 {} class C3: C1(), /* Hello, world! */ C2() {} -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveSupertypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeSupertype4.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeSupertype4.kt.after index 15dcde20f50e..9f64ba588653 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeSupertype4.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/removeSupertype4.kt.after @@ -3,4 +3,5 @@ open class C1 {} open class C2 {} class C3: C1() /* Hello, world! */ {} -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveSupertypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/base.kt b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/base.kt index a3583f9975d1..1ab58acc1d11 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/base.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/base.kt @@ -3,4 +3,5 @@ suspend fun foo() {} fun bar() { foo() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddSuspendModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/base.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/base.kt.after index d85cb9a7ece0..4815b769688a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/base.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/base.kt.after @@ -3,4 +3,5 @@ suspend fun foo() {} suspend fun bar() { foo() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddSuspendModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/createCoroutine.kt b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/createCoroutine.kt index 2e87598fcf5d..3a6468761d82 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/createCoroutine.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/createCoroutine.kt @@ -8,3 +8,5 @@ suspend fun suspending(): T { val block: () -> T = { null!! } return suspendCoroutine { block.createCoroutine(it) } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddSuspendModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/createCoroutine.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/createCoroutine.kt.after index baeb358a863b..59d2142143d3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/createCoroutine.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/createCoroutine.kt.after @@ -8,3 +8,5 @@ suspend fun suspending(): T { val block: suspend () -> T = { null!! } return suspendCoroutine { block.createCoroutine(it) } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddSuspendModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/inLambda.kt b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/inLambda.kt index e80e4157d54b..b372310d7940 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/inLambda.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/inLambda.kt @@ -8,4 +8,5 @@ fun test() { bar { foo() } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddSuspendModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/inLambda.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/inLambda.kt.after index 66fd044d1c26..043fb678cb5d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/inLambda.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/inLambda.kt.after @@ -8,4 +8,5 @@ suspend fun test() { bar { foo() } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddSuspendModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/inLambda3.kt b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/inLambda3.kt index 1264d08d45c5..839ae1ac5e24 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/inLambda3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/inLambda3.kt @@ -14,3 +14,5 @@ fun test() { } } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddSuspendModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/inLambda3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/inLambda3.kt.after index 1657d0ca9b21..aa67ed67b5da 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/inLambda3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/inLambda3.kt.after @@ -14,3 +14,5 @@ suspend fun test() { } } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddSuspendModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/open.kt b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/open.kt index ae6375fc0fc2..87e94f977935 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/open.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/open.kt @@ -7,3 +7,5 @@ open class A { foo() } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddSuspendModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/open.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/open.kt.after index 2ccb4c3f0fe5..b89d667e0b72 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/open.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/open.kt.after @@ -7,3 +7,5 @@ open class A { foo() } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddSuspendModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/override.kt b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/override.kt index 3cc8756fd8f1..f10a53c83120 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/override.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/override.kt @@ -10,4 +10,5 @@ class B : A() { override fun bar() { foo() } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddSuspendModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/override.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/override.kt.after index ba9cbe1a9b3a..323bedd61381 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/override.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/override.kt.after @@ -10,4 +10,5 @@ class B : A() { override suspend fun bar() { foo() } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddSuspendModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/public.kt b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/public.kt index 7b403ee4409d..35c3583869d8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/public.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/public.kt @@ -3,4 +3,5 @@ suspend fun foo() {} public fun bar() { foo() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddSuspendModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/public.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/public.kt.after index 0220c02e74cb..ab78a47c6caa 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/public.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/public.kt.after @@ -3,4 +3,5 @@ suspend fun foo() {} public suspend fun bar() { foo() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddSuspendModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/startCoroutine.kt b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/startCoroutine.kt index 4fe4a9265ef1..d94beeaf23ad 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/startCoroutine.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/startCoroutine.kt @@ -5,3 +5,5 @@ import kotlin.coroutines.suspendCoroutine import kotlin.coroutines.startCoroutine suspend fun suspending(block: () -> T): T = suspendCoroutine { block.startCoroutine(it) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddSuspendModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/startCoroutine.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/startCoroutine.kt.after index 4c4ac17132d9..a3150535744a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/startCoroutine.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/startCoroutine.kt.after @@ -5,3 +5,5 @@ import kotlin.coroutines.suspendCoroutine import kotlin.coroutines.startCoroutine suspend fun suspending(block: suspend () -> T): T = suspendCoroutine { block.startCoroutine(it) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddSuspendModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/startCoroutineNoImport.kt b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/startCoroutineNoImport.kt index 4898c3f8c02b..95f694ab1de7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/startCoroutineNoImport.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/startCoroutineNoImport.kt @@ -4,4 +4,5 @@ import kotlin.coroutines.experimental.suspendCoroutine -suspend fun suspending(block: () -> T): T = suspendCoroutine { block.startCoroutine(it) } \ No newline at end of file +suspend fun suspending(block: () -> T): T = suspendCoroutine { block.startCoroutine(it) } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddSuspendModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/startCoroutineNoImport.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/startCoroutineNoImport.kt.after index e2eefa7f3dd1..238665fc729e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/startCoroutineNoImport.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/suspend/startCoroutineNoImport.kt.after @@ -4,4 +4,5 @@ import kotlin.coroutines.experimental.suspendCoroutine -suspend fun suspending(block: suspend () -> T): T = suspendCoroutine { block.startCoroutine(it) } \ No newline at end of file +suspend fun suspending(block: suspend () -> T): T = suspendCoroutine { block.startCoroutine(it) } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddSuspendModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/visibilityModifer1.kt b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/visibilityModifer1.kt index 840ed63bc59e..a5688d29f201 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/visibilityModifer1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/visibilityModifer1.kt @@ -7,4 +7,5 @@ class B : A() { private override fun run() {} } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/visibilityModifer1.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/visibilityModifer1.kt.after index 78c6b4a8a599..64568e5969cd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/visibilityModifer1.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/visibilityModifer1.kt.after @@ -7,4 +7,5 @@ class B : A() { override fun run() {} } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/visibilityModifer2.kt b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/visibilityModifer2.kt index 7a47d4ac9ac3..e7a0b63e9177 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/visibilityModifer2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/visibilityModifer2.kt @@ -7,4 +7,5 @@ class B : A() { internal override fun run() {} } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/visibilityModifer2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/visibilityModifer2.kt.after index 78c6b4a8a599..64568e5969cd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/visibilityModifer2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/visibilityModifer2.kt.after @@ -7,4 +7,5 @@ class B : A() { override fun run() {} } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/visibilityModiferOverrideJavaRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/visibilityModiferOverrideJavaRuntime.kt index c45a7ac02611..74979321ddae 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/visibilityModiferOverrideJavaRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/visibilityModiferOverrideJavaRuntime.kt @@ -6,4 +6,5 @@ abstract class C : ClassLoader() { } } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/visibilityModiferOverrideJavaRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/visibilityModiferOverrideJavaRuntime.kt.after index 400f9b39fb8a..ce2b684a85eb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/visibilityModiferOverrideJavaRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/visibilityModiferOverrideJavaRuntime.kt.after @@ -6,4 +6,5 @@ abstract class C : ClassLoader() { } } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/visibilityModiferParameter.kt b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/visibilityModiferParameter.kt index 07060ec18e64..a8e11f47dbd1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/visibilityModiferParameter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/visibilityModiferParameter.kt @@ -7,4 +7,5 @@ interface ParseResult { class Success(internal override val value : T) : ParseResult { public override val success : Boolean = true } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/visibilityModiferParameter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/visibilityModiferParameter.kt.after index 8e272708ce6c..5e0f3f10d689 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/visibilityModiferParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/visibilityModiferParameter.kt.after @@ -7,4 +7,5 @@ interface ParseResult { class Success(override val value : T) : ParseResult { public override val success : Boolean = true } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/withAnnotationAndBlockComment.kt b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/withAnnotationAndBlockComment.kt index f6cdb19324b9..45120e76fed9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/withAnnotationAndBlockComment.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/withAnnotationAndBlockComment.kt @@ -3,3 +3,6 @@ @Deprecated("") /* some comment */ final val x: Int = 42 + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/withAnnotationAndBlockComment.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/withAnnotationAndBlockComment.kt.after index 2b91da0554ed..842c102df53c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/withAnnotationAndBlockComment.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/withAnnotationAndBlockComment.kt.after @@ -3,3 +3,6 @@ @Deprecated("") /* some comment */ val x: Int = 42 + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/withAnnotationAndEolComment.kt b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/withAnnotationAndEolComment.kt index fc0d0a067318..707049691b06 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/withAnnotationAndEolComment.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/withAnnotationAndEolComment.kt @@ -2,3 +2,6 @@ @Deprecated("") //some comment final val x: Int = 42 + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/withAnnotationAndEolComment.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/withAnnotationAndEolComment.kt.after index cd0940ff2c2c..cae2c91658b8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/withAnnotationAndEolComment.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/withAnnotationAndEolComment.kt.after @@ -2,3 +2,6 @@ @Deprecated("") //some comment val x: Int = 42 + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/withAnnotationAndEolComment2.kt b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/withAnnotationAndEolComment2.kt index 98bc01b8d52c..9db37f5146d1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/withAnnotationAndEolComment2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/withAnnotationAndEolComment2.kt @@ -4,3 +4,6 @@ class A() { @Deprecated("") // wd final constructor(i: Int): this() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/withAnnotationAndEolComment2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/withAnnotationAndEolComment2.kt.after index a7789ad28139..ae6460f0da54 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/withAnnotationAndEolComment2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/withAnnotationAndEolComment2.kt.after @@ -4,3 +4,6 @@ class A() { @Deprecated("") // wd constructor(i: Int): this() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/withAnnotationAndEolComment3.kt b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/withAnnotationAndEolComment3.kt index c12d54f278f1..9df12155c24a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/withAnnotationAndEolComment3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/withAnnotationAndEolComment3.kt @@ -4,3 +4,6 @@ class A @Deprecated("") // ds final constructor() { } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/withAnnotationAndEolComment3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/withAnnotationAndEolComment3.kt.after index 26b74e84e06a..641b4865f257 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/modifiers/withAnnotationAndEolComment3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/modifiers/withAnnotationAndEolComment3.kt.after @@ -4,3 +4,6 @@ class A @Deprecated("") // ds constructor() { } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/moveMemberToCompanionObject/simple.kt b/plugins/kotlin/idea/tests/testData/quickfix/moveMemberToCompanionObject/simple.kt index 45748a70ca51..eac80ebffd43 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/moveMemberToCompanionObject/simple.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/moveMemberToCompanionObject/simple.kt @@ -1,4 +1,5 @@ // "Move to companion object" "true" class Test { const val foo = "" -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.MoveMemberToCompanionObjectIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/moveMemberToCompanionObject/simple.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/moveMemberToCompanionObject/simple.kt.after index 5ee1f92ef2ee..24690260c14e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/moveMemberToCompanionObject/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/moveMemberToCompanionObject/simple.kt.after @@ -3,4 +3,5 @@ class Test { companion object { const val foo = "" } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.MoveMemberToCompanionObjectIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/moveReceiverAnnotation/fun.kt b/plugins/kotlin/idea/tests/testData/quickfix/moveReceiverAnnotation/fun.kt index 1d1ebb714600..11ceaaadc984 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/moveReceiverAnnotation/fun.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/moveReceiverAnnotation/fun.kt @@ -4,4 +4,5 @@ annotation class Ann @receiver:Ann fun String.foo() { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MoveReceiverAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/moveReceiverAnnotation/fun.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/moveReceiverAnnotation/fun.kt.after index eb29015e2a28..3257c4ef1a80 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/moveReceiverAnnotation/fun.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/moveReceiverAnnotation/fun.kt.after @@ -3,4 +3,5 @@ annotation class Ann fun @receiver:Ann String.foo() { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MoveReceiverAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/moveReceiverAnnotation/val.kt b/plugins/kotlin/idea/tests/testData/quickfix/moveReceiverAnnotation/val.kt index be9c28c5ccd4..f0cc91a4d1d9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/moveReceiverAnnotation/val.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/moveReceiverAnnotation/val.kt @@ -3,4 +3,5 @@ annotation class Ann @receiver:Ann -val String.bar get() = "" \ No newline at end of file +val String.bar get() = "" +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MoveReceiverAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/moveReceiverAnnotation/val.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/moveReceiverAnnotation/val.kt.after index d8a76840450f..dece265cd4bb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/moveReceiverAnnotation/val.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/moveReceiverAnnotation/val.kt.after @@ -2,4 +2,5 @@ annotation class Ann -val @receiver:Ann String.bar get() = "" \ No newline at end of file +val @receiver:Ann String.bar get() = "" +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MoveReceiverAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/moveToConstructorParameters/memberPropertyInClassNameClash.kt b/plugins/kotlin/idea/tests/testData/quickfix/moveToConstructorParameters/memberPropertyInClassNameClash.kt index d90fc8cbf2b5..5d0e1290aea9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/moveToConstructorParameters/memberPropertyInClassNameClash.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/moveToConstructorParameters/memberPropertyInClassNameClash.kt @@ -6,4 +6,5 @@ open class A(n: Int) { fun test() { val a = A(0) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.InitializePropertyQuickFixFactory$MoveToConstructorParameters \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/moveToConstructorParameters/memberPropertyInClassNoPrimaryConstructor.kt b/plugins/kotlin/idea/tests/testData/quickfix/moveToConstructorParameters/memberPropertyInClassNoPrimaryConstructor.kt index ec349ef638c6..5c17a07c9abf 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/moveToConstructorParameters/memberPropertyInClassNoPrimaryConstructor.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/moveToConstructorParameters/memberPropertyInClassNoPrimaryConstructor.kt @@ -7,4 +7,5 @@ class B : A() fun test() { val a = A() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.InitializePropertyQuickFixFactory$MoveToConstructorParameters \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/moveToConstructorParameters/memberPropertyInClassNoPrimaryConstructor.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/moveToConstructorParameters/memberPropertyInClassNoPrimaryConstructor.kt.after index f450f75d1de8..749eae92b3dd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/moveToConstructorParameters/memberPropertyInClassNoPrimaryConstructor.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/moveToConstructorParameters/memberPropertyInClassNoPrimaryConstructor.kt.after @@ -6,4 +6,5 @@ class B : A(0) fun test() { val a = A(0) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.InitializePropertyQuickFixFactory$MoveToConstructorParameters \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/moveToConstructorParameters/memberPropertyInClassWithPrimaryConstructor.kt b/plugins/kotlin/idea/tests/testData/quickfix/moveToConstructorParameters/memberPropertyInClassWithPrimaryConstructor.kt index 5cec86b5c350..5aefb70d8112 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/moveToConstructorParameters/memberPropertyInClassWithPrimaryConstructor.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/moveToConstructorParameters/memberPropertyInClassWithPrimaryConstructor.kt @@ -9,4 +9,5 @@ class B : A("") fun test() { val a = A("") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.InitializePropertyQuickFixFactory$MoveToConstructorParameters \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/moveToConstructorParameters/memberPropertyInClassWithPrimaryConstructor.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/moveToConstructorParameters/memberPropertyInClassWithPrimaryConstructor.kt.after index af37da183126..a80d1e5e942b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/moveToConstructorParameters/memberPropertyInClassWithPrimaryConstructor.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/moveToConstructorParameters/memberPropertyInClassWithPrimaryConstructor.kt.after @@ -8,4 +8,5 @@ class B : A("", 0) fun test() { val a = A("", 0) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.InitializePropertyQuickFixFactory$MoveToConstructorParameters \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/moveToConstructorParameters/propertyWithModifiersAndComments.kt b/plugins/kotlin/idea/tests/testData/quickfix/moveToConstructorParameters/propertyWithModifiersAndComments.kt index 4b5faee333e4..3130048caada 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/moveToConstructorParameters/propertyWithModifiersAndComments.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/moveToConstructorParameters/propertyWithModifiersAndComments.kt @@ -9,4 +9,5 @@ class B : A("") fun test() { val a = A("") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.InitializePropertyQuickFixFactory$MoveToConstructorParameters \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/moveToConstructorParameters/propertyWithModifiersAndComments.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/moveToConstructorParameters/propertyWithModifiersAndComments.kt.after index 55278139aaae..7aae6e38eac7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/moveToConstructorParameters/propertyWithModifiersAndComments.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/moveToConstructorParameters/propertyWithModifiersAndComments.kt.after @@ -8,4 +8,5 @@ class B : A("", 0) fun test() { val a = A("", 0) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.InitializePropertyQuickFixFactory$MoveToConstructorParameters \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/moveTypeAliasToTopLevel/inClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/moveTypeAliasToTopLevel/inClass.kt index a94bbb161088..ae417856bdc5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/moveTypeAliasToTopLevel/inClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/moveTypeAliasToTopLevel/inClass.kt @@ -6,4 +6,5 @@ class C { } } -fun baz() {} \ No newline at end of file +fun baz() {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MoveTypeAliasToTopLevelFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/moveTypeAliasToTopLevel/inClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/moveTypeAliasToTopLevel/inClass.kt.after index 6df86a283f6a..28fa4ff1cee9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/moveTypeAliasToTopLevel/inClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/moveTypeAliasToTopLevel/inClass.kt.after @@ -7,4 +7,5 @@ class C { typealias Foo = String -fun baz() {} \ No newline at end of file +fun baz() {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MoveTypeAliasToTopLevelFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/moveTypeAliasToTopLevel/inClass2.kt b/plugins/kotlin/idea/tests/testData/quickfix/moveTypeAliasToTopLevel/inClass2.kt index 8af40e1d5763..6a21f968692f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/moveTypeAliasToTopLevel/inClass2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/moveTypeAliasToTopLevel/inClass2.kt @@ -8,4 +8,5 @@ class C { } } -fun baz() {} \ No newline at end of file +fun baz() {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MoveTypeAliasToTopLevelFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/moveTypeAliasToTopLevel/inClass2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/moveTypeAliasToTopLevel/inClass2.kt.after index f86e07c73238..98e4c5842a25 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/moveTypeAliasToTopLevel/inClass2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/moveTypeAliasToTopLevel/inClass2.kt.after @@ -9,4 +9,5 @@ class C { typealias Foo = String -fun baz() {} \ No newline at end of file +fun baz() {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MoveTypeAliasToTopLevelFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/moveTypeAliasToTopLevel/inFunction.kt b/plugins/kotlin/idea/tests/testData/quickfix/moveTypeAliasToTopLevel/inFunction.kt index c36155417096..0e3f350e77de 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/moveTypeAliasToTopLevel/inFunction.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/moveTypeAliasToTopLevel/inFunction.kt @@ -6,4 +6,5 @@ fun bar() { } } -fun qux() {} \ No newline at end of file +fun qux() {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MoveTypeAliasToTopLevelFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/moveTypeAliasToTopLevel/inFunction.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/moveTypeAliasToTopLevel/inFunction.kt.after index 6739b0a9b646..04944bbdcadf 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/moveTypeAliasToTopLevel/inFunction.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/moveTypeAliasToTopLevel/inFunction.kt.after @@ -7,4 +7,5 @@ fun bar() { typealias Foo = String -fun qux() {} \ No newline at end of file +fun qux() {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MoveTypeAliasToTopLevelFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/moveTypeAliasToTopLevel/inFunction2.kt b/plugins/kotlin/idea/tests/testData/quickfix/moveTypeAliasToTopLevel/inFunction2.kt index 13e9cd50c162..1acc3dd90ab9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/moveTypeAliasToTopLevel/inFunction2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/moveTypeAliasToTopLevel/inFunction2.kt @@ -8,4 +8,5 @@ fun bar() { } } -fun qux() {} \ No newline at end of file +fun qux() {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MoveTypeAliasToTopLevelFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/moveTypeAliasToTopLevel/inFunction2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/moveTypeAliasToTopLevel/inFunction2.kt.after index 29b30fbaf01e..f5ec4035e485 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/moveTypeAliasToTopLevel/inFunction2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/moveTypeAliasToTopLevel/inFunction2.kt.after @@ -9,4 +9,5 @@ fun bar() { typealias Foo = String -fun qux() {} \ No newline at end of file +fun qux() {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MoveTypeAliasToTopLevelFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/nullables/removeRedundantNullable.kt b/plugins/kotlin/idea/tests/testData/quickfix/nullables/removeRedundantNullable.kt index 58ac3320bba4..75be0afeb489 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/nullables/removeRedundantNullable.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/nullables/removeRedundantNullable.kt @@ -3,4 +3,5 @@ fun main(args : Array) { val x : Int?? = 15 } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveNullableFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/nullables/removeRedundantNullable.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/nullables/removeRedundantNullable.kt.after index e126a26dbfa4..5c8aaef5cac5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/nullables/removeRedundantNullable.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/nullables/removeRedundantNullable.kt.after @@ -3,4 +3,5 @@ fun main(args : Array) { val x : Int? = 15 } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveNullableFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/nullables/removeSupertypeNullable1.kt b/plugins/kotlin/idea/tests/testData/quickfix/nullables/removeSupertypeNullable1.kt index dea659ec1deb..7f3ad3e307c2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/nullables/removeSupertypeNullable1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/nullables/removeSupertypeNullable1.kt @@ -1,3 +1,5 @@ // "Remove '?'" "true" open class Foo() {} -class Bar() : Foo?() {} \ No newline at end of file +class Bar() : Foo?() {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveNullableFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveNullableFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/nullables/removeSupertypeNullable1.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/nullables/removeSupertypeNullable1.kt.after index 91610022427a..40d99ab19978 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/nullables/removeSupertypeNullable1.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/nullables/removeSupertypeNullable1.kt.after @@ -1,3 +1,5 @@ // "Remove '?'" "true" open class Foo() {} -class Bar() : Foo() {} \ No newline at end of file +class Bar() : Foo() {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveNullableFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveNullableFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/nullables/removeSupertypeNullable2.kt b/plugins/kotlin/idea/tests/testData/quickfix/nullables/removeSupertypeNullable2.kt index afc76384fd6d..c0102aa242b1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/nullables/removeSupertypeNullable2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/nullables/removeSupertypeNullable2.kt @@ -1,3 +1,5 @@ // "Remove '?'" "true" interface Foo {} -class Bar : Foo? {} \ No newline at end of file +class Bar : Foo? {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveNullableFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveNullableFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/nullables/removeSupertypeNullable2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/nullables/removeSupertypeNullable2.kt.after index 958c54cf8034..7c2f55346fb2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/nullables/removeSupertypeNullable2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/nullables/removeSupertypeNullable2.kt.after @@ -1,3 +1,5 @@ // "Remove '?'" "true" interface Foo {} -class Bar : Foo {} \ No newline at end of file +class Bar : Foo {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveNullableFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveNullableFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/nullables/removeUselessNullable.kt b/plugins/kotlin/idea/tests/testData/quickfix/nullables/removeUselessNullable.kt index 17df2fb3b34f..3f701340f869 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/nullables/removeUselessNullable.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/nullables/removeUselessNullable.kt @@ -2,4 +2,5 @@ fun f(a: Int) : Boolean { return a is Int? } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveNullableFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/nullables/removeUselessNullable.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/nullables/removeUselessNullable.kt.after index e58ce9ab3df6..1e05eeaadfb2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/nullables/removeUselessNullable.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/nullables/removeUselessNullable.kt.after @@ -2,4 +2,5 @@ fun f(a: Int) : Boolean { return a is Int } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveNullableFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/nullables/unsafeInfixCall/unsafeGet.fir.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/nullables/unsafeInfixCall/unsafeGet.fir.kt.after index f33454e9f224..6bf1439701b7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/nullables/unsafeInfixCall/unsafeGet.fir.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/nullables/unsafeInfixCall/unsafeGet.fir.kt.after @@ -1,4 +1,6 @@ // "Replace with safe (?.) call" "true" operator fun Int.get(row: Int, column: Int) = this -fun foo(arg: Int?) = arg?.get(42, 13) ?: \ No newline at end of file +fun foo(arg: Int?) = arg?.get(42, 13) ?: +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/nullables/unsafeInfixCall/unsafeGet.kt b/plugins/kotlin/idea/tests/testData/quickfix/nullables/unsafeInfixCall/unsafeGet.kt index a39b9af97b99..861469ab1c06 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/nullables/unsafeInfixCall/unsafeGet.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/nullables/unsafeInfixCall/unsafeGet.kt @@ -1,4 +1,6 @@ // "Replace with safe (?.) call" "true" operator fun Int.get(row: Int, column: Int) = this -fun foo(arg: Int?) = arg[42, 13] \ No newline at end of file +fun foo(arg: Int?) = arg[42, 13] +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/nullables/unsafeInfixCall/unsafeGet.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/nullables/unsafeInfixCall/unsafeGet.kt.after index cc367c7c68cd..8d10536540f4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/nullables/unsafeInfixCall/unsafeGet.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/nullables/unsafeInfixCall/unsafeGet.kt.after @@ -1,4 +1,6 @@ // "Replace with safe (?.) call" "true" operator fun Int.get(row: Int, column: Int) = this -fun foo(arg: Int?) = arg?.get(42, 13) \ No newline at end of file +fun foo(arg: Int?) = arg?.get(42, 13) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/nullables/unsafeInfixCall/unsafeInfixCall.kt b/plugins/kotlin/idea/tests/testData/quickfix/nullables/unsafeInfixCall/unsafeInfixCall.kt index 96d6df997c8e..f884582c3776 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/nullables/unsafeInfixCall/unsafeInfixCall.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/nullables/unsafeInfixCall/unsafeInfixCall.kt @@ -1,4 +1,6 @@ // "Replace with safe (?.) call" "true" fun test(a : Int?) : Int? { return a compareTo 6; -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/nullables/unsafeInfixCall/unsafeInfixCall.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/nullables/unsafeInfixCall/unsafeInfixCall.kt.after index 98e3dc438014..2023b99db500 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/nullables/unsafeInfixCall/unsafeInfixCall.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/nullables/unsafeInfixCall/unsafeInfixCall.kt.after @@ -1,4 +1,6 @@ // "Replace with safe (?.) call" "true" fun test(a : Int?) : Int? { return a?.compareTo(6); -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/nullables/unsafeInfixCall/unsafeInvoke.kt b/plugins/kotlin/idea/tests/testData/quickfix/nullables/unsafeInfixCall/unsafeInvoke.kt index 1639ac13d731..dc4adf5a7829 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/nullables/unsafeInfixCall/unsafeInvoke.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/nullables/unsafeInfixCall/unsafeInvoke.kt @@ -1,3 +1,5 @@ // "Replace with safe (?.) call" "true" -fun foo(exec: (() -> Unit)?) = exec() \ No newline at end of file +fun foo(exec: (() -> Unit)?) = exec() +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/nullables/unsafeInfixCall/unsafeInvoke.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/nullables/unsafeInfixCall/unsafeInvoke.kt.after index 8242b09bf2fe..effdd8d07420 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/nullables/unsafeInfixCall/unsafeInvoke.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/nullables/unsafeInfixCall/unsafeInvoke.kt.after @@ -1,3 +1,5 @@ // "Replace with safe (?.) call" "true" -fun foo(exec: (() -> Unit)?) = exec?.invoke() \ No newline at end of file +fun foo(exec: (() -> Unit)?) = exec?.invoke() +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/nullables/unsafeInfixCall/unsafePlus.fir.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/nullables/unsafeInfixCall/unsafePlus.fir.kt.after index e38395e6814f..a61d1f7bf043 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/nullables/unsafeInfixCall/unsafePlus.fir.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/nullables/unsafeInfixCall/unsafePlus.fir.kt.after @@ -1,4 +1,6 @@ // "Replace with safe (?.) call" "true" operator fun Int.plus(index: Int) = this -fun fox(arg: Int?) = arg?.plus(42) ?: \ No newline at end of file +fun fox(arg: Int?) = arg?.plus(42) ?: +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/nullables/unsafeInfixCall/unsafePlus.kt b/plugins/kotlin/idea/tests/testData/quickfix/nullables/unsafeInfixCall/unsafePlus.kt index cf60618231c5..9713ae141101 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/nullables/unsafeInfixCall/unsafePlus.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/nullables/unsafeInfixCall/unsafePlus.kt @@ -1,4 +1,6 @@ // "Replace with safe (?.) call" "true" operator fun Int.plus(index: Int) = this -fun fox(arg: Int?) = arg + 42 \ No newline at end of file +fun fox(arg: Int?) = arg + 42 +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/nullables/unsafeInfixCall/unsafePlus.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/nullables/unsafeInfixCall/unsafePlus.kt.after index be5dda9f0427..507d239eddaa 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/nullables/unsafeInfixCall/unsafePlus.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/nullables/unsafeInfixCall/unsafePlus.kt.after @@ -1,4 +1,6 @@ // "Replace with safe (?.) call" "true" operator fun Int.plus(index: Int) = this -fun fox(arg: Int?) = arg?.plus(42) \ No newline at end of file +fun fox(arg: Int?) = arg?.plus(42) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/nullables/unsafeInfixCall/unsafeSet.kt b/plugins/kotlin/idea/tests/testData/quickfix/nullables/unsafeInfixCall/unsafeSet.kt index 99f4c3ecdfe2..f5292df708bd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/nullables/unsafeInfixCall/unsafeSet.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/nullables/unsafeInfixCall/unsafeSet.kt @@ -3,4 +3,6 @@ operator fun Int.set(row: Int, column: Int, value: Int) {} fun foo(arg: Int?) { arg[42, 13] = 0 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/nullables/unsafeInfixCall/unsafeSet.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/nullables/unsafeInfixCall/unsafeSet.kt.after index ce2ed0ba5e07..0967a8730517 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/nullables/unsafeInfixCall/unsafeSet.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/nullables/unsafeInfixCall/unsafeSet.kt.after @@ -3,4 +3,6 @@ operator fun Int.set(row: Int, column: Int, value: Int) {} fun foo(arg: Int?) { arg?.set(42, 13, 0) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/obsoleteKotlinJsPackages/kotlinBrowserFullyQualifiedProperty.kt b/plugins/kotlin/idea/tests/testData/quickfix/obsoleteKotlinJsPackages/kotlinBrowserFullyQualifiedProperty.kt index a79c822736ba..99b057313cac 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/obsoleteKotlinJsPackages/kotlinBrowserFullyQualifiedProperty.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/obsoleteKotlinJsPackages/kotlinBrowserFullyQualifiedProperty.kt @@ -8,3 +8,5 @@ fun use(a: Any) {} fun usage() { use(kotlin.browser.localStorage.toString()) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.migration.ObsoleteKotlinBrowserUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/obsoleteKotlinJsPackages/kotlinBrowserFullyQualifiedProperty.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/obsoleteKotlinJsPackages/kotlinBrowserFullyQualifiedProperty.kt.after index 1d43e8693374..ef6c65f620f3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/obsoleteKotlinJsPackages/kotlinBrowserFullyQualifiedProperty.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/obsoleteKotlinJsPackages/kotlinBrowserFullyQualifiedProperty.kt.after @@ -8,3 +8,5 @@ fun use(a: Any) {} fun usage() { use(kotlinx.browser.localStorage.toString()) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.migration.ObsoleteKotlinBrowserUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/obsoleteKotlinJsPackages/kotlinBrowserPropertyImport.kt b/plugins/kotlin/idea/tests/testData/quickfix/obsoleteKotlinJsPackages/kotlinBrowserPropertyImport.kt index 29c044018d3c..720c10b50706 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/obsoleteKotlinJsPackages/kotlinBrowserPropertyImport.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/obsoleteKotlinJsPackages/kotlinBrowserPropertyImport.kt @@ -4,4 +4,5 @@ package test import kotlin.browser.localStorage -import kotlin.dom.addClass \ No newline at end of file +import kotlin.dom.addClass +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.migration.ObsoleteKotlinBrowserUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/obsoleteKotlinJsPackages/kotlinBrowserPropertyImport.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/obsoleteKotlinJsPackages/kotlinBrowserPropertyImport.kt.after index 39788ab1df45..6de3b6985b31 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/obsoleteKotlinJsPackages/kotlinBrowserPropertyImport.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/obsoleteKotlinJsPackages/kotlinBrowserPropertyImport.kt.after @@ -4,4 +4,5 @@ package test import kotlinx.browser.localStorage -import kotlin.dom.addClass \ No newline at end of file +import kotlin.dom.addClass +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.migration.ObsoleteKotlinBrowserUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/obsoleteKotlinJsPackages/kotlinBrowserStarImport.kt b/plugins/kotlin/idea/tests/testData/quickfix/obsoleteKotlinJsPackages/kotlinBrowserStarImport.kt index 0925108565e2..50a151d9aff5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/obsoleteKotlinJsPackages/kotlinBrowserStarImport.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/obsoleteKotlinJsPackages/kotlinBrowserStarImport.kt @@ -5,3 +5,5 @@ package test import kotlin.browser.* import kotlin.dom.* + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.migration.ObsoleteKotlinBrowserUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/obsoleteKotlinJsPackages/kotlinBrowserStarImport.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/obsoleteKotlinJsPackages/kotlinBrowserStarImport.kt.after index be16f7a41baf..17fcb6cb9c8a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/obsoleteKotlinJsPackages/kotlinBrowserStarImport.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/obsoleteKotlinJsPackages/kotlinBrowserStarImport.kt.after @@ -5,3 +5,5 @@ package test import kotlinx.browser.* import kotlin.dom.* + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.migration.ObsoleteKotlinBrowserUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/obsoleteKotlinJsPackages/kotlinDomPropertyImport.kt b/plugins/kotlin/idea/tests/testData/quickfix/obsoleteKotlinJsPackages/kotlinDomPropertyImport.kt index 48bc1a22ff60..9bae13baf29e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/obsoleteKotlinJsPackages/kotlinDomPropertyImport.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/obsoleteKotlinJsPackages/kotlinDomPropertyImport.kt @@ -4,4 +4,5 @@ package test import kotlin.browser.localStorage -import kotlin.dom.addClass \ No newline at end of file +import kotlin.dom.addClass +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.migration.ObsoleteKotlinDomUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/obsoleteKotlinJsPackages/kotlinDomPropertyImport.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/obsoleteKotlinJsPackages/kotlinDomPropertyImport.kt.after index 03ae880f49b9..4fe84ab4ea96 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/obsoleteKotlinJsPackages/kotlinDomPropertyImport.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/obsoleteKotlinJsPackages/kotlinDomPropertyImport.kt.after @@ -4,4 +4,5 @@ package test import kotlin.browser.localStorage -import kotlinx.dom.addClass \ No newline at end of file +import kotlinx.dom.addClass +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.migration.ObsoleteKotlinDomUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/obsoleteKotlinJsPackages/kotlinDomStarImport.kt b/plugins/kotlin/idea/tests/testData/quickfix/obsoleteKotlinJsPackages/kotlinDomStarImport.kt index 272dd8dfbc54..c656648b164b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/obsoleteKotlinJsPackages/kotlinDomStarImport.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/obsoleteKotlinJsPackages/kotlinDomStarImport.kt @@ -5,3 +5,5 @@ package test import kotlin.browser.* import kotlin.dom.* + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.migration.ObsoleteKotlinDomUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/obsoleteKotlinJsPackages/kotlinDomStarImport.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/obsoleteKotlinJsPackages/kotlinDomStarImport.kt.after index d3f95448d41c..08bcacbccd1f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/obsoleteKotlinJsPackages/kotlinDomStarImport.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/obsoleteKotlinJsPackages/kotlinDomStarImport.kt.after @@ -5,3 +5,5 @@ package test import kotlin.browser.* import kotlinx.dom.* + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.migration.ObsoleteKotlinDomUsageFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/annotationInTopLevelProperty.kt b/plugins/kotlin/idea/tests/testData/quickfix/optIn/annotationInTopLevelProperty.kt index 2492222cc79a..1cf5f066a6f0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/annotationInTopLevelProperty.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/annotationInTopLevelProperty.kt @@ -14,3 +14,5 @@ class TopClass annotation class TopAnn val topUserVal: @TopAnn TopClass? = null + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$PropagateOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/annotationInTopLevelProperty.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/annotationInTopLevelProperty.kt.after index 3d20b2d4791f..4d3afe3fc9f7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/annotationInTopLevelProperty.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/annotationInTopLevelProperty.kt.after @@ -15,3 +15,5 @@ annotation class TopAnn @TopMarker val topUserVal: @TopAnn TopClass? = null + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$PropagateOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/appendFileAnnotationToAnnotationList.kt b/plugins/kotlin/idea/tests/testData/quickfix/optIn/appendFileAnnotationToAnnotationList.kt index 36946681adae..2110f25fbdbb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/appendFileAnnotationToAnnotationList.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/appendFileAnnotationToAnnotationList.kt @@ -21,3 +21,6 @@ fun f() {} fun g() { f() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.UseOptInFileAnnotationFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.UseOptInFileAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/appendFileAnnotationToAnnotationList.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/appendFileAnnotationToAnnotationList.kt.after index 793c1359b45e..591759c5c38b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/appendFileAnnotationToAnnotationList.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/appendFileAnnotationToAnnotationList.kt.after @@ -21,3 +21,6 @@ fun f() {} fun g() { f() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.UseOptInFileAnnotationFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.UseOptInFileAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/appendFileAnnotationToOtherFileAnnotations.kt b/plugins/kotlin/idea/tests/testData/quickfix/optIn/appendFileAnnotationToOtherFileAnnotations.kt index 4297d76ae475..8aeea9aca872 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/appendFileAnnotationToOtherFileAnnotations.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/appendFileAnnotationToOtherFileAnnotations.kt @@ -14,3 +14,6 @@ fun f() {} fun g() { f() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.UseOptInFileAnnotationFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.UseOptInFileAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/appendFileAnnotationToOtherFileAnnotations.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/appendFileAnnotationToOtherFileAnnotations.kt.after index 5f9d4ad09f90..734cb83ff0dd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/appendFileAnnotationToOtherFileAnnotations.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/appendFileAnnotationToOtherFileAnnotations.kt.after @@ -15,3 +15,6 @@ fun f() {} fun g() { f() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.UseOptInFileAnnotationFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.UseOptInFileAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/appendFileAnnotationWithAnnotationList.kt b/plugins/kotlin/idea/tests/testData/quickfix/optIn/appendFileAnnotationWithAnnotationList.kt index 8a7c1273117d..40ba252dd89d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/appendFileAnnotationWithAnnotationList.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/appendFileAnnotationWithAnnotationList.kt @@ -16,3 +16,6 @@ fun f() {} fun g() { f() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.UseOptInFileAnnotationFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.UseOptInFileAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/appendFileAnnotationWithAnnotationList.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/appendFileAnnotationWithAnnotationList.kt.after index 2108a1ef9c6d..9d80f77d221b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/appendFileAnnotationWithAnnotationList.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/appendFileAnnotationWithAnnotationList.kt.after @@ -17,3 +17,6 @@ fun f() {} fun g() { f() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.UseOptInFileAnnotationFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.UseOptInFileAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/basicFunction.kt b/plugins/kotlin/idea/tests/testData/quickfix/optIn/basicFunction.kt index fd7167dde7b8..0bc5347f5f32 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/basicFunction.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/basicFunction.kt @@ -14,3 +14,5 @@ class Bar { foo() } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$PropagateOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/basicFunction.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/basicFunction.kt.after index 0d4bc43cbbb4..316a0dbe6fd5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/basicFunction.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/basicFunction.kt.after @@ -15,3 +15,5 @@ class Bar { foo() } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$PropagateOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/basicFunctionContainingClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/optIn/basicFunctionContainingClass.kt index e7d6bb1e3701..13dc138a0cf9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/basicFunctionContainingClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/basicFunctionContainingClass.kt @@ -14,3 +14,5 @@ class Bar { foo() } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$PropagateOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/basicFunctionContainingClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/basicFunctionContainingClass.kt.after index a094dd99ce60..edacb9206340 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/basicFunctionContainingClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/basicFunctionContainingClass.kt.after @@ -15,3 +15,5 @@ class Bar { foo() } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$PropagateOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/basicModule.kt b/plugins/kotlin/idea/tests/testData/quickfix/optIn/basicModule.kt index 43f7f6bd9ad9..7d6e39fff91e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/basicModule.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/basicModule.kt @@ -22,3 +22,5 @@ class Bar { Some().foo() } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFileLevelFixesFactory$LowPriorityMakeModuleOptInFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/basicModule.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/basicModule.kt.after index 8b4f570c7883..1c78e5b2b817 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/basicModule.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/basicModule.kt.after @@ -22,3 +22,5 @@ class Bar { Some().foo() } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFileLevelFixesFactory$LowPriorityMakeModuleOptInFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/basicUseOptIn.kt b/plugins/kotlin/idea/tests/testData/quickfix/optIn/basicUseOptIn.kt index 9b536bf8ab57..7044b8f9b08d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/basicUseOptIn.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/basicUseOptIn.kt @@ -21,3 +21,5 @@ class Bar { Some().foo() } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$HighPriorityUseOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/basicUseOptIn.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/basicUseOptIn.kt.after index 80b153cc75d2..9267652a5484 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/basicUseOptIn.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/basicUseOptIn.kt.after @@ -22,3 +22,5 @@ class Bar { Some().foo() } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$HighPriorityUseOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/classUseOptIn.kt b/plugins/kotlin/idea/tests/testData/quickfix/optIn/classUseOptIn.kt index 18774b629581..bc8da3a08e22 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/classUseOptIn.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/classUseOptIn.kt @@ -18,3 +18,5 @@ class Bar { foo() } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$HighPriorityUseOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/classUseOptIn.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/classUseOptIn.kt.after index 8af191c911f5..1bfb90a31d11 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/classUseOptIn.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/classUseOptIn.kt.after @@ -19,3 +19,5 @@ class Bar { foo() } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$HighPriorityUseOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/existingFileAnnotationWithPackage.kt b/plugins/kotlin/idea/tests/testData/quickfix/optIn/existingFileAnnotationWithPackage.kt index 97728497f8de..ecc214ebca71 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/existingFileAnnotationWithPackage.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/existingFileAnnotationWithPackage.kt @@ -19,3 +19,6 @@ fun g() {} fun h() { g() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.UseOptInFileAnnotationFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.UseOptInFileAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/existingFileAnnotationWithPackage.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/existingFileAnnotationWithPackage.kt.after index d7fb4c80dc6b..cfb83e1a00cb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/existingFileAnnotationWithPackage.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/existingFileAnnotationWithPackage.kt.after @@ -19,3 +19,6 @@ fun g() {} fun h() { g() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.UseOptInFileAnnotationFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.UseOptInFileAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/forbiddenTargetsExpression.kt b/plugins/kotlin/idea/tests/testData/quickfix/optIn/forbiddenTargetsExpression.kt index 1623260702ed..3165b003e7b1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/forbiddenTargetsExpression.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/forbiddenTargetsExpression.kt @@ -3,3 +3,6 @@ @RequiresOptIn @Target(AnnotationTarget.CLASS, AnnotationTarget.EXPRESSION, AnnotationTarget.FUNCTION) annotation class SomeOptInAnnotation + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveWrongOptInAnnotationTargetFix +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveWrongOptInAnnotationTargetFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/forbiddenTargetsExpression.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/forbiddenTargetsExpression.kt.after index 19d38a3d9108..23d4d905cd70 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/forbiddenTargetsExpression.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/forbiddenTargetsExpression.kt.after @@ -3,3 +3,6 @@ @RequiresOptIn @Target(AnnotationTarget.CLASS, AnnotationTarget.FUNCTION) annotation class SomeOptInAnnotation + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveWrongOptInAnnotationTargetFix +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveWrongOptInAnnotationTargetFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/forbiddenTargetsExpression2.kt b/plugins/kotlin/idea/tests/testData/quickfix/optIn/forbiddenTargetsExpression2.kt index f1eca6bf4b6a..cbc67808019c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/forbiddenTargetsExpression2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/forbiddenTargetsExpression2.kt @@ -3,3 +3,6 @@ @RequiresOptIn @Target(AnnotationTarget.EXPRESSION) annotation class SomeOptInAnnotation + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveWrongOptInAnnotationTargetFix +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveWrongOptInAnnotationTargetFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/forbiddenTargetsExpression2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/forbiddenTargetsExpression2.kt.after index 8403cb68a729..681fbdb437f7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/forbiddenTargetsExpression2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/forbiddenTargetsExpression2.kt.after @@ -2,3 +2,6 @@ @RequiresOptIn annotation class SomeOptInAnnotation + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveWrongOptInAnnotationTargetFix +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveWrongOptInAnnotationTargetFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/forbiddenTargetsInAnnotation.kt b/plugins/kotlin/idea/tests/testData/quickfix/optIn/forbiddenTargetsInAnnotation.kt index 811efb7be47f..80aa9fbf3383 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/forbiddenTargetsInAnnotation.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/forbiddenTargetsInAnnotation.kt @@ -3,3 +3,6 @@ @RequiresOptIn @Target(AnnotationTarget.CLASS, AnnotationTarget.TYPE, AnnotationTarget.FUNCTION, AnnotationTarget.FILE) annotation class SomeOptInAnnotation + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveWrongOptInAnnotationTargetFix +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveWrongOptInAnnotationTargetFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/forbiddenTargetsInAnnotation.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/forbiddenTargetsInAnnotation.kt.after index e859134b3ef1..ae8f12c185b6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/forbiddenTargetsInAnnotation.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/forbiddenTargetsInAnnotation.kt.after @@ -3,3 +3,6 @@ @RequiresOptIn @Target(AnnotationTarget.CLASS, AnnotationTarget.FUNCTION) annotation class SomeOptInAnnotation + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveWrongOptInAnnotationTargetFix +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveWrongOptInAnnotationTargetFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/functionInLocalClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/optIn/functionInLocalClass.kt index 47073d759f41..342246fa1b07 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/functionInLocalClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/functionInLocalClass.kt @@ -19,3 +19,5 @@ class Outer { } } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$HighPriorityPropagateOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/functionInLocalClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/functionInLocalClass.kt.after index 41dd754658bd..a3601b944df0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/functionInLocalClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/functionInLocalClass.kt.after @@ -20,3 +20,5 @@ class Outer { } } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$HighPriorityPropagateOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/getterUseSiteExplicit.kt b/plugins/kotlin/idea/tests/testData/quickfix/optIn/getterUseSiteExplicit.kt index e2ea2b500510..b2158aff43fd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/getterUseSiteExplicit.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/getterUseSiteExplicit.kt @@ -5,3 +5,6 @@ annotation class SomeOptInAnnotation @get:SomeOptInAnnotation val someProperty: Int = 5 + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MoveOptInRequirementToPropertyFix +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MoveOptInRequirementToPropertyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/getterUseSiteExplicit.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/getterUseSiteExplicit.kt.after index 9e7fd64b6793..52b613d4c998 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/getterUseSiteExplicit.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/getterUseSiteExplicit.kt.after @@ -5,3 +5,6 @@ annotation class SomeOptInAnnotation @SomeOptInAnnotation val someProperty: Int = 5 + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MoveOptInRequirementToPropertyFix +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MoveOptInRequirementToPropertyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/getterUseSiteExplicitRemove.kt b/plugins/kotlin/idea/tests/testData/quickfix/optIn/getterUseSiteExplicitRemove.kt index a1d12203d815..fe146960acd2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/getterUseSiteExplicitRemove.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/getterUseSiteExplicitRemove.kt @@ -5,3 +5,6 @@ annotation class SomeOptInAnnotation @get:SomeOptInAnnotation val someProperty: Int = 5 + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.RemoveAnnotationFix +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.RemoveAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/getterUseSiteExplicitRemove.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/getterUseSiteExplicitRemove.kt.after index 83aa8e599134..5b801c39e3c5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/getterUseSiteExplicitRemove.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/getterUseSiteExplicitRemove.kt.after @@ -4,3 +4,6 @@ annotation class SomeOptInAnnotation val someProperty: Int = 5 + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.RemoveAnnotationFix +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.RemoveAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/getterUseSiteImplicit.kt b/plugins/kotlin/idea/tests/testData/quickfix/optIn/getterUseSiteImplicit.kt index 5a9829c14ff5..f2d7d25c7617 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/getterUseSiteImplicit.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/getterUseSiteImplicit.kt @@ -8,3 +8,6 @@ class Foo(val value: Int) { val bar: Boolean @SomeOptInAnnotation get() = value > 0 } + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MoveOptInRequirementToPropertyFix +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MoveOptInRequirementToPropertyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/getterUseSiteImplicit.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/getterUseSiteImplicit.kt.after index 8dcee0aed46b..e037c543066d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/getterUseSiteImplicit.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/getterUseSiteImplicit.kt.after @@ -9,3 +9,6 @@ class Foo(val value: Int) { val bar: Boolean get() = value > 0 } + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MoveOptInRequirementToPropertyFix +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MoveOptInRequirementToPropertyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/getterUseSiteImplicitRemove.kt b/plugins/kotlin/idea/tests/testData/quickfix/optIn/getterUseSiteImplicitRemove.kt index 5277f32cc6a6..a89b9708341e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/getterUseSiteImplicitRemove.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/getterUseSiteImplicitRemove.kt @@ -8,3 +8,6 @@ class Foo(val value: Int) { val bar: Boolean @SomeOptInAnnotation get() = value > 0 } + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.RemoveAnnotationFix +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.RemoveAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/getterUseSiteImplicitRemove.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/getterUseSiteImplicitRemove.kt.after index b28bd2937416..a7eae6e1bb8b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/getterUseSiteImplicitRemove.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/getterUseSiteImplicitRemove.kt.after @@ -8,3 +8,6 @@ class Foo(val value: Int) { val bar: Boolean get() = value > 0 } + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.RemoveAnnotationFix +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.RemoveAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/hasOptInAnnotation.kt b/plugins/kotlin/idea/tests/testData/quickfix/optIn/hasOptInAnnotation.kt index 3f90ec30e44d..bd9ba4420cde 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/hasOptInAnnotation.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/hasOptInAnnotation.kt @@ -17,4 +17,5 @@ fun f2() {} fun root() { f1() f2() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$HighPriorityUseOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/hasOptInAnnotation.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/hasOptInAnnotation.kt.after index dee39fce7229..e2d12570a5ff 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/hasOptInAnnotation.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/hasOptInAnnotation.kt.after @@ -17,4 +17,5 @@ fun f2() {} fun root() { f1() f2() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$HighPriorityUseOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/hasOptInAnnotation2.kt b/plugins/kotlin/idea/tests/testData/quickfix/optIn/hasOptInAnnotation2.kt index 8e5e5c261051..d9ce69dded43 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/hasOptInAnnotation2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/hasOptInAnnotation2.kt @@ -10,4 +10,5 @@ fun f1() {} @OptIn() fun root() { f1() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$HighPriorityUseOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/hasOptInAnnotation2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/hasOptInAnnotation2.kt.after index 6ca1ae8bcef4..abd7cf640c85 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/hasOptInAnnotation2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/hasOptInAnnotation2.kt.after @@ -10,4 +10,5 @@ fun f1() {} @OptIn(A::class) fun root() { f1() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$HighPriorityUseOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/hasOptInAnnotation3.kt b/plugins/kotlin/idea/tests/testData/quickfix/optIn/hasOptInAnnotation3.kt index f57eacdfa585..2adad78c3fda 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/hasOptInAnnotation3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/hasOptInAnnotation3.kt @@ -10,4 +10,5 @@ fun f1() {} @OptIn fun root() { f1() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$HighPriorityUseOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/hasOptInAnnotation3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/hasOptInAnnotation3.kt.after index 9fca19420cd0..7bf918add92e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/hasOptInAnnotation3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/hasOptInAnnotation3.kt.after @@ -10,4 +10,5 @@ fun f1() {} @OptIn(A::class) fun root() { f1() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$HighPriorityUseOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/hasOptInAnnotationForClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/optIn/hasOptInAnnotationForClass.kt index f72bd673e14f..f2630108d98e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/hasOptInAnnotationForClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/hasOptInAnnotationForClass.kt @@ -19,4 +19,5 @@ class C { f1() f2() } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$HighPriorityUseOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/hasOptInAnnotationForClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/hasOptInAnnotationForClass.kt.after index 0bb62b889c44..118d45f6bc49 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/hasOptInAnnotationForClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/hasOptInAnnotationForClass.kt.after @@ -19,4 +19,5 @@ class C { f1() f2() } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$HighPriorityUseOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/hasOptInAnnotationForClass2.kt b/plugins/kotlin/idea/tests/testData/quickfix/optIn/hasOptInAnnotationForClass2.kt index 27454170c305..b300d9b1691a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/hasOptInAnnotationForClass2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/hasOptInAnnotationForClass2.kt @@ -19,4 +19,5 @@ interface I { class C : I { override fun foo() {} override fun bar() {} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$UseOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/hasOptInAnnotationForClass2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/hasOptInAnnotationForClass2.kt.after index f963a4e8fdb5..9117dc8a9a87 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/hasOptInAnnotationForClass2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/hasOptInAnnotationForClass2.kt.after @@ -19,4 +19,5 @@ interface I { class C : I { override fun foo() {} override fun bar() {} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$UseOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/localFunction.kt b/plugins/kotlin/idea/tests/testData/quickfix/optIn/localFunction.kt index 2e887d352ff7..f863ce4724eb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/localFunction.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/localFunction.kt @@ -14,3 +14,5 @@ fun outer() { foo() } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$PropagateOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/localFunction.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/localFunction.kt.after index 211eec36e041..0e006e70a783 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/localFunction.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/localFunction.kt.after @@ -15,3 +15,5 @@ fun outer() { foo() } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$PropagateOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/localVariableAnnotationNoInitRemove.kt b/plugins/kotlin/idea/tests/testData/quickfix/optIn/localVariableAnnotationNoInitRemove.kt index 1a807cc13dd5..b1c15997b7b0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/localVariableAnnotationNoInitRemove.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/localVariableAnnotationNoInitRemove.kt @@ -8,3 +8,6 @@ fun foo() { @SomeOptInAnnotation var x: Int } + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.RemoveAnnotationFix +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.RemoveAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/localVariableAnnotationNoInitRemove.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/localVariableAnnotationNoInitRemove.kt.after index 9cc5161c40fc..d36737bc4b0b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/localVariableAnnotationNoInitRemove.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/localVariableAnnotationNoInitRemove.kt.after @@ -7,3 +7,6 @@ annotation class SomeOptInAnnotation fun foo() { var x: Int } + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.RemoveAnnotationFix +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.RemoveAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/localVariableAnnotationRemove.kt b/plugins/kotlin/idea/tests/testData/quickfix/optIn/localVariableAnnotationRemove.kt index 181b5ddf3114..cc79495247d0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/localVariableAnnotationRemove.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/localVariableAnnotationRemove.kt @@ -8,3 +8,6 @@ fun foo() { @SomeOptInAnnotation var x: Int = 0 } + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.RemoveAnnotationFix +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.RemoveAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/localVariableAnnotationRemove.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/localVariableAnnotationRemove.kt.after index 3417f1ef23a8..342f1bf75f0b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/localVariableAnnotationRemove.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/localVariableAnnotationRemove.kt.after @@ -7,3 +7,6 @@ annotation class SomeOptInAnnotation fun foo() { var x: Int = 0 } + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.RemoveAnnotationFix +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.RemoveAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/newFileAnnotationWithPackage.kt b/plugins/kotlin/idea/tests/testData/quickfix/optIn/newFileAnnotationWithPackage.kt index f95056dde39f..6dc633f4e0e1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/newFileAnnotationWithPackage.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/newFileAnnotationWithPackage.kt @@ -11,3 +11,6 @@ fun f() {} fun g() { f() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.UseOptInFileAnnotationFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.UseOptInFileAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/newFileAnnotationWithPackage.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/newFileAnnotationWithPackage.kt.after index 872e31251a64..1a56e651f5ba 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/newFileAnnotationWithPackage.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/newFileAnnotationWithPackage.kt.after @@ -13,3 +13,6 @@ fun f() {} fun g() { f() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.UseOptInFileAnnotationFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.UseOptInFileAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateOptIn.kt b/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateOptIn.kt index 4120999a534b..6ca8e353be3f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateOptIn.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateOptIn.kt @@ -16,4 +16,5 @@ interface LibraryA interface LibraryB @SubclassOptInRequired(A::class) -interface SomeImplementation : LibraryA, LibraryB \ No newline at end of file +interface SomeImplementation : LibraryA, LibraryB +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$PropagateOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateOptIn.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateOptIn.kt.after index f1e6aa0f1135..7881a2fe8963 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateOptIn.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateOptIn.kt.after @@ -17,4 +17,5 @@ interface LibraryB @B @SubclassOptInRequired(A::class) -interface SomeImplementation : LibraryA, LibraryB \ No newline at end of file +interface SomeImplementation : LibraryA, LibraryB +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$PropagateOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateOptIn2.kt b/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateOptIn2.kt index 5bebe20d262b..72eac9c0213d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateOptIn2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateOptIn2.kt @@ -14,4 +14,5 @@ interface Base { abstract class Derived : Base { override fun foo(){} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$HighPriorityPropagateOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateOptIn2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateOptIn2.kt.after index b7e0d92a3825..4658fcc54a02 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateOptIn2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateOptIn2.kt.after @@ -15,4 +15,5 @@ interface Base { @UnstableApi abstract class Derived : Base { override fun foo(){} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$HighPriorityPropagateOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateOptIn3.kt b/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateOptIn3.kt index 64cd87964efa..593e866a9931 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateOptIn3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateOptIn3.kt @@ -9,4 +9,5 @@ annotation class UnstableApi @SubclassOptInRequired(UnstableApi::class) interface CoreLibraryApi -class SomeImplementation : CoreLibraryApi \ No newline at end of file +class SomeImplementation : CoreLibraryApi +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$PropagateOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateOptIn3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateOptIn3.kt.after index cfa371767504..9347345fc23d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateOptIn3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateOptIn3.kt.after @@ -10,4 +10,5 @@ annotation class UnstableApi interface CoreLibraryApi @UnstableApi -class SomeImplementation : CoreLibraryApi \ No newline at end of file +class SomeImplementation : CoreLibraryApi +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$PropagateOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateOptIn4.kt b/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateOptIn4.kt index 20d735bd83e7..7b9277402980 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateOptIn4.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateOptIn4.kt @@ -9,4 +9,5 @@ annotation class UnstableApi @SubclassOptInRequired(UnstableApi::class) interface CoreLibraryApi -sealed interface SomeImplementation : CoreLibraryApi \ No newline at end of file +sealed interface SomeImplementation : CoreLibraryApi +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$PropagateOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateOptIn4.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateOptIn4.kt.after index 1ce42917397c..c037f268ee67 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateOptIn4.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateOptIn4.kt.after @@ -10,4 +10,5 @@ annotation class UnstableApi interface CoreLibraryApi @UnstableApi -sealed interface SomeImplementation : CoreLibraryApi \ No newline at end of file +sealed interface SomeImplementation : CoreLibraryApi +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$PropagateOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateOptIn5.kt b/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateOptIn5.kt index 8403c398881b..7d040514db76 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateOptIn5.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateOptIn5.kt @@ -9,4 +9,5 @@ annotation class UnstableApi @SubclassOptInRequired(UnstableApi::class) interface CoreLibraryApi -enum class SomeImplementation : CoreLibraryApi \ No newline at end of file +enum class SomeImplementation : CoreLibraryApi +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$PropagateOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateOptIn5.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateOptIn5.kt.after index 34a31c235906..920da3ef3470 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateOptIn5.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateOptIn5.kt.after @@ -10,4 +10,5 @@ annotation class UnstableApi interface CoreLibraryApi @UnstableApi -enum class SomeImplementation : CoreLibraryApi \ No newline at end of file +enum class SomeImplementation : CoreLibraryApi +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$PropagateOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateOptIn6.kt b/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateOptIn6.kt index 686eb2a9a830..20867b082758 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateOptIn6.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateOptIn6.kt @@ -9,4 +9,5 @@ annotation class UnstableApi @SubclassOptInRequired(UnstableApi::class) interface CoreLibraryApi -final class SomeImplementation : CoreLibraryApi \ No newline at end of file +final class SomeImplementation : CoreLibraryApi +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$PropagateOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateOptIn6.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateOptIn6.kt.after index 1e07588a1220..72627076924b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateOptIn6.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateOptIn6.kt.after @@ -10,4 +10,5 @@ annotation class UnstableApi interface CoreLibraryApi @UnstableApi -final class SomeImplementation : CoreLibraryApi \ No newline at end of file +final class SomeImplementation : CoreLibraryApi +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$PropagateOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateOptIn7.kt b/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateOptIn7.kt index 208caaa3c571..56c5b8ac2316 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateOptIn7.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateOptIn7.kt @@ -11,4 +11,5 @@ interface CoreLibraryApi fun interface SomeImplementation : CoreLibraryApi { fun method() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$PropagateOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateOptIn7.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateOptIn7.kt.after index 5181a3897f7d..1f2bef140845 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateOptIn7.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateOptIn7.kt.after @@ -12,4 +12,5 @@ interface CoreLibraryApi @UnstableApi fun interface SomeImplementation : CoreLibraryApi { fun method() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$PropagateOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateSubclassOptInRequired.kt b/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateSubclassOptInRequired.kt index 49c5988bbfd9..1d7fe8882539 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateSubclassOptInRequired.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateSubclassOptInRequired.kt @@ -9,4 +9,5 @@ annotation class UnstableApi @SubclassOptInRequired(UnstableApi::class) interface CoreLibraryApi -interface SomeImplementation : CoreLibraryApi \ No newline at end of file +interface SomeImplementation : CoreLibraryApi +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$PropagateOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateSubclassOptInRequired.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateSubclassOptInRequired.kt.after index d52ff95cd8d6..c46a40307f09 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateSubclassOptInRequired.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateSubclassOptInRequired.kt.after @@ -10,4 +10,5 @@ annotation class UnstableApi interface CoreLibraryApi @SubclassOptInRequired(UnstableApi::class) -interface SomeImplementation : CoreLibraryApi \ No newline at end of file +interface SomeImplementation : CoreLibraryApi +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$PropagateOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateSubclassOptInRequired2.kt b/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateSubclassOptInRequired2.kt index d6beef26e528..4a1c79d50b38 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateSubclassOptInRequired2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateSubclassOptInRequired2.kt @@ -16,4 +16,5 @@ interface LibraryA @SubclassOptInRequired(B::class) interface LibraryB -interface SomeImplementation : LibraryA, LibraryB \ No newline at end of file +interface SomeImplementation : LibraryA, LibraryB +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$PropagateOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateSubclassOptInRequired2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateSubclassOptInRequired2.kt.after index 0a355ec97003..4a23f8457667 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateSubclassOptInRequired2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateSubclassOptInRequired2.kt.after @@ -17,4 +17,5 @@ interface LibraryA interface LibraryB @SubclassOptInRequired(A::class) -interface SomeImplementation : LibraryA, LibraryB \ No newline at end of file +interface SomeImplementation : LibraryA, LibraryB +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$PropagateOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateSubclassOptInRequired3.kt b/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateSubclassOptInRequired3.kt index 27e24793c712..dc1b47984dc2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateSubclassOptInRequired3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateSubclassOptInRequired3.kt @@ -9,4 +9,5 @@ annotation class UnstableApi @SubclassOptInRequired(UnstableApi::class) interface CoreLibraryApi -open class SomeImplementation : CoreLibraryApi \ No newline at end of file +open class SomeImplementation : CoreLibraryApi +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$PropagateOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateSubclassOptInRequired3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateSubclassOptInRequired3.kt.after index 9a925fb5c69d..acc3215318b7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateSubclassOptInRequired3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateSubclassOptInRequired3.kt.after @@ -10,4 +10,5 @@ annotation class UnstableApi interface CoreLibraryApi @SubclassOptInRequired(UnstableApi::class) -open class SomeImplementation : CoreLibraryApi \ No newline at end of file +open class SomeImplementation : CoreLibraryApi +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$PropagateOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateSubclassOptInRequired4.kt b/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateSubclassOptInRequired4.kt index d71394b0a2b6..d561e5dee9aa 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateSubclassOptInRequired4.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateSubclassOptInRequired4.kt @@ -9,4 +9,5 @@ annotation class UnstableApi @SubclassOptInRequired(UnstableApi::class) interface CoreLibraryApi -abstract class SomeImplementation : CoreLibraryApi \ No newline at end of file +abstract class SomeImplementation : CoreLibraryApi +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$PropagateOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateSubclassOptInRequired4.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateSubclassOptInRequired4.kt.after index 22ac9dc8c530..e836e5513496 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateSubclassOptInRequired4.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateSubclassOptInRequired4.kt.after @@ -10,4 +10,5 @@ annotation class UnstableApi interface CoreLibraryApi @SubclassOptInRequired(UnstableApi::class) -abstract class SomeImplementation : CoreLibraryApi \ No newline at end of file +abstract class SomeImplementation : CoreLibraryApi +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$PropagateOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateSubclassOptInRequired5.kt b/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateSubclassOptInRequired5.kt index d9b51a0d00ed..6f7aa454ff3f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateSubclassOptInRequired5.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateSubclassOptInRequired5.kt @@ -11,4 +11,5 @@ interface MockApi @SubclassOptInRequired(UnstableApi::class) interface CoreLibraryApi -abstract class SomeImplementation : MockApi, CoreLibraryApi \ No newline at end of file +abstract class SomeImplementation : MockApi, CoreLibraryApi +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$PropagateOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateSubclassOptInRequired5.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateSubclassOptInRequired5.kt.after index d202a562ea38..4f47df8b3eab 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateSubclassOptInRequired5.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/propagateSubclassOptInRequired5.kt.after @@ -12,4 +12,5 @@ interface MockApi interface CoreLibraryApi @SubclassOptInRequired(UnstableApi::class) -abstract class SomeImplementation : MockApi, CoreLibraryApi \ No newline at end of file +abstract class SomeImplementation : MockApi, CoreLibraryApi +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$PropagateOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/propertyInConstructor.kt b/plugins/kotlin/idea/tests/testData/quickfix/optIn/propertyInConstructor.kt index 1aa5b4b55178..1b4838c914b5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/propertyInConstructor.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/propertyInConstructor.kt @@ -21,3 +21,5 @@ annotation class PropertyTypeMarker class PropertyTypeMarked class PropertyTypeContainer(val subject: PropertyTypeMarked) + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$PropagateOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/propertyInConstructor.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/propertyInConstructor.kt.after index 317571678b51..c82b01a2e978 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/propertyInConstructor.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/propertyInConstructor.kt.after @@ -21,3 +21,5 @@ annotation class PropertyTypeMarker class PropertyTypeMarked class PropertyTypeContainer @PropertyTypeMarker constructor(val subject: PropertyTypeMarked) + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$PropagateOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/propertyInConstructorAddOptInToClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/optIn/propertyInConstructorAddOptInToClass.kt index 948e7baec34a..c3f8d2fff727 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/propertyInConstructorAddOptInToClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/propertyInConstructorAddOptInToClass.kt @@ -21,3 +21,5 @@ annotation class PropertyTypeMarker class PropertyTypeMarked class PropertyTypeContainer(val subject: PropertyTypeMarked) + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$HighPriorityUseOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/propertyInConstructorAddOptInToClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/propertyInConstructorAddOptInToClass.kt.after index f07c0b8c01f3..6e650580b167 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/propertyInConstructorAddOptInToClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/propertyInConstructorAddOptInToClass.kt.after @@ -22,3 +22,5 @@ class PropertyTypeMarked @OptIn(PropertyTypeMarker::class) class PropertyTypeContainer(val subject: PropertyTypeMarked) + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$HighPriorityUseOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/propertyInConstructorAddOptInToConstructor.kt b/plugins/kotlin/idea/tests/testData/quickfix/optIn/propertyInConstructorAddOptInToConstructor.kt index 7f530d197cad..89d1e70f9eca 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/propertyInConstructorAddOptInToConstructor.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/propertyInConstructorAddOptInToConstructor.kt @@ -21,3 +21,5 @@ annotation class PropertyTypeMarker class PropertyTypeMarked class PropertyTypeContainer(val subject: PropertyTypeMarked) + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$HighPriorityUseOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/propertyInConstructorAddOptInToConstructor.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/propertyInConstructorAddOptInToConstructor.kt.after index 111c637463ed..e42d7ef3fff2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/propertyInConstructorAddOptInToConstructor.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/propertyInConstructorAddOptInToConstructor.kt.after @@ -21,3 +21,5 @@ annotation class PropertyTypeMarker class PropertyTypeMarked class PropertyTypeContainer @OptIn(PropertyTypeMarker::class) constructor(val subject: PropertyTypeMarked) + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$HighPriorityUseOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/annotationInTopLevelProperty.kts b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/annotationInTopLevelProperty.kts index 7755b05e596c..579e651298d4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/annotationInTopLevelProperty.kts +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/annotationInTopLevelProperty.kts @@ -20,3 +20,5 @@ class TopClass annotation class TopAnn val topUserVal: @TopAnn TopClass? = null + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$PropagateOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/annotationInTopLevelProperty.kts.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/annotationInTopLevelProperty.kts.after index 09923f80688f..b7668df4522f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/annotationInTopLevelProperty.kts.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/annotationInTopLevelProperty.kts.after @@ -21,3 +21,5 @@ annotation class TopAnn @TopMarker val topUserVal: @TopAnn TopClass? = null + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$PropagateOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/appendFileAnnotationToAnnotationList.kts b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/appendFileAnnotationToAnnotationList.kts index 7dc8cfa0745c..b7cc46eaf869 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/appendFileAnnotationToAnnotationList.kts +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/appendFileAnnotationToAnnotationList.kts @@ -25,3 +25,5 @@ fun f() {} fun g() { f() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.UseOptInFileAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/appendFileAnnotationToAnnotationList.kts.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/appendFileAnnotationToAnnotationList.kts.after index 351babe9d3d6..7a6ffc960295 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/appendFileAnnotationToAnnotationList.kts.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/appendFileAnnotationToAnnotationList.kts.after @@ -25,3 +25,5 @@ fun f() {} fun g() { f() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.UseOptInFileAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/appendFileAnnotationToOtherFileAnnotations.kts b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/appendFileAnnotationToOtherFileAnnotations.kts index 81d90c106926..1fe02d2cb9e3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/appendFileAnnotationToOtherFileAnnotations.kts +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/appendFileAnnotationToOtherFileAnnotations.kts @@ -18,3 +18,5 @@ fun f() {} fun g() { f() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.UseOptInFileAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/appendFileAnnotationToOtherFileAnnotations.kts.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/appendFileAnnotationToOtherFileAnnotations.kts.after index 3682f107f3ad..845ecd1f9047 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/appendFileAnnotationToOtherFileAnnotations.kts.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/appendFileAnnotationToOtherFileAnnotations.kts.after @@ -19,3 +19,5 @@ fun f() {} fun g() { f() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.UseOptInFileAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/appendFileAnnotationWithAnnotationList.kts b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/appendFileAnnotationWithAnnotationList.kts index aa794d5c7a33..e125197ee054 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/appendFileAnnotationWithAnnotationList.kts +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/appendFileAnnotationWithAnnotationList.kts @@ -20,3 +20,5 @@ fun f() {} fun g() { f() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.UseOptInFileAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/appendFileAnnotationWithAnnotationList.kts.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/appendFileAnnotationWithAnnotationList.kts.after index 81fb88eb61b1..664ffc7c4d91 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/appendFileAnnotationWithAnnotationList.kts.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/appendFileAnnotationWithAnnotationList.kts.after @@ -21,3 +21,5 @@ fun f() {} fun g() { f() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.UseOptInFileAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/basicFunction.kts b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/basicFunction.kts index a30e2560ab8b..1c4608a0078e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/basicFunction.kts +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/basicFunction.kts @@ -19,3 +19,5 @@ class Bar { foo() } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$PropagateOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/basicFunction.kts.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/basicFunction.kts.after index 5b271a3cf7d8..ffe690a8d44a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/basicFunction.kts.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/basicFunction.kts.after @@ -20,3 +20,5 @@ class Bar { foo() } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$PropagateOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/basicFunctionContainingClass.kts b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/basicFunctionContainingClass.kts index 4b3e56b594ce..1e207b7206b3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/basicFunctionContainingClass.kts +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/basicFunctionContainingClass.kts @@ -19,3 +19,5 @@ class Bar { foo() } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$PropagateOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/basicFunctionContainingClass.kts.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/basicFunctionContainingClass.kts.after index e3ec10bfce79..ac17c0a63bef 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/basicFunctionContainingClass.kts.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/basicFunctionContainingClass.kts.after @@ -20,3 +20,5 @@ class Bar { foo() } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$PropagateOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/basicModule.kts b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/basicModule.kts index 8a8627cd59d7..ca2b665449ba 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/basicModule.kts +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/basicModule.kts @@ -27,3 +27,5 @@ class Bar { Some().foo() } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFileLevelFixesFactory$LowPriorityMakeModuleOptInFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/basicModule.kts.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/basicModule.kts.after index 75354a5f9995..9ada7830c4fb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/basicModule.kts.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/basicModule.kts.after @@ -27,3 +27,5 @@ class Bar { Some().foo() } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFileLevelFixesFactory$LowPriorityMakeModuleOptInFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/basicUseOptIn.kts b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/basicUseOptIn.kts index 4d6f7c0ab5cc..6c156893f997 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/basicUseOptIn.kts +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/basicUseOptIn.kts @@ -26,3 +26,5 @@ class Bar { Some().foo() } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$HighPriorityUseOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/basicUseOptIn.kts.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/basicUseOptIn.kts.after index 56be0df09a8b..668a0ac66f5b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/basicUseOptIn.kts.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/basicUseOptIn.kts.after @@ -27,3 +27,5 @@ class Bar { Some().foo() } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$HighPriorityUseOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/classUseOptIn.kts b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/classUseOptIn.kts index 719b984ae476..9757a3517bf5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/classUseOptIn.kts +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/classUseOptIn.kts @@ -22,3 +22,5 @@ class Bar { foo() } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$HighPriorityUseOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/classUseOptIn.kts.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/classUseOptIn.kts.after index ff34552391f0..063124b2a515 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/classUseOptIn.kts.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/classUseOptIn.kts.after @@ -23,3 +23,5 @@ class Bar { foo() } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$HighPriorityUseOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/existingFileAnnotationWithPackage.kts b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/existingFileAnnotationWithPackage.kts index e95fb8e2d476..f2d561ae0d58 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/existingFileAnnotationWithPackage.kts +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/existingFileAnnotationWithPackage.kts @@ -24,3 +24,5 @@ fun g() {} fun h() { g() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.UseOptInFileAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/existingFileAnnotationWithPackage.kts.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/existingFileAnnotationWithPackage.kts.after index d22f408d6d59..a33d88f99402 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/existingFileAnnotationWithPackage.kts.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/existingFileAnnotationWithPackage.kts.after @@ -24,3 +24,5 @@ fun g() {} fun h() { g() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.UseOptInFileAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/forbiddenTargetsExpression2.kts b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/forbiddenTargetsExpression2.kts index 0cf1501e60c6..eac0983e0c58 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/forbiddenTargetsExpression2.kts +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/forbiddenTargetsExpression2.kts @@ -3,3 +3,5 @@ @RequiresOptIn @Target(AnnotationTarget.EXPRESSION) annotation class SomeOptInAnnotation + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveWrongOptInAnnotationTargetFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/forbiddenTargetsExpression2.kts.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/forbiddenTargetsExpression2.kts.after index 5917b8da233a..b2e96fb5e3a2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/forbiddenTargetsExpression2.kts.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/forbiddenTargetsExpression2.kts.after @@ -2,3 +2,5 @@ // RUNTIME_WITH_SCRIPT_RUNTIME @RequiresOptIn annotation class SomeOptInAnnotation + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveWrongOptInAnnotationTargetFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/forbiddenTargetsInAnnotation.kts b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/forbiddenTargetsInAnnotation.kts index 3d8151b229cc..8c1ce9ee3ff3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/forbiddenTargetsInAnnotation.kts +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/forbiddenTargetsInAnnotation.kts @@ -3,3 +3,5 @@ @RequiresOptIn @Target(AnnotationTarget.CLASS, AnnotationTarget.TYPE, AnnotationTarget.FUNCTION, AnnotationTarget.FILE) annotation class SomeOptInAnnotation + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveWrongOptInAnnotationTargetFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/forbiddenTargetsInAnnotation.kts.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/forbiddenTargetsInAnnotation.kts.after index f8718f12ec27..2b72c14b4ee3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/forbiddenTargetsInAnnotation.kts.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/forbiddenTargetsInAnnotation.kts.after @@ -3,3 +3,5 @@ @RequiresOptIn @Target(AnnotationTarget.CLASS, AnnotationTarget.FUNCTION) annotation class SomeOptInAnnotation + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveWrongOptInAnnotationTargetFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/functionInLocalClass.kts b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/functionInLocalClass.kts index 1afc104b1519..de3a1743d9f6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/functionInLocalClass.kts +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/functionInLocalClass.kts @@ -26,3 +26,5 @@ class Outer { } } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$HighPriorityPropagateOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/functionInLocalClass.kts.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/functionInLocalClass.kts.after index 76d3a5faf0a2..dbc8887d7fff 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/functionInLocalClass.kts.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/functionInLocalClass.kts.after @@ -27,3 +27,5 @@ class Outer { } } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$HighPriorityPropagateOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/getterUseSiteExplicit.kts b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/getterUseSiteExplicit.kts index 72c27041daba..bf15ce32cb10 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/getterUseSiteExplicit.kts +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/getterUseSiteExplicit.kts @@ -6,3 +6,5 @@ annotation class SomeOptInAnnotation @get:SomeOptInAnnotation val someProperty: Int = 5 + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MoveOptInRequirementToPropertyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/getterUseSiteExplicit.kts.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/getterUseSiteExplicit.kts.after index 71885e45c344..a4a60472e6e6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/getterUseSiteExplicit.kts.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/getterUseSiteExplicit.kts.after @@ -6,3 +6,5 @@ annotation class SomeOptInAnnotation @SomeOptInAnnotation val someProperty: Int = 5 + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MoveOptInRequirementToPropertyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/getterUseSiteExplicitRemove.kts b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/getterUseSiteExplicitRemove.kts index 7c0aa49f9567..a47a2ec8757b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/getterUseSiteExplicitRemove.kts +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/getterUseSiteExplicitRemove.kts @@ -6,3 +6,5 @@ annotation class SomeOptInAnnotation @get:SomeOptInAnnotation val someProperty: Int = 5 + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.RemoveAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/getterUseSiteExplicitRemove.kts.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/getterUseSiteExplicitRemove.kts.after index 27202c3559dd..2e66dda2e44e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/getterUseSiteExplicitRemove.kts.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/getterUseSiteExplicitRemove.kts.after @@ -5,3 +5,5 @@ annotation class SomeOptInAnnotation val someProperty: Int = 5 + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.RemoveAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/getterUseSiteImplicit.kts b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/getterUseSiteImplicit.kts index 973107bf25e3..1f4d6a2b0cd5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/getterUseSiteImplicit.kts +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/getterUseSiteImplicit.kts @@ -9,3 +9,5 @@ class Foo(val value: Int) { val bar: Boolean @SomeOptInAnnotation get() = value > 0 } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MoveOptInRequirementToPropertyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/getterUseSiteImplicit.kts.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/getterUseSiteImplicit.kts.after index 891aafff8358..2cbcac504c85 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/getterUseSiteImplicit.kts.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/getterUseSiteImplicit.kts.after @@ -10,3 +10,5 @@ class Foo(val value: Int) { val bar: Boolean get() = value > 0 } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MoveOptInRequirementToPropertyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/getterUseSiteImplicitRemove.kts b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/getterUseSiteImplicitRemove.kts index 1e7c838ce26d..9c8561c71d1b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/getterUseSiteImplicitRemove.kts +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/getterUseSiteImplicitRemove.kts @@ -9,3 +9,5 @@ class Foo(val value: Int) { val bar: Boolean @SomeOptInAnnotation get() = value > 0 } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.RemoveAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/getterUseSiteImplicitRemove.kts.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/getterUseSiteImplicitRemove.kts.after index 30a6a47e1014..489febbdb261 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/getterUseSiteImplicitRemove.kts.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/getterUseSiteImplicitRemove.kts.after @@ -9,3 +9,5 @@ class Foo(val value: Int) { val bar: Boolean get() = value > 0 } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.RemoveAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/hasOptInAnnotation.kts b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/hasOptInAnnotation.kts index 5e6017266f73..82e9a55d7190 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/hasOptInAnnotation.kts +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/hasOptInAnnotation.kts @@ -21,4 +21,5 @@ fun f2() {} fun root() { f1() f2() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$HighPriorityUseOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/hasOptInAnnotation.kts.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/hasOptInAnnotation.kts.after index ae0c235357f8..d420051f725c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/hasOptInAnnotation.kts.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/hasOptInAnnotation.kts.after @@ -21,4 +21,5 @@ fun f2() {} fun root() { f1() f2() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$HighPriorityUseOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/hasOptInAnnotation2.kts b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/hasOptInAnnotation2.kts index 13364c453760..4d780f7f5b10 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/hasOptInAnnotation2.kts +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/hasOptInAnnotation2.kts @@ -9,4 +9,5 @@ fun f1() {} @OptIn() fun root() { f1() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$HighPriorityUseOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/hasOptInAnnotation2.kts.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/hasOptInAnnotation2.kts.after index 9634be987bfa..6606a544b541 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/hasOptInAnnotation2.kts.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/hasOptInAnnotation2.kts.after @@ -9,4 +9,5 @@ fun f1() {} @OptIn(A::class) fun root() { f1() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$HighPriorityUseOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/hasOptInAnnotation3.kts b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/hasOptInAnnotation3.kts index 9a184a941716..02701958bc42 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/hasOptInAnnotation3.kts +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/hasOptInAnnotation3.kts @@ -14,4 +14,5 @@ fun f1() {} @OptIn fun root() { f1() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$HighPriorityUseOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/hasOptInAnnotation3.kts.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/hasOptInAnnotation3.kts.after index 876ecc1a3c8b..d39b08a5a3e5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/hasOptInAnnotation3.kts.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/hasOptInAnnotation3.kts.after @@ -14,4 +14,5 @@ fun f1() {} @OptIn(A::class) fun root() { f1() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$HighPriorityUseOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/hasOptInAnnotationForClass.kts b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/hasOptInAnnotationForClass.kts index 8896b2c320aa..e57c3db2f12f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/hasOptInAnnotationForClass.kts +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/hasOptInAnnotationForClass.kts @@ -25,4 +25,5 @@ class C { f1() f2() } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$HighPriorityUseOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/hasOptInAnnotationForClass.kts.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/hasOptInAnnotationForClass.kts.after index 48e1b1081677..930f2361fe02 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/hasOptInAnnotationForClass.kts.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/hasOptInAnnotationForClass.kts.after @@ -25,4 +25,5 @@ class C { f1() f2() } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$HighPriorityUseOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/hasOptInAnnotationForClass2.kts b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/hasOptInAnnotationForClass2.kts index 68ecc59120d5..6aacaa6330dd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/hasOptInAnnotationForClass2.kts +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/hasOptInAnnotationForClass2.kts @@ -25,4 +25,5 @@ interface I { class C : I { override fun foo() {} override fun bar() {} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$UseOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/hasOptInAnnotationForClass2.kts.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/hasOptInAnnotationForClass2.kts.after index ee08f6ee336a..1236d73c1f7d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/hasOptInAnnotationForClass2.kts.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/hasOptInAnnotationForClass2.kts.after @@ -25,4 +25,5 @@ interface I { class C : I { override fun foo() {} override fun bar() {} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$UseOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/localFunction.kts b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/localFunction.kts index 2fdc13dc2e06..1242b10c86db 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/localFunction.kts +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/localFunction.kts @@ -18,3 +18,5 @@ fun outer() { foo() } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$PropagateOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/localFunction.kts.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/localFunction.kts.after index c89b933fd67d..3ce1b03cac73 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/localFunction.kts.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/localFunction.kts.after @@ -19,3 +19,5 @@ fun outer() { foo() } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$PropagateOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/localVariableAnnotationNoInitRemove.kts b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/localVariableAnnotationNoInitRemove.kts index e8ab204e69ae..a97aaae083c2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/localVariableAnnotationNoInitRemove.kts +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/localVariableAnnotationNoInitRemove.kts @@ -9,3 +9,5 @@ fun foo() { @SomeOptInAnnotation var x: Int } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.RemoveAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/localVariableAnnotationNoInitRemove.kts.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/localVariableAnnotationNoInitRemove.kts.after index 149e7c93f715..4dfe0763fd59 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/localVariableAnnotationNoInitRemove.kts.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/localVariableAnnotationNoInitRemove.kts.after @@ -8,3 +8,5 @@ annotation class SomeOptInAnnotation fun foo() { var x: Int } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.RemoveAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/localVariableAnnotationRemove.kts b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/localVariableAnnotationRemove.kts index add8d06aaee5..7ed3e8ca0310 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/localVariableAnnotationRemove.kts +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/localVariableAnnotationRemove.kts @@ -9,3 +9,5 @@ fun foo() { @SomeOptInAnnotation var x: Int = 0 } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.RemoveAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/localVariableAnnotationRemove.kts.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/localVariableAnnotationRemove.kts.after index b9c79b6ff3cc..00428e997f44 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/localVariableAnnotationRemove.kts.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/localVariableAnnotationRemove.kts.after @@ -8,3 +8,5 @@ annotation class SomeOptInAnnotation fun foo() { var x: Int = 0 } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.RemoveAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/nestedClasses.kts b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/nestedClasses.kts index 00e7168fea55..9f1c05b92a82 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/nestedClasses.kts +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/nestedClasses.kts @@ -27,3 +27,5 @@ class Outer { } } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$HighPriorityUseOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/nestedClasses.kts.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/nestedClasses.kts.after index a3c516d2ec4e..77d8815e7150 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/nestedClasses.kts.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/nestedClasses.kts.after @@ -28,3 +28,5 @@ class Outer { } } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$HighPriorityUseOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/newFileAnnotationWithPackage.kts b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/newFileAnnotationWithPackage.kts index 46afdbe7294f..9fc7f920cfaf 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/newFileAnnotationWithPackage.kts +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/newFileAnnotationWithPackage.kts @@ -16,3 +16,5 @@ fun f() {} fun g() { f() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.UseOptInFileAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/newFileAnnotationWithPackage.kts.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/newFileAnnotationWithPackage.kts.after index c9003753498d..ff1e19e63e97 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/newFileAnnotationWithPackage.kts.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/newFileAnnotationWithPackage.kts.after @@ -18,3 +18,5 @@ fun f() {} fun g() { f() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.UseOptInFileAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateOptIn.kts b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateOptIn.kts index dc8a8561d913..10d824f62e7a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateOptIn.kts +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateOptIn.kts @@ -21,4 +21,5 @@ interface LibraryA interface LibraryB @SubclassOptInRequired(A::class) -interface SomeImplementation : LibraryA, LibraryB \ No newline at end of file +interface SomeImplementation : LibraryA, LibraryB +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$PropagateOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateOptIn.kts.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateOptIn.kts.after index 00d2957a068b..3cddaec20350 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateOptIn.kts.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateOptIn.kts.after @@ -22,4 +22,5 @@ interface LibraryB @B @SubclassOptInRequired(A::class) -interface SomeImplementation : LibraryA, LibraryB \ No newline at end of file +interface SomeImplementation : LibraryA, LibraryB +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$PropagateOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateOptIn2.kts b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateOptIn2.kts index d2e021e868f4..d905b88484f4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateOptIn2.kts +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateOptIn2.kts @@ -12,4 +12,5 @@ interface Base { abstract class Derived : Base { override fun foo(){} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$HighPriorityPropagateOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateOptIn2.kts.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateOptIn2.kts.after index 57e310e957ca..c4f462a43622 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateOptIn2.kts.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateOptIn2.kts.after @@ -13,4 +13,5 @@ interface Base { @UnstableApi abstract class Derived : Base { override fun foo(){} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$HighPriorityPropagateOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateOptIn3.kts b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateOptIn3.kts index 7e176cbfac4e..646d02f20c38 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateOptIn3.kts +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateOptIn3.kts @@ -7,4 +7,5 @@ annotation class UnstableApi @SubclassOptInRequired(UnstableApi::class) interface CoreLibraryApi -class SomeImplementation : CoreLibraryApi \ No newline at end of file +class SomeImplementation : CoreLibraryApi +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$PropagateOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateOptIn3.kts.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateOptIn3.kts.after index 867c5cd9049c..07c2e7b4f9da 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateOptIn3.kts.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateOptIn3.kts.after @@ -8,4 +8,5 @@ annotation class UnstableApi interface CoreLibraryApi @UnstableApi -class SomeImplementation : CoreLibraryApi \ No newline at end of file +class SomeImplementation : CoreLibraryApi +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$PropagateOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateOptIn4.kts b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateOptIn4.kts index 97e5422b1169..e521a6733d3b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateOptIn4.kts +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateOptIn4.kts @@ -7,4 +7,5 @@ annotation class UnstableApi @SubclassOptInRequired(UnstableApi::class) interface CoreLibraryApi -sealed interface SomeImplementation : CoreLibraryApi \ No newline at end of file +sealed interface SomeImplementation : CoreLibraryApi +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$PropagateOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateOptIn4.kts.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateOptIn4.kts.after index 3bce3e7a60f1..4fc1abb48d6b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateOptIn4.kts.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateOptIn4.kts.after @@ -8,4 +8,5 @@ annotation class UnstableApi interface CoreLibraryApi @UnstableApi -sealed interface SomeImplementation : CoreLibraryApi \ No newline at end of file +sealed interface SomeImplementation : CoreLibraryApi +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$PropagateOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateOptIn5.kts b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateOptIn5.kts index 7c10b9ab14b0..8f01fbc1edcd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateOptIn5.kts +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateOptIn5.kts @@ -7,4 +7,5 @@ annotation class UnstableApi @SubclassOptInRequired(UnstableApi::class) interface CoreLibraryApi -enum class SomeImplementation : CoreLibraryApi \ No newline at end of file +enum class SomeImplementation : CoreLibraryApi +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$PropagateOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateOptIn5.kts.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateOptIn5.kts.after index b3173ab0783c..8263b59cca3f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateOptIn5.kts.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateOptIn5.kts.after @@ -8,4 +8,5 @@ annotation class UnstableApi interface CoreLibraryApi @UnstableApi -enum class SomeImplementation : CoreLibraryApi \ No newline at end of file +enum class SomeImplementation : CoreLibraryApi +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$PropagateOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateOptIn6.kts b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateOptIn6.kts index b995a159d524..f227468109ce 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateOptIn6.kts +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateOptIn6.kts @@ -7,4 +7,5 @@ annotation class UnstableApi @SubclassOptInRequired(UnstableApi::class) interface CoreLibraryApi -final class SomeImplementation : CoreLibraryApi \ No newline at end of file +final class SomeImplementation : CoreLibraryApi +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$PropagateOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateOptIn6.kts.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateOptIn6.kts.after index 1e85f1eeb51f..b9d9b995e35d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateOptIn6.kts.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateOptIn6.kts.after @@ -8,4 +8,5 @@ annotation class UnstableApi interface CoreLibraryApi @UnstableApi -final class SomeImplementation : CoreLibraryApi \ No newline at end of file +final class SomeImplementation : CoreLibraryApi +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$PropagateOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateOptIn7.kts b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateOptIn7.kts index ed333ac4d41f..951824c4960c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateOptIn7.kts +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateOptIn7.kts @@ -9,4 +9,5 @@ interface CoreLibraryApi fun interface SomeImplementation : CoreLibraryApi { fun method() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$PropagateOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateOptIn7.kts.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateOptIn7.kts.after index 2ca564466d66..fae30d4d9c5c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateOptIn7.kts.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateOptIn7.kts.after @@ -10,4 +10,5 @@ interface CoreLibraryApi @UnstableApi fun interface SomeImplementation : CoreLibraryApi { fun method() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$PropagateOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateSubclassOptInRequired.kts b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateSubclassOptInRequired.kts index ca5cb808fdae..0b5da1a19878 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateSubclassOptInRequired.kts +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateSubclassOptInRequired.kts @@ -7,4 +7,5 @@ annotation class UnstableApi @SubclassOptInRequired(UnstableApi::class) interface CoreLibraryApi -interface SomeImplementation : CoreLibraryApi \ No newline at end of file +interface SomeImplementation : CoreLibraryApi +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$PropagateOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateSubclassOptInRequired.kts.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateSubclassOptInRequired.kts.after index c3533257a998..ed40b22b1f5b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateSubclassOptInRequired.kts.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateSubclassOptInRequired.kts.after @@ -8,4 +8,5 @@ annotation class UnstableApi interface CoreLibraryApi @SubclassOptInRequired(UnstableApi::class) -interface SomeImplementation : CoreLibraryApi \ No newline at end of file +interface SomeImplementation : CoreLibraryApi +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$PropagateOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateSubclassOptInRequired2.kts b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateSubclassOptInRequired2.kts index e398455cc360..fe297826170c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateSubclassOptInRequired2.kts +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateSubclassOptInRequired2.kts @@ -22,4 +22,5 @@ interface LibraryA @SubclassOptInRequired(B::class) interface LibraryB -interface SomeImplementation : LibraryA, LibraryB \ No newline at end of file +interface SomeImplementation : LibraryA, LibraryB +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$PropagateOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateSubclassOptInRequired2.kts.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateSubclassOptInRequired2.kts.after index 2eb19449ff23..ee257f0f4003 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateSubclassOptInRequired2.kts.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateSubclassOptInRequired2.kts.after @@ -23,4 +23,5 @@ interface LibraryA interface LibraryB @SubclassOptInRequired(A::class) -interface SomeImplementation : LibraryA, LibraryB \ No newline at end of file +interface SomeImplementation : LibraryA, LibraryB +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$PropagateOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateSubclassOptInRequired3.kts b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateSubclassOptInRequired3.kts index 507f86d7d3e6..e5ba23dd7c9b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateSubclassOptInRequired3.kts +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateSubclassOptInRequired3.kts @@ -14,4 +14,5 @@ annotation class UnstableApi @SubclassOptInRequired(UnstableApi::class) interface CoreLibraryApi -open class SomeImplementation : CoreLibraryApi \ No newline at end of file +open class SomeImplementation : CoreLibraryApi +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$PropagateOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateSubclassOptInRequired3.kts.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateSubclassOptInRequired3.kts.after index ba9852266cc4..d5df3bd45ee8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateSubclassOptInRequired3.kts.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateSubclassOptInRequired3.kts.after @@ -15,4 +15,5 @@ annotation class UnstableApi interface CoreLibraryApi @SubclassOptInRequired(UnstableApi::class) -open class SomeImplementation : CoreLibraryApi \ No newline at end of file +open class SomeImplementation : CoreLibraryApi +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$PropagateOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateSubclassOptInRequired4.kts b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateSubclassOptInRequired4.kts index eb39d487feaf..9241339f2293 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateSubclassOptInRequired4.kts +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateSubclassOptInRequired4.kts @@ -14,4 +14,5 @@ annotation class UnstableApi @SubclassOptInRequired(UnstableApi::class) interface CoreLibraryApi -abstract class SomeImplementation : CoreLibraryApi \ No newline at end of file +abstract class SomeImplementation : CoreLibraryApi +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$PropagateOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateSubclassOptInRequired4.kts.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateSubclassOptInRequired4.kts.after index d2c4ec6f73b7..f3a0d4ebc22e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateSubclassOptInRequired4.kts.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateSubclassOptInRequired4.kts.after @@ -15,4 +15,5 @@ annotation class UnstableApi interface CoreLibraryApi @SubclassOptInRequired(UnstableApi::class) -abstract class SomeImplementation : CoreLibraryApi \ No newline at end of file +abstract class SomeImplementation : CoreLibraryApi +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$PropagateOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateSubclassOptInRequired5.kts b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateSubclassOptInRequired5.kts index 7c13810905cc..e13b4705a877 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateSubclassOptInRequired5.kts +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateSubclassOptInRequired5.kts @@ -16,4 +16,5 @@ interface MockApi @SubclassOptInRequired(UnstableApi::class) interface CoreLibraryApi -abstract class SomeImplementation : MockApi, CoreLibraryApi \ No newline at end of file +abstract class SomeImplementation : MockApi, CoreLibraryApi +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$PropagateOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateSubclassOptInRequired5.kts.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateSubclassOptInRequired5.kts.after index b73039b9f335..0628e34c06b7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateSubclassOptInRequired5.kts.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propagateSubclassOptInRequired5.kts.after @@ -17,4 +17,5 @@ interface MockApi interface CoreLibraryApi @SubclassOptInRequired(UnstableApi::class) -abstract class SomeImplementation : MockApi, CoreLibraryApi \ No newline at end of file +abstract class SomeImplementation : MockApi, CoreLibraryApi +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$PropagateOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propertyInConstructor.kts b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propertyInConstructor.kts index 758ebf72835c..e7f2627412fb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propertyInConstructor.kts +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propertyInConstructor.kts @@ -20,3 +20,5 @@ annotation class PropertyTypeMarker class PropertyTypeMarked class PropertyTypeContainer(val subject: PropertyTypeMarked) + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$PropagateOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propertyInConstructor.kts.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propertyInConstructor.kts.after index 2dbfe4f2661b..f54b66ab5b31 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propertyInConstructor.kts.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propertyInConstructor.kts.after @@ -20,3 +20,5 @@ annotation class PropertyTypeMarker class PropertyTypeMarked class PropertyTypeContainer @PropertyTypeMarker constructor(val subject: PropertyTypeMarked) + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$PropagateOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propertyInConstructorAddOptInToClass.kts b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propertyInConstructorAddOptInToClass.kts index dedf9c760c98..7a46b16ca774 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propertyInConstructorAddOptInToClass.kts +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propertyInConstructorAddOptInToClass.kts @@ -20,3 +20,5 @@ annotation class PropertyTypeMarker class PropertyTypeMarked class PropertyTypeContainer(val subject: PropertyTypeMarked) + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$HighPriorityUseOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propertyInConstructorAddOptInToClass.kts.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propertyInConstructorAddOptInToClass.kts.after index 24179be16878..cef6e086ad5f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propertyInConstructorAddOptInToClass.kts.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propertyInConstructorAddOptInToClass.kts.after @@ -21,3 +21,5 @@ class PropertyTypeMarked @OptIn(PropertyTypeMarker::class) class PropertyTypeContainer(val subject: PropertyTypeMarked) + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$HighPriorityUseOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propertyInConstructorAddOptInToConstructor.kts b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propertyInConstructorAddOptInToConstructor.kts index 83bd25a6fbc8..3e221e1cef2e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propertyInConstructorAddOptInToConstructor.kts +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propertyInConstructorAddOptInToConstructor.kts @@ -20,3 +20,5 @@ annotation class PropertyTypeMarker class PropertyTypeMarked class PropertyTypeContainer(val subject: PropertyTypeMarked) + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$HighPriorityUseOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propertyInConstructorAddOptInToConstructor.kts.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propertyInConstructorAddOptInToConstructor.kts.after index 17d36b241ed5..bbd150f1397a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propertyInConstructorAddOptInToConstructor.kts.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/propertyInConstructorAddOptInToConstructor.kts.after @@ -20,3 +20,5 @@ annotation class PropertyTypeMarker class PropertyTypeMarked class PropertyTypeContainer @OptIn(PropertyTypeMarker::class) constructor(val subject: PropertyTypeMarked) + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$HighPriorityUseOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/sam.kts b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/sam.kts index 28131a1be876..264a4b81de45 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/sam.kts +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/sam.kts @@ -20,3 +20,5 @@ fun interface SamI { SamI { foo() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$HighPriorityUseOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/sam.kts.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/sam.kts.after index 7009be3ce5dd..e147922edfeb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/sam.kts.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/sam.kts.after @@ -21,3 +21,5 @@ fun interface SamI { SamI { foo() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$HighPriorityUseOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/sam2.kts b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/sam2.kts index bc5dfee22c68..b6ec95b6a438 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/sam2.kts +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/sam2.kts @@ -21,3 +21,5 @@ fun interface SamI { val bar = SamI { foo() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$HighPriorityUseOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/sam2.kts.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/sam2.kts.after index b487905d3908..cab668b966c6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/sam2.kts.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/sam2.kts.after @@ -22,3 +22,5 @@ fun interface SamI { val bar = SamI { foo() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$HighPriorityUseOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/samWithAnnotation.kts b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/samWithAnnotation.kts index 85d48a41539b..b8dde6e680d5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/samWithAnnotation.kts +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/samWithAnnotation.kts @@ -25,3 +25,5 @@ fun interface SamI { SamI { foo() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$HighPriorityUseOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/samWithAnnotation.kts.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/samWithAnnotation.kts.after index e2f183e1b83b..f6c3f9d3d5d1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/samWithAnnotation.kts.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/samWithAnnotation.kts.after @@ -26,3 +26,5 @@ fun interface SamI { SamI { foo() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$HighPriorityUseOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/switchOn.kts b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/switchOn.kts index 1ec4da42ed93..afa1135566a1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/switchOn.kts +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/switchOn.kts @@ -6,3 +6,5 @@ @RequiresOptIn annotation class MyExperimentalAPI + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MakeModuleOptInFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/switchOn.kts.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/switchOn.kts.after index 4b606e572134..ab0dc5c064e2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/switchOn.kts.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/switchOn.kts.after @@ -6,3 +6,5 @@ @RequiresOptIn annotation class MyExperimentalAPI + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MakeModuleOptInFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/switchOnWithAnotherMarker.kts b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/switchOnWithAnotherMarker.kts index ed0fbc452496..7329fe4668ec 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/switchOnWithAnotherMarker.kts +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/switchOnWithAnotherMarker.kts @@ -6,3 +6,5 @@ @RequiresOptIn annotation class MyExperimentalAPI + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MakeModuleOptInFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/switchOnWithAnotherMarker.kts.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/switchOnWithAnotherMarker.kts.after index 89430e818dcd..0a9254fb2c0d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/switchOnWithAnotherMarker.kts.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/switchOnWithAnotherMarker.kts.after @@ -6,3 +6,5 @@ @RequiresOptIn annotation class MyExperimentalAPI + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MakeModuleOptInFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/typeAlias.kts b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/typeAlias.kts index c68aecb8883a..aa2738f44f05 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/typeAlias.kts +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/typeAlias.kts @@ -13,3 +13,5 @@ annotation class AliasMarker class AliasTarget typealias AliasMarkerUsage = AliasTarget + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$HighPriorityUseOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/typeAlias.kts.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/typeAlias.kts.after index 621cfc154709..3f0b98892402 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/typeAlias.kts.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/typeAlias.kts.after @@ -14,3 +14,5 @@ class AliasTarget @OptIn(AliasMarker::class) typealias AliasMarkerUsage = AliasTarget + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$HighPriorityUseOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/typeInTopLevelProperty.kts b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/typeInTopLevelProperty.kts index b07e5e28e4f6..3d61f454bf54 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/typeInTopLevelProperty.kts +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/typeInTopLevelProperty.kts @@ -12,3 +12,5 @@ class TopClass annotation class TopAnn val topUserVal: @TopAnn TopClass? = null + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$PropagateOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/typeInTopLevelProperty.kts.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/typeInTopLevelProperty.kts.after index 654f4f2f9718..77d32f111062 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/typeInTopLevelProperty.kts.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/typeInTopLevelProperty.kts.after @@ -13,3 +13,5 @@ annotation class TopAnn @TopMarker val topUserVal: @TopAnn TopClass? = null + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$PropagateOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/valueParameterAnnotationAddExplicitUseSite.kts b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/valueParameterAnnotationAddExplicitUseSite.kts index c9b41143b261..ef43b241cd88 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/valueParameterAnnotationAddExplicitUseSite.kts +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/valueParameterAnnotationAddExplicitUseSite.kts @@ -7,3 +7,5 @@ annotation class SomeOptInAnnotation class Foo(@SomeOptInAnnotation val value: Int) { } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MoveOptInRequirementToPropertyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/valueParameterAnnotationAddExplicitUseSite.kts.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/valueParameterAnnotationAddExplicitUseSite.kts.after index 2c73d9af02d7..191072edc4f8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/valueParameterAnnotationAddExplicitUseSite.kts.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/valueParameterAnnotationAddExplicitUseSite.kts.after @@ -7,3 +7,5 @@ annotation class SomeOptInAnnotation class Foo(@property:SomeOptInAnnotation val value: Int) { } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MoveOptInRequirementToPropertyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/valueParameterAnnotationRemove.kts b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/valueParameterAnnotationRemove.kts index daa3383f729a..a5e38a044f37 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/valueParameterAnnotationRemove.kts +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/valueParameterAnnotationRemove.kts @@ -7,3 +7,5 @@ annotation class SomeOptInAnnotation class Foo(@SomeOptInAnnotation val value: Int) { } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.RemoveAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/valueParameterAnnotationRemove.kts.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/valueParameterAnnotationRemove.kts.after index f218a5d853b1..077ed93bc96d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/valueParameterAnnotationRemove.kts.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/general/valueParameterAnnotationRemove.kts.after @@ -7,3 +7,5 @@ annotation class SomeOptInAnnotation class Foo(val value: Int) { } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.RemoveAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/containingClass.kts b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/containingClass.kts index 3aa36682337a..fb3cc5788bbc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/containingClass.kts +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/containingClass.kts @@ -21,4 +21,5 @@ val foo: MockLibrary = MockLibrary(); class Bar() { val a = foo } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$HighPriorityUseOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/containingClass.kts.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/containingClass.kts.after index b5d80421286f..6df0485bdd72 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/containingClass.kts.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/containingClass.kts.after @@ -22,4 +22,5 @@ val foo: MockLibrary = MockLibrary(); @OptIn(Library::class) val a = foo } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$HighPriorityUseOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/containingClassWithInnerClass.kts b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/containingClassWithInnerClass.kts index f8a6af0b5ce0..aac07f0faffe 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/containingClassWithInnerClass.kts +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/containingClassWithInnerClass.kts @@ -26,4 +26,5 @@ val foo: MockLibrary = MockLibrary(); } } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$HighPriorityUseOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/containingClassWithInnerClass.kts.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/containingClassWithInnerClass.kts.after index 11fece28e97b..7f18caea1539 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/containingClassWithInnerClass.kts.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/containingClassWithInnerClass.kts.after @@ -27,4 +27,5 @@ val foo: MockLibrary = MockLibrary(); } } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$HighPriorityUseOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/containingObject.kts b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/containingObject.kts index 200e39c3e097..ff0b0a7fbf6c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/containingObject.kts +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/containingObject.kts @@ -21,4 +21,5 @@ val foo: MockLibrary = MockLibrary(); object { val a = foo } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$HighPriorityUseOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/containingObject.kts.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/containingObject.kts.after index ad8f246c571a..145bec2457de 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/containingObject.kts.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/containingObject.kts.after @@ -22,4 +22,5 @@ val foo: MockLibrary = MockLibrary(); object { val a = foo } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$HighPriorityUseOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/doubleExperementalApi.kts b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/doubleExperementalApi.kts index bac5ba8bfdc3..4666020b80ff 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/doubleExperementalApi.kts +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/doubleExperementalApi.kts @@ -24,4 +24,5 @@ val foo: MockLibrary = MockLibrary(); fun bar() { foo.bar() } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$HighPriorityUseOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/doubleExperementalApi.kts.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/doubleExperementalApi.kts.after index d815f5d797d4..7d5287928f56 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/doubleExperementalApi.kts.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/doubleExperementalApi.kts.after @@ -25,4 +25,5 @@ val foo: MockLibrary = MockLibrary(); @OptIn(Library::class) foo.bar() } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$HighPriorityUseOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/doubleExperementalApi2.kts b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/doubleExperementalApi2.kts index 4b5446b56c35..497135c668fc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/doubleExperementalApi2.kts +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/doubleExperementalApi2.kts @@ -20,4 +20,5 @@ val foo: MockLibrary = MockLibrary(); fun bar() { val t = foo.bar {} } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$HighPriorityUseOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/doubleExperementalApi2.kts.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/doubleExperementalApi2.kts.after index 1d0adeb24645..70dc50f274b3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/doubleExperementalApi2.kts.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/doubleExperementalApi2.kts.after @@ -20,4 +20,5 @@ val foo: MockLibrary = MockLibrary(); fun bar() { @OptIn(Library::class) val t = foo.bar {} } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$HighPriorityUseOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/funWithReturnType.kts b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/funWithReturnType.kts index 40586891ec62..8d7c685f1ec4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/funWithReturnType.kts +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/funWithReturnType.kts @@ -20,4 +20,5 @@ val foo: MockLibrary = MockLibrary(); { fun bar(): MockLibrary = MockLibrary() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$HighPriorityUseOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/funWithReturnType.kts.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/funWithReturnType.kts.after index 743a4ee86c10..9a89bf5caa2c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/funWithReturnType.kts.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/funWithReturnType.kts.after @@ -21,4 +21,5 @@ val foo: MockLibrary = MockLibrary(); { @OptIn(Library::class) fun bar(): MockLibrary = MockLibrary() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$HighPriorityUseOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/funWithTypeParameter.kts b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/funWithTypeParameter.kts index 3c88ca23ded1..cfdd3fffe00d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/funWithTypeParameter.kts +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/funWithTypeParameter.kts @@ -20,4 +20,5 @@ val foo: MockLibrary = MockLibrary(); { fun bar(test: MockLibrary){ } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$HighPriorityUseOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/funWithTypeParameter.kts.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/funWithTypeParameter.kts.after index f8e32d2f741e..d80f88e86631 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/funWithTypeParameter.kts.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/funWithTypeParameter.kts.after @@ -21,4 +21,5 @@ val foo: MockLibrary = MockLibrary(); @OptIn(Library::class) fun bar(test: MockLibrary){ } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$HighPriorityUseOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/sam.kts b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/sam.kts index bae89ff54734..861e548450ec 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/sam.kts +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/sam.kts @@ -22,3 +22,5 @@ fun interface SamI { foo() } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$HighPriorityUseOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/sam.kts.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/sam.kts.after index e9842087d1df..340a0a1b400c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/sam.kts.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/sam.kts.after @@ -23,3 +23,5 @@ fun interface SamI { foo() } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$HighPriorityUseOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/sam2.kts b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/sam2.kts index 197343210a89..8ab4ac6749a6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/sam2.kts +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/sam2.kts @@ -22,3 +22,5 @@ fun interface SamI { foo() } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$HighPriorityUseOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/sam2.kts.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/sam2.kts.after index 288d62aae752..ea0cd6eee490 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/sam2.kts.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/sam2.kts.after @@ -22,3 +22,5 @@ fun interface SamI { foo() } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$HighPriorityUseOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/sam3.kts b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/sam3.kts index cd562f5ec221..0cfaf6f30487 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/sam3.kts +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/sam3.kts @@ -27,3 +27,5 @@ SamI2 { foo() } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$HighPriorityUseOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/sam3.kts.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/sam3.kts.after index c13f760430a3..5dc82707f873 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/sam3.kts.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/sam3.kts.after @@ -28,3 +28,5 @@ SamI2 { foo() } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$HighPriorityUseOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/samWithAnnotation.kts b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/samWithAnnotation.kts index 31d6b9a1f72f..c2cf6528b0bd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/samWithAnnotation.kts +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/samWithAnnotation.kts @@ -32,3 +32,5 @@ SamI2 { foo() } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$HighPriorityUseOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/samWithAnnotation.kts.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/samWithAnnotation.kts.after index f72611977887..7a6ab8f1051a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/samWithAnnotation.kts.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/samWithAnnotation.kts.after @@ -33,3 +33,5 @@ SamI2 { foo() } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$HighPriorityUseOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/simple.kts b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/simple.kts index 6665c9ddc91a..ac68f2d8f178 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/simple.kts +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/simple.kts @@ -20,4 +20,5 @@ val foo: MockLibrary = MockLibrary(); fun bar() { foo } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$HighPriorityUseOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/simple.kts.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/simple.kts.after index 9e472c990ca6..330a5338938f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/simple.kts.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/scripts/withLocalElements/simple.kts.after @@ -21,4 +21,5 @@ val foo: MockLibrary = MockLibrary(); @OptIn(Library::class) foo } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$HighPriorityUseOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/switchOn.kt b/plugins/kotlin/idea/tests/testData/quickfix/optIn/switchOn.kt index eaa4f8dc3b00..22c6060f835d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/switchOn.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/switchOn.kt @@ -8,3 +8,5 @@ @RequiresOptIn annotation class MyExperimentalAPI + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MakeModuleOptInFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/switchOn.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/switchOn.kt.after index 0be059387d91..64bb6268620f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/switchOn.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/switchOn.kt.after @@ -8,3 +8,5 @@ @RequiresOptIn annotation class MyExperimentalAPI + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MakeModuleOptInFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/switchOnWithAnotherMarker.kt b/plugins/kotlin/idea/tests/testData/quickfix/optIn/switchOnWithAnotherMarker.kt index 06c8a9d8c36d..f4b9d98e1492 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/switchOnWithAnotherMarker.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/switchOnWithAnotherMarker.kt @@ -8,3 +8,5 @@ @RequiresOptIn annotation class MyExperimentalAPI + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MakeModuleOptInFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/switchOnWithAnotherMarker.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/switchOnWithAnotherMarker.kt.after index e2be53a25b22..4d7a3cdc918d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/switchOnWithAnotherMarker.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/switchOnWithAnotherMarker.kt.after @@ -8,3 +8,5 @@ @RequiresOptIn annotation class MyExperimentalAPI + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MakeModuleOptInFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/typeAlias.kt b/plugins/kotlin/idea/tests/testData/quickfix/optIn/typeAlias.kt index fe4eeb90db35..022e8461cdf5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/typeAlias.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/typeAlias.kt @@ -14,3 +14,5 @@ annotation class AliasMarker class AliasTarget typealias AliasMarkerUsage = AliasTarget + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$HighPriorityUseOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/typeAlias.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/typeAlias.kt.after index 36bb76e33c8c..97b201dba7b2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/typeAlias.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/typeAlias.kt.after @@ -15,3 +15,5 @@ class AliasTarget @OptIn(AliasMarker::class) typealias AliasMarkerUsage = AliasTarget + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$HighPriorityUseOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/typeInTopLevelProperty.kt b/plugins/kotlin/idea/tests/testData/quickfix/optIn/typeInTopLevelProperty.kt index 0a1d5e2134b1..6f49e715893d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/typeInTopLevelProperty.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/typeInTopLevelProperty.kt @@ -14,3 +14,5 @@ class TopClass annotation class TopAnn val topUserVal: @TopAnn TopClass? = null + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$PropagateOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/typeInTopLevelProperty.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/typeInTopLevelProperty.kt.after index 3d20b2d4791f..4d3afe3fc9f7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/typeInTopLevelProperty.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/typeInTopLevelProperty.kt.after @@ -15,3 +15,5 @@ annotation class TopAnn @TopMarker val topUserVal: @TopAnn TopClass? = null + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixesFactory$PropagateOptInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/valueParameterAnnotationAddExplicitUseSite.kt b/plugins/kotlin/idea/tests/testData/quickfix/optIn/valueParameterAnnotationAddExplicitUseSite.kt index c9a5f8b698ce..51198051c186 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/valueParameterAnnotationAddExplicitUseSite.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/valueParameterAnnotationAddExplicitUseSite.kt @@ -6,3 +6,6 @@ annotation class SomeOptInAnnotation class Foo(@SomeOptInAnnotation val value: Int) { } + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MoveOptInRequirementToPropertyFix +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MoveOptInRequirementToPropertyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/valueParameterAnnotationAddExplicitUseSite.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/valueParameterAnnotationAddExplicitUseSite.kt.after index aa4679a1f653..77ed95eba3fe 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/valueParameterAnnotationAddExplicitUseSite.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/valueParameterAnnotationAddExplicitUseSite.kt.after @@ -6,3 +6,6 @@ annotation class SomeOptInAnnotation class Foo(@property:SomeOptInAnnotation val value: Int) { } + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MoveOptInRequirementToPropertyFix +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MoveOptInRequirementToPropertyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/valueParameterAnnotationRemove.kt b/plugins/kotlin/idea/tests/testData/quickfix/optIn/valueParameterAnnotationRemove.kt index 4171fc9a3855..79207316edf6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/valueParameterAnnotationRemove.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/valueParameterAnnotationRemove.kt @@ -7,3 +7,6 @@ annotation class SomeOptInAnnotation class Foo(@SomeOptInAnnotation val value: Int) { } + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.RemoveAnnotationFix +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.RemoveAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optIn/valueParameterAnnotationRemove.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/optIn/valueParameterAnnotationRemove.kt.after index e0f0039f0ed9..a2e102b737cc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optIn/valueParameterAnnotationRemove.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optIn/valueParameterAnnotationRemove.kt.after @@ -7,3 +7,6 @@ annotation class SomeOptInAnnotation class Foo(val value: Int) { } + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.RemoveAnnotationFix +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.RemoveAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optimizeImports/destructuringAtTop.kt b/plugins/kotlin/idea/tests/testData/quickfix/optimizeImports/destructuringAtTop.kt index 71aaade903eb..c05de874dfcf 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optimizeImports/destructuringAtTop.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/optimizeImports/destructuringAtTop.kt @@ -6,3 +6,5 @@ fun test() { val (a, b, c) = Triple(1, 2, 3) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.KotlinOptimizeImportsQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optimizeImports/destructuringAtTop.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/optimizeImports/destructuringAtTop.kt.after index 14805bf2f0dc..8a3eb6123e9d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optimizeImports/destructuringAtTop.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optimizeImports/destructuringAtTop.kt.after @@ -4,3 +4,5 @@ fun test() { val (a, b, c) = Triple(1, 2, 3) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.KotlinOptimizeImportsQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optimizeImports/fileRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/optimizeImports/fileRuntime.kt index 689fd289bb0b..1f30c4230ed0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optimizeImports/fileRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/optimizeImports/fileRuntime.kt @@ -7,3 +7,5 @@ import java.util.* fun foo(list: ArrayList) { list.add("") } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.KotlinOptimizeImportsQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optimizeImports/fileRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/optimizeImports/fileRuntime.kt.after index 3c63d5fd8d2c..a23f37630389 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optimizeImports/fileRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optimizeImports/fileRuntime.kt.after @@ -4,3 +4,5 @@ fun foo(list: ArrayList) { list.add("") } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.KotlinOptimizeImportsQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optimizeImports/importAlias.kt b/plugins/kotlin/idea/tests/testData/quickfix/optimizeImports/importAlias.kt index db077ab536f9..1bcef32c0396 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optimizeImports/importAlias.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/optimizeImports/importAlias.kt @@ -8,3 +8,5 @@ class A fun foo() { B() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.KotlinOptimizeImportsQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optimizeImports/importAlias.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/optimizeImports/importAlias.kt.after index 4ae430668e07..e8e201797748 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optimizeImports/importAlias.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optimizeImports/importAlias.kt.after @@ -7,3 +7,5 @@ class A fun foo() { B() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.KotlinOptimizeImportsQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optimizeImports/invoke2.kt b/plugins/kotlin/idea/tests/testData/quickfix/optimizeImports/invoke2.kt index cdd579a0b8a5..9ad68fb8e357 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optimizeImports/invoke2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/optimizeImports/invoke2.kt @@ -14,4 +14,5 @@ operator fun Bar.invoke() = 2 fun main() { println(Foo.bar()) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.KotlinOptimizeImportsQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/optimizeImports/invoke2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/optimizeImports/invoke2.kt.after index 75b563fa80ef..53ec2a3f4402 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/optimizeImports/invoke2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/optimizeImports/invoke2.kt.after @@ -12,4 +12,5 @@ operator fun Bar.invoke() = 2 fun main() { println(Foo.bar()) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.KotlinOptimizeImportsQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/changeToInvocation.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/changeToInvocation.kt index fbceb728bbf8..1c07aa4dbd20 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/changeToInvocation.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/changeToInvocation.kt @@ -6,3 +6,5 @@ open class A { class B : A {} /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SuperClassNotInitialized$AddParenthesisFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/changeToInvocation.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/changeToInvocation.kt.after index a8e2e8a76088..0aabb08d1783 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/changeToInvocation.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/changeToInvocation.kt.after @@ -6,3 +6,5 @@ open class A { class B : A() {} /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SuperClassNotInitialized$AddParenthesisFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/implemenAsConstructorParameter.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/implemenAsConstructorParameter.kt index 33db889e0370..10c5ba4b59f3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/implemenAsConstructorParameter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/implemenAsConstructorParameter.kt @@ -4,3 +4,6 @@ interface I { } class A : I + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.core.overrideImplement.ImplementAsConstructorParameter +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.IntentionActionAsQuickFixWrapper \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/implemenAsConstructorParameter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/implemenAsConstructorParameter.kt.after index ee3defce9096..d52e267261b5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/implemenAsConstructorParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/implemenAsConstructorParameter.kt.after @@ -4,3 +4,6 @@ interface I { } class A(override val foo: Int) : I + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.core.overrideImplement.ImplementAsConstructorParameter +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.IntentionActionAsQuickFixWrapper \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/implementMember.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/implementMember.kt index b2ac02609ca4..40f537faf7f2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/implementMember.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/implementMember.kt @@ -7,3 +7,6 @@ interface I { } class A : I + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.core.overrideImplement.ImplementMembersHandler +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.IntentionActionAsQuickFixWrapper \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/implementMember.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/implementMember.kt.after index a5bdb02400db..4538f6a8108e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/implementMember.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/implementMember.kt.after @@ -11,3 +11,6 @@ class A : I { TODO("Not yet implemented") } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.core.overrideImplement.ImplementMembersHandler +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.IntentionActionAsQuickFixWrapper \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/implementMemberFromAbstractClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/implementMemberFromAbstractClass.kt index 2c0348686552..a49ea18430c3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/implementMemberFromAbstractClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/implementMemberFromAbstractClass.kt @@ -6,3 +6,6 @@ abstract class A { class B : A() { } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.core.overrideImplement.ImplementMembersHandler +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.IntentionActionAsQuickFixWrapper \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/implementMemberFromAbstractClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/implementMemberFromAbstractClass.kt.after index 2e950c982005..057e133d63ce 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/implementMemberFromAbstractClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/implementMemberFromAbstractClass.kt.after @@ -9,3 +9,6 @@ class B : A() { TODO("Not yet implemented") } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.core.overrideImplement.ImplementMembersHandler +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.IntentionActionAsQuickFixWrapper \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunction.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunction.kt index 3136907d089f..2fd9166639ae 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunction.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunction.kt @@ -3,4 +3,5 @@ open class A { } class B : A() { override fun f() {} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionToSupertypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunction.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunction.kt.after index b44bad9cb90f..1085f794e02f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunction.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunction.kt.after @@ -4,4 +4,5 @@ open class A { } class B : A() { override fun f() {} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionToSupertypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionAbstractClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionAbstractClass.kt index f6b022c0513d..3e89ed055922 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionAbstractClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionAbstractClass.kt @@ -3,4 +3,5 @@ abstract class A { } class B : A() { override fun f() {} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionToSupertypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionAbstractClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionAbstractClass.kt.after index 49ccd13b9be5..cda2a910adfb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionAbstractClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionAbstractClass.kt.after @@ -4,4 +4,5 @@ abstract class A { } class B : A() { override fun f() {} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionToSupertypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionInLocalDeclaration.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionInLocalDeclaration.kt index 0ce58adf4bf3..1786c45bdbba 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionInLocalDeclaration.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionInLocalDeclaration.kt @@ -6,4 +6,5 @@ fun test() { val some = object : A() { override fun f() {} } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionToSupertypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionInLocalDeclaration.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionInLocalDeclaration.kt.after index 4c583ceb4892..25b5c750347e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionInLocalDeclaration.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionInLocalDeclaration.kt.after @@ -7,4 +7,5 @@ fun test() { val some = object : A() { override fun f() {} } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionToSupertypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionInterface.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionInterface.kt index e217845f5c7f..fdd30376a888 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionInterface.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionInterface.kt @@ -3,4 +3,5 @@ interface A { } class B : A { override fun f() {} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionToSupertypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionInterface.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionInterface.kt.after index ab66090dca86..2f401b82fb62 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionInterface.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionInterface.kt.after @@ -4,4 +4,5 @@ interface A { } class B : A { override fun f() {} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionToSupertypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionNoBody.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionNoBody.kt index 8d86b734dcbf..25911c99a39f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionNoBody.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionNoBody.kt @@ -2,4 +2,5 @@ interface A class B : A { override fun f() {} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionToSupertypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionNoBody.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionNoBody.kt.after index b18e60e29ae0..c73aa5897555 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionNoBody.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionNoBody.kt.after @@ -5,4 +5,5 @@ interface A { class B : A { override fun f() {} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionToSupertypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionNonUnitReturnType.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionNonUnitReturnType.kt index 4b3a73a513d5..93afddb3fba2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionNonUnitReturnType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionNonUnitReturnType.kt @@ -4,4 +4,5 @@ open class A { } class B : A() { override fun f(): Int = 5 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionToSupertypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionNonUnitReturnType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionNonUnitReturnType.kt.after index 7658b8870c35..db94cf679d96 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionNonUnitReturnType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionNonUnitReturnType.kt.after @@ -7,4 +7,5 @@ open class A { } class B : A() { override fun f(): Int = 5 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionToSupertypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionReciever.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionReciever.kt index 130009e2a96e..9f56569fd7ac 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionReciever.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionReciever.kt @@ -5,4 +5,5 @@ abstract class C { class B : C() { override fun foo(a: Int) {} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeMemberFunctionSignatureFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionReciever.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionReciever.kt.after index 894198e73856..9f4bf2fe5eb0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionReciever.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionReciever.kt.after @@ -5,4 +5,5 @@ abstract class C { class B : C() { override fun Int.foo(a: String) {} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeMemberFunctionSignatureFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionSealedClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionSealedClass.kt index 8f580c92b40b..4c379314bde9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionSealedClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionSealedClass.kt @@ -3,4 +3,5 @@ sealed class A { } class B : A() { override fun f() {} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionToSupertypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionSealedClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionSealedClass.kt.after index e9eded6d9d7d..e8f4bfc37ce1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionSealedClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionSealedClass.kt.after @@ -4,4 +4,5 @@ sealed class A { } class B : A() { override fun f() {} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionToSupertypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionTwoInterfaces.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionTwoInterfaces.kt index 6e063b110722..2c6fbe2ea98f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionTwoInterfaces.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionTwoInterfaces.kt @@ -3,4 +3,5 @@ interface A {} interface B {} class C: A, B { override fun foo() {} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionToSupertypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionTwoInterfaces.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionTwoInterfaces.kt.after index c9a84fa591cb..9ba12796635a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionTwoInterfaces.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionTwoInterfaces.kt.after @@ -5,4 +5,5 @@ interface A { interface B {} class C: A, B { override fun foo() {} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionToSupertypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionTwoSuperclasses.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionTwoSuperclasses.kt index 46d1dfe9a4cc..799ee0866bd0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionTwoSuperclasses.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionTwoSuperclasses.kt @@ -5,4 +5,5 @@ open class B : A() { } class C : B() { override fun f() {} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionToSupertypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionTwoSuperclasses.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionTwoSuperclasses.kt.after index ad06d8bc6496..c8876a9816e6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionTwoSuperclasses.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionTwoSuperclasses.kt.after @@ -6,4 +6,5 @@ open class B : A() { } class C : B() { override fun f() {} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionToSupertypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionWithAnnotations.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionWithAnnotations.kt index 858dcee825b9..f2ce811e6759 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionWithAnnotations.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionWithAnnotations.kt @@ -8,4 +8,5 @@ class C : I { @A("x", "y") @B(1) override fun foo() {} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionToSupertypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionWithAnnotations.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionWithAnnotations.kt.after index 5abfdf03cec9..6ef56daa9399 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionWithAnnotations.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionWithAnnotations.kt.after @@ -12,4 +12,5 @@ class C : I { @A("x", "y") @B(1) override fun foo() {} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionToSupertypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionWithoutDefaultValue.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionWithoutDefaultValue.kt index c50b7dfafcea..c93fa9bd6229 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionWithoutDefaultValue.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionWithoutDefaultValue.kt @@ -3,4 +3,5 @@ interface I class Foo : I { override fun foo(x: String = "") {} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionToSupertypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionWithoutDefaultValue.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionWithoutDefaultValue.kt.after index bf819120b6c7..fab8cac333cc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionWithoutDefaultValue.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addFunctionWithoutDefaultValue.kt.after @@ -5,4 +5,5 @@ interface I { class Foo : I { override fun foo(x: String) {} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionToSupertypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addParameter.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addParameter.kt index c36f93e77b0b..74625333d4fd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addParameter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addParameter.kt @@ -6,3 +6,5 @@ interface A { class B : A { override fun f() {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeMemberFunctionSignatureFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addParameter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addParameter.kt.after index d14b9efc9ede..5d97d526fa4a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addParameter.kt.after @@ -6,3 +6,5 @@ interface A { class B : A { override fun f(a: Int) {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeMemberFunctionSignatureFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addParameterGenericClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addParameterGenericClass.kt index 00adc5921251..7f8b1a2a043b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addParameterGenericClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addParameterGenericClass.kt @@ -6,3 +6,5 @@ interface A { class B : A { override fun f(x: T) {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeMemberFunctionSignatureFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addParameterGenericClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addParameterGenericClass.kt.after index 73ab8394c464..8b801bf16f25 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addParameterGenericClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addParameterGenericClass.kt.after @@ -6,3 +6,5 @@ interface A { class B : A { override fun f(a: Int, x: T) {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeMemberFunctionSignatureFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addParameterMultiple.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addParameterMultiple.kt index 8c7980a8ac3a..9fab91e7cffe 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addParameterMultiple.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addParameterMultiple.kt @@ -8,3 +8,5 @@ interface A { class B : A { override fun f() {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeMemberFunctionSignatureFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addParameterMultiple.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addParameterMultiple.kt.after index 7ae3ee9e8774..37718418ccf8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addParameterMultiple.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addParameterMultiple.kt.after @@ -8,3 +8,5 @@ interface A { class B : A { override fun f(a: Int) {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeMemberFunctionSignatureFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addParameterPreserveVisibility.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addParameterPreserveVisibility.kt index 453c6161f2ee..17b50c88c5ae 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addParameterPreserveVisibility.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addParameterPreserveVisibility.kt @@ -6,3 +6,5 @@ interface A { class B : A { public override fun f() {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeMemberFunctionSignatureFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addParameterPreserveVisibility.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addParameterPreserveVisibility.kt.after index 58a5fc849e42..44baae1ce43b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addParameterPreserveVisibility.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addParameterPreserveVisibility.kt.after @@ -6,3 +6,5 @@ interface A { class B : A { public override fun f(a: Int) {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeMemberFunctionSignatureFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addParameterTwoSuperinterfaces.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addParameterTwoSuperinterfaces.kt index 15132d071871..37ac4d779022 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addParameterTwoSuperinterfaces.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addParameterTwoSuperinterfaces.kt @@ -9,3 +9,5 @@ interface B : A { class C : B { override fun f() {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeMemberFunctionSignatureFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addParameterTwoSuperinterfaces.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addParameterTwoSuperinterfaces.kt.after index c627a59b5efa..08408db8ac52 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addParameterTwoSuperinterfaces.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addParameterTwoSuperinterfaces.kt.after @@ -9,3 +9,5 @@ interface B : A { class C : B { override fun f(a: Int) {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeMemberFunctionSignatureFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addParameterTwoSupertypes.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addParameterTwoSupertypes.kt index 703485e879bb..4f3eb33ae94d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addParameterTwoSupertypes.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addParameterTwoSupertypes.kt @@ -9,3 +9,5 @@ open class B : A() { class C : B() { override fun f() {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeMemberFunctionSignatureFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addParameterTwoSupertypes.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addParameterTwoSupertypes.kt.after index 93088fd591fc..5edd6f4d0f33 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addParameterTwoSupertypes.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addParameterTwoSupertypes.kt.after @@ -9,3 +9,5 @@ open class B : A() { class C : B() { override fun f(a: Int) {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeMemberFunctionSignatureFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addPropertyAbstractClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addPropertyAbstractClass.kt index 6dc770a78c22..766cabec7302 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addPropertyAbstractClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addPropertyAbstractClass.kt @@ -3,4 +3,5 @@ abstract class Foo class Bar: Foo() { override val hoge = 3 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddPropertyToSupertypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addPropertyAbstractClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addPropertyAbstractClass.kt.after index fff90fde21ff..ed778e765b95 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addPropertyAbstractClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addPropertyAbstractClass.kt.after @@ -5,4 +5,5 @@ abstract class Foo { class Bar: Foo() { override val hoge = 3 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddPropertyToSupertypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addPropertyHasAnnotations.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addPropertyHasAnnotations.kt index ebe60d1faf92..69847f15f8fc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addPropertyHasAnnotations.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addPropertyHasAnnotations.kt @@ -9,4 +9,5 @@ class C : I { @A("x", "y") @B(1) override val bar = 1 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddPropertyToSupertypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addPropertyHasAnnotations.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addPropertyHasAnnotations.kt.after index a303fc1de836..c8c7231a21d8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addPropertyHasAnnotations.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addPropertyHasAnnotations.kt.after @@ -12,4 +12,5 @@ class C : I { @A("x", "y") @B(1) override val bar = 1 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddPropertyToSupertypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addPropertyInterface.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addPropertyInterface.kt index adf56db614ce..5aa795f4e38a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addPropertyInterface.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addPropertyInterface.kt @@ -3,4 +3,5 @@ interface Foo class Bar: Foo { override val hoge = 3 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddPropertyToSupertypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addPropertyInterface.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addPropertyInterface.kt.after index 77ba4f42224a..641cac65e3e4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addPropertyInterface.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addPropertyInterface.kt.after @@ -5,4 +5,5 @@ interface Foo { class Bar: Foo { override val hoge = 3 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddPropertyToSupertypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addPropertyOpenClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addPropertyOpenClass.kt index be9377c526b3..fd1bada48be7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addPropertyOpenClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addPropertyOpenClass.kt @@ -3,4 +3,5 @@ open class Foo class Bar: Foo() { override val hoge = 3 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddPropertyToSupertypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addPropertyOpenClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addPropertyOpenClass.kt.after index c88e46d1faa3..13893416d815 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addPropertyOpenClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addPropertyOpenClass.kt.after @@ -5,4 +5,5 @@ open class Foo { class Bar: Foo() { override val hoge = 3 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddPropertyToSupertypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addTypeParameter.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addTypeParameter.kt index 6c3f3931012a..cc5e3123f813 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addTypeParameter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addTypeParameter.kt @@ -6,3 +6,5 @@ open class A { class B : A() { override fun f(a: Int) {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeMemberFunctionSignatureFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addTypeParameter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addTypeParameter.kt.after index 250e0666ca84..f1a5b3ffc4a0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addTypeParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addTypeParameter.kt.after @@ -6,3 +6,5 @@ open class A { class B : A() { override fun f(a: T) {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeMemberFunctionSignatureFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addTypeParameter2.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addTypeParameter2.kt index 991673a3abdb..48b5e557545a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addTypeParameter2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addTypeParameter2.kt @@ -7,3 +7,5 @@ class B : A() { class Number override fun f(a: Int) {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeMemberFunctionSignatureFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addTypeParameter2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addTypeParameter2.kt.after index bd41af443fa6..62149336dde9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addTypeParameter2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/addTypeParameter2.kt.after @@ -7,3 +7,5 @@ class B : A() { class Number override fun f(a: T) {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeMemberFunctionSignatureFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeFunctionReciever.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeFunctionReciever.kt index 2a87f7829442..986ac2a74279 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeFunctionReciever.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeFunctionReciever.kt @@ -5,4 +5,5 @@ abstract class C { class B : C() { override fun String.foo(a: Int) {} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeMemberFunctionSignatureFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeFunctionReciever.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeFunctionReciever.kt.after index 894198e73856..9f4bf2fe5eb0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeFunctionReciever.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeFunctionReciever.kt.after @@ -5,4 +5,5 @@ abstract class C { class B : C() { override fun Int.foo(a: String) {} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeMemberFunctionSignatureFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeParameterType.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeParameterType.kt index 56fa5d7b6e1e..93f27f2d5b8e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeParameterType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeParameterType.kt @@ -6,3 +6,5 @@ open class A { class B : A(){ override fun f(a: String) {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeMemberFunctionSignatureFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeParameterType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeParameterType.kt.after index db653ede172c..3ed43b3d53ee 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeParameterType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeParameterType.kt.after @@ -6,3 +6,5 @@ open class A { class B : A(){ override fun f(a: Int) {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeMemberFunctionSignatureFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeParameterTypeAbstractSuperclass.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeParameterTypeAbstractSuperclass.kt index 28fc8c2d8e76..fbe3330f164a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeParameterTypeAbstractSuperclass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeParameterTypeAbstractSuperclass.kt @@ -6,3 +6,5 @@ abstract class A { class B : A(){ override fun f(a: String) {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeMemberFunctionSignatureFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeParameterTypeAbstractSuperclass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeParameterTypeAbstractSuperclass.kt.after index 521e879ea7f5..df0063f3e124 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeParameterTypeAbstractSuperclass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeParameterTypeAbstractSuperclass.kt.after @@ -6,3 +6,5 @@ abstract class A { class B : A(){ override fun f(a: Int) {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeMemberFunctionSignatureFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeParameterTypeDefinitelyNotNull.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeParameterTypeDefinitelyNotNull.kt index 3df8182f4d85..98f88b820f3f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeParameterTypeDefinitelyNotNull.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeParameterTypeDefinitelyNotNull.kt @@ -6,3 +6,5 @@ open class A { class B : A() { override fun f(a: String) {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeMemberFunctionSignatureFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeParameterTypeDefinitelyNotNull.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeParameterTypeDefinitelyNotNull.kt.after index 03a5abd9348c..e0ccfb20d75a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeParameterTypeDefinitelyNotNull.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeParameterTypeDefinitelyNotNull.kt.after @@ -6,3 +6,5 @@ open class A { class B : A() { override fun f(a: (T & Any).() -> Unit) {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeMemberFunctionSignatureFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeParameterTypeInInterface.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeParameterTypeInInterface.kt index 422907eb8080..de58be4cd9a5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeParameterTypeInInterface.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeParameterTypeInInterface.kt @@ -6,3 +6,5 @@ interface A { interface B : A { override fun f(a: String) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeMemberFunctionSignatureFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeParameterTypeInInterface.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeParameterTypeInInterface.kt.after index 77b79e536a12..d878a1324314 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeParameterTypeInInterface.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeParameterTypeInInterface.kt.after @@ -6,3 +6,5 @@ interface A { interface B : A { override fun f(a: Int) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeMemberFunctionSignatureFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeParameterTypeMatchNames.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeParameterTypeMatchNames.kt index a8d0ed1cd956..12a82b94b932 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeParameterTypeMatchNames.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeParameterTypeMatchNames.kt @@ -6,3 +6,5 @@ open class A { class B : A(){ override fun f(z: String, x: String, t: String) {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeMemberFunctionSignatureFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeParameterTypeMatchNames.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeParameterTypeMatchNames.kt.after index 59504ba105ad..dd57e0cb9a6b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeParameterTypeMatchNames.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeParameterTypeMatchNames.kt.after @@ -6,3 +6,5 @@ open class A { class B : A(){ override fun f(x: Int, t: String, z: Double) {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeMemberFunctionSignatureFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeParameterTypeModifyOrder.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeParameterTypeModifyOrder.kt index b82bfda0e5f5..6900625f36ed 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeParameterTypeModifyOrder.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeParameterTypeModifyOrder.kt @@ -6,3 +6,5 @@ open class A { class B : A(){ override fun f(x: String, y: Int) {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeMemberFunctionSignatureFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeParameterTypeModifyOrder.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeParameterTypeModifyOrder.kt.after index 7b4acf1391b6..2c89eee73cb1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeParameterTypeModifyOrder.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeParameterTypeModifyOrder.kt.after @@ -6,3 +6,5 @@ open class A { class B : A(){ override fun f(y: Int, x: String) {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeMemberFunctionSignatureFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeParameterTypeOpenOverride.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeParameterTypeOpenOverride.kt index 1d0c7ee46a10..198d6d9cbab0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeParameterTypeOpenOverride.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeParameterTypeOpenOverride.kt @@ -10,3 +10,5 @@ open class B : A() { class C : B() { override fun f(a : Int) {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeMemberFunctionSignatureFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeParameterTypeOpenOverride.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeParameterTypeOpenOverride.kt.after index 878fed00e661..2bc2c1ee9e55 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeParameterTypeOpenOverride.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeParameterTypeOpenOverride.kt.after @@ -10,3 +10,5 @@ open class B : A() { class C : B() { override fun f() {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeMemberFunctionSignatureFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeParameterTypeSingleExpressionFunction.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeParameterTypeSingleExpressionFunction.kt index 6901254af7a2..06af6e9e949c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeParameterTypeSingleExpressionFunction.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeParameterTypeSingleExpressionFunction.kt @@ -8,3 +8,5 @@ open class A { class B : A(){ override fun f(a: String): Int = 7 } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeMemberFunctionSignatureFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeParameterTypeSingleExpressionFunction.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeParameterTypeSingleExpressionFunction.kt.after index 19e47be4f468..34bd93c226ed 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeParameterTypeSingleExpressionFunction.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeParameterTypeSingleExpressionFunction.kt.after @@ -8,3 +8,5 @@ open class A { class B : A(){ override fun f(a: Int): Int = 7 } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeMemberFunctionSignatureFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeParameterTypeSuperInterface.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeParameterTypeSuperInterface.kt index cd52a8c0243b..ebff0f0b858e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeParameterTypeSuperInterface.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeParameterTypeSuperInterface.kt @@ -6,3 +6,5 @@ interface A { class B : A { override fun f(a: String) {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeMemberFunctionSignatureFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeParameterTypeSuperInterface.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeParameterTypeSuperInterface.kt.after index d14b9efc9ede..5d97d526fa4a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeParameterTypeSuperInterface.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeParameterTypeSuperInterface.kt.after @@ -6,3 +6,5 @@ interface A { class B : A { override fun f(a: Int) {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeMemberFunctionSignatureFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeReturnType.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeReturnType.kt index cbe2b99b9159..1313ddf9bafd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeReturnType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeReturnType.kt @@ -9,3 +9,5 @@ class B : A(){ // and "Change function signature" quickfix is not present. override fun f(a : String): String = "FOO" } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeMemberFunctionSignatureFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeReturnType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeReturnType.kt.after index d5ff10e00caa..b24f19ccaea2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeReturnType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeReturnType.kt.after @@ -9,3 +9,5 @@ class B : A(){ // and "Change function signature" quickfix is not present. override fun f(a: Int): Int = "FOO" } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeMemberFunctionSignatureFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeTypeParameter.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeTypeParameter.kt index 080eadd2d47a..cf10eb7bae35 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeTypeParameter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeTypeParameter.kt @@ -6,3 +6,5 @@ open class A { class B : A() { override fun > f(a: E) {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeMemberFunctionSignatureFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeTypeParameter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeTypeParameter.kt.after index 250e0666ca84..f1a5b3ffc4a0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeTypeParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/changeTypeParameter.kt.after @@ -6,3 +6,5 @@ open class A { class B : A() { override fun f(a: T) {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeMemberFunctionSignatureFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/doNotLooseAnnotations.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/doNotLooseAnnotations.kt index bc4f485d85b7..11ed41e27cec 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/doNotLooseAnnotations.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/doNotLooseAnnotations.kt @@ -8,3 +8,5 @@ open class A { class B : A(){ annon override fun f(a: String) {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeMemberFunctionSignatureFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/doNotLooseAnnotations.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/doNotLooseAnnotations.kt.after index 05d9e6d1a4bf..007dd357f996 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/doNotLooseAnnotations.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/doNotLooseAnnotations.kt.after @@ -8,3 +8,5 @@ open class A { class B : A(){ annon override fun f(a: Int) {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeMemberFunctionSignatureFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/noDefaultValuesInOverride.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/noDefaultValuesInOverride.kt index 0f4e61d7ce56..48e903cfbae3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/noDefaultValuesInOverride.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/noDefaultValuesInOverride.kt @@ -5,4 +5,5 @@ interface A { class B : A { public override fun foo(a: Int): Any? = null -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeMemberFunctionSignatureFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/noDefaultValuesInOverride.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/noDefaultValuesInOverride.kt.after index 1930dfddb251..f06a9e8bebee 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/noDefaultValuesInOverride.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/noDefaultValuesInOverride.kt.after @@ -5,4 +5,5 @@ interface A { class B : A { public override fun foo(a: Int, b: String): Any? = null -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeMemberFunctionSignatureFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/overrideJavaMethod.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/overrideJavaMethod.kt index 2d963b7f1b28..0cc6eeedf5bc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/overrideJavaMethod.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/overrideJavaMethod.kt @@ -5,3 +5,5 @@ import java.util.Random class MyRandom : Random() { override fun next(): Int = 4 } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeMemberFunctionSignatureFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/overrideJavaMethod.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/overrideJavaMethod.kt.after index e76933310fa5..e8f23c2e94ec 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/overrideJavaMethod.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/overrideJavaMethod.kt.after @@ -5,3 +5,5 @@ import java.util.Random class MyRandom : Random() { override fun next(bits: Int): Int = 4 } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeMemberFunctionSignatureFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/removeFunctionReciever.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/removeFunctionReciever.kt index 4402bcb9791d..daf2616538bf 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/removeFunctionReciever.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/removeFunctionReciever.kt @@ -5,4 +5,5 @@ open class A { class B : A() { override fun String.x() {} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeMemberFunctionSignatureFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/removeFunctionReciever.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/removeFunctionReciever.kt.after index d95415b390bb..a8839c5dbebc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/removeFunctionReciever.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/removeFunctionReciever.kt.after @@ -5,4 +5,5 @@ open class A { class B : A() { override fun x(s: String) {} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeMemberFunctionSignatureFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/removeOverride.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/removeOverride.kt index e33553d62a58..1d07d9b4378c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/removeOverride.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/removeOverride.kt @@ -2,3 +2,5 @@ class A() { override fun foo() {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/removeOverride.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/removeOverride.kt.after index 54d60343c52b..dbdae1d6a400 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/removeOverride.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/removeOverride.kt.after @@ -2,3 +2,5 @@ class A() { fun foo() {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/removeParameter.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/removeParameter.kt index ae1e0da44d5f..a7ae75406859 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/removeParameter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/removeParameter.kt @@ -6,3 +6,5 @@ interface A { class B : A { override fun f(a: Int) {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeMemberFunctionSignatureFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/removeParameter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/removeParameter.kt.after index 5a9b06e0ab12..9b30331344b2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/removeParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/removeParameter.kt.after @@ -6,3 +6,5 @@ interface A { class B : A { override fun f() {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeMemberFunctionSignatureFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/removeParameterTwoInterfaces.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/removeParameterTwoInterfaces.kt index 0bdbe7fe12cf..8bca9f0366d1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/removeParameterTwoInterfaces.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/removeParameterTwoInterfaces.kt @@ -9,3 +9,5 @@ interface B { class C : A, B { override fun f(a: String) {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeMemberFunctionSignatureFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/removeParameterTwoInterfaces.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/removeParameterTwoInterfaces.kt.after index dc755078dfa4..cc02271754fa 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/removeParameterTwoInterfaces.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/removeParameterTwoInterfaces.kt.after @@ -9,3 +9,5 @@ interface B { class C : A, B { override fun f() {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeMemberFunctionSignatureFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/removeTypeParameter.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/removeTypeParameter.kt index 7e779a7047b5..fb2e8e7cbf66 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/removeTypeParameter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/removeTypeParameter.kt @@ -6,3 +6,5 @@ open class A { class B : A() { override fun f(a: T) {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeMemberFunctionSignatureFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/removeTypeParameter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/removeTypeParameter.kt.after index 709012a4ab0e..10dea57f6641 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/removeTypeParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/removeTypeParameter.kt.after @@ -6,3 +6,5 @@ open class A { class B : A() { override fun f(a: Int) {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeMemberFunctionSignatureFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/suspendFunction.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/suspendFunction.kt index 7786f56fce06..1a1c9c18d1a9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/suspendFunction.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/suspendFunction.kt @@ -6,4 +6,5 @@ interface Foo { class Bar : Foo { override fun foo() { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeMemberFunctionSignatureFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/suspendFunction.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/suspendFunction.kt.after index 00941c6d30d3..d470b814dfda 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/suspendFunction.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/suspendFunction.kt.after @@ -6,4 +6,5 @@ interface Foo { class Bar : Foo { override suspend fun foo(x: String) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeMemberFunctionSignatureFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/suspendFunction2.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/suspendFunction2.kt index 0994d9f1a47a..6f9a30837e9e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/suspendFunction2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/suspendFunction2.kt @@ -6,4 +6,5 @@ interface Foo { class Bar : Foo { override suspend fun foo() { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeMemberFunctionSignatureFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/suspendFunction2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/suspendFunction2.kt.after index 00941c6d30d3..d470b814dfda 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/suspendFunction2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/suspendFunction2.kt.after @@ -6,4 +6,5 @@ interface Foo { class Bar : Foo { override suspend fun foo(x: String) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeMemberFunctionSignatureFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/swapParametersGenericClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/swapParametersGenericClass.kt index cd62fbb43d0c..9f0fbfecbe15 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/swapParametersGenericClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/swapParametersGenericClass.kt @@ -6,3 +6,5 @@ interface A { class B : A { override fun f(x: List>, y: S) {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeMemberFunctionSignatureFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/swapParametersGenericClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/swapParametersGenericClass.kt.after index 4ac0afe0123e..62a4b04fdc88 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/swapParametersGenericClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/nothingToOverride/swapParametersGenericClass.kt.after @@ -6,3 +6,5 @@ interface A { class B : A { override fun f(y: S, x: List>) {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeMemberFunctionSignatureFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/overriddingMultipleFinalMethods.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/overriddingMultipleFinalMethods.kt index 9181572d01b0..c706573ab54d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/overriddingMultipleFinalMethods.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/overriddingMultipleFinalMethods.kt @@ -19,3 +19,5 @@ class B : A(), X, Y, Z { override fun foo() {} } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MakeOverriddenMemberOpenFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/overriddingMultipleFinalMethods.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/overriddingMultipleFinalMethods.kt.after index f9287c2543bf..48e6de3c1f57 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/overriddingMultipleFinalMethods.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/overriddingMultipleFinalMethods.kt.after @@ -19,3 +19,5 @@ class B : A(), X, Y, Z { override fun foo() {} } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MakeOverriddenMemberOpenFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/overrideDeprecation/copyDeprecation1.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/overrideDeprecation/copyDeprecation1.kt index 3f1d86a9a10b..0e39d7db23ad 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/overrideDeprecation/copyDeprecation1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/overrideDeprecation/copyDeprecation1.kt @@ -9,3 +9,5 @@ open class Base { class Derived : Base() { override fun foo() {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddAnnotationWithArgumentsFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/overrideDeprecation/copyDeprecation1.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/overrideDeprecation/copyDeprecation1.kt.after index d7f6c49f7039..84b3c5bd73c0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/overrideDeprecation/copyDeprecation1.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/overrideDeprecation/copyDeprecation1.kt.after @@ -10,3 +10,5 @@ class Derived : Base() { @Deprecated("Don't use") override fun foo() {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddAnnotationWithArgumentsFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/overrideDeprecation/copyDeprecation2.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/overrideDeprecation/copyDeprecation2.kt index 69bd7d83a906..58efe349b0f0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/overrideDeprecation/copyDeprecation2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/overrideDeprecation/copyDeprecation2.kt @@ -9,3 +9,5 @@ open class Base { class Derived : Base() { override fun foo() {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddAnnotationWithArgumentsFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/overrideDeprecation/copyDeprecation2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/overrideDeprecation/copyDeprecation2.kt.after index 2b0e1912f653..7126b1a15601 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/overrideDeprecation/copyDeprecation2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/overrideDeprecation/copyDeprecation2.kt.after @@ -10,3 +10,5 @@ class Derived : Base() { @Deprecated("Don't use", level = DeprecationLevel.ERROR) override fun foo() {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddAnnotationWithArgumentsFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/overrideDeprecation/copyDeprecation3.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/overrideDeprecation/copyDeprecation3.kt index bd281bc2e657..764e4cbe8df7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/overrideDeprecation/copyDeprecation3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/overrideDeprecation/copyDeprecation3.kt @@ -11,3 +11,5 @@ open class Base { class Derived : Base() { override fun foo() {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddAnnotationWithArgumentsFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/overrideDeprecation/copyDeprecation3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/overrideDeprecation/copyDeprecation3.kt.after index 8a7f72a2547c..935926c4247e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/overrideDeprecation/copyDeprecation3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/overrideDeprecation/copyDeprecation3.kt.after @@ -12,3 +12,5 @@ class Derived : Base() { @Deprecated("Don't use", replaceWith = ReplaceWith("bar()")) override fun foo() {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddAnnotationWithArgumentsFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/overrideDeprecation/copyDeprecation4.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/overrideDeprecation/copyDeprecation4.kt index 53bf38ab45f5..7a702a228ef1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/overrideDeprecation/copyDeprecation4.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/overrideDeprecation/copyDeprecation4.kt @@ -11,3 +11,5 @@ open class Base { class Derived : Base() { override fun foo() {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddAnnotationWithArgumentsFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/overrideDeprecation/copyDeprecation4.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/overrideDeprecation/copyDeprecation4.kt.after index 797abfa49ca9..527688ab2baa 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/overrideDeprecation/copyDeprecation4.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/overrideDeprecation/copyDeprecation4.kt.after @@ -12,3 +12,5 @@ class Derived : Base() { @Deprecated("Don't use", replaceWith = ReplaceWith("bar()", "p", "q"), level = DeprecationLevel.HIDDEN) override fun foo() {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddAnnotationWithArgumentsFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/overrideDeprecation/copyDeprecationProperty.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/overrideDeprecation/copyDeprecationProperty.kt index 75abf8ffefa6..5d30719efa08 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/overrideDeprecation/copyDeprecationProperty.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/overrideDeprecation/copyDeprecationProperty.kt @@ -11,3 +11,5 @@ class Derived : Base() { get() = 0 set(value) {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddAnnotationWithArgumentsFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/overrideDeprecation/copyDeprecationProperty.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/overrideDeprecation/copyDeprecationProperty.kt.after index 7ad18d2fd862..1fd54dccbf4e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/overrideDeprecation/copyDeprecationProperty.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/overrideDeprecation/copyDeprecationProperty.kt.after @@ -12,3 +12,5 @@ class Derived : Base() { get() = 0 set(value) {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddAnnotationWithArgumentsFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/overrideDeprecation/copyDeprecationWithEscapedMessage.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/overrideDeprecation/copyDeprecationWithEscapedMessage.kt index 7f8560d56e51..d063bea04ee8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/overrideDeprecation/copyDeprecationWithEscapedMessage.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/overrideDeprecation/copyDeprecationWithEscapedMessage.kt @@ -9,4 +9,5 @@ interface MyInterface { class MyImplementation : MyInterface { override fun deprecatedFun() { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddAnnotationWithArgumentsFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/overrideDeprecation/copyDeprecationWithEscapedMessage.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/overrideDeprecation/copyDeprecationWithEscapedMessage.kt.after index 1ccc23e91de3..278cd3a21b6f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/overrideDeprecation/copyDeprecationWithEscapedMessage.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/overrideDeprecation/copyDeprecationWithEscapedMessage.kt.after @@ -10,4 +10,5 @@ class MyImplementation : MyInterface { @Deprecated("A \"deprecated\" message with quotes") override fun deprecatedFun() { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddAnnotationWithArgumentsFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/overrideDeprecation/suppressWarning.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/overrideDeprecation/suppressWarning.kt index 1cb6598a43bc..6adf9de89e0e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/overrideDeprecation/suppressWarning.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/overrideDeprecation/suppressWarning.kt @@ -9,3 +9,5 @@ open class Base { class Derived : Base() { override fun foo() {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/overrideDeprecation/suppressWarning.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/overrideDeprecation/suppressWarning.kt.after index 031e32562e30..17bb709b65bb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/overrideDeprecation/suppressWarning.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/overrideDeprecation/suppressWarning.kt.after @@ -10,3 +10,5 @@ class Derived : Base() { @Suppress("OVERRIDE_DEPRECATION") override fun foo() {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/overridingDelegatedMethod.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/overridingDelegatedMethod.kt index d78454dea780..66301dd59be4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/overridingDelegatedMethod.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/overridingDelegatedMethod.kt @@ -17,3 +17,5 @@ class B(y: XX) : A(y) { } } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MakeOverriddenMemberOpenFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/overridingDelegatedMethod.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/overridingDelegatedMethod.kt.after index 9c75840d6bcd..ec8b6bdb6de0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/overridingDelegatedMethod.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/overridingDelegatedMethod.kt.after @@ -17,3 +17,5 @@ class B(y: XX) : A(y) { } } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MakeOverriddenMemberOpenFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/overridingFakeOverride.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/overridingFakeOverride.kt index b16b51afc1cb..39ca29b3208c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/overridingFakeOverride.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/overridingFakeOverride.kt @@ -17,3 +17,5 @@ class B() : Y { } } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MakeOverriddenMemberOpenFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/overridingFakeOverride.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/overridingFakeOverride.kt.after index e31ff83e189e..7eb2ff469088 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/overridingFakeOverride.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/overridingFakeOverride.kt.after @@ -17,3 +17,5 @@ class B() : Y { } } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MakeOverriddenMemberOpenFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/overridingFinalMethod.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/overridingFinalMethod.kt index fe52b8000842..b2b16a9a6bdb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/overridingFinalMethod.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/overridingFinalMethod.kt @@ -7,3 +7,5 @@ class B : A() { override fun foo() {} } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MakeOverriddenMemberOpenFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/overridingFinalMethod.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/overridingFinalMethod.kt.after index f51727187f22..f2680e10fb58 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/overridingFinalMethod.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/overridingFinalMethod.kt.after @@ -7,3 +7,5 @@ class B : A() { override fun foo() {} } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MakeOverriddenMemberOpenFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/overridingFinalMethodInLocal.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/overridingFinalMethodInLocal.kt index 33a56b435ca9..720ee33df306 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/overridingFinalMethodInLocal.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/overridingFinalMethodInLocal.kt @@ -9,3 +9,5 @@ fun test() { } } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MakeOverriddenMemberOpenFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/overridingFinalMethodInLocal.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/overridingFinalMethodInLocal.kt.after index 9f6dd928da5b..57168e9fb19a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/overridingFinalMethodInLocal.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/overridingFinalMethodInLocal.kt.after @@ -9,3 +9,5 @@ fun test() { } } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MakeOverriddenMemberOpenFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/overridingFinalOverrideMethod.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/overridingFinalOverrideMethod.kt index 09fa86e59b8e..4cf0f0153597 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/overridingFinalOverrideMethod.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/overridingFinalOverrideMethod.kt @@ -11,3 +11,5 @@ class C : B() { override fun foo() {} } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MakeOverriddenMemberOpenFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/overridingFinalOverrideMethod.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/overridingFinalOverrideMethod.kt.after index 064ba9de8167..fbdee4aa85eb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/overridingFinalOverrideMethod.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/overridingFinalOverrideMethod.kt.after @@ -11,3 +11,5 @@ class C : B() { override fun foo() {} } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MakeOverriddenMemberOpenFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/overridingFinalProperty.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/overridingFinalProperty.kt index 31f9e20052eb..706fefaea843 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/overridingFinalProperty.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/overridingFinalProperty.kt @@ -7,3 +7,5 @@ class B : A() { override var x = 24; } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MakeOverriddenMemberOpenFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/overridingFinalProperty.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/overridingFinalProperty.kt.after index 9bffec6f40b3..17f0b0e497e0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/overridingFinalProperty.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/overridingFinalProperty.kt.after @@ -7,3 +7,5 @@ class B : A() { override var x = 24; } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MakeOverriddenMemberOpenFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/parameterNameChangedMultipleOverrideRenamePossible.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/parameterNameChangedMultipleOverrideRenamePossible.kt index b13eb00c017b..3a8fbc5d7fc2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/parameterNameChangedMultipleOverrideRenamePossible.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/parameterNameChangedMultipleOverrideRenamePossible.kt @@ -14,3 +14,5 @@ class B : A(), X { } } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RenameParameterToMatchOverriddenMethodFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/parameterNameChangedMultipleOverrideRenamePossible.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/parameterNameChangedMultipleOverrideRenamePossible.kt.after index ada330dab053..797dfa19aa0f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/parameterNameChangedMultipleOverrideRenamePossible.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/parameterNameChangedMultipleOverrideRenamePossible.kt.after @@ -14,3 +14,5 @@ class B : A(), X { } } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RenameParameterToMatchOverriddenMethodFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/parameterNameChangedRenamePossible.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/parameterNameChangedRenamePossible.kt index 31611f27376a..d68b827593b2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/parameterNameChangedRenamePossible.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/parameterNameChangedRenamePossible.kt @@ -10,3 +10,5 @@ class B : A() { } } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RenameParameterToMatchOverriddenMethodFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/parameterNameChangedRenamePossible.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/parameterNameChangedRenamePossible.kt.after index e54426f015c5..e73a7edd9fe1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/parameterNameChangedRenamePossible.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/parameterNameChangedRenamePossible.kt.after @@ -10,3 +10,5 @@ class B : A() { } } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RenameParameterToMatchOverriddenMethodFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/changeOverriddenPropertyType1.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/changeOverriddenPropertyType1.kt index 4ea171c2bf53..2989d4ca71aa 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/changeOverriddenPropertyType1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/changeOverriddenPropertyType1.kt @@ -10,3 +10,6 @@ interface B { interface C : A, B { override val x: (Int) -> Int } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVariableTypeFix$ForOverridden +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.ChangeTypeQuickFixFactories$UpdateTypeQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/changeOverriddenPropertyType1.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/changeOverriddenPropertyType1.kt.after index f409fb340be7..ff2494a127e6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/changeOverriddenPropertyType1.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/changeOverriddenPropertyType1.kt.after @@ -10,3 +10,6 @@ interface B { interface C : A, B { override val x: (Int) -> Int } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVariableTypeFix$ForOverridden +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.ChangeTypeQuickFixFactories$UpdateTypeQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/changeOverriddenPropertyType2.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/changeOverriddenPropertyType2.kt index e2b7c242d191..7d6641e10edc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/changeOverriddenPropertyType2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/changeOverriddenPropertyType2.kt @@ -10,3 +10,6 @@ interface B { interface C : A, B { override var x: String } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVariableTypeFix$ForOverridden +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.ChangeTypeQuickFixFactories$UpdateTypeQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/changeOverriddenPropertyType2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/changeOverriddenPropertyType2.kt.after index f1b47a9fed67..ac73b0a98759 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/changeOverriddenPropertyType2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/changeOverriddenPropertyType2.kt.after @@ -10,3 +10,6 @@ interface B { interface C : A, B { override var x: String } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVariableTypeFix$ForOverridden +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.ChangeTypeQuickFixFactories$UpdateTypeQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/changeOverriddenPropertyTypeFromCtorParameter.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/changeOverriddenPropertyTypeFromCtorParameter.kt index 2254425e07b4..54dfc166f871 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/changeOverriddenPropertyTypeFromCtorParameter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/changeOverriddenPropertyTypeFromCtorParameter.kt @@ -4,3 +4,6 @@ interface A { } class B(override val x: Any) : A + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVariableTypeFix$ForOverridden +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.ChangeTypeQuickFixFactories$UpdateTypeQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/changeOverriddenPropertyTypeFromCtorParameter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/changeOverriddenPropertyTypeFromCtorParameter.kt.after index e8b79be0cff7..b10933c78f2f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/changeOverriddenPropertyTypeFromCtorParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/changeOverriddenPropertyTypeFromCtorParameter.kt.after @@ -4,3 +4,6 @@ interface A { } class B(override val x: Any) : A + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVariableTypeFix$ForOverridden +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.ChangeTypeQuickFixFactories$UpdateTypeQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/changeOverridingCtorParameterType.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/changeOverridingCtorParameterType.kt index 1ccbca6bc055..9e4c22a2542b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/changeOverridingCtorParameterType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/changeOverridingCtorParameterType.kt @@ -4,3 +4,6 @@ interface A { } class B(override val x: Any) : A + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVariableTypeFix$OnType +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.ChangeTypeQuickFixFactories$UpdateTypeQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/changeOverridingCtorParameterType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/changeOverridingCtorParameterType.kt.after index 3183dcae72c3..341e9d2c2450 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/changeOverridingCtorParameterType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/changeOverridingCtorParameterType.kt.after @@ -4,3 +4,6 @@ interface A { } class B(override val x: CharSequence) : A + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVariableTypeFix$OnType +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.ChangeTypeQuickFixFactories$UpdateTypeQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/changeOverridingPropertyTypeToFunctionType.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/changeOverridingPropertyTypeToFunctionType.kt index 90af5b2e5a00..bcf8930fb9f7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/changeOverridingPropertyTypeToFunctionType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/changeOverridingPropertyTypeToFunctionType.kt @@ -5,3 +5,6 @@ interface A { interface B : A { override var x: (Int) -> String } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVariableTypeFix$OnType +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.ChangeTypeQuickFixFactories$UpdateTypeQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/changeOverridingPropertyTypeToFunctionType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/changeOverridingPropertyTypeToFunctionType.kt.after index 1ef655603f98..527017d8fbcb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/changeOverridingPropertyTypeToFunctionType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/changeOverridingPropertyTypeToFunctionType.kt.after @@ -5,3 +5,6 @@ interface A { interface B : A { override var x: (String) -> Int } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVariableTypeFix$OnType +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.ChangeTypeQuickFixFactories$UpdateTypeQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/changeReturnTypeOfOverriddenFunction.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/changeReturnTypeOfOverriddenFunction.kt index e93cf797164f..774ab3b85eed 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/changeReturnTypeOfOverriddenFunction.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/changeReturnTypeOfOverriddenFunction.kt @@ -10,3 +10,6 @@ interface B { interface C : A, B { override fun foo(): Long } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForOverridden +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.ChangeTypeQuickFixFactories$UpdateTypeQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/changeReturnTypeOfOverriddenFunction.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/changeReturnTypeOfOverriddenFunction.kt.after index 5f5ed48c3022..f50215d7010a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/changeReturnTypeOfOverriddenFunction.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/changeReturnTypeOfOverriddenFunction.kt.after @@ -10,3 +10,6 @@ interface B { interface C : A, B { override fun foo(): Long } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForOverridden +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.ChangeTypeQuickFixFactories$UpdateTypeQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/namedFunctionReturnOverrideInsideVariableInitializer.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/namedFunctionReturnOverrideInsideVariableInitializer.kt index 3cecf7dc09df..841e80316f7a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/namedFunctionReturnOverrideInsideVariableInitializer.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/namedFunctionReturnOverrideInsideVariableInitializer.kt @@ -9,3 +9,6 @@ fun foo() { override fun foo(): Boolean? = true } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$OnType +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.ChangeTypeQuickFixFactories$UpdateTypeQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/namedFunctionReturnOverrideInsideVariableInitializer.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/namedFunctionReturnOverrideInsideVariableInitializer.kt.after index 1f87a4af752f..b64cb5a04ecc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/namedFunctionReturnOverrideInsideVariableInitializer.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/namedFunctionReturnOverrideInsideVariableInitializer.kt.after @@ -9,3 +9,6 @@ fun foo() { override fun foo(): Boolean = true } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$OnType +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.ChangeTypeQuickFixFactories$UpdateTypeQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/objectInsideBody.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/objectInsideBody.kt index 4bd9a7450faf..9841f2cab020 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/objectInsideBody.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/objectInsideBody.kt @@ -11,3 +11,6 @@ class Other { } } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVariableTypeFix$OnType +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.ChangeTypeQuickFixFactories$UpdateTypeQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/objectInsideBody.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/objectInsideBody.kt.after index 53d71af5d85f..c629413375f6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/objectInsideBody.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/objectInsideBody.kt.after @@ -11,3 +11,6 @@ class Other { } } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVariableTypeFix$OnType +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.ChangeTypeQuickFixFactories$UpdateTypeQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/propertyReturnTypeMismatchOnOverride.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/propertyReturnTypeMismatchOnOverride.kt index 427aaf0cd7b0..28e2f8fcaf9d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/propertyReturnTypeMismatchOnOverride.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/propertyReturnTypeMismatchOnOverride.kt @@ -6,3 +6,6 @@ interface X { class A : X { override val x: Number = 42 } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVariableTypeFix$OnType +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.ChangeTypeQuickFixFactories$UpdateTypeQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/propertyReturnTypeMismatchOnOverride.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/propertyReturnTypeMismatchOnOverride.kt.after index ec6618883f95..f90b6e51de94 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/propertyReturnTypeMismatchOnOverride.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/propertyReturnTypeMismatchOnOverride.kt.after @@ -6,3 +6,6 @@ interface X { class A : X { override val x: Int = 42 } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVariableTypeFix$OnType +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.ChangeTypeQuickFixFactories$UpdateTypeQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/propertyTypeMismatchOnOverrideIntLong.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/propertyTypeMismatchOnOverrideIntLong.kt index 1664cd02def2..dae739cfcd94 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/propertyTypeMismatchOnOverrideIntLong.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/propertyTypeMismatchOnOverrideIntLong.kt @@ -7,3 +7,6 @@ abstract class B : A() { override abstract var x: Long } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVariableTypeFix$OnType +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.ChangeTypeQuickFixFactories$UpdateTypeQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/propertyTypeMismatchOnOverrideIntLong.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/propertyTypeMismatchOnOverrideIntLong.kt.after index ebde6948b182..873bc4e19e9d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/propertyTypeMismatchOnOverrideIntLong.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/propertyTypeMismatchOnOverrideIntLong.kt.after @@ -7,3 +7,6 @@ abstract class B : A() { override abstract var x: Int } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVariableTypeFix$OnType +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.ChangeTypeQuickFixFactories$UpdateTypeQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/propertyTypeMismatchOnOverrideIntUnit.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/propertyTypeMismatchOnOverrideIntUnit.kt index dfa17da30759..a36f7d0ecb7c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/propertyTypeMismatchOnOverrideIntUnit.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/propertyTypeMismatchOnOverrideIntUnit.kt @@ -7,4 +7,5 @@ abstract class B : A() { override abstract var x } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVariableTypeFix$OnType \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/propertyTypeMismatchOnOverrideIntUnit.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/propertyTypeMismatchOnOverrideIntUnit.kt.after index 252384e43c8c..d41c9b0f7487 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/propertyTypeMismatchOnOverrideIntUnit.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/propertyTypeMismatchOnOverrideIntUnit.kt.after @@ -7,4 +7,5 @@ abstract class B : A() { override abstract var x: Int } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVariableTypeFix$OnType \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/returnTypeMismatchOnMultipleOverride.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/returnTypeMismatchOnMultipleOverride.kt index 96d355b8678b..c09fd6d904fe 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/returnTypeMismatchOnMultipleOverride.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/returnTypeMismatchOnMultipleOverride.kt @@ -14,3 +14,6 @@ abstract class B : A(), X { override abstract fun foo(): Int } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$OnType +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.ChangeTypeQuickFixFactories$UpdateTypeQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/returnTypeMismatchOnMultipleOverride.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/returnTypeMismatchOnMultipleOverride.kt.after index e6348da55814..664df36ecfcb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/returnTypeMismatchOnMultipleOverride.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/returnTypeMismatchOnMultipleOverride.kt.after @@ -14,3 +14,6 @@ abstract class B : A(), X { override abstract fun foo(): T } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$OnType +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.ChangeTypeQuickFixFactories$UpdateTypeQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/returnTypeMismatchOnOverrideIntLong.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/returnTypeMismatchOnOverrideIntLong.kt index 723b3c8d4727..eddb1039233c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/returnTypeMismatchOnOverrideIntLong.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/returnTypeMismatchOnOverrideIntLong.kt @@ -7,3 +7,6 @@ abstract class B : A() { abstract override fun foo(): Long } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$OnType +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.ChangeTypeQuickFixFactories$UpdateTypeQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/returnTypeMismatchOnOverrideIntLong.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/returnTypeMismatchOnOverrideIntLong.kt.after index 87c3b592f904..621ebcab1647 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/returnTypeMismatchOnOverrideIntLong.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/returnTypeMismatchOnOverrideIntLong.kt.after @@ -7,3 +7,6 @@ abstract class B : A() { abstract override fun foo(): Int } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$OnType +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.ChangeTypeQuickFixFactories$UpdateTypeQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/returnTypeMismatchOnOverrideIntUnit.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/returnTypeMismatchOnOverrideIntUnit.kt index aac5e611d0db..dd561a33ca75 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/returnTypeMismatchOnOverrideIntUnit.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/returnTypeMismatchOnOverrideIntUnit.kt @@ -7,3 +7,6 @@ abstract class B : A() { abstract override fun foo() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$OnType +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.ChangeTypeQuickFixFactories$UpdateTypeQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/returnTypeMismatchOnOverrideIntUnit.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/returnTypeMismatchOnOverrideIntUnit.kt.after index 6525af858e83..d7f28e71ba40 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/returnTypeMismatchOnOverrideIntUnit.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/returnTypeMismatchOnOverrideIntUnit.kt.after @@ -7,3 +7,6 @@ abstract class B : A() { abstract override fun foo(): Int } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$OnType +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.ChangeTypeQuickFixFactories$UpdateTypeQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/returnTypeMismatchOnOverrideUnitInt.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/returnTypeMismatchOnOverrideUnitInt.kt index 769c8fab18be..6e87e280a8ac 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/returnTypeMismatchOnOverrideUnitInt.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/returnTypeMismatchOnOverrideUnitInt.kt @@ -3,3 +3,6 @@ abstract class A : java.util.Iterator { public abstract override fun remove() : Int; } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$OnType +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.ChangeTypeQuickFixFactories$UpdateTypeQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/returnTypeMismatchOnOverrideUnitInt.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/returnTypeMismatchOnOverrideUnitInt.kt.after index 91769b64e822..f0462d5f9e1f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/returnTypeMismatchOnOverrideUnitInt.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/typeMismatchOnOverride/returnTypeMismatchOnOverrideUnitInt.kt.after @@ -3,3 +3,6 @@ abstract class A : java.util.Iterator { public abstract override fun remove(); } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$OnType +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.ChangeTypeQuickFixFactories$UpdateTypeQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/virtualMethodHidden.kt b/plugins/kotlin/idea/tests/testData/quickfix/override/virtualMethodHidden.kt index f92e130d8a9d..401cb9f7b64e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/virtualMethodHidden.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/virtualMethodHidden.kt @@ -6,3 +6,6 @@ open class A() { class B() : A() { fun foo() {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/override/virtualMethodHidden.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/override/virtualMethodHidden.kt.after index b1c0b337ce60..88c8c2346025 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/override/virtualMethodHidden.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/override/virtualMethodHidden.kt.after @@ -6,3 +6,6 @@ open class A() { class B() : A() { override fun foo() {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFixFE10 +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/platformClasses/mapPlatformClassToKotlin1.kt b/plugins/kotlin/idea/tests/testData/quickfix/platformClasses/mapPlatformClassToKotlin1.kt index 5edcf66dd98c..30cc7057a162 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/platformClasses/mapPlatformClassToKotlin1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/platformClasses/mapPlatformClassToKotlin1.kt @@ -23,3 +23,5 @@ fun d() : java.lang.Comparable? { fun e() : Comparable? { throw Exception() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MapPlatformClassToKotlinFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/platformClasses/mapPlatformClassToKotlin1.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/platformClasses/mapPlatformClassToKotlin1.kt.after index 50bdd4a9c83b..dc099ee44ff1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/platformClasses/mapPlatformClassToKotlin1.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/platformClasses/mapPlatformClassToKotlin1.kt.after @@ -20,3 +20,5 @@ fun d() : Comparable? { fun e() : Comparable? { throw Exception() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MapPlatformClassToKotlinFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/platformClasses/mapPlatformClassToKotlin2.kt b/plugins/kotlin/idea/tests/testData/quickfix/platformClasses/mapPlatformClassToKotlin2.kt index 4fac7cbfccbf..6bc826d3a547 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/platformClasses/mapPlatformClassToKotlin2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/platformClasses/mapPlatformClassToKotlin2.kt @@ -23,3 +23,5 @@ fun d() : java.lang.Comparable? { fun e() : Comparable? { throw Exception() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MapPlatformClassToKotlinFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/platformClasses/mapPlatformClassToKotlin2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/platformClasses/mapPlatformClassToKotlin2.kt.after index 50bdd4a9c83b..dc099ee44ff1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/platformClasses/mapPlatformClassToKotlin2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/platformClasses/mapPlatformClassToKotlin2.kt.after @@ -20,3 +20,5 @@ fun d() : Comparable? { fun e() : Comparable? { throw Exception() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MapPlatformClassToKotlinFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/platformClasses/mapPlatformClassToKotlin3.kt b/plugins/kotlin/idea/tests/testData/quickfix/platformClasses/mapPlatformClassToKotlin3.kt index 8ce848c83bc8..06c0ec3e3e61 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/platformClasses/mapPlatformClassToKotlin3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/platformClasses/mapPlatformClassToKotlin3.kt @@ -23,3 +23,5 @@ fun d() : java.lang.Comparable? { fun e() : Comparable? { throw Exception() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MapPlatformClassToKotlinFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/platformClasses/mapPlatformClassToKotlin3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/platformClasses/mapPlatformClassToKotlin3.kt.after index 50bdd4a9c83b..dc099ee44ff1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/platformClasses/mapPlatformClassToKotlin3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/platformClasses/mapPlatformClassToKotlin3.kt.after @@ -20,3 +20,5 @@ fun d() : Comparable? { fun e() : Comparable? { throw Exception() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MapPlatformClassToKotlinFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/platformClasses/mapPlatformClassToKotlin4.kt b/plugins/kotlin/idea/tests/testData/quickfix/platformClasses/mapPlatformClassToKotlin4.kt index 135ad45482e0..b91cd95012f3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/platformClasses/mapPlatformClassToKotlin4.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/platformClasses/mapPlatformClassToKotlin4.kt @@ -23,3 +23,5 @@ fun d() : java.lang.Iterable? { fun e() : Iterable? { throw Exception() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MapPlatformClassToKotlinFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/platformClasses/mapPlatformClassToKotlin4.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/platformClasses/mapPlatformClassToKotlin4.kt.after index 66e8f14dffab..996b9cc8da12 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/platformClasses/mapPlatformClassToKotlin4.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/platformClasses/mapPlatformClassToKotlin4.kt.after @@ -20,3 +20,5 @@ fun d() : Iterable? { fun e() : Iterable? { throw Exception() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MapPlatformClassToKotlinFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/platformTypesInspection/nestedRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/platformTypesInspection/nestedRuntime.kt index cb4d32a698d5..9f238c52a935 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/platformTypesInspection/nestedRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/platformTypesInspection/nestedRuntime.kt @@ -1,3 +1,4 @@ // "Specify return type explicitly" "true" -fun foo() = arrayOf(java.lang.String.valueOf(1)) \ No newline at end of file +fun foo() = arrayOf(java.lang.String.valueOf(1)) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.SpecifyTypeExplicitlyIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/platformTypesInspection/nestedRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/platformTypesInspection/nestedRuntime.kt.after index d5b46c94d269..1d7a59b3b3f2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/platformTypesInspection/nestedRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/platformTypesInspection/nestedRuntime.kt.after @@ -1,3 +1,4 @@ // "Specify return type explicitly" "true" -fun foo(): Array = arrayOf(java.lang.String.valueOf(1)) \ No newline at end of file +fun foo(): Array = arrayOf(java.lang.String.valueOf(1)) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.SpecifyTypeExplicitlyIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/platformTypesInspection/nullableAssertRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/platformTypesInspection/nullableAssertRuntime.kt index 66856287f14d..98833683a710 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/platformTypesInspection/nullableAssertRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/platformTypesInspection/nullableAssertRuntime.kt @@ -1,3 +1,4 @@ // "Add non-null asserted (!!) call" "true" -fun bar() = java.lang.String.valueOf(1) \ No newline at end of file +fun bar() = java.lang.String.valueOf(1) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/platformTypesInspection/nullableAssertRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/platformTypesInspection/nullableAssertRuntime.kt.after index 6af7edad1960..d2992cee08b2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/platformTypesInspection/nullableAssertRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/platformTypesInspection/nullableAssertRuntime.kt.after @@ -1,3 +1,4 @@ // "Add non-null asserted (!!) call" "true" -fun bar() = java.lang.String.valueOf(1)!! \ No newline at end of file +fun bar() = java.lang.String.valueOf(1)!! +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/platformTypesInspection/nullableRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/platformTypesInspection/nullableRuntime.kt index 5d2542dd0b2b..84bae4aec462 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/platformTypesInspection/nullableRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/platformTypesInspection/nullableRuntime.kt @@ -1,3 +1,4 @@ // "Specify return type explicitly" "true" -fun foo() = java.lang.String.valueOf(1) \ No newline at end of file +fun foo() = java.lang.String.valueOf(1) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.SpecifyTypeExplicitlyIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/platformTypesInspection/nullableRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/platformTypesInspection/nullableRuntime.kt.after index ab00a7e71168..5551daf7252c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/platformTypesInspection/nullableRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/platformTypesInspection/nullableRuntime.kt.after @@ -1,3 +1,4 @@ // "Specify return type explicitly" "true" -fun foo(): String = java.lang.String.valueOf(1) \ No newline at end of file +fun foo(): String = java.lang.String.valueOf(1) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.SpecifyTypeExplicitlyIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/primitiveCastToConversion/charToShort.kt b/plugins/kotlin/idea/tests/testData/quickfix/primitiveCastToConversion/charToShort.kt index 58e565f5b788..d2957405df9e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/primitiveCastToConversion/charToShort.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/primitiveCastToConversion/charToShort.kt @@ -2,4 +2,5 @@ fun foo(c: Char) { val a = c as Short -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplacePrimitiveCastWithNumberConversionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/primitiveCastToConversion/charToShort.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/primitiveCastToConversion/charToShort.kt.after index a94dee16db7a..2b4062d460df 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/primitiveCastToConversion/charToShort.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/primitiveCastToConversion/charToShort.kt.after @@ -2,4 +2,5 @@ fun foo(c: Char) { val a = c.toShort() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplacePrimitiveCastWithNumberConversionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/primitiveCastToConversion/intToByte.kt b/plugins/kotlin/idea/tests/testData/quickfix/primitiveCastToConversion/intToByte.kt index 33f493477238..0192241c5867 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/primitiveCastToConversion/intToByte.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/primitiveCastToConversion/intToByte.kt @@ -2,4 +2,5 @@ fun foo() { val a = 1 as Byte -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplacePrimitiveCastWithNumberConversionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/primitiveCastToConversion/intToByte.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/primitiveCastToConversion/intToByte.kt.after index 5c8d4bb3c9e6..021774d118a7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/primitiveCastToConversion/intToByte.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/primitiveCastToConversion/intToByte.kt.after @@ -2,4 +2,5 @@ fun foo() { val a = 1.toByte() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplacePrimitiveCastWithNumberConversionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/primitiveCastToConversion/longToFloat.kt b/plugins/kotlin/idea/tests/testData/quickfix/primitiveCastToConversion/longToFloat.kt index efc13f6e28ef..1a3a4aa8c066 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/primitiveCastToConversion/longToFloat.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/primitiveCastToConversion/longToFloat.kt @@ -2,4 +2,5 @@ fun foo() { val a = 1L as Float -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplacePrimitiveCastWithNumberConversionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/primitiveCastToConversion/longToFloat.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/primitiveCastToConversion/longToFloat.kt.after index 65678d7e0f96..3fa6eca2d817 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/primitiveCastToConversion/longToFloat.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/primitiveCastToConversion/longToFloat.kt.after @@ -2,4 +2,5 @@ fun foo() { val a = 1L.toFloat() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplacePrimitiveCastWithNumberConversionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/properties/extensionPropertyInitializerToGetter/baseCase.kt b/plugins/kotlin/idea/tests/testData/quickfix/properties/extensionPropertyInitializerToGetter/baseCase.kt index 3896d26654a6..b1efebfcdc53 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/properties/extensionPropertyInitializerToGetter/baseCase.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/properties/extensionPropertyInitializerToGetter/baseCase.kt @@ -1,2 +1,3 @@ // "Convert extension property initializer to getter" "true" -val String.foo: Int = 0 \ No newline at end of file +val String.foo: Int = 0 +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertExtensionPropertyInitializerToGetterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/properties/extensionPropertyInitializerToGetter/baseCase.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/properties/extensionPropertyInitializerToGetter/baseCase.kt.after index a367c0a81bdc..b775fdc86f6a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/properties/extensionPropertyInitializerToGetter/baseCase.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/properties/extensionPropertyInitializerToGetter/baseCase.kt.after @@ -1,3 +1,4 @@ // "Convert extension property initializer to getter" "true" val String.foo: Int - get() = 0 \ No newline at end of file + get() = 0 +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertExtensionPropertyInitializerToGetterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/properties/extensionPropertyInitializerToGetter/baseCaseVar.kt b/plugins/kotlin/idea/tests/testData/quickfix/properties/extensionPropertyInitializerToGetter/baseCaseVar.kt index 3ad9b076cb5e..7ee1a2fab217 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/properties/extensionPropertyInitializerToGetter/baseCaseVar.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/properties/extensionPropertyInitializerToGetter/baseCaseVar.kt @@ -1,3 +1,4 @@ // "Convert extension property initializer to getter" "true" // WITH_STDLIB -var String.foo: Int = 0 \ No newline at end of file +var String.foo: Int = 0 +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertExtensionPropertyInitializerToGetterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/properties/extensionPropertyInitializerToGetter/baseCaseVar.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/properties/extensionPropertyInitializerToGetter/baseCaseVar.kt.after index ea7830cdf620..28877dc82f7d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/properties/extensionPropertyInitializerToGetter/baseCaseVar.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/properties/extensionPropertyInitializerToGetter/baseCaseVar.kt.after @@ -2,4 +2,5 @@ // WITH_STDLIB var String.foo: Int get() = 0 - set(value) = TODO() \ No newline at end of file + set(value) = TODO() +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertExtensionPropertyInitializerToGetterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/properties/extensionPropertyInitializerToGetter/baseCaseWithoutTypeAnnotation.kt b/plugins/kotlin/idea/tests/testData/quickfix/properties/extensionPropertyInitializerToGetter/baseCaseWithoutTypeAnnotation.kt index 43f096519158..c365d2e10706 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/properties/extensionPropertyInitializerToGetter/baseCaseWithoutTypeAnnotation.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/properties/extensionPropertyInitializerToGetter/baseCaseWithoutTypeAnnotation.kt @@ -1,2 +1,3 @@ // "Convert extension property initializer to getter" "true" -val String.foo = 0 \ No newline at end of file +val String.foo = 0 +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertExtensionPropertyInitializerToGetterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/properties/extensionPropertyInitializerToGetter/baseCaseWithoutTypeAnnotation.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/properties/extensionPropertyInitializerToGetter/baseCaseWithoutTypeAnnotation.kt.after index a367c0a81bdc..b775fdc86f6a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/properties/extensionPropertyInitializerToGetter/baseCaseWithoutTypeAnnotation.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/properties/extensionPropertyInitializerToGetter/baseCaseWithoutTypeAnnotation.kt.after @@ -1,3 +1,4 @@ // "Convert extension property initializer to getter" "true" val String.foo: Int - get() = 0 \ No newline at end of file + get() = 0 +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertExtensionPropertyInitializerToGetterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/properties/extensionPropertyInitializerToGetter/insertGetterBeforeExistingSetter.kt b/plugins/kotlin/idea/tests/testData/quickfix/properties/extensionPropertyInitializerToGetter/insertGetterBeforeExistingSetter.kt index 3a160a984ccc..bf3d86fd17f2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/properties/extensionPropertyInitializerToGetter/insertGetterBeforeExistingSetter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/properties/extensionPropertyInitializerToGetter/insertGetterBeforeExistingSetter.kt @@ -1,3 +1,4 @@ // "Convert extension property initializer to getter" "true" var String.foo: Int = 0 - set(value) {} \ No newline at end of file + set(value) {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertExtensionPropertyInitializerToGetterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/properties/extensionPropertyInitializerToGetter/insertGetterBeforeExistingSetter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/properties/extensionPropertyInitializerToGetter/insertGetterBeforeExistingSetter.kt.after index 1778eb241eab..88c755df331e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/properties/extensionPropertyInitializerToGetter/insertGetterBeforeExistingSetter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/properties/extensionPropertyInitializerToGetter/insertGetterBeforeExistingSetter.kt.after @@ -1,4 +1,5 @@ // "Convert extension property initializer to getter" "true" var String.foo: Int get() = 0 - set(value) {} \ No newline at end of file + set(value) {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertExtensionPropertyInitializerToGetterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/protectedInFinal/finalizeNotReal.kt b/plugins/kotlin/idea/tests/testData/quickfix/protectedInFinal/finalizeNotReal.kt index eefd07e492a3..9d7de9478439 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/protectedInFinal/finalizeNotReal.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/protectedInFinal/finalizeNotReal.kt @@ -1,4 +1,6 @@ // "Make class open" "true" class Op { protected fun finalize(): Int {return 1} -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.inspections.ProtectedInFinalInspectionBase$MakeOpenFix +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.inspections.ProtectedInFinalInspectionBase$MakeOpenFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/protectedInFinal/finalizeNotReal.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/protectedInFinal/finalizeNotReal.kt.after index 977d62007069..98d242da9a1a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/protectedInFinal/finalizeNotReal.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/protectedInFinal/finalizeNotReal.kt.after @@ -1,4 +1,6 @@ // "Make class open" "true" open class Op { protected fun finalize(): Int {return 1} -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.inspections.ProtectedInFinalInspectionBase$MakeOpenFix +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.inspections.ProtectedInFinalInspectionBase$MakeOpenFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/protectedInFinal/finalizeNotRealImplicitReturnInt.kt b/plugins/kotlin/idea/tests/testData/quickfix/protectedInFinal/finalizeNotRealImplicitReturnInt.kt index 253ce529a9cb..050f30925f36 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/protectedInFinal/finalizeNotRealImplicitReturnInt.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/protectedInFinal/finalizeNotRealImplicitReturnInt.kt @@ -1,4 +1,6 @@ // "Make private" "true" class Op { protected fun finalize() = 1 -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.inspections.ProtectedInFinalInspectionBase$MakePrivateFix +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.inspections.ProtectedInFinalInspectionBase$MakePrivateFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/protectedInFinal/finalizeNotRealImplicitReturnInt.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/protectedInFinal/finalizeNotRealImplicitReturnInt.kt.after index 1efff1b989bf..0be8be42785d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/protectedInFinal/finalizeNotRealImplicitReturnInt.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/protectedInFinal/finalizeNotRealImplicitReturnInt.kt.after @@ -1,4 +1,6 @@ // "Make private" "true" class Op { private fun finalize() = 1 -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.inspections.ProtectedInFinalInspectionBase$MakePrivateFix +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.inspections.ProtectedInFinalInspectionBase$MakePrivateFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/protectedInFinal/protected.kt b/plugins/kotlin/idea/tests/testData/quickfix/protectedInFinal/protected.kt index e9693c1ff5d7..3d2b269d0de0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/protectedInFinal/protected.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/protectedInFinal/protected.kt @@ -2,3 +2,6 @@ class C { protected fun foo() {} } + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.inspections.ProtectedInFinalInspectionBase$MakePrivateFix +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.inspections.ProtectedInFinalInspectionBase$MakePrivateFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/protectedInFinal/protected.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/protectedInFinal/protected.kt.after index dfa43c64ae5d..a0af985955a7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/protectedInFinal/protected.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/protectedInFinal/protected.kt.after @@ -2,3 +2,6 @@ class C { private fun foo() {} } + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.inspections.ProtectedInFinalInspectionBase$MakePrivateFix +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.inspections.ProtectedInFinalInspectionBase$MakePrivateFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/protectedInFinal/protected2.kt b/plugins/kotlin/idea/tests/testData/quickfix/protectedInFinal/protected2.kt index c01f2fbe6acb..fee26b80bbf7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/protectedInFinal/protected2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/protectedInFinal/protected2.kt @@ -2,3 +2,6 @@ final class C { protected fun foo() {} } + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.inspections.ProtectedInFinalInspectionBase$MakeOpenFix +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.inspections.ProtectedInFinalInspectionBase$MakeOpenFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/protectedInFinal/protected2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/protectedInFinal/protected2.kt.after index 048a843b9ab8..4b4867fefdc1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/protectedInFinal/protected2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/protectedInFinal/protected2.kt.after @@ -2,3 +2,6 @@ open class C { protected fun foo() {} } + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.inspections.ProtectedInFinalInspectionBase$MakeOpenFix +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.inspections.ProtectedInFinalInspectionBase$MakeOpenFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/redundantConst/simple.kt b/plugins/kotlin/idea/tests/testData/quickfix/redundantConst/simple.kt index 6f0062f940a8..57f354079a75 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/redundantConst/simple.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/redundantConst/simple.kt @@ -1,4 +1,5 @@ // "Remove 'const' modifier" "true" class Foo { const val s = "s" -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/redundantConst/simple.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/redundantConst/simple.kt.after index 695cd29f3127..1fefc94fff0d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/redundantConst/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/redundantConst/simple.kt.after @@ -1,4 +1,5 @@ // "Remove 'const' modifier" "true" class Foo { val s = "s" -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/redundantFun/simple.kt b/plugins/kotlin/idea/tests/testData/quickfix/redundantFun/simple.kt index e92ba5573254..6a2f7ca17ba4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/redundantFun/simple.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/redundantFun/simple.kt @@ -1,2 +1,3 @@ // "Remove 'fun' modifier" "true" -fun interface WrongFunFace \ No newline at end of file +fun interface WrongFunFace +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/redundantFun/simple.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/redundantFun/simple.kt.after index 649348ce3750..85be750676a5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/redundantFun/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/redundantFun/simple.kt.after @@ -1,2 +1,3 @@ // "Remove 'fun' modifier" "true" -interface WrongFunFace \ No newline at end of file +interface WrongFunFace +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/assignExpression.kt b/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/assignExpression.kt index 8f38dcf4569a..d47e626d4b5d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/assignExpression.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/assignExpression.kt @@ -1,4 +1,6 @@ // "Remove redundant 'if' statement" "true" fun bar(p: Int) { val v1 = if (p > 0) true else false -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.RedundantIfInspectionBase$RemoveRedundantIf +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.RedundantIfInspectionBase$RemoveRedundantIf \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/assignExpression.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/assignExpression.kt.after index 1a178c8f3fa4..25b5ba4e6f84 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/assignExpression.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/assignExpression.kt.after @@ -1,4 +1,6 @@ // "Remove redundant 'if' statement" "true" fun bar(p: Int) { val v1 = p > 0 -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.RedundantIfInspectionBase$RemoveRedundantIf +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.RedundantIfInspectionBase$RemoveRedundantIf \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/assignment.kt b/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/assignment.kt index 1077eb71c760..05eb572e8e24 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/assignment.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/assignment.kt @@ -7,4 +7,6 @@ fun bar(p: Int) { else { v2 = true } -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.RedundantIfInspectionBase$RemoveRedundantIf +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.RedundantIfInspectionBase$RemoveRedundantIf \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/assignment.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/assignment.kt.after index a2a4af967e36..33320245d9f6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/assignment.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/assignment.kt.after @@ -2,4 +2,6 @@ fun bar(p: Int) { var v2 = false v2 = p <= 0 -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.RedundantIfInspectionBase$RemoveRedundantIf +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.RedundantIfInspectionBase$RemoveRedundantIf \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/comment.kt b/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/comment.kt index c104c04809df..61f0b6ec52ff 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/comment.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/comment.kt @@ -7,4 +7,6 @@ fun test(a: Boolean, b: Boolean): Boolean { } return true -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.RedundantIfInspectionBase$RemoveRedundantIf +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.RedundantIfInspectionBase$RemoveRedundantIf \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/comment.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/comment.kt.after index a72cfe7bab5f..073ad7dacfa9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/comment.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/comment.kt.after @@ -3,4 +3,6 @@ fun test(a: Boolean, b: Boolean): Boolean { // comment1 // comment2 return !(!a && b) -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.RedundantIfInspectionBase$RemoveRedundantIf +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.RedundantIfInspectionBase$RemoveRedundantIf \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/expression.kt b/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/expression.kt index a2dc7bb1ce04..e9f76ead31f4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/expression.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/expression.kt @@ -2,4 +2,6 @@ fun bar(value: Int): Boolean { val x = if (value % 2 == 0) false else true return x -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.RedundantIfInspectionBase$RemoveRedundantIf +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.RedundantIfInspectionBase$RemoveRedundantIf \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/expression.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/expression.kt.after index 1d4c6bede335..5183e9dc0f11 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/expression.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/expression.kt.after @@ -2,4 +2,6 @@ fun bar(value: Int): Boolean { val x = value % 2 != 0 return x -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.RedundantIfInspectionBase$RemoveRedundantIf +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.RedundantIfInspectionBase$RemoveRedundantIf \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/expressionBody.kt b/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/expressionBody.kt index 15a0ef955762..d452383ddf05 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/expressionBody.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/expressionBody.kt @@ -1,2 +1,4 @@ // "Remove redundant 'if' statement" "true" -fun bar(value: Int) = if (value % 2 == 0) true else false \ No newline at end of file +fun bar(value: Int) = if (value % 2 == 0) true else false +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.RedundantIfInspectionBase$RemoveRedundantIf +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.RedundantIfInspectionBase$RemoveRedundantIf \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/expressionBody.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/expressionBody.kt.after index 6934ef162f1a..be63cc85c0bc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/expressionBody.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/expressionBody.kt.after @@ -1,2 +1,4 @@ // "Remove redundant 'if' statement" "true" -fun bar(value: Int) = value % 2 == 0 \ No newline at end of file +fun bar(value: Int) = value % 2 == 0 +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.RedundantIfInspectionBase$RemoveRedundantIf +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.RedundantIfInspectionBase$RemoveRedundantIf \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/labeledReturn.kt b/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/labeledReturn.kt index cf2048ec4c50..21d1d66c5024 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/labeledReturn.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/labeledReturn.kt @@ -8,4 +8,6 @@ fun foo() { return@find false } } -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.RedundantIfInspectionBase$RemoveRedundantIf +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.RedundantIfInspectionBase$RemoveRedundantIf \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/labeledReturn.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/labeledReturn.kt.after index d869f15f5dbf..3df01f015f90 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/labeledReturn.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/labeledReturn.kt.after @@ -4,4 +4,6 @@ fun foo() { listOf(1,2,3).find { return@find it > 0 } -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.RedundantIfInspectionBase$RemoveRedundantIf +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.RedundantIfInspectionBase$RemoveRedundantIf \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/negate.kt b/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/negate.kt index 23cf67a9ef63..f87faad64040 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/negate.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/negate.kt @@ -6,4 +6,6 @@ fun bar(value: Int): Boolean { else { return true } -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.RedundantIfInspectionBase$RemoveRedundantIf +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.RedundantIfInspectionBase$RemoveRedundantIf \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/negate.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/negate.kt.after index e88dda9b4ade..939ee826da02 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/negate.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/negate.kt.after @@ -1,4 +1,6 @@ // "Remove redundant 'if' statement" "true" fun bar(value: Int): Boolean { return value % 2 != 0 -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.RedundantIfInspectionBase$RemoveRedundantIf +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.RedundantIfInspectionBase$RemoveRedundantIf \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/negate2.kt b/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/negate2.kt index f573dd43dc8f..77995ced5170 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/negate2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/negate2.kt @@ -6,4 +6,6 @@ fun bar(value: Int): Boolean { else { return true } -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.RedundantIfInspectionBase$RemoveRedundantIf +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.RedundantIfInspectionBase$RemoveRedundantIf \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/negate2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/negate2.kt.after index aedfad1f0cf8..836c5f95dfdf 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/negate2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/negate2.kt.after @@ -1,4 +1,6 @@ // "Remove redundant 'if' statement" "true" fun bar(value: Int): Boolean { return value % 2 == 0 -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.RedundantIfInspectionBase$RemoveRedundantIf +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.RedundantIfInspectionBase$RemoveRedundantIf \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/negate3.kt b/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/negate3.kt index f273b2f58c94..afa5c52acd66 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/negate3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/negate3.kt @@ -8,4 +8,6 @@ fun bar(value: Int): Boolean { else { return true } -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.RedundantIfInspectionBase$RemoveRedundantIf +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.RedundantIfInspectionBase$RemoveRedundantIf \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/negate3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/negate3.kt.after index 9ae5d579f4c6..772de688a292 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/negate3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/negate3.kt.after @@ -3,4 +3,6 @@ operator fun String.not(): Boolean = false fun bar(value: Int): Boolean { return !!"hello" -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.RedundantIfInspectionBase$RemoveRedundantIf +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.RedundantIfInspectionBase$RemoveRedundantIf \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/returnWithoutElse.kt b/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/returnWithoutElse.kt index 3b26e959ecbc..5663ad872a8c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/returnWithoutElse.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/returnWithoutElse.kt @@ -2,4 +2,6 @@ fun foo(bar: Int?): Boolean { if (bar == null) { return false } return true -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.RedundantIfInspectionBase$RemoveRedundantIf +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.RedundantIfInspectionBase$RemoveRedundantIf \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/returnWithoutElse.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/returnWithoutElse.kt.after index aae1a9f34691..4a59d94df47a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/returnWithoutElse.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/returnWithoutElse.kt.after @@ -1,4 +1,6 @@ // "Remove redundant 'if' statement" "true" fun foo(bar: Int?): Boolean { return bar != null -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.RedundantIfInspectionBase$RemoveRedundantIf +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.RedundantIfInspectionBase$RemoveRedundantIf \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/returnWithoutElse2.kt b/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/returnWithoutElse2.kt index 215389adc96d..8368cee29dbc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/returnWithoutElse2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/returnWithoutElse2.kt @@ -11,4 +11,6 @@ fun foo(bar: Int?): Boolean { return true bar?.let{ it + 4 } -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.RedundantIfInspectionBase$RemoveRedundantIf +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.RedundantIfInspectionBase$RemoveRedundantIf \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/returnWithoutElse2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/returnWithoutElse2.kt.after index 5ef4916cce61..588c187d1484 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/returnWithoutElse2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/returnWithoutElse2.kt.after @@ -9,4 +9,6 @@ fun foo(bar: Int?): Boolean { * And more comment */ bar?.let{ it + 4 } -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.RedundantIfInspectionBase$RemoveRedundantIf +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.RedundantIfInspectionBase$RemoveRedundantIf \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/returnWithoutElse3.kt b/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/returnWithoutElse3.kt index 50f38983c330..832bcac37fe3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/returnWithoutElse3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/returnWithoutElse3.kt @@ -6,4 +6,6 @@ fun test(a: Boolean, b: Boolean): Boolean { } return true -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.RedundantIfInspectionBase$RemoveRedundantIf +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.RedundantIfInspectionBase$RemoveRedundantIf \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/returnWithoutElse3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/returnWithoutElse3.kt.after index 5471d1236948..71e441e49199 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/returnWithoutElse3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/returnWithoutElse3.kt.after @@ -2,4 +2,6 @@ // WITH_STDLIB fun test(a: Boolean, b: Boolean): Boolean { return !(!a && b) -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.RedundantIfInspectionBase$RemoveRedundantIf +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.RedundantIfInspectionBase$RemoveRedundantIf \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/returnWithoutElse4.kt b/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/returnWithoutElse4.kt index 8dddbd8bea4d..bf0f44898f68 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/returnWithoutElse4.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/returnWithoutElse4.kt @@ -4,4 +4,6 @@ fun foo(b: Boolean): Boolean { if (b) return false // comment return true -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.RedundantIfInspectionBase$RemoveRedundantIf +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.RedundantIfInspectionBase$RemoveRedundantIf \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/returnWithoutElse4.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/returnWithoutElse4.kt.after index 50b761b81cc5..bd17af424282 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/returnWithoutElse4.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/returnWithoutElse4.kt.after @@ -2,4 +2,6 @@ // WITH_STDLIB fun foo(b: Boolean): Boolean { return !b // comment -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.RedundantIfInspectionBase$RemoveRedundantIf +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.RedundantIfInspectionBase$RemoveRedundantIf \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/simple.kt b/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/simple.kt index fc080fd150e9..af2f7d12ef06 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/simple.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/simple.kt @@ -5,4 +5,6 @@ fun bar(value: Int): Boolean { } else { return false } -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.RedundantIfInspectionBase$RemoveRedundantIf +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.RedundantIfInspectionBase$RemoveRedundantIf \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/simple.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/simple.kt.after index aedfad1f0cf8..836c5f95dfdf 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/redundantIf/simple.kt.after @@ -1,4 +1,6 @@ // "Remove redundant 'if' statement" "true" fun bar(value: Int): Boolean { return value % 2 == 0 -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.RedundantIfInspectionBase$RemoveRedundantIf +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.RedundantIfInspectionBase$RemoveRedundantIf \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/redundantInline/function.kt b/plugins/kotlin/idea/tests/testData/quickfix/redundantInline/function.kt index a2cffc54becb..8984ef176ee3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/redundantInline/function.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/redundantInline/function.kt @@ -1,2 +1,3 @@ // "Remove 'inline' modifier" "true" -inline fun test() {} \ No newline at end of file +inline fun test() {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/redundantInline/function.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/redundantInline/function.kt.after index 7a7920b90841..3f0de7a6299c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/redundantInline/function.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/redundantInline/function.kt.after @@ -1,2 +1,3 @@ // "Remove 'inline' modifier" "true" -fun test() {} \ No newline at end of file +fun test() {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/redundantLateinit/simple.kt b/plugins/kotlin/idea/tests/testData/quickfix/redundantLateinit/simple.kt index b6209e66f77e..1fe8b6bfbc18 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/redundantLateinit/simple.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/redundantLateinit/simple.kt @@ -2,4 +2,5 @@ class Test { private lateinit var foo: String = "" -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/redundantLateinit/simple.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/redundantLateinit/simple.kt.after index 6de607c47633..25d3675e3aa2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/redundantLateinit/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/redundantLateinit/simple.kt.after @@ -2,4 +2,5 @@ class Test { private var foo: String = "" -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/redundantModalityModifier/redundantAbstract.kt b/plugins/kotlin/idea/tests/testData/quickfix/redundantModalityModifier/redundantAbstract.kt index 64c1228fc3cf..7c747030998f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/redundantModalityModifier/redundantAbstract.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/redundantModalityModifier/redundantAbstract.kt @@ -1,4 +1,6 @@ // "Remove redundant 'abstract' modifier" "true" interface A { abstract fun foo() -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.k2.codeinsight.inspections.diagnosticBased.RedundantModalityModifierInspection +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/redundantModalityModifier/redundantAbstract.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/redundantModalityModifier/redundantAbstract.kt.after index dc9e9ed81e0f..a1286355d8b9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/redundantModalityModifier/redundantAbstract.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/redundantModalityModifier/redundantAbstract.kt.after @@ -1,4 +1,6 @@ // "Remove redundant 'abstract' modifier" "true" interface A { fun foo() -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.k2.codeinsight.inspections.diagnosticBased.RedundantModalityModifierInspection +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/redundantModalityModifier/simple.kt b/plugins/kotlin/idea/tests/testData/quickfix/redundantModalityModifier/simple.kt index a096b56d8321..9e392c8059fe 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/redundantModalityModifier/simple.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/redundantModalityModifier/simple.kt @@ -1,4 +1,6 @@ // "Remove redundant 'final' modifier" "true" open class C { final fun foo(){} -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.k2.codeinsight.inspections.diagnosticBased.RedundantModalityModifierInspection +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/redundantModalityModifier/simple.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/redundantModalityModifier/simple.kt.after index d3dcb6b00b24..0960e0f91228 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/redundantModalityModifier/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/redundantModalityModifier/simple.kt.after @@ -1,4 +1,6 @@ // "Remove redundant 'final' modifier" "true" open class C { fun foo(){} -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.k2.codeinsight.inspections.diagnosticBased.RedundantModalityModifierInspection +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/redundantSuspend/inline.kt b/plugins/kotlin/idea/tests/testData/quickfix/redundantSuspend/inline.kt index 5788a075bb76..3eb609cc052c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/redundantSuspend/inline.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/redundantSuspend/inline.kt @@ -1,3 +1,4 @@ // "Remove 'suspend' modifier" "true" -suspend inline fun foo(c: suspend () -> Unit) {} \ No newline at end of file +suspend inline fun foo(c: suspend () -> Unit) {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/redundantSuspend/inline.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/redundantSuspend/inline.kt.after index 4ef5a1e858fa..49298340cdf1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/redundantSuspend/inline.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/redundantSuspend/inline.kt.after @@ -1,3 +1,4 @@ // "Remove 'suspend' modifier" "true" -suspend inline fun foo(c: () -> Unit) {} \ No newline at end of file +suspend inline fun foo(c: () -> Unit) {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/redundantVisibilityModifier/getter.kt b/plugins/kotlin/idea/tests/testData/quickfix/redundantVisibilityModifier/getter.kt index 9c43a51661c5..684a3eb59bae 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/redundantVisibilityModifier/getter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/redundantVisibilityModifier/getter.kt @@ -1,2 +1,3 @@ // "Remove redundant 'public' modifier" "true" -val a public get() = 0 \ No newline at end of file +val a public get() = 0 +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/redundantVisibilityModifier/getter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/redundantVisibilityModifier/getter.kt.after index 4afc5d99aa57..3246612a2b7f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/redundantVisibilityModifier/getter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/redundantVisibilityModifier/getter.kt.after @@ -1,2 +1,3 @@ // "Remove redundant 'public' modifier" "true" -val a get() = 0 \ No newline at end of file +val a get() = 0 +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/redundantVisibilityModifier/simple.kt b/plugins/kotlin/idea/tests/testData/quickfix/redundantVisibilityModifier/simple.kt index c2d3c8cfe9ac..697790d767a5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/redundantVisibilityModifier/simple.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/redundantVisibilityModifier/simple.kt @@ -1,3 +1,5 @@ // "Remove redundant 'public' modifier" "true" public class C { } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/redundantVisibilityModifier/simple.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/redundantVisibilityModifier/simple.kt.after index fa8378a87d21..962851eef95e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/redundantVisibilityModifier/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/redundantVisibilityModifier/simple.kt.after @@ -1,3 +1,5 @@ // "Remove redundant 'public' modifier" "true" class C { } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/forbiddenRetentionSource.kt b/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/forbiddenRetentionSource.kt index 52ed2268e6bd..387b365ff374 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/forbiddenRetentionSource.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/forbiddenRetentionSource.kt @@ -1,4 +1,6 @@ // "Remove forbidden opt-in annotation retention" "true" @RequiresOptIn @Retention(AnnotationRetention.SOURCE) -annotation class SomeAnnotation \ No newline at end of file +annotation class SomeAnnotation +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.RemoveAnnotationFix +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.RemoveAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/forbiddenRetentionSource.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/forbiddenRetentionSource.kt.after index 32d081f28baf..a11b2733ee12 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/forbiddenRetentionSource.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/forbiddenRetentionSource.kt.after @@ -1,3 +1,5 @@ // "Remove forbidden opt-in annotation retention" "true" @RequiresOptIn -annotation class SomeAnnotation \ No newline at end of file +annotation class SomeAnnotation +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.RemoveAnnotationFix +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.RemoveAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/jvmField.kt b/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/jvmField.kt index 5d6ee332ff2f..8bf37da1206b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/jvmField.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/jvmField.kt @@ -3,4 +3,5 @@ // WITH_STDLIB class Foo { @JvmField private val bar = 0 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.RemoveAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/jvmField.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/jvmField.kt.after index 4cb2d8cd3e92..51e4a62df8b0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/jvmField.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/jvmField.kt.after @@ -3,4 +3,5 @@ // WITH_STDLIB class Foo { private val bar = 0 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.RemoveAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/jvmFieldOnOverridingProperty.kt b/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/jvmFieldOnOverridingProperty.kt index 726e6ef68f4d..f61a6af287ac 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/jvmFieldOnOverridingProperty.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/jvmFieldOnOverridingProperty.kt @@ -5,4 +5,5 @@ interface I { val x: Int } -class C1 : I { @JvmField override val x: Int = 1 } \ No newline at end of file +class C1 : I { @JvmField override val x: Int = 1 } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.RemoveAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/jvmFieldOnOverridingProperty.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/jvmFieldOnOverridingProperty.kt.after index 3aff35f857cb..1b69f2f44f13 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/jvmFieldOnOverridingProperty.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/jvmFieldOnOverridingProperty.kt.after @@ -5,4 +5,5 @@ interface I { val x: Int } -class C1 : I { override val x: Int = 1 } \ No newline at end of file +class C1 : I { override val x: Int = 1 } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.RemoveAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/jvmOverloads.kt b/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/jvmOverloads.kt index cab357d36542..439e5dbbadad 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/jvmOverloads.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/jvmOverloads.kt @@ -5,3 +5,5 @@ interface T { @kotlin.jvm.JvmOverloads fun foo(s: String = "OK") } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.RemoveAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/jvmOverloads.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/jvmOverloads.kt.after index 018e0b7b7c47..5a603a9f2f92 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/jvmOverloads.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/jvmOverloads.kt.after @@ -5,3 +5,5 @@ interface T { fun foo(s: String = "OK") } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.RemoveAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/jvmOverloadsOnAnnotationClassConstructor.kt b/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/jvmOverloadsOnAnnotationClassConstructor.kt index 9d70b7152951..2ad6bd3659ca 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/jvmOverloadsOnAnnotationClassConstructor.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/jvmOverloadsOnAnnotationClassConstructor.kt @@ -2,4 +2,5 @@ // IGNORE_FIR // WITH_STDLIB -annotation class A @JvmOverloads constructor(val x: Int = 1) \ No newline at end of file +annotation class A @JvmOverloads constructor(val x: Int = 1) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.RemoveAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/jvmOverloadsOnAnnotationClassConstructor.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/jvmOverloadsOnAnnotationClassConstructor.kt.after index 7fee2c9ab649..55345a6c4229 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/jvmOverloadsOnAnnotationClassConstructor.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/jvmOverloadsOnAnnotationClassConstructor.kt.after @@ -2,4 +2,5 @@ // IGNORE_FIR // WITH_STDLIB -annotation class A constructor(val x: Int = 1) \ No newline at end of file +annotation class A constructor(val x: Int = 1) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.RemoveAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/optInWithoutArguments.kt b/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/optInWithoutArguments.kt index 1c6f42c6a77e..376bf7596d4a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/optInWithoutArguments.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/optInWithoutArguments.kt @@ -2,3 +2,6 @@ @OptIn fun f1() {} + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.RemoveAnnotationFix +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.RemoveAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/optInWithoutArguments.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/optInWithoutArguments.kt.after index bcafced498d0..c07bbcef4ec5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/optInWithoutArguments.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/optInWithoutArguments.kt.after @@ -1,3 +1,6 @@ // "Remove annotation" "true" fun f1() {} + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.RemoveAnnotationFix +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.RemoveAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/useSiteGetDoesntHaveAnyEffect.kt b/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/useSiteGetDoesntHaveAnyEffect.kt index 10bbe28920b6..586ce408c0b9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/useSiteGetDoesntHaveAnyEffect.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/useSiteGetDoesntHaveAnyEffect.kt @@ -4,3 +4,6 @@ class Foo { private val bar = 0 @get:Deprecated("", level = DeprecationLevel.ERROR) get } + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.RemoveAnnotationFix +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.RemoveAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/useSiteGetDoesntHaveAnyEffect.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/useSiteGetDoesntHaveAnyEffect.kt.after index 8a971e296746..b6d6e4596421 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/useSiteGetDoesntHaveAnyEffect.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/useSiteGetDoesntHaveAnyEffect.kt.after @@ -4,3 +4,6 @@ class Foo { private val bar = 0 get } + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.RemoveAnnotationFix +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.RemoveAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/wrongExtenstionFunctionType.kt b/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/wrongExtenstionFunctionType.kt index 13bad10363a3..b95b4ad263fe 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/wrongExtenstionFunctionType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/wrongExtenstionFunctionType.kt @@ -2,3 +2,5 @@ // IGNORE_FIR // WITH_STDLIB fun bar(f: @ExtensionFunctionType () -> Int): Int = TODO() + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.RemoveAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/wrongExtenstionFunctionType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/wrongExtenstionFunctionType.kt.after index 78a256228162..89192ce6736b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/wrongExtenstionFunctionType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/wrongExtenstionFunctionType.kt.after @@ -2,3 +2,5 @@ // IGNORE_FIR // WITH_STDLIB fun bar(f: () -> Int): Int = TODO() + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.RemoveAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/wrongExtenstionFunctionTypeWarning.kt b/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/wrongExtenstionFunctionTypeWarning.kt index cff81183b820..bfcedcaaf911 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/wrongExtenstionFunctionTypeWarning.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/wrongExtenstionFunctionTypeWarning.kt @@ -1,4 +1,5 @@ // "Remove inapplicable @ExtensionFunctionType annotation" "true" // IGNORE_FIR // WITH_STDLIB -fun bar(f: @ExtensionFunctionType Int): Int = TODO() \ No newline at end of file +fun bar(f: @ExtensionFunctionType Int): Int = TODO() +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.RemoveAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/wrongExtenstionFunctionTypeWarning.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/wrongExtenstionFunctionTypeWarning.kt.after index 02ba9e1e2c61..ba487e7d07ac 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/wrongExtenstionFunctionTypeWarning.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeAnnotation/wrongExtenstionFunctionTypeWarning.kt.after @@ -1,4 +1,5 @@ // "Remove inapplicable @ExtensionFunctionType annotation" "true" // IGNORE_FIR // WITH_STDLIB -fun bar(f: Int): Int = TODO() \ No newline at end of file +fun bar(f: Int): Int = TODO() +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.RemoveAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeArgument/constructor.kt b/plugins/kotlin/idea/tests/testData/quickfix/removeArgument/constructor.kt index 6d93c104feb6..bc1238c9c90a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeArgument/constructor.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeArgument/constructor.kt @@ -7,4 +7,5 @@ class Bar(s: String, i: Int) { fun main() { val b = Bar("2", 1, "2") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveArgumentFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeArgument/constructor.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/removeArgument/constructor.kt.after index f39bc56e554f..3eb8856fec82 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeArgument/constructor.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeArgument/constructor.kt.after @@ -7,4 +7,5 @@ class Bar(s: String, i: Int) { fun main() { val b = Bar("2", 1) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveArgumentFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeArgument/function.kt b/plugins/kotlin/idea/tests/testData/quickfix/removeArgument/function.kt index 41179717fdeb..c41d27e84449 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeArgument/function.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeArgument/function.kt @@ -7,4 +7,5 @@ class Bar(s: String, i: Int) { fun main() { val b = Bar("2", 1) b.foo("a", 1) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveArgumentFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeArgument/function.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/removeArgument/function.kt.after index e6b9f21a7a16..ede1d82bdeb0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeArgument/function.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeArgument/function.kt.after @@ -7,4 +7,5 @@ class Bar(s: String, i: Int) { fun main() { val b = Bar("2", 1) b.foo("a") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveArgumentFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeArgument/lambdaArgument.kt b/plugins/kotlin/idea/tests/testData/quickfix/removeArgument/lambdaArgument.kt index da234e708dfd..61d2c448e4e4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeArgument/lambdaArgument.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeArgument/lambdaArgument.kt @@ -7,4 +7,5 @@ class Bar(s: String, i: Int) { fun main() { val b = Bar("2", 1) b.foo("a") {} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveArgumentFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeArgument/lambdaArgument.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/removeArgument/lambdaArgument.kt.after index 853e2ea3504e..61058f01020a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeArgument/lambdaArgument.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeArgument/lambdaArgument.kt.after @@ -7,4 +7,5 @@ class Bar(s: String, i: Int) { fun main() { val b = Bar("2", 1) b.foo("a") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveArgumentFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeAtFromAnnotationArgument/arrayParam.kt b/plugins/kotlin/idea/tests/testData/quickfix/removeAtFromAnnotationArgument/arrayParam.kt index 47937d082ef7..96839cc07993 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeAtFromAnnotationArgument/arrayParam.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeAtFromAnnotationArgument/arrayParam.kt @@ -6,4 +6,5 @@ annotation class X(val value: Array) @X(arrayOf(Y(), @Y())) fun foo() { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveAtFromAnnotationArgument \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeAtFromAnnotationArgument/arrayParam.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/removeAtFromAnnotationArgument/arrayParam.kt.after index aeffb0e6f53e..613ddb18ef70 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeAtFromAnnotationArgument/arrayParam.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeAtFromAnnotationArgument/arrayParam.kt.after @@ -6,4 +6,5 @@ annotation class X(val value: Array) @X(arrayOf(Y(), Y())) fun foo() { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveAtFromAnnotationArgument \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeAtFromAnnotationArgument/brokenCode.kt b/plugins/kotlin/idea/tests/testData/quickfix/removeAtFromAnnotationArgument/brokenCode.kt index bdd2a26b4c2e..3aaf8e0365e8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeAtFromAnnotationArgument/brokenCode.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeAtFromAnnotationArgument/brokenCode.kt @@ -1,4 +1,5 @@ // "Remove @ from annotation argument" "true" // DISABLE-ERRORS @Suppress({ @x -y() }) fun test() {} \ No newline at end of file +y() }) fun test() {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveAtFromAnnotationArgument \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeAtFromAnnotationArgument/brokenCode.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/removeAtFromAnnotationArgument/brokenCode.kt.after index be53f31da9f2..f813d9a2b18e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeAtFromAnnotationArgument/brokenCode.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeAtFromAnnotationArgument/brokenCode.kt.after @@ -1,4 +1,5 @@ // "Remove @ from annotation argument" "true" // DISABLE-ERRORS @Suppress({ x -y() }) fun test() {} \ No newline at end of file +y() }) fun test() {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveAtFromAnnotationArgument \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeAtFromAnnotationArgument/namedParam.kt b/plugins/kotlin/idea/tests/testData/quickfix/removeAtFromAnnotationArgument/namedParam.kt index f8badd71e9aa..d5e6ad368420 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeAtFromAnnotationArgument/namedParam.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeAtFromAnnotationArgument/namedParam.kt @@ -6,4 +6,5 @@ annotation class X(val value: Y, val y: Y) @X(Y(), y = @Y()) fun foo() { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveAtFromAnnotationArgument \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeAtFromAnnotationArgument/namedParam.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/removeAtFromAnnotationArgument/namedParam.kt.after index bdeededcc0ec..7bef552dfad3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeAtFromAnnotationArgument/namedParam.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeAtFromAnnotationArgument/namedParam.kt.after @@ -6,4 +6,5 @@ annotation class X(val value: Y, val y: Y) @X(Y(), y = Y()) fun foo() { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveAtFromAnnotationArgument \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeAtFromAnnotationArgument/simple.kt b/plugins/kotlin/idea/tests/testData/quickfix/removeAtFromAnnotationArgument/simple.kt index c11d0a133e2f..4b26182284c7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeAtFromAnnotationArgument/simple.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeAtFromAnnotationArgument/simple.kt @@ -5,4 +5,5 @@ annotation class X(val value: Y) @X(@Y()) fun foo() { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveAtFromAnnotationArgument \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeAtFromAnnotationArgument/simple.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/removeAtFromAnnotationArgument/simple.kt.after index 73d3b32bb99e..e9cba6399b9d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeAtFromAnnotationArgument/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeAtFromAnnotationArgument/simple.kt.after @@ -5,4 +5,5 @@ annotation class X(val value: Y) @X(Y()) fun foo() { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveAtFromAnnotationArgument \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeDefaultParameterValue/actualFunctionWithDefaultArguments.kt b/plugins/kotlin/idea/tests/testData/quickfix/removeDefaultParameterValue/actualFunctionWithDefaultArguments.kt index a9f5ed6bb6fb..f958070dba87 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeDefaultParameterValue/actualFunctionWithDefaultArguments.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeDefaultParameterValue/actualFunctionWithDefaultArguments.kt @@ -10,4 +10,5 @@ expect class Bar : Foo { actual class Bar : Foo { actual override fun test(x: Int, y: Int = 1) {} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveDefaultParameterValueFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeDefaultParameterValue/actualFunctionWithDefaultArguments.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/removeDefaultParameterValue/actualFunctionWithDefaultArguments.kt.after index 666e15df9c2d..582c0263e6c9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeDefaultParameterValue/actualFunctionWithDefaultArguments.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeDefaultParameterValue/actualFunctionWithDefaultArguments.kt.after @@ -10,4 +10,5 @@ expect class Bar : Foo { actual class Bar : Foo { actual override fun test(x: Int, y: Int) {} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveDefaultParameterValueFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeDefaultParameterValue/defaultValueNotAllowedInOverride.kt b/plugins/kotlin/idea/tests/testData/quickfix/removeDefaultParameterValue/defaultValueNotAllowedInOverride.kt index f2dd18e655eb..845fd109c1cf 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeDefaultParameterValue/defaultValueNotAllowedInOverride.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeDefaultParameterValue/defaultValueNotAllowedInOverride.kt @@ -5,4 +5,5 @@ open class A { class B : A() { override fun foo(x : Int = 1, y: Int) {} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveDefaultParameterValueFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeDefaultParameterValue/defaultValueNotAllowedInOverride.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/removeDefaultParameterValue/defaultValueNotAllowedInOverride.kt.after index 061f7a24bb4d..92b989a24427 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeDefaultParameterValue/defaultValueNotAllowedInOverride.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeDefaultParameterValue/defaultValueNotAllowedInOverride.kt.after @@ -5,4 +5,5 @@ open class A { class B : A() { override fun foo(x : Int, y: Int) {} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveDefaultParameterValueFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeDefaultParameterValue/hasComment.kt b/plugins/kotlin/idea/tests/testData/quickfix/removeDefaultParameterValue/hasComment.kt index 2b64c4a6a985..372ce577df32 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeDefaultParameterValue/hasComment.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeDefaultParameterValue/hasComment.kt @@ -5,4 +5,5 @@ open class A { class B : A() { override fun foo(x : Int /* comment1 */ = /* comment2 */ 1, y: Int) {} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveDefaultParameterValueFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeDefaultParameterValue/hasComment.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/removeDefaultParameterValue/hasComment.kt.after index e9b206705618..a6cc5ff6b95e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeDefaultParameterValue/hasComment.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeDefaultParameterValue/hasComment.kt.after @@ -5,4 +5,5 @@ open class A { class B : A() { override fun foo(x : Int /* comment1 */ /* comment2 */, y: Int) {} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveDefaultParameterValueFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeFinalUpperBound/basic.kt b/plugins/kotlin/idea/tests/testData/quickfix/removeFinalUpperBound/basic.kt index 03366b7d6e9c..182c5376224c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeFinalUpperBound/basic.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeFinalUpperBound/basic.kt @@ -1,3 +1,4 @@ // "Remove final upper bound" "true" -data class DC>(val x: T, val y: String) \ No newline at end of file +data class DC>(val x: T, val y: String) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveFinalUpperBoundFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeFinalUpperBound/basic.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/removeFinalUpperBound/basic.kt.after index ea83bcfdacc8..6b21bf71012c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeFinalUpperBound/basic.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeFinalUpperBound/basic.kt.after @@ -1,3 +1,4 @@ // "Remove final upper bound" "true" -data class DC(val x: T, val y: String) \ No newline at end of file +data class DC(val x: T, val y: String) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveFinalUpperBoundFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeFinalUpperBound/function.kt b/plugins/kotlin/idea/tests/testData/quickfix/removeFinalUpperBound/function.kt index eec8715e9737..f93ff64fbe99 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeFinalUpperBound/function.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeFinalUpperBound/function.kt @@ -4,4 +4,5 @@ data class DC(val x: Int, val y: String) { fun > foo(b: S) { val a: S = b } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveFinalUpperBoundFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeFinalUpperBound/function.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/removeFinalUpperBound/function.kt.after index 16ca2752f610..40c5220bde5d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeFinalUpperBound/function.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeFinalUpperBound/function.kt.after @@ -4,4 +4,5 @@ data class DC(val x: Int, val y: String) { fun foo(b: S) { val a: S = b } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveFinalUpperBoundFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeNoConstructor/basic.kt b/plugins/kotlin/idea/tests/testData/quickfix/removeNoConstructor/basic.kt index f59c22a5a041..f8b3655f7909 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeNoConstructor/basic.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeNoConstructor/basic.kt @@ -1,4 +1,5 @@ // "Remove constructor call" "true" interface Base -class Derived : Base() \ No newline at end of file +class Derived : Base() +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveNoConstructorFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeNoConstructor/basic.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/removeNoConstructor/basic.kt.after index 8d01f2be43fe..aa5a0bda16a1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeNoConstructor/basic.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeNoConstructor/basic.kt.after @@ -1,4 +1,5 @@ // "Remove constructor call" "true" interface Base -class Derived : Base \ No newline at end of file +class Derived : Base +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveNoConstructorFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeNoConstructor/functionType.kt b/plugins/kotlin/idea/tests/testData/quickfix/removeNoConstructor/functionType.kt index 3af8778e0eb1..dc6649c08c05 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeNoConstructor/functionType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeNoConstructor/functionType.kt @@ -1,3 +1,4 @@ // "Remove constructor call" "true" -abstract class A : () -> Int() \ No newline at end of file +abstract class A : () -> Int() +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveNoConstructorFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeNoConstructor/functionType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/removeNoConstructor/functionType.kt.after index 91eeb82f99fb..ac264a6ee5c0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeNoConstructor/functionType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeNoConstructor/functionType.kt.after @@ -1,3 +1,4 @@ // "Remove constructor call" "true" -abstract class A : () -> Int \ No newline at end of file +abstract class A : () -> Int +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveNoConstructorFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeNoConstructor/functionType2.kt b/plugins/kotlin/idea/tests/testData/quickfix/removeNoConstructor/functionType2.kt index 2ab27b807458..8dbcb4b9703b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeNoConstructor/functionType2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeNoConstructor/functionType2.kt @@ -1,3 +1,4 @@ // "Remove constructor call" "true" -abstract class B : (() -> Int)() \ No newline at end of file +abstract class B : (() -> Int)() +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveNoConstructorFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeNoConstructor/functionType2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/removeNoConstructor/functionType2.kt.after index 0928c0589bd7..3425d8f22e87 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeNoConstructor/functionType2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeNoConstructor/functionType2.kt.after @@ -1,3 +1,4 @@ // "Remove constructor call" "true" -abstract class B : (() -> Int) \ No newline at end of file +abstract class B : (() -> Int) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveNoConstructorFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeNoConstructor/suspend.kt b/plugins/kotlin/idea/tests/testData/quickfix/removeNoConstructor/suspend.kt index ca0b19d6fc06..0de47122b520 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeNoConstructor/suspend.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeNoConstructor/suspend.kt @@ -1,3 +1,4 @@ // "Remove constructor call" "true" -abstract class D : suspend () -> Int() \ No newline at end of file +abstract class D : suspend () -> Int() +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveNoConstructorFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeNoConstructor/suspend.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/removeNoConstructor/suspend.kt.after index 4029517f3a6c..3dd68f8c170d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeNoConstructor/suspend.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeNoConstructor/suspend.kt.after @@ -1,3 +1,4 @@ // "Remove constructor call" "true" -abstract class D : suspend () -> Int \ No newline at end of file +abstract class D : suspend () -> Int +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveNoConstructorFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeRedundantAssignment/constant.kt b/plugins/kotlin/idea/tests/testData/quickfix/removeRedundantAssignment/constant.kt index 34b2c270ceeb..5e1029433e91 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeRedundantAssignment/constant.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeRedundantAssignment/constant.kt @@ -2,4 +2,5 @@ fun test() { var i: Int i = 1 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUnusedValueFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeRedundantAssignment/constant.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/removeRedundantAssignment/constant.kt.after index a80df9f2fc14..a573270ae0d0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeRedundantAssignment/constant.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeRedundantAssignment/constant.kt.after @@ -1,4 +1,5 @@ // "Remove redundant assignment" "true" fun test() { var i: Int -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUnusedValueFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeRedundantAssignment/functionCall.kt b/plugins/kotlin/idea/tests/testData/quickfix/removeRedundantAssignment/functionCall.kt index b910d9ea739e..087926055882 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeRedundantAssignment/functionCall.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeRedundantAssignment/functionCall.kt @@ -4,4 +4,5 @@ fun foo() = 1 fun test() { var i: Int i = foo() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUnusedValueFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeRedundantAssignment/functionCall.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/removeRedundantAssignment/functionCall.kt.after index d0569f2238d4..9457ee8c8d45 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeRedundantAssignment/functionCall.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeRedundantAssignment/functionCall.kt.after @@ -4,4 +4,5 @@ fun foo() = 1 fun test() { var i: Int foo() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUnusedValueFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeRedundantAssignment/simpleRef.kt b/plugins/kotlin/idea/tests/testData/quickfix/removeRedundantAssignment/simpleRef.kt index 768f372907e6..7ecf80de7d65 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeRedundantAssignment/simpleRef.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeRedundantAssignment/simpleRef.kt @@ -2,4 +2,5 @@ fun test(n: Int) { var i: Int i = n -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUnusedValueFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeRedundantAssignment/simpleRef.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/removeRedundantAssignment/simpleRef.kt.after index 09dddfe020d3..d0ec9668935b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeRedundantAssignment/simpleRef.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeRedundantAssignment/simpleRef.kt.after @@ -1,4 +1,5 @@ // "Remove redundant assignment" "true" fun test(n: Int) { var i: Int -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUnusedValueFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeRedundantInitializer/brokenFile.kt b/plugins/kotlin/idea/tests/testData/quickfix/removeRedundantInitializer/brokenFile.kt index d8ea4ced549f..17b59f08b150 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeRedundantInitializer/brokenFile.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeRedundantInitializer/brokenFile.kt @@ -8,4 +8,5 @@ class KTest { if (urlMapping == null) return "" var urlPattern = urlMapping.substring(123) urlPattern = abc - urlPattern = abc(urlPattern, 1) \ No newline at end of file + urlPattern = abc(urlPattern, 1) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveRedundantInitializerFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeRedundantInitializer/brokenFile.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/removeRedundantInitializer/brokenFile.kt.after index 406436cc567b..55542c74c89d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeRedundantInitializer/brokenFile.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeRedundantInitializer/brokenFile.kt.after @@ -8,4 +8,5 @@ class KTest { if (urlMapping == null) return "" var urlPattern: String urlPattern = abc - urlPattern = abc(urlPattern, 1) \ No newline at end of file + urlPattern = abc(urlPattern, 1) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveRedundantInitializerFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeRedundantInitializer/simple.kt b/plugins/kotlin/idea/tests/testData/quickfix/removeRedundantInitializer/simple.kt index b2dad67c3024..632605444f2d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeRedundantInitializer/simple.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeRedundantInitializer/simple.kt @@ -4,4 +4,5 @@ fun foo() { var bar = 1 bar = 42 println(bar) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveRedundantInitializerFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeRedundantInitializer/simple.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/removeRedundantInitializer/simple.kt.after index c09d481f50e4..40ffd39d7a11 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeRedundantInitializer/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeRedundantInitializer/simple.kt.after @@ -4,4 +4,5 @@ fun foo() { var bar: Int bar = 42 println(bar) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveRedundantInitializerFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeRedundantLabel/simple.kt b/plugins/kotlin/idea/tests/testData/quickfix/removeRedundantLabel/simple.kt index b7e98d531f4e..04f35dafc486 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeRedundantLabel/simple.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeRedundantLabel/simple.kt @@ -3,4 +3,5 @@ fun foo() { L1@ val x = L2@ bar() } -fun bar() {} \ No newline at end of file +fun bar() {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveRedundantLabelFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeRedundantLabel/simple.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/removeRedundantLabel/simple.kt.after index d07273109280..f2d9f70bea78 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeRedundantLabel/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeRedundantLabel/simple.kt.after @@ -3,4 +3,5 @@ fun foo() { val x = L2@ bar() } -fun bar() {} \ No newline at end of file +fun bar() {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveRedundantLabelFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeRedundantLabel/simple2.kt b/plugins/kotlin/idea/tests/testData/quickfix/removeRedundantLabel/simple2.kt index a2ad86c81dc0..8c2031fbb80f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeRedundantLabel/simple2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeRedundantLabel/simple2.kt @@ -3,4 +3,5 @@ fun foo() { L1@ val x = L2@ bar() } -fun bar() {} \ No newline at end of file +fun bar() {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveRedundantLabelFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeRedundantLabel/simple2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/removeRedundantLabel/simple2.kt.after index fb490244f07a..02a32bb8057d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeRedundantLabel/simple2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeRedundantLabel/simple2.kt.after @@ -3,4 +3,5 @@ fun foo() { L1@ val x = bar() } -fun bar() {} \ No newline at end of file +fun bar() {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveRedundantLabelFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeRedundantSpreadOperator/simple.kt b/plugins/kotlin/idea/tests/testData/quickfix/removeRedundantSpreadOperator/simple.kt index 5bef7dfcf3a0..39cc2d2cd3e6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeRedundantSpreadOperator/simple.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeRedundantSpreadOperator/simple.kt @@ -5,4 +5,6 @@ fun takeVararg(vararg s: String) {} fun test(strings: Array) { takeVararg(s = *strings) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveRedundantSpreadOperatorFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveRedundantSpreadOperatorFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeRedundantSpreadOperator/simple.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/removeRedundantSpreadOperator/simple.kt.after index c4a6d1452cd4..4656220d140e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeRedundantSpreadOperator/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeRedundantSpreadOperator/simple.kt.after @@ -5,4 +5,6 @@ fun takeVararg(vararg s: String) {} fun test(strings: Array) { takeVararg(s = strings) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveRedundantSpreadOperatorFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveRedundantSpreadOperatorFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeSingleLambdaParameter/inIf2.kt b/plugins/kotlin/idea/tests/testData/quickfix/removeSingleLambdaParameter/inIf2.kt index 48080665a411..22e6a9144816 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeSingleLambdaParameter/inIf2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeSingleLambdaParameter/inIf2.kt @@ -2,4 +2,5 @@ fun test(i: Int) { val p: (String) -> Boolean = if (i == 1) { { s -> true } } else { s -> false } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveSingleLambdaParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeSingleLambdaParameter/inIf2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/removeSingleLambdaParameter/inIf2.kt.after index be3c978627b4..1860c0ab4195 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeSingleLambdaParameter/inIf2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeSingleLambdaParameter/inIf2.kt.after @@ -2,4 +2,5 @@ fun test(i: Int) { val p: (String) -> Boolean = if (i == 1) { { true } } else { s -> false } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveSingleLambdaParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeSingleLambdaParameter/inWhen2.kt b/plugins/kotlin/idea/tests/testData/quickfix/removeSingleLambdaParameter/inWhen2.kt index 6b564bdc7338..0533e77fa063 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeSingleLambdaParameter/inWhen2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeSingleLambdaParameter/inWhen2.kt @@ -5,4 +5,5 @@ fun test(i: Int) { 1 -> { { s -> true } } else -> { s -> false } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveSingleLambdaParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeSingleLambdaParameter/inWhen2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/removeSingleLambdaParameter/inWhen2.kt.after index 2b595e0b57a1..8d9e357265eb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeSingleLambdaParameter/inWhen2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeSingleLambdaParameter/inWhen2.kt.after @@ -5,4 +5,5 @@ fun test(i: Int) { 1 -> { { true } } else -> { s -> false } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveSingleLambdaParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeSingleLambdaParameter/propertyWithExplicitType.kt b/plugins/kotlin/idea/tests/testData/quickfix/removeSingleLambdaParameter/propertyWithExplicitType.kt index 4b6e35e7a9e5..4f989bcc5428 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeSingleLambdaParameter/propertyWithExplicitType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeSingleLambdaParameter/propertyWithExplicitType.kt @@ -6,3 +6,5 @@ fun test() { fun foo() {} fun bar(f: (Int) -> Unit) {} + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveSingleLambdaParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeSingleLambdaParameter/propertyWithExplicitType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/removeSingleLambdaParameter/propertyWithExplicitType.kt.after index 1cbd914c06c6..30710ae147c9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeSingleLambdaParameter/propertyWithExplicitType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeSingleLambdaParameter/propertyWithExplicitType.kt.after @@ -6,3 +6,5 @@ fun test() { fun foo() {} fun bar(f: (Int) -> Unit) {} + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveSingleLambdaParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeSingleLambdaParameter/simple.kt b/plugins/kotlin/idea/tests/testData/quickfix/removeSingleLambdaParameter/simple.kt index 5760016c788c..dcb001f5dfd9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeSingleLambdaParameter/simple.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeSingleLambdaParameter/simple.kt @@ -3,4 +3,5 @@ fun main() { listOf(1).forEach { x -> println() } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveSingleLambdaParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeSingleLambdaParameter/simple.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/removeSingleLambdaParameter/simple.kt.after index b3326d492359..02d7d8a6752e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeSingleLambdaParameter/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeSingleLambdaParameter/simple.kt.after @@ -3,4 +3,5 @@ fun main() { listOf(1).forEach { println() } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveSingleLambdaParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeSuspend/fakeOverride.kt b/plugins/kotlin/idea/tests/testData/quickfix/removeSuspend/fakeOverride.kt index 8064b7fdcb1d..26a87e1357c1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeSuspend/fakeOverride.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeSuspend/fakeOverride.kt @@ -43,4 +43,5 @@ open class C1 : B() { override fun foo(n: Int) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeSuspendInHierarchyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeSuspend/fakeOverride.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/removeSuspend/fakeOverride.kt.after index 7d399cc77c44..9319e9358bdf 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeSuspend/fakeOverride.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeSuspend/fakeOverride.kt.after @@ -43,4 +43,5 @@ open class C1 : B() { override fun foo(n: Int) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeSuspendInHierarchyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeSuspend/fakeOverride2.kt b/plugins/kotlin/idea/tests/testData/quickfix/removeSuspend/fakeOverride2.kt index d77961091b58..5052bfc37376 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeSuspend/fakeOverride2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeSuspend/fakeOverride2.kt @@ -43,4 +43,5 @@ open class C1 : B() { override fun foo(n: Int) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeSuspendInHierarchyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeSuspend/fakeOverride2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/removeSuspend/fakeOverride2.kt.after index 7d399cc77c44..9319e9358bdf 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeSuspend/fakeOverride2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeSuspend/fakeOverride2.kt.after @@ -43,4 +43,5 @@ open class C1 : B() { override fun foo(n: Int) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeSuspendInHierarchyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeSuspend/middleClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/removeSuspend/middleClass.kt index 0635f4310de3..1df119c53aba 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeSuspend/middleClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeSuspend/middleClass.kt @@ -47,4 +47,5 @@ open class C1 : B() { override fun foo(n: Int) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeSuspendInHierarchyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeSuspend/middleClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/removeSuspend/middleClass.kt.after index 47d0e0cee4a1..70d78162ae49 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeSuspend/middleClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeSuspend/middleClass.kt.after @@ -47,4 +47,5 @@ open class C1 : B() { override fun foo(n: Int) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeSuspendInHierarchyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeSuspend/middleClass2.kt b/plugins/kotlin/idea/tests/testData/quickfix/removeSuspend/middleClass2.kt index 801b9f5dd4dc..4b02b6f613b8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeSuspend/middleClass2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeSuspend/middleClass2.kt @@ -47,4 +47,5 @@ open class C1 : B() { override fun foo(n: Int) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeSuspendInHierarchyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeSuspend/middleClass2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/removeSuspend/middleClass2.kt.after index 47d0e0cee4a1..70d78162ae49 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeSuspend/middleClass2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeSuspend/middleClass2.kt.after @@ -47,4 +47,5 @@ open class C1 : B() { override fun foo(n: Int) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeSuspendInHierarchyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeSuspend/nonOverridden.kt b/plugins/kotlin/idea/tests/testData/quickfix/removeSuspend/nonOverridden.kt index e87173cddc3f..0d062ff03731 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeSuspend/nonOverridden.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeSuspend/nonOverridden.kt @@ -47,4 +47,5 @@ open class C1 : B() { override fun foo(n: Int) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeSuspendInHierarchyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeSuspend/nonOverridden.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/removeSuspend/nonOverridden.kt.after index 47d0e0cee4a1..70d78162ae49 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeSuspend/nonOverridden.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeSuspend/nonOverridden.kt.after @@ -47,4 +47,5 @@ open class C1 : B() { override fun foo(n: Int) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeSuspendInHierarchyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeSuspend/nonOverridden2.kt b/plugins/kotlin/idea/tests/testData/quickfix/removeSuspend/nonOverridden2.kt index 4c285785e1c0..e31a5293b461 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeSuspend/nonOverridden2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeSuspend/nonOverridden2.kt @@ -47,4 +47,5 @@ open class C1 : B() { override fun foo(n: Int) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeSuspendInHierarchyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeSuspend/nonOverridden2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/removeSuspend/nonOverridden2.kt.after index 47d0e0cee4a1..70d78162ae49 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeSuspend/nonOverridden2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeSuspend/nonOverridden2.kt.after @@ -47,4 +47,5 @@ open class C1 : B() { override fun foo(n: Int) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeSuspendInHierarchyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeToStringInStringTemplate/call.kt b/plugins/kotlin/idea/tests/testData/quickfix/removeToStringInStringTemplate/call.kt index 7dc81084b230..ffd50eaa7f9a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeToStringInStringTemplate/call.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeToStringInStringTemplate/call.kt @@ -2,4 +2,6 @@ operator fun Any.invoke() = this -fun foo(arg: Any) = "${arg().toString()}" \ No newline at end of file +fun foo(arg: Any) = "${arg().toString()}" +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.k2.codeinsight.inspections.RemoveToStringInStringTemplateInspection +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.RemoveToStringFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeToStringInStringTemplate/call.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/removeToStringInStringTemplate/call.kt.after index a0dbd5b8cc95..1eed27ebcf0c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeToStringInStringTemplate/call.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeToStringInStringTemplate/call.kt.after @@ -2,4 +2,6 @@ operator fun Any.invoke() = this -fun foo(arg: Any) = "${arg()}" \ No newline at end of file +fun foo(arg: Any) = "${arg()}" +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.k2.codeinsight.inspections.RemoveToStringInStringTemplateInspection +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.RemoveToStringFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeToStringInStringTemplate/name.kt b/plugins/kotlin/idea/tests/testData/quickfix/removeToStringInStringTemplate/name.kt index aa183ef8e694..2959825a94de 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeToStringInStringTemplate/name.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeToStringInStringTemplate/name.kt @@ -1,3 +1,5 @@ // "Remove 'toString()' call" "true" -fun foo(arg: Any) = "arg = ${arg.toString()}" \ No newline at end of file +fun foo(arg: Any) = "arg = ${arg.toString()}" +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.k2.codeinsight.inspections.RemoveToStringInStringTemplateInspection +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.RemoveToStringFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeToStringInStringTemplate/name.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/removeToStringInStringTemplate/name.kt.after index b56d6d262fef..a5b8903ec5f8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeToStringInStringTemplate/name.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeToStringInStringTemplate/name.kt.after @@ -1,3 +1,5 @@ // "Remove 'toString()' call" "true" -fun foo(arg: Any) = "arg = $arg" \ No newline at end of file +fun foo(arg: Any) = "arg = $arg" +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.k2.codeinsight.inspections.RemoveToStringInStringTemplateInspection +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.RemoveToStringFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeToStringInStringTemplate/nameWithPostfix.kt b/plugins/kotlin/idea/tests/testData/quickfix/removeToStringInStringTemplate/nameWithPostfix.kt index 1bd0395e0eb7..79470310724f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeToStringInStringTemplate/nameWithPostfix.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeToStringInStringTemplate/nameWithPostfix.kt @@ -1,3 +1,5 @@ // "Remove 'toString()' call" "true" -fun foo(arg: Any) = "arg = ${arg.toString()}xy" \ No newline at end of file +fun foo(arg: Any) = "arg = ${arg.toString()}xy" +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.k2.codeinsight.inspections.RemoveToStringInStringTemplateInspection +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.RemoveToStringFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeToStringInStringTemplate/nameWithPostfix.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/removeToStringInStringTemplate/nameWithPostfix.kt.after index 5ba2b376c48b..130b3d17ef9c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeToStringInStringTemplate/nameWithPostfix.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeToStringInStringTemplate/nameWithPostfix.kt.after @@ -1,3 +1,5 @@ // "Remove 'toString()' call" "true" -fun foo(arg: Any) = "arg = ${arg}xy" \ No newline at end of file +fun foo(arg: Any) = "arg = ${arg}xy" +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.k2.codeinsight.inspections.RemoveToStringInStringTemplateInspection +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.RemoveToStringFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeToStringInStringTemplate/necessaryBrackets1.kt b/plugins/kotlin/idea/tests/testData/quickfix/removeToStringInStringTemplate/necessaryBrackets1.kt index 4724b5f36ed8..2e34c7ee4623 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeToStringInStringTemplate/necessaryBrackets1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeToStringInStringTemplate/necessaryBrackets1.kt @@ -1,4 +1,6 @@ // "Remove 'toString()' call" "true" val foo = "test" -val bar = "${foo.toString()}_" \ No newline at end of file +val bar = "${foo.toString()}_" +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.k2.codeinsight.inspections.RemoveToStringInStringTemplateInspection +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.RemoveToStringFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeToStringInStringTemplate/necessaryBrackets1.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/removeToStringInStringTemplate/necessaryBrackets1.kt.after index 0bd3e81b8431..f5a1c04c75fa 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeToStringInStringTemplate/necessaryBrackets1.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeToStringInStringTemplate/necessaryBrackets1.kt.after @@ -1,4 +1,6 @@ // "Remove 'toString()' call" "true" val foo = "test" -val bar = "${foo}_" \ No newline at end of file +val bar = "${foo}_" +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.k2.codeinsight.inspections.RemoveToStringInStringTemplateInspection +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.RemoveToStringFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeToStringInStringTemplate/necessaryBrackets2.kt b/plugins/kotlin/idea/tests/testData/quickfix/removeToStringInStringTemplate/necessaryBrackets2.kt index e250e4ae3034..d674c4bdcdc4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeToStringInStringTemplate/necessaryBrackets2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeToStringInStringTemplate/necessaryBrackets2.kt @@ -1,4 +1,6 @@ // "Remove 'toString()' call" "true" val foo = "test" -val bar = "${foo.toString()}コトリン" \ No newline at end of file +val bar = "${foo.toString()}コトリン" +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.k2.codeinsight.inspections.RemoveToStringInStringTemplateInspection +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.RemoveToStringFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeToStringInStringTemplate/necessaryBrackets2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/removeToStringInStringTemplate/necessaryBrackets2.kt.after index 532875ac3c06..f7fdd7e1079c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeToStringInStringTemplate/necessaryBrackets2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeToStringInStringTemplate/necessaryBrackets2.kt.after @@ -1,4 +1,6 @@ // "Remove 'toString()' call" "true" val foo = "test" -val bar = "${foo}コトリン" \ No newline at end of file +val bar = "${foo}コトリン" +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.k2.codeinsight.inspections.RemoveToStringInStringTemplateInspection +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.RemoveToStringFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeToStringInStringTemplate/simple.kt b/plugins/kotlin/idea/tests/testData/quickfix/removeToStringInStringTemplate/simple.kt index 9fef3cd46c10..ac44556d6d20 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeToStringInStringTemplate/simple.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeToStringInStringTemplate/simple.kt @@ -2,4 +2,6 @@ fun foo(s: String) = s -fun bar() = foo("a${"b".toString()}") \ No newline at end of file +fun bar() = foo("a${"b".toString()}") +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.k2.codeinsight.inspections.RemoveToStringInStringTemplateInspection +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.RemoveToStringFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeToStringInStringTemplate/simple.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/removeToStringInStringTemplate/simple.kt.after index f4abe7b61096..74f68deb5904 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeToStringInStringTemplate/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeToStringInStringTemplate/simple.kt.after @@ -2,4 +2,6 @@ fun foo(s: String) = s -fun bar() = foo("a${"b"}") \ No newline at end of file +fun bar() = foo("a${"b"}") +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.k2.codeinsight.inspections.RemoveToStringInStringTemplateInspection +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.RemoveToStringFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeTypeVariance/in.kt b/plugins/kotlin/idea/tests/testData/quickfix/removeTypeVariance/in.kt index 420af1a667d9..e4a46a9bc517 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeTypeVariance/in.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeTypeVariance/in.kt @@ -4,4 +4,5 @@ class Test { fun foo(t: T) {} fun bar(): T = TODO() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveTypeVarianceFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeTypeVariance/in.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/removeTypeVariance/in.kt.after index 8fc71b953d4b..0ee62d5d51f5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeTypeVariance/in.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeTypeVariance/in.kt.after @@ -4,4 +4,5 @@ class Test { fun foo(t: T) {} fun bar(): T = TODO() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveTypeVarianceFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeTypeVariance/out.kt b/plugins/kotlin/idea/tests/testData/quickfix/removeTypeVariance/out.kt index 4a045e3c4a38..9f356cc1c7cf 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeTypeVariance/out.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeTypeVariance/out.kt @@ -4,4 +4,5 @@ class Test { fun foo(t: T) {} fun bar(): T = TODO() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveTypeVarianceFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeTypeVariance/out.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/removeTypeVariance/out.kt.after index 05989dcbc5b9..4e49abf39b3d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeTypeVariance/out.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeTypeVariance/out.kt.after @@ -4,4 +4,5 @@ class Test { fun foo(t: T) {} fun bar(): T = TODO() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveTypeVarianceFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/companionViaImport3.kt b/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/companionViaImport3.kt index 80b9557ab033..602488d315cc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/companionViaImport3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/companionViaImport3.kt @@ -5,4 +5,5 @@ class TestClass{ private object NamedObject { const val CONST = "abc" } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.SafeDeleteFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/companionViaImport3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/companionViaImport3.kt.after index 44b6f8fa2760..e54e102f026e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/companionViaImport3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/companionViaImport3.kt.after @@ -1,4 +1,5 @@ // "Safe delete 'NamedObject'" "true" class TestClass{ -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.SafeDeleteFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/notTriangle.kt b/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/notTriangle.kt index ead1dd4b1f3c..db2433502a6d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/notTriangle.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/notTriangle.kt @@ -6,3 +6,5 @@ abstract class Abstract { class Test: Abstract() { } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.SafeDeleteFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/notTriangle.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/notTriangle.kt.after index 4d6f33549fd3..da73271f36ac 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/notTriangle.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/notTriangle.kt.after @@ -5,3 +5,5 @@ abstract class Abstract { class Test: Abstract() { } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.SafeDeleteFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/secondaryLocalClassConstructor.kt b/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/secondaryLocalClassConstructor.kt index 11c0d374832f..1e25090e1c88 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/secondaryLocalClassConstructor.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/secondaryLocalClassConstructor.kt @@ -5,4 +5,5 @@ fun main() { } val l = LocalClass(42) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.SafeDeleteFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/secondaryLocalClassConstructor.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/secondaryLocalClassConstructor.kt.after index c5dca47cc0bd..05846f8e57c9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/secondaryLocalClassConstructor.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/secondaryLocalClassConstructor.kt.after @@ -4,4 +4,5 @@ fun main() { } val l = LocalClass(42) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.SafeDeleteFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/simpleUnusedEnumEntry.kt b/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/simpleUnusedEnumEntry.kt index 3f50ceee5368..bd86bfe76ad7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/simpleUnusedEnumEntry.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/simpleUnusedEnumEntry.kt @@ -6,4 +6,5 @@ enum class MyEnum { fun main() { MyEnum.HELLO -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.SafeDeleteFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/simpleUnusedEnumEntry.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/simpleUnusedEnumEntry.kt.after index 316e8fcb5734..75b0698bac27 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/simpleUnusedEnumEntry.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/simpleUnusedEnumEntry.kt.after @@ -5,4 +5,5 @@ enum class MyEnum { fun main() { MyEnum.HELLO -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.SafeDeleteFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/typeAlias2.kt b/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/typeAlias2.kt index dc6d05a28a86..09c6705bf765 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/typeAlias2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/typeAlias2.kt @@ -7,3 +7,5 @@ enum class MyEnum { } typealias Other = MyEnum + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.SafeDeleteFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/typeAlias2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/typeAlias2.kt.after index 0cf6bcb138c4..46b955c1f838 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/typeAlias2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/typeAlias2.kt.after @@ -5,3 +5,4 @@ enum class MyEnum { WORLD } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.SafeDeleteFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedClass.kt index ae78f7de9ed2..99af241c7c53 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedClass.kt @@ -2,3 +2,5 @@ class DummyClass class UnusedClass + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.SafeDeleteFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedClass.kt.after index 88b655b40488..f67b1a1d2eea 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedClass.kt.after @@ -1,3 +1,4 @@ // "Safe delete 'UnusedClass'" "true" class DummyClass +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.SafeDeleteFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedConstructor.kt b/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedConstructor.kt index 1cdadd7edd54..419c2d2026ec 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedConstructor.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedConstructor.kt @@ -1,4 +1,5 @@ // "Safe delete constructor" "true" class Owner(val x: Int) { constructor(): this(42) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.SafeDeleteFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedConstructor.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedConstructor.kt.after index c3092f55a57b..5f6786d342ac 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedConstructor.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedConstructor.kt.after @@ -1,3 +1,4 @@ // "Safe delete constructor" "true" class Owner(val x: Int) { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.SafeDeleteFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedEnumEntry.kt b/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedEnumEntry.kt index 5c98aa82f58c..3899e4a6971e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedEnumEntry.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedEnumEntry.kt @@ -10,4 +10,5 @@ enum class MyEnum(val i: Int) { fun test() { MyEnum.HELLO -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.SafeDeleteFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedEnumEntry.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedEnumEntry.kt.after index 1f5d143daaf3..21135f4584f0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedEnumEntry.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedEnumEntry.kt.after @@ -9,4 +9,5 @@ enum class MyEnum(val i: Int) { fun test() { MyEnum.HELLO -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.SafeDeleteFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedEnumEntry2.kt b/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedEnumEntry2.kt index bcf3e5b2dd84..c41b76b4b64c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedEnumEntry2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedEnumEntry2.kt @@ -9,4 +9,5 @@ enum class MyEnum(val i: Int) { fun test() { MyEnum.HELLO -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.SafeDeleteFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedEnumEntry2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedEnumEntry2.kt.after index 36788c15f5f9..4e72d467bb06 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedEnumEntry2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedEnumEntry2.kt.after @@ -8,4 +8,5 @@ enum class MyEnum(val i: Int) { fun test() { MyEnum.HELLO -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.SafeDeleteFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedEnumEntry3.kt b/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedEnumEntry3.kt index 6ef5a3330e17..e340a3090e3c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedEnumEntry3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedEnumEntry3.kt @@ -2,3 +2,5 @@ enum class MyEnum { HELLO } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.SafeDeleteFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedEnumEntry3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedEnumEntry3.kt.after index f0fb8e5dd343..2a7f6bc5e2c7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedEnumEntry3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedEnumEntry3.kt.after @@ -1,3 +1,5 @@ // "Safe delete 'HELLO'" "true" enum class MyEnum { } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.SafeDeleteFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedEnumEntry4.kt b/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedEnumEntry4.kt index 80862503d8aa..40def2213fbd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedEnumEntry4.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedEnumEntry4.kt @@ -2,3 +2,5 @@ enum class MyEnum { HELLO, } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.SafeDeleteFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedEnumEntry4.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedEnumEntry4.kt.after index f0fb8e5dd343..2a7f6bc5e2c7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedEnumEntry4.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedEnumEntry4.kt.after @@ -1,3 +1,5 @@ // "Safe delete 'HELLO'" "true" enum class MyEnum { } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.SafeDeleteFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedEnumEntry5.kt b/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedEnumEntry5.kt index 9476d152ef4e..fcfd9c23a29e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedEnumEntry5.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedEnumEntry5.kt @@ -4,3 +4,5 @@ import MyEnum.HELLO enum class MyEnum { HELLO, } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.SafeDeleteFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedEnumEntry5.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedEnumEntry5.kt.after index cfa237db0c84..14a8a6db65a1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedEnumEntry5.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedEnumEntry5.kt.after @@ -2,3 +2,5 @@ enum class MyEnum { } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.SafeDeleteFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedFunction.kt b/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedFunction.kt index b35f9b9b61c4..0a9e4a4b4556 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedFunction.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedFunction.kt @@ -5,3 +5,5 @@ fun dummy() { fun unusedFun() { } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.SafeDeleteFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedFunction.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedFunction.kt.after index 972b055f57c1..fa33d53e436a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedFunction.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedFunction.kt.after @@ -2,3 +2,4 @@ fun dummy() { } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.SafeDeleteFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedProperty.kt b/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedProperty.kt index beb08549d00b..601a265958a1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedProperty.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedProperty.kt @@ -2,3 +2,5 @@ class UnusedProperty() { val property: String = ":)" } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.SafeDeleteFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedProperty.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedProperty.kt.after index 8489c295e4f8..806ae5a8774d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedProperty.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedProperty.kt.after @@ -1,3 +1,5 @@ // "Safe delete 'property'" "true" class UnusedProperty() { } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.SafeDeleteFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedPropertyAsConstructorParameter.kt b/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedPropertyAsConstructorParameter.kt index 887caff80280..0571f1557224 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedPropertyAsConstructorParameter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedPropertyAsConstructorParameter.kt @@ -1,2 +1,4 @@ // "Safe delete 'property'" "true" class UnusedPropertyAsConstructorParameter(val property: String) + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.SafeDeleteFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedPropertyAsConstructorParameter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedPropertyAsConstructorParameter.kt.after index 9b98919ab29c..d91e9b5806e4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedPropertyAsConstructorParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedPropertyAsConstructorParameter.kt.after @@ -1,2 +1,4 @@ // "Safe delete 'property'" "true" class UnusedPropertyAsConstructorParameter + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.SafeDeleteFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedPropertyAsConstructorParameter2.kt b/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedPropertyAsConstructorParameter2.kt index 1d9fa32865ff..9dfa7f895788 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedPropertyAsConstructorParameter2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedPropertyAsConstructorParameter2.kt @@ -1,2 +1,4 @@ // "Safe delete 'property'" "true" class UnusedPropertyAsConstructorParameter(val property: String, val foo: String) + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.SafeDeleteFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedPropertyAsConstructorParameter2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedPropertyAsConstructorParameter2.kt.after index ab8583dc7ee4..95746783d195 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedPropertyAsConstructorParameter2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedPropertyAsConstructorParameter2.kt.after @@ -1,2 +1,4 @@ // "Safe delete 'property'" "true" class UnusedPropertyAsConstructorParameter(val foo: String) + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.SafeDeleteFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedTypeParameter.kt b/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedTypeParameter.kt index 27a969798fa2..75015f43dc0d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedTypeParameter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedTypeParameter.kt @@ -1,2 +1,4 @@ // "Safe delete 'T'" "true" class UnusedTypeParameter<T, P>(val p: P) + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.SafeDeleteFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedTypeParameter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedTypeParameter.kt.after index 75b2e2cf04b2..95287639de33 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedTypeParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeUnused/unusedTypeParameter.kt.after @@ -1,2 +1,4 @@ // "Safe delete 'T'" "true" class UnusedTypeParameter

(val p: P) + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.SafeDeleteFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeUnusedReceiver/inFunction.kt b/plugins/kotlin/idea/tests/testData/quickfix/removeUnusedReceiver/inFunction.kt index 4d1ab4d07576..58dc0573fc1a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeUnusedReceiver/inFunction.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeUnusedReceiver/inFunction.kt @@ -5,4 +5,5 @@ fun Any.foo() { fun test() { 1.foo() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.UnusedReceiverParameterInspection$RemoveReceiverFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeUnusedReceiver/inFunction.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/removeUnusedReceiver/inFunction.kt.after index d67e7bf97be4..887fd358c2a9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeUnusedReceiver/inFunction.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeUnusedReceiver/inFunction.kt.after @@ -5,4 +5,5 @@ fun foo() { fun test() { foo() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.UnusedReceiverParameterInspection$RemoveReceiverFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeUnusedReceiver/inProperty.kt b/plugins/kotlin/idea/tests/testData/quickfix/removeUnusedReceiver/inProperty.kt index 0bd8c3b71919..39b2f3a26a68 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeUnusedReceiver/inProperty.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeUnusedReceiver/inProperty.kt @@ -4,4 +4,5 @@ val Any.v: Int fun test() { "".v -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.UnusedReceiverParameterInspection$RemoveReceiverFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeUnusedReceiver/inProperty.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/removeUnusedReceiver/inProperty.kt.after index 49bb67dfa8fc..a435a8f86dbb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeUnusedReceiver/inProperty.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeUnusedReceiver/inProperty.kt.after @@ -4,4 +4,5 @@ val v: Int fun test() { v -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.UnusedReceiverParameterInspection$RemoveReceiverFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeUseSiteTarget/useSiteGetDoesntHaveAnyEffect.kt b/plugins/kotlin/idea/tests/testData/quickfix/removeUseSiteTarget/useSiteGetDoesntHaveAnyEffect.kt index 778d8de3c6aa..1e9533b3f473 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeUseSiteTarget/useSiteGetDoesntHaveAnyEffect.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeUseSiteTarget/useSiteGetDoesntHaveAnyEffect.kt @@ -3,4 +3,6 @@ class Foo { private val bar = 0 @get:Deprecated("", level = DeprecationLevel.ERROR) get -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUseSiteTargetFix +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUseSiteTargetFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeUseSiteTarget/useSiteGetDoesntHaveAnyEffect.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/removeUseSiteTarget/useSiteGetDoesntHaveAnyEffect.kt.after index a99cc7da8a41..2204a743cab9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeUseSiteTarget/useSiteGetDoesntHaveAnyEffect.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeUseSiteTarget/useSiteGetDoesntHaveAnyEffect.kt.after @@ -3,4 +3,6 @@ class Foo { private val bar = 0 @Deprecated("", level = DeprecationLevel.ERROR) get -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUseSiteTargetFix +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUseSiteTargetFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeUseSiteTarget/whitespaces.kt b/plugins/kotlin/idea/tests/testData/quickfix/removeUseSiteTarget/whitespaces.kt index 6ae53131f12c..e241f4a88989 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeUseSiteTarget/whitespaces.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeUseSiteTarget/whitespaces.kt @@ -3,4 +3,6 @@ class Foo { private val bar = 0 @get /*comment*/ : Deprecated("", level = DeprecationLevel.ERROR) get -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUseSiteTargetFix +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUseSiteTargetFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/removeUseSiteTarget/whitespaces.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/removeUseSiteTarget/whitespaces.kt.after index a99cc7da8a41..2204a743cab9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/removeUseSiteTarget/whitespaces.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/removeUseSiteTarget/whitespaces.kt.after @@ -3,4 +3,6 @@ class Foo { private val bar = 0 @Deprecated("", level = DeprecationLevel.ERROR) get -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUseSiteTargetFix +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveUseSiteTargetFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/renameToRem/forbiddenModAsMember.kt b/plugins/kotlin/idea/tests/testData/quickfix/renameToRem/forbiddenModAsMember.kt index e75d5f37c7a7..44c8f26cf7a5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/renameToRem/forbiddenModAsMember.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/renameToRem/forbiddenModAsMember.kt @@ -11,4 +11,5 @@ fun test() { Rem % 1 Rem.mod(1) Rem.modAssign(1) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RenameModToRemFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/renameToRem/forbiddenModAsMember.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/renameToRem/forbiddenModAsMember.kt.after index bcc74ccf8707..ce8fafe9abb9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/renameToRem/forbiddenModAsMember.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/renameToRem/forbiddenModAsMember.kt.after @@ -11,4 +11,5 @@ fun test() { Rem % 1 Rem.rem(1) Rem.modAssign(1) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RenameModToRemFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/renameToRem/modAsExtension.kt b/plugins/kotlin/idea/tests/testData/quickfix/renameToRem/modAsExtension.kt index 7c4390128522..7d086daca40f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/renameToRem/modAsExtension.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/renameToRem/modAsExtension.kt @@ -7,4 +7,5 @@ operator fun A.mod(x: Int) {} fun test() { A.mod(3) A % 2 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RenameModToRemFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/renameToRem/modAsExtension.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/renameToRem/modAsExtension.kt.after index c5087e0a7301..85ffa172313b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/renameToRem/modAsExtension.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/renameToRem/modAsExtension.kt.after @@ -7,4 +7,5 @@ operator fun A.rem(x: Int) {} fun test() { A.rem(3) A % 2 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RenameModToRemFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/renameToRem/modAsMember.kt b/plugins/kotlin/idea/tests/testData/quickfix/renameToRem/modAsMember.kt index 0fc15dd6743d..c7a69e01b217 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/renameToRem/modAsMember.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/renameToRem/modAsMember.kt @@ -10,4 +10,5 @@ fun test() { Rem % 1 Rem.mod(1) Rem.modAssign(1) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RenameModToRemFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/renameToRem/modAsMember.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/renameToRem/modAsMember.kt.after index 9c5c16181ee4..75d87af4ac1e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/renameToRem/modAsMember.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/renameToRem/modAsMember.kt.after @@ -10,4 +10,5 @@ fun test() { Rem % 1 Rem.rem(1) Rem.modAssign(1) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RenameModToRemFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/renameToRem/modAssignAsMember.kt b/plugins/kotlin/idea/tests/testData/quickfix/renameToRem/modAssignAsMember.kt index 1e24ca223d50..8733a415fb0c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/renameToRem/modAssignAsMember.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/renameToRem/modAssignAsMember.kt @@ -12,4 +12,5 @@ fun test() { Rem.modAssign(1) val c = Rem c %= 1 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RenameModToRemFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/renameToRem/modAssignAsMember.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/renameToRem/modAssignAsMember.kt.after index 4e51de174c89..b8a7157cf835 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/renameToRem/modAssignAsMember.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/renameToRem/modAssignAsMember.kt.after @@ -12,4 +12,5 @@ fun test() { Rem.remAssign(1) val c = Rem c %= 1 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RenameModToRemFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/renameToUnderscore/commonDestructuring.kt b/plugins/kotlin/idea/tests/testData/quickfix/renameToUnderscore/commonDestructuring.kt index b1ef404fa7c4..8dc653d98dc6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/renameToUnderscore/commonDestructuring.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/renameToUnderscore/commonDestructuring.kt @@ -6,3 +6,5 @@ fun bar() { val (x, y) = A("", 1) y.hashCode() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RenameToUnderscoreFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/renameToUnderscore/commonDestructuring.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/renameToUnderscore/commonDestructuring.kt.after index 9cf6cddbcbb2..7797105d504a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/renameToUnderscore/commonDestructuring.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/renameToUnderscore/commonDestructuring.kt.after @@ -6,3 +6,5 @@ fun bar() { val (_, y) = A("", 1) y.hashCode() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RenameToUnderscoreFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/renameToUnderscore/forDestructuring.kt b/plugins/kotlin/idea/tests/testData/quickfix/renameToUnderscore/forDestructuring.kt index f24f4e2f8d94..bc3dc79a5990 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/renameToUnderscore/forDestructuring.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/renameToUnderscore/forDestructuring.kt @@ -7,3 +7,5 @@ fun bar(z: List) { y.hashCode() } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RenameToUnderscoreFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/renameToUnderscore/forDestructuring.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/renameToUnderscore/forDestructuring.kt.after index e9f0bf95ff09..f455932cc036 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/renameToUnderscore/forDestructuring.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/renameToUnderscore/forDestructuring.kt.after @@ -7,3 +7,5 @@ fun bar(z: List) { y.hashCode() } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RenameToUnderscoreFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/renameToUnderscore/lambdaDestructuring.kt b/plugins/kotlin/idea/tests/testData/quickfix/renameToUnderscore/lambdaDestructuring.kt index 15eac5c908f8..13545bd51af9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/renameToUnderscore/lambdaDestructuring.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/renameToUnderscore/lambdaDestructuring.kt @@ -11,3 +11,5 @@ fun bar() { y.hashCode() } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RenameToUnderscoreFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/renameToUnderscore/lambdaDestructuring.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/renameToUnderscore/lambdaDestructuring.kt.after index 6f0aaad4ccc0..6c3c2856e144 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/renameToUnderscore/lambdaDestructuring.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/renameToUnderscore/lambdaDestructuring.kt.after @@ -11,3 +11,5 @@ fun bar() { y.hashCode() } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RenameToUnderscoreFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/renameToUnderscore/lambdaParameter.kt b/plugins/kotlin/idea/tests/testData/quickfix/renameToUnderscore/lambdaParameter.kt index 3e7e93847dc6..c2b953d52ae5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/renameToUnderscore/lambdaParameter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/renameToUnderscore/lambdaParameter.kt @@ -8,3 +8,5 @@ fun bar() { y.hashCode() } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RenameToUnderscoreFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/renameToUnderscore/lambdaParameter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/renameToUnderscore/lambdaParameter.kt.after index 70fee6f50c73..bd28fbe62332 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/renameToUnderscore/lambdaParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/renameToUnderscore/lambdaParameter.kt.after @@ -8,3 +8,5 @@ fun bar() { y.hashCode() } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RenameToUnderscoreFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/renameUnresolvedReference/qualifiedFunRef.kt b/plugins/kotlin/idea/tests/testData/quickfix/renameUnresolvedReference/qualifiedFunRef.kt index ba2cc3aec8f5..e7eee4a925f2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/renameUnresolvedReference/qualifiedFunRef.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/renameUnresolvedReference/qualifiedFunRef.kt @@ -30,4 +30,5 @@ fun foo(a: A, b: B) { baz(a.x(1)) bar(aa.x()) bar(b.x()) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RenameUnresolvedReferenceFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/renameUnresolvedReference/qualifiedFunRef.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/renameUnresolvedReference/qualifiedFunRef.kt.after index 76bdb49c5800..ca00fd39aa61 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/renameUnresolvedReference/qualifiedFunRef.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/renameUnresolvedReference/qualifiedFunRef.kt.after @@ -30,4 +30,5 @@ fun foo(a: A, b: B) { baz(a.x(1)) bar(aa.x()) bar(b.x()) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RenameUnresolvedReferenceFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/renameUnresolvedReference/qualifiedPropertyRef.kt b/plugins/kotlin/idea/tests/testData/quickfix/renameUnresolvedReference/qualifiedPropertyRef.kt index 38f1ca55ea27..8d6bae1cd618 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/renameUnresolvedReference/qualifiedPropertyRef.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/renameUnresolvedReference/qualifiedPropertyRef.kt @@ -26,4 +26,5 @@ fun foo(a: A, b: B) { baz(a.x(1)) bar(aa.x) bar(b.x) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RenameUnresolvedReferenceFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/renameUnresolvedReference/qualifiedPropertyRef.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/renameUnresolvedReference/qualifiedPropertyRef.kt.after index 90d089fa3588..b28c5b2b5fc5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/renameUnresolvedReference/qualifiedPropertyRef.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/renameUnresolvedReference/qualifiedPropertyRef.kt.after @@ -26,4 +26,5 @@ fun foo(a: A, b: B) { baz(a.x(1)) bar(aa.x) bar(b.x) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RenameUnresolvedReferenceFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/renameUnresolvedReference/unqualifiedFunRef.kt b/plugins/kotlin/idea/tests/testData/quickfix/renameUnresolvedReference/unqualifiedFunRef.kt index 1e633e3b516d..56e87e2d575c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/renameUnresolvedReference/unqualifiedFunRef.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/renameUnresolvedReference/unqualifiedFunRef.kt @@ -23,4 +23,5 @@ class A { bar(x(1)) baz(x(1)) } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RenameUnresolvedReferenceFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/renameUnresolvedReference/unqualifiedFunRef.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/renameUnresolvedReference/unqualifiedFunRef.kt.after index 9b07df576b9f..b6e6ec9a06a0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/renameUnresolvedReference/unqualifiedFunRef.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/renameUnresolvedReference/unqualifiedFunRef.kt.after @@ -23,4 +23,5 @@ class A { bar(x(1)) baz(x(1)) } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RenameUnresolvedReferenceFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/renameUnresolvedReference/unqualifiedPropertyRef.kt b/plugins/kotlin/idea/tests/testData/quickfix/renameUnresolvedReference/unqualifiedPropertyRef.kt index 16cd0b1519dd..e40f36ae0c1c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/renameUnresolvedReference/unqualifiedPropertyRef.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/renameUnresolvedReference/unqualifiedPropertyRef.kt @@ -19,4 +19,5 @@ class A { bar(x()) baz(x(1)) } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RenameUnresolvedReferenceFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/renameUnresolvedReference/unqualifiedPropertyRef.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/renameUnresolvedReference/unqualifiedPropertyRef.kt.after index 91e8906dc7cb..8cd8db588fce 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/renameUnresolvedReference/unqualifiedPropertyRef.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/renameUnresolvedReference/unqualifiedPropertyRef.kt.after @@ -19,4 +19,5 @@ class A { bar(x()) baz(x(1)) } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RenameUnresolvedReferenceFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/renameUnresolvedReference/unqualifiedPropertyRefWithPackageError.kt b/plugins/kotlin/idea/tests/testData/quickfix/renameUnresolvedReference/unqualifiedPropertyRefWithPackageError.kt index 9cfb31ac83e2..e2c39091eab5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/renameUnresolvedReference/unqualifiedPropertyRefWithPackageError.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/renameUnresolvedReference/unqualifiedPropertyRefWithPackageError.kt @@ -21,4 +21,5 @@ class A { bar(x()) baz(x(1)) } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RenameUnresolvedReferenceFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/renameUnresolvedReference/unqualifiedPropertyRefWithPackageError.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/renameUnresolvedReference/unqualifiedPropertyRefWithPackageError.kt.after index 852a90fa15af..6b0655ae2a03 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/renameUnresolvedReference/unqualifiedPropertyRefWithPackageError.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/renameUnresolvedReference/unqualifiedPropertyRefWithPackageError.kt.after @@ -21,4 +21,5 @@ class A { bar(x()) baz(x(1)) } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RenameUnresolvedReferenceFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/reorderParameters/callParameterAsFunctionInDefaultValue.kt b/plugins/kotlin/idea/tests/testData/quickfix/reorderParameters/callParameterAsFunctionInDefaultValue.kt index 5a3ec7bbfdd4..6b06868239b7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/reorderParameters/callParameterAsFunctionInDefaultValue.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/reorderParameters/callParameterAsFunctionInDefaultValue.kt @@ -3,3 +3,5 @@ fun foo( x: String = y(), y: () -> String = { "OK" } ) = Unit + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReorderParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/reorderParameters/callParameterAsFunctionInDefaultValue.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/reorderParameters/callParameterAsFunctionInDefaultValue.kt.after index 25234e4cb977..60781e4445e4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/reorderParameters/callParameterAsFunctionInDefaultValue.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/reorderParameters/callParameterAsFunctionInDefaultValue.kt.after @@ -3,3 +3,5 @@ fun foo( y: () -> String = { "OK" }, x: String = y() ) = Unit + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReorderParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/reorderParameters/graph.kt b/plugins/kotlin/idea/tests/testData/quickfix/reorderParameters/graph.kt index d0c0a6ffeda2..0fe9f580055f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/reorderParameters/graph.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/reorderParameters/graph.kt @@ -16,3 +16,5 @@ fun main() { 2 ) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReorderParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/reorderParameters/graph.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/reorderParameters/graph.kt.after index 2b1dff621f8c..b43055b3aa5c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/reorderParameters/graph.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/reorderParameters/graph.kt.after @@ -16,3 +16,5 @@ fun main() { a5 = { 1 } ) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReorderParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/reorderParameters/lambda.kt b/plugins/kotlin/idea/tests/testData/quickfix/reorderParameters/lambda.kt index cebb8bea7ba3..58d1e67ed0d1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/reorderParameters/lambda.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/reorderParameters/lambda.kt @@ -3,3 +3,5 @@ fun foo( x: () -> String = { y }, y: String = "OK" ) = Unit + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReorderParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/reorderParameters/lambda.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/reorderParameters/lambda.kt.after index 62ebf6af43f3..1b81cddfc448 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/reorderParameters/lambda.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/reorderParameters/lambda.kt.after @@ -3,3 +3,5 @@ fun foo( y: String = "OK", x: () -> String = { y } ) = Unit + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReorderParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/reorderParameters/nestedFunction.kt b/plugins/kotlin/idea/tests/testData/quickfix/reorderParameters/nestedFunction.kt index 6d4f8033671d..1e634be2bdc5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/reorderParameters/nestedFunction.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/reorderParameters/nestedFunction.kt @@ -5,3 +5,5 @@ fun foo(b: Int) { b: Int = 2 ) = Unit } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReorderParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/reorderParameters/nestedFunction.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/reorderParameters/nestedFunction.kt.after index 6e7f3b6c668f..0e6ba2558201 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/reorderParameters/nestedFunction.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/reorderParameters/nestedFunction.kt.after @@ -5,3 +5,5 @@ fun foo(b: Int) { a: Int = b ) = Unit } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReorderParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/reorderParameters/noDefaultValue.kt b/plugins/kotlin/idea/tests/testData/quickfix/reorderParameters/noDefaultValue.kt index f863131f5ab3..937c2119937f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/reorderParameters/noDefaultValue.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/reorderParameters/noDefaultValue.kt @@ -3,3 +3,5 @@ fun foo( x: String = y, y: String ) = Unit + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReorderParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/reorderParameters/noDefaultValue.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/reorderParameters/noDefaultValue.kt.after index ac10c91e55e6..3d7c5af6c7fa 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/reorderParameters/noDefaultValue.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/reorderParameters/noDefaultValue.kt.after @@ -3,3 +3,5 @@ fun foo( y: String, x: String = y ) = Unit + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReorderParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/reorderParameters/receiver.kt b/plugins/kotlin/idea/tests/testData/quickfix/reorderParameters/receiver.kt index beae0d6685a0..86f64bbe8612 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/reorderParameters/receiver.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/reorderParameters/receiver.kt @@ -7,3 +7,5 @@ fun Int.foo( fun main() { 1.foo(2, 3) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReorderParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/reorderParameters/receiver.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/reorderParameters/receiver.kt.after index 8cb8a21c51a7..d157cc0445b3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/reorderParameters/receiver.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/reorderParameters/receiver.kt.after @@ -7,3 +7,5 @@ fun Int.foo( fun main() { 1.foo(3, 2) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReorderParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/reorderParameters/simple.kt b/plugins/kotlin/idea/tests/testData/quickfix/reorderParameters/simple.kt index dc0118c37774..0e4edb47b2a0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/reorderParameters/simple.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/reorderParameters/simple.kt @@ -7,3 +7,5 @@ fun foo( fun main() { foo("x", "y") } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReorderParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/reorderParameters/simple.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/reorderParameters/simple.kt.after index f0adc0c505b5..db012de8238d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/reorderParameters/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/reorderParameters/simple.kt.after @@ -7,3 +7,5 @@ fun foo( fun main() { foo("y", "x") } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReorderParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/reorderParameters/withUnchangedParameter.kt b/plugins/kotlin/idea/tests/testData/quickfix/reorderParameters/withUnchangedParameter.kt index 27e187e8e991..8a407c0aa835 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/reorderParameters/withUnchangedParameter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/reorderParameters/withUnchangedParameter.kt @@ -4,4 +4,5 @@ fun foo( c1: String, a: List> = listOf(listOf(b)), b: String, -) {} \ No newline at end of file +) {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReorderParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/reorderParameters/withUnchangedParameter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/reorderParameters/withUnchangedParameter.kt.after index adad2389c98e..8072e3a550da 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/reorderParameters/withUnchangedParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/reorderParameters/withUnchangedParameter.kt.after @@ -4,4 +4,5 @@ fun foo( c1: String, b: String, a: List> = listOf(listOf(b)), -) {} \ No newline at end of file +) {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReorderParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/reorderParameters/withUnchangedParameter2.kt b/plugins/kotlin/idea/tests/testData/quickfix/reorderParameters/withUnchangedParameter2.kt index 4287f78a5705..997f7c59d17a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/reorderParameters/withUnchangedParameter2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/reorderParameters/withUnchangedParameter2.kt @@ -9,4 +9,5 @@ fun foo( fun main() { foo("a", "b", "c", "d", "e") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReorderParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/reorderParameters/withUnchangedParameter2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/reorderParameters/withUnchangedParameter2.kt.after index 44969db9231e..f819cb30dfa6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/reorderParameters/withUnchangedParameter2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/reorderParameters/withUnchangedParameter2.kt.after @@ -9,4 +9,5 @@ fun foo( fun main() { foo("a", "d", "c", "b", "e") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReorderParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/array.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/array.kt index 9a1647f5504c..10bd4225e2f8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/array.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/array.kt @@ -3,4 +3,6 @@ fun foo(array: Array?) { array[0] -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/array.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/array.kt.after index 043f617aadb9..0cfd99d0faed 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/array.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/array.kt.after @@ -3,4 +3,6 @@ fun foo(array: Array?) { array?.get(0) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/arraySet.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/arraySet.kt index 9b4ce4382809..5a58ea9a51e1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/arraySet.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/arraySet.kt @@ -3,4 +3,6 @@ fun foo(array: Array?) { array[0] = "" -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/arraySet.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/arraySet.kt.after index 237f4127d5b3..faef2fec1e2a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/arraySet.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/arraySet.kt.after @@ -3,4 +3,6 @@ fun foo(array: Array?) { array?.set(0, "") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/assignmentArray.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/assignmentArray.kt index 8b7835fdab41..50f256765950 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/assignmentArray.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/assignmentArray.kt @@ -4,4 +4,6 @@ fun foo(array: Array?) { var s = "" s = array[0] -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/assignmentArray.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/assignmentArray.kt.after index 089421ec8af2..7602e24f0750 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/assignmentArray.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/assignmentArray.kt.after @@ -4,4 +4,6 @@ fun foo(array: Array?) { var s = "" s = array?.get(0) ?: -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/assignmentBinaryOperator.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/assignmentBinaryOperator.kt index f66b74e83a8d..3ef7dfa5be40 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/assignmentBinaryOperator.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/assignmentBinaryOperator.kt @@ -4,4 +4,6 @@ fun foo(bar: Int?) { var i: Int = 1 i = bar + 1 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/assignmentBinaryOperator.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/assignmentBinaryOperator.kt.after index 7a9677f72fa3..1af4c2036443 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/assignmentBinaryOperator.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/assignmentBinaryOperator.kt.after @@ -4,4 +4,6 @@ fun foo(bar: Int?) { var i: Int = 1 i = bar?.plus(1) ?: -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/assignmentCallExpression.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/assignmentCallExpression.kt index 6de507ce5df8..936a524efe2a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/assignmentCallExpression.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/assignmentCallExpression.kt @@ -5,4 +5,6 @@ fun bar() { val fff: (() -> Int)? = { 1 } var i: Int = 1 i = fff() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/assignmentCallExpression.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/assignmentCallExpression.kt.after index 2edd2a220ccf..c9f554732483 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/assignmentCallExpression.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/assignmentCallExpression.kt.after @@ -5,4 +5,6 @@ fun bar() { val fff: (() -> Int)? = { 1 } var i: Int = 1 i = fff?.invoke() ?: -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/assignmentList.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/assignmentList.kt index f836945c17a6..88a45fca7918 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/assignmentList.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/assignmentList.kt @@ -4,4 +4,6 @@ fun foo(list: List?) { var s = "" s = list[0] -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/assignmentList.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/assignmentList.kt.after index f25e5b1692eb..6c932f8470e5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/assignmentList.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/assignmentList.kt.after @@ -4,4 +4,6 @@ fun foo(list: List?) { var s = "" s = list?.get(0) ?: -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/augmentedAssignmentAvailable.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/augmentedAssignmentAvailable.kt index d2de26ccfe21..d9796892555c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/augmentedAssignmentAvailable.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/augmentedAssignmentAvailable.kt @@ -6,4 +6,6 @@ class A { fun foo(b: A) { var a: A? = A() a += b -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/augmentedAssignmentAvailable.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/augmentedAssignmentAvailable.kt.after index f90ca8a85d12..2d5377b72031 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/augmentedAssignmentAvailable.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/augmentedAssignmentAvailable.kt.after @@ -6,4 +6,6 @@ class A { fun foo(b: A) { var a: A? = A() a?.plusAssign(b) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/augmentedAssignmentNotAvailable.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/augmentedAssignmentNotAvailable.kt index fc09d6990e47..278f3938f470 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/augmentedAssignmentNotAvailable.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/augmentedAssignmentNotAvailable.kt @@ -6,4 +6,6 @@ class A { fun foo(b: A) { var a: A? = A() a += b -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/augmentedAssignmentNotAvailable.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/augmentedAssignmentNotAvailable.kt.after index 5f8e0a586db2..d54583078476 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/augmentedAssignmentNotAvailable.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/augmentedAssignmentNotAvailable.kt.after @@ -6,4 +6,6 @@ class A { fun foo(b: A) { var a: A? = A() a = a?.plus(b) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/binaryOperator.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/binaryOperator.kt index 4fa947e68025..086c80504a88 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/binaryOperator.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/binaryOperator.kt @@ -3,4 +3,6 @@ fun foo(bar: Int?) { bar + 1 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/binaryOperator.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/binaryOperator.kt.after index ff6b36ab8f93..aa5cf5f4cc53 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/binaryOperator.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/binaryOperator.kt.after @@ -3,4 +3,6 @@ fun foo(bar: Int?) { bar?.plus(1) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/callExpression.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/callExpression.kt index ca03ac1e9168..a259669e0ac0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/callExpression.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/callExpression.kt @@ -6,4 +6,6 @@ fun foo() {} fun bar() { val fff: (() -> Unit)? = ::foo fff() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/callExpression.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/callExpression.kt.after index a129f373b547..07fb407095f0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/callExpression.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/callExpression.kt.after @@ -6,4 +6,6 @@ fun foo() {} fun bar() { val fff: (() -> Unit)? = ::foo fff?.invoke() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/callExpressionInSafeQualified.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/callExpressionInSafeQualified.kt index 58da2b693823..1bd9061061ba 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/callExpressionInSafeQualified.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/callExpressionInSafeQualified.kt @@ -9,4 +9,5 @@ class Bar { fun test(foo: Foo?) { foo?.bar() } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/callExpressionInSafeQualified.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/callExpressionInSafeQualified.kt.after index 58b42f6fa58b..7577efb7b032 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/callExpressionInSafeQualified.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/callExpressionInSafeQualified.kt.after @@ -9,4 +9,5 @@ class Bar { fun test(foo: Foo?) { foo?.bar?.invoke() } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/callExpressionInSafeQualified2.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/callExpressionInSafeQualified2.kt index 9ed7381b7b3c..6c985652cea3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/callExpressionInSafeQualified2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/callExpressionInSafeQualified2.kt @@ -10,4 +10,5 @@ fun test(foo: Foo?) { foo // comment1 ?. /* comment2 */ bar() } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/callExpressionInSafeQualified2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/callExpressionInSafeQualified2.kt.after index 0225de31437c..a099c83179c4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/callExpressionInSafeQualified2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/callExpressionInSafeQualified2.kt.after @@ -10,4 +10,5 @@ fun test(foo: Foo?) { foo // comment1 ?. /* comment2 */ bar?.invoke() } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/containsBinaryOperator.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/containsBinaryOperator.kt index 22125298e962..08612e9b74c8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/containsBinaryOperator.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/containsBinaryOperator.kt @@ -3,4 +3,6 @@ fun foo(bar: String?) { "foo" in bar -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/containsBinaryOperator.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/containsBinaryOperator.kt.after index 6a2ed1787acf..933bff8f844e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/containsBinaryOperator.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/containsBinaryOperator.kt.after @@ -3,4 +3,6 @@ fun foo(bar: String?) { bar?.contains("foo") == true -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/hasElvis.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/hasElvis.kt index ed80e5804bbb..32f94aca6a82 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/hasElvis.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/hasElvis.kt @@ -4,4 +4,6 @@ fun foo(list: List?) { var s = "" s = list[0] ?: "" -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/hasElvis.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/hasElvis.kt.after index 63a10eff7d7e..def0858aaf7d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/hasElvis.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/hasElvis.kt.after @@ -4,4 +4,6 @@ fun foo(list: List?) { var s = "" s = list?.get(0) ?: "" -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/list.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/list.kt index b05b880aa0d8..7e24e19d2081 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/list.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/list.kt @@ -3,4 +3,6 @@ fun foo(list: List?) { list[0] -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/list.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/list.kt.after index 47f19571e43b..0ca3ab1c980a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/list.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/list.kt.after @@ -3,4 +3,6 @@ fun foo(list: List?) { list?.get(0) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/notContainsBinaryOperator.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/notContainsBinaryOperator.kt index 7edbbbccc748..3b53035c079d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/notContainsBinaryOperator.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/notContainsBinaryOperator.kt @@ -3,4 +3,6 @@ fun foo(bar: String?) { "foo" !in bar -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/notContainsBinaryOperator.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/notContainsBinaryOperator.kt.after index 5541037ae0af..b686d4bffe37 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/notContainsBinaryOperator.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/notContainsBinaryOperator.kt.after @@ -3,4 +3,6 @@ fun foo(bar: String?) { bar?.contains("foo") != true -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/plusAssignOnMutableMapWithNullableValueType.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/plusAssignOnMutableMapWithNullableValueType.kt index 087f704c4b17..a0c02d1a8652 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/plusAssignOnMutableMapWithNullableValueType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/plusAssignOnMutableMapWithNullableValueType.kt @@ -6,3 +6,5 @@ fun test(map: MutableMap) { /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/plusAssignOnMutableMapWithNullableValueType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/plusAssignOnMutableMapWithNullableValueType.kt.after index de173ed0431d..b2edbabb178b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/plusAssignOnMutableMapWithNullableValueType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceInfixOrOperatorCall/plusAssignOnMutableMapWithNullableValueType.kt.after @@ -6,3 +6,5 @@ fun test(map: MutableMap) { /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/companionInInterface.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/companionInInterface.kt index b15dd7238df6..2be48147899b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/companionInInterface.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/companionInInterface.kt @@ -5,4 +5,5 @@ interface IFace { companion object { @JvmField val a = "Lorem ipsum" } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceJvmFieldWithConstFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/companionInInterface.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/companionInInterface.kt.after index e4ba3ef4c49d..dbcfa549cc07 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/companionInInterface.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/companionInInterface.kt.after @@ -5,4 +5,5 @@ interface IFace { companion object { const val a = "Lorem ipsum" } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceJvmFieldWithConstFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/object.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/object.kt index 30e080ccdc0e..35ecc282883a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/object.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/object.kt @@ -3,3 +3,5 @@ object Foo { @JvmField private val a = "Lorem ipsum" } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceJvmFieldWithConstFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/object.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/object.kt.after index 51e8a72fd3b1..935084796c6f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/object.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/object.kt.after @@ -3,3 +3,5 @@ object Foo { private const val a = "Lorem ipsum" } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceJvmFieldWithConstFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/stringTemplateWithConstants.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/stringTemplateWithConstants.kt index 257ebb7ad887..0eae7d7d5068 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/stringTemplateWithConstants.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/stringTemplateWithConstants.kt @@ -1,4 +1,5 @@ // "Replace '@JvmField' with 'const'" "true" // WITH_STDLIB const val three = 3 -@JvmField private val text = "${2 + three}" \ No newline at end of file +@JvmField private val text = "${2 + three}" +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceJvmFieldWithConstFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/stringTemplateWithConstants.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/stringTemplateWithConstants.kt.after index 1543af5b4447..923870321d49 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/stringTemplateWithConstants.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/stringTemplateWithConstants.kt.after @@ -1,4 +1,5 @@ // "Replace '@JvmField' with 'const'" "true" // WITH_STDLIB const val three = 3 -private const val text = "${2 + three}" \ No newline at end of file +private const val text = "${2 + three}" +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceJvmFieldWithConstFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/toplevel.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/toplevel.kt index 6f1760849ed4..b8ddd62b6a5e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/toplevel.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/toplevel.kt @@ -1,3 +1,4 @@ // "Replace '@JvmField' with 'const'" "true" // WITH_STDLIB -@JvmField private val number: Int = 42 \ No newline at end of file +@JvmField private val number: Int = 42 +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceJvmFieldWithConstFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/toplevel.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/toplevel.kt.after index 2488889c8dfa..8b42ffeb683a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/toplevel.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceJvmFieldWithConst/toplevel.kt.after @@ -1,3 +1,4 @@ // "Replace '@JvmField' with 'const'" "true" // WITH_STDLIB -private const val number: Int = 42 \ No newline at end of file +private const val number: Int = 42 +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceJvmFieldWithConstFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithArrayCallInAnnotation/emptyLiteral.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithArrayCallInAnnotation/emptyLiteral.kt index 728b5a3b81e8..121ec5df0081 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithArrayCallInAnnotation/emptyLiteral.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithArrayCallInAnnotation/emptyLiteral.kt @@ -5,3 +5,6 @@ annotation class Some(vararg val strings: String) @Some(strings = *[]) class My + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithArrayCallInAnnotationFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithArrayCallInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithArrayCallInAnnotation/emptyLiteral.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithArrayCallInAnnotation/emptyLiteral.kt.after index 93273c46e9cc..4df1168a1e6a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithArrayCallInAnnotation/emptyLiteral.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithArrayCallInAnnotation/emptyLiteral.kt.after @@ -5,3 +5,6 @@ annotation class Some(vararg val strings: String) @Some(strings = []) class My + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithArrayCallInAnnotationFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithArrayCallInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithArrayCallInAnnotation/literalWithValues.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithArrayCallInAnnotation/literalWithValues.kt index bcebbb9b558e..9eb29b3445b9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithArrayCallInAnnotation/literalWithValues.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithArrayCallInAnnotation/literalWithValues.kt @@ -5,3 +5,6 @@ annotation class Some(vararg val ints: Int) @Some(ints = *[1, 2, 3]) class My + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithArrayCallInAnnotationFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithArrayCallInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithArrayCallInAnnotation/literalWithValues.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithArrayCallInAnnotation/literalWithValues.kt.after index b440a6ab6671..c2738b657aae 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithArrayCallInAnnotation/literalWithValues.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithArrayCallInAnnotation/literalWithValues.kt.after @@ -5,3 +5,6 @@ annotation class Some(vararg val ints: Int) @Some(ints = [1, 2, 3]) class My + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithArrayCallInAnnotationFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithArrayCallInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithArrayCallInAnnotation/replaceForbiddenAssignmentWithArrayLiteral.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithArrayCallInAnnotation/replaceForbiddenAssignmentWithArrayLiteral.kt index 5e5bd854e320..339325a86641 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithArrayCallInAnnotation/replaceForbiddenAssignmentWithArrayLiteral.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithArrayCallInAnnotation/replaceForbiddenAssignmentWithArrayLiteral.kt @@ -6,3 +6,6 @@ annotation class Some(vararg val strings: String) @Some(strings = "value") class My + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithArrayCallInAnnotationFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithArrayCallInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithArrayCallInAnnotation/replaceForbiddenAssignmentWithArrayLiteral.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithArrayCallInAnnotation/replaceForbiddenAssignmentWithArrayLiteral.kt.after index 7860cdf06f9f..a8d45b65cf28 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithArrayCallInAnnotation/replaceForbiddenAssignmentWithArrayLiteral.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithArrayCallInAnnotation/replaceForbiddenAssignmentWithArrayLiteral.kt.after @@ -6,3 +6,6 @@ annotation class Some(vararg val strings: String) @Some(strings = ["value"]) class My + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithArrayCallInAnnotationFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithArrayCallInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithArrayCallInAnnotation/replaceSingleElementInNamedForm.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithArrayCallInAnnotation/replaceSingleElementInNamedForm.kt index c54c56f175f3..035618ed1c99 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithArrayCallInAnnotation/replaceSingleElementInNamedForm.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithArrayCallInAnnotation/replaceSingleElementInNamedForm.kt @@ -4,3 +4,6 @@ annotation class Some(vararg val strings: String) @Some(strings = "value") class My + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithArrayCallInAnnotationFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithArrayCallInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithArrayCallInAnnotation/replaceSingleElementInNamedForm.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithArrayCallInAnnotation/replaceSingleElementInNamedForm.kt.after index ba5212e98d3e..d17c0c0ad638 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithArrayCallInAnnotation/replaceSingleElementInNamedForm.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithArrayCallInAnnotation/replaceSingleElementInNamedForm.kt.after @@ -4,3 +4,6 @@ annotation class Some(vararg val strings: String) @Some(strings = ["value"]) class My + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithArrayCallInAnnotationFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithArrayCallInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithArrayCallInAnnotation/replaceSingleElementInNamedForm_1_2.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithArrayCallInAnnotation/replaceSingleElementInNamedForm_1_2.kt index 6e0449a300f5..8a0a7df63338 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithArrayCallInAnnotation/replaceSingleElementInNamedForm_1_2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithArrayCallInAnnotation/replaceSingleElementInNamedForm_1_2.kt @@ -6,3 +6,5 @@ annotation class Some(vararg val strings: String) @Some(strings = "value") class My /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithArrayCallInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithArrayCallInAnnotation/replaceSingleElementInNamedForm_1_2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithArrayCallInAnnotation/replaceSingleElementInNamedForm_1_2.kt.after index 44c7046d0770..6a86068f7dad 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithArrayCallInAnnotation/replaceSingleElementInNamedForm_1_2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithArrayCallInAnnotation/replaceSingleElementInNamedForm_1_2.kt.after @@ -6,3 +6,5 @@ annotation class Some(vararg val strings: String) @Some(strings = ["value"]) class My /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithArrayCallInAnnotationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/callWillChangeNullability.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/callWillChangeNullability.kt index 9f523d17999e..eb66c9c8e79c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/callWillChangeNullability.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/callWillChangeNullability.kt @@ -5,3 +5,5 @@ fun foo(x: T) { val y = x?.toString() } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithDotCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/callWillChangeNullability.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/callWillChangeNullability.kt.after index 95ef58efe7e6..cc3a3b1a35a3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/callWillChangeNullability.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/callWillChangeNullability.kt.after @@ -5,3 +5,5 @@ fun foo(x: T) { val y = x.toString() } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithDotCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/callWillChangeNullability2.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/callWillChangeNullability2.kt index 95cadd28a18b..3dc0d8904f5d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/callWillChangeNullability2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/callWillChangeNullability2.kt @@ -5,3 +5,5 @@ fun test(x: String) { x?.length } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithDotCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/callWillChangeNullability2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/callWillChangeNullability2.kt.after index 307638f74757..6c2f98f56f43 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/callWillChangeNullability2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/callWillChangeNullability2.kt.after @@ -5,3 +5,5 @@ fun test(x: String) { x.length } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithDotCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/comment.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/comment.kt index 851de01e1455..8db1bcbc0b47 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/comment.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/comment.kt @@ -4,4 +4,6 @@ fun foo(a: String) { val b = a // comment1 // comment2 ?.length -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithDotCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithDotCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/comment.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/comment.kt.after index c1ecc6029c79..b9f51e3fea56 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/comment.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/comment.kt.after @@ -4,4 +4,6 @@ fun foo(a: String) { val b = a // comment1 // comment2 .length -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithDotCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithDotCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/functionCall.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/functionCall.kt index 9f24c1a724e2..59a58aedea24 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/functionCall.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/functionCall.kt @@ -2,4 +2,6 @@ // WITH_STDLIB fun foo(a: String) { a?.toLowerCase() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithDotCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithDotCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/functionCall.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/functionCall.kt.after index 342dda80a500..105bce526806 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/functionCall.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/functionCall.kt.after @@ -2,4 +2,6 @@ // WITH_STDLIB fun foo(a: String) { a.toLowerCase() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithDotCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithDotCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/lineBreak.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/lineBreak.kt index 111ce7e8e8c2..890fc0f21120 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/lineBreak.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/lineBreak.kt @@ -3,4 +3,6 @@ fun foo(a: String) { val b = a ?.length -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithDotCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithDotCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/lineBreak.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/lineBreak.kt.after index a2790901921b..d4e91bc8d907 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/lineBreak.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/lineBreak.kt.after @@ -3,4 +3,6 @@ fun foo(a: String) { val b = a .length -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithDotCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithDotCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/normal.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/normal.kt index b2b7714bdacf..e9c008f5ce4d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/normal.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/normal.kt @@ -2,4 +2,6 @@ // WITH_STDLIB fun foo(a: String) { a?.length -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithDotCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithDotCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/normal.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/normal.kt.after index 0802acd33cbd..c4b53d3d6869 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/normal.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/normal.kt.after @@ -2,4 +2,6 @@ // WITH_STDLIB fun foo(a: String) { a.length -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithDotCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithDotCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/safeCallChain.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/safeCallChain.kt index cbda2cdc7146..b3f24d6f01c9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/safeCallChain.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/safeCallChain.kt @@ -6,3 +6,6 @@ class Baz(val qux: Int) fun test(foo: Foo) { foo?.bar?.baz?.qux } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithDotCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithDotCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/safeCallChain.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/safeCallChain.kt.after index 327a9dc86a3b..98d267bbf943 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/safeCallChain.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/safeCallChain.kt.after @@ -6,3 +6,6 @@ class Baz(val qux: Int) fun test(foo: Foo) { foo.bar?.baz?.qux } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithDotCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithDotCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/safeCallChain2.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/safeCallChain2.kt index 16f4929ae1d6..d4f1a3cdd1c7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/safeCallChain2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/safeCallChain2.kt @@ -6,3 +6,6 @@ class Baz(val qux: Int) fun test(foo: Foo) { foo?.bar?.baz?.qux } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithDotCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithDotCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/safeCallChain2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/safeCallChain2.kt.after index 95bccd931686..55133ab07076 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/safeCallChain2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/safeCallChain2.kt.after @@ -6,3 +6,6 @@ class Baz(val qux: Int) fun test(foo: Foo) { foo.bar?.baz?.qux } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithDotCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithDotCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/safeCallChain3.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/safeCallChain3.kt index c6d651b8539f..6c39ed7c8c76 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/safeCallChain3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/safeCallChain3.kt @@ -9,4 +9,5 @@ class Baz(val qux: Int) fun test(foo: Foo) { foo?.bar?.baz?.qux } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithDotCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/safeCallChain3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/safeCallChain3.kt.after index e38af93d3e3a..c3ffba3fda0a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/safeCallChain3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithDotCall/safeCallChain3.kt.after @@ -9,4 +9,5 @@ class Baz(val qux: Int) fun test(foo: Foo) { foo?.bar.baz.qux } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithDotCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/apply.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/apply.kt index 1f247b5a930b..7a6df2494adf 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/apply.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/apply.kt @@ -5,3 +5,6 @@ fun foo(a: String?) { this.length } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/apply.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/apply.kt.after index 49b08877c018..6c31f9b7756c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/apply.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/apply.kt.after @@ -5,3 +5,6 @@ fun foo(a: String?) { this?.length } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/applyWithImplicitParameter.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/applyWithImplicitParameter.kt index 5c1a98455304..f1b13607da2c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/applyWithImplicitParameter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/applyWithImplicitParameter.kt @@ -5,3 +5,6 @@ fun foo(a: String?) { length } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceImplicitReceiverCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceImplicitReceiverCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/applyWithImplicitParameter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/applyWithImplicitParameter.kt.after index 661bd380b9f5..90d3284081fa 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/applyWithImplicitParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/applyWithImplicitParameter.kt.after @@ -5,3 +5,6 @@ fun foo(a: String?) { this?.length } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceImplicitReceiverCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceImplicitReceiverCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/applyWithImplicitParameterFunctionCall.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/applyWithImplicitParameterFunctionCall.kt index c33eb89891d8..44b3e7573716 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/applyWithImplicitParameterFunctionCall.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/applyWithImplicitParameterFunctionCall.kt @@ -5,4 +5,5 @@ fun foo(a: String?) { toLowerCase() } } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceImplicitReceiverCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/applyWithImplicitParameterFunctionCall.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/applyWithImplicitParameterFunctionCall.kt.after index 6b6b95376d7c..e29113e2a51c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/applyWithImplicitParameterFunctionCall.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/applyWithImplicitParameterFunctionCall.kt.after @@ -5,4 +5,5 @@ fun foo(a: String?) { this?.toLowerCase() } } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceImplicitReceiverCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/argument.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/argument.kt index 07db38f4d2d5..6b5664ea9fa8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/argument.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/argument.kt @@ -7,4 +7,6 @@ class Foo { val s = "" } -fun bar(i: Int, s: String, j: Int) {} \ No newline at end of file +fun bar(i: Int, s: String, j: Int) {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/argument.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/argument.kt.after index bd1f79210a2d..bd7b66030a6b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/argument.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/argument.kt.after @@ -7,4 +7,6 @@ class Foo { val s = "" } -fun bar(i: Int, s: String, j: Int) {} \ No newline at end of file +fun bar(i: Int, s: String, j: Int) {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignment.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignment.kt index 3f6c25c2901c..0120a395897e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignment.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignment.kt @@ -5,3 +5,6 @@ var i = 0 fun foo(s: String?) { i = s.length } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignment.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignment.kt.after index ca3609efd9a1..31abf348a3c0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignment.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignment.kt.after @@ -5,3 +5,6 @@ var i = 0 fun foo(s: String?) { i = s?.length ?: } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignmentFromImplicitParameter.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignmentFromImplicitParameter.kt index 27fb1cd4b168..8337d084f277 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignmentFromImplicitParameter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignmentFromImplicitParameter.kt @@ -7,3 +7,6 @@ fun foo(a: String?) { i = length } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceImplicitReceiverCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceImplicitReceiverCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignmentFromImplicitParameter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignmentFromImplicitParameter.kt.after index 38da8dfa2bb7..56039ce9b9f3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignmentFromImplicitParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignmentFromImplicitParameter.kt.after @@ -7,3 +7,6 @@ fun foo(a: String?) { i = this?.length ?: } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceImplicitReceiverCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceImplicitReceiverCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignmentToNullable.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignmentToNullable.kt index 111fbe47ce4f..afbecb30d459 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignmentToNullable.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignmentToNullable.kt @@ -5,3 +5,6 @@ var i: Int? = 0 fun foo(s: String?) { i = s.length } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignmentToNullable.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignmentToNullable.kt.after index efcb10def622..2ef79514ec4c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignmentToNullable.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignmentToNullable.kt.after @@ -5,3 +5,6 @@ var i: Int? = 0 fun foo(s: String?) { i = s?.length } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignmentToProperty.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignmentToProperty.kt index f647057b0128..e8db16fe075e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignmentToProperty.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignmentToProperty.kt @@ -3,3 +3,6 @@ class T(s: String?) { var i: Int = s.length } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignmentToProperty.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignmentToProperty.kt.after index c39c94bf27d8..bbf8c53f94a3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignmentToProperty.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignmentToProperty.kt.after @@ -3,3 +3,6 @@ class T(s: String?) { var i: Int = s?.length ?: } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignmentToPropertyWithNoExplicitType.fir.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignmentToPropertyWithNoExplicitType.fir.kt.after index 33fa470c59eb..676c93acd35e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignmentToPropertyWithNoExplicitType.fir.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignmentToPropertyWithNoExplicitType.fir.kt.after @@ -3,3 +3,6 @@ class T(s: String?) { var i = s?.length ?: } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignmentToPropertyWithNoExplicitType.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignmentToPropertyWithNoExplicitType.kt index d9270d110254..1855ba44391e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignmentToPropertyWithNoExplicitType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignmentToPropertyWithNoExplicitType.kt @@ -3,3 +3,6 @@ class T(s: String?) { var i = s.length } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignmentToPropertyWithNoExplicitType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignmentToPropertyWithNoExplicitType.kt.after index 086a6281da04..48d6ff941c85 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignmentToPropertyWithNoExplicitType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignmentToPropertyWithNoExplicitType.kt.after @@ -3,3 +3,6 @@ class T(s: String?) { var i = s?.length } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignmentToUnsafeCallExpression.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignmentToUnsafeCallExpression.kt index 9c68de212ba1..16caaa75abb5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignmentToUnsafeCallExpression.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignmentToUnsafeCallExpression.kt @@ -4,3 +4,6 @@ class A(var s: String? = null) fun foo(a: A?) { a.s = "" } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignmentToUnsafeCallExpression.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignmentToUnsafeCallExpression.kt.after index 29cdd61c952b..dd030357c09b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignmentToUnsafeCallExpression.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/assignmentToUnsafeCallExpression.kt.after @@ -4,3 +4,6 @@ class A(var s: String? = null) fun foo(a: A?) { a?.s = "" } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/comment.fir.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/comment.fir.kt.after index 443de4f5d60d..f0996ad491d0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/comment.fir.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/comment.fir.kt.after @@ -5,3 +5,6 @@ fun foo(a: String?) { // comment2 ?.length ?: } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/comment.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/comment.kt index 1fecd499a9f7..2ff2b7fdbf0c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/comment.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/comment.kt @@ -5,3 +5,6 @@ fun foo(a: String?) { // comment2 .length } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/comment.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/comment.kt.after index ceb2888c5e9e..14070e4d6564 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/comment.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/comment.kt.after @@ -5,3 +5,6 @@ fun foo(a: String?) { // comment2 ?.length } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/expression.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/expression.kt index a54726a6e1ef..a29aab7ef4d8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/expression.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/expression.kt @@ -3,3 +3,6 @@ fun foo(s: String?) { 1 + s.length } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/expression.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/expression.kt.after index f5c3cbd703de..5a163a2870f0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/expression.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/expression.kt.after @@ -3,3 +3,6 @@ fun foo(s: String?) { 1 + (s?.length ?: ) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/extFunction.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/extFunction.kt index e6d6dd103442..523f3c56aa8b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/extFunction.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/extFunction.kt @@ -3,4 +3,5 @@ fun String?.foo() { toLowerCase() } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceImplicitReceiverCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/extFunction.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/extFunction.kt.after index 0b37d8b2f7aa..1fe0f464978d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/extFunction.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/extFunction.kt.after @@ -3,4 +3,5 @@ fun String?.foo() { this?.toLowerCase() } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceImplicitReceiverCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/functionCall.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/functionCall.kt index 40a2a3c55bf7..b10ee33be9b5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/functionCall.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/functionCall.kt @@ -2,4 +2,6 @@ // WITH_STDLIB fun foo(a: String?) { a.toLowerCase() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/functionCall.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/functionCall.kt.after index ce79da17fea4..a0373df4c516 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/functionCall.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/functionCall.kt.after @@ -2,4 +2,6 @@ // WITH_STDLIB fun foo(a: String?) { a?.toLowerCase() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/functionExpressionBody.fir.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/functionExpressionBody.fir.kt.after index bb2f959fc116..bc099b575a8c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/functionExpressionBody.fir.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/functionExpressionBody.fir.kt.after @@ -6,3 +6,6 @@ class T { fun foo(s: String?): Int = s?.length ?: } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/functionExpressionBody.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/functionExpressionBody.kt index 19df09eda5db..5c7ffffed617 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/functionExpressionBody.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/functionExpressionBody.kt @@ -6,3 +6,6 @@ class T { fun foo(s: String?): Int = s.length } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/functionExpressionBody.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/functionExpressionBody.kt.after index cecb7f05f0f9..1e5ecb87b1c2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/functionExpressionBody.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/functionExpressionBody.kt.after @@ -6,3 +6,6 @@ class T { fun foo(s: String?): Int = s?.length } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/functionExpressionBodyWithNoExplicitType.fir.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/functionExpressionBodyWithNoExplicitType.fir.kt.after index c73e4d024f00..32919b44d0ee 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/functionExpressionBodyWithNoExplicitType.fir.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/functionExpressionBodyWithNoExplicitType.fir.kt.after @@ -3,3 +3,6 @@ class T { fun foo(s: String?) = s?.length ?: } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/functionExpressionBodyWithNoExplicitType.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/functionExpressionBodyWithNoExplicitType.kt index 4121ea59833f..a1cde0483c89 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/functionExpressionBodyWithNoExplicitType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/functionExpressionBodyWithNoExplicitType.kt @@ -3,3 +3,6 @@ class T { fun foo(s: String?) = s.length } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/functionExpressionBodyWithNoExplicitType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/functionExpressionBodyWithNoExplicitType.kt.after index 321c8f604828..da8fd8001b76 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/functionExpressionBodyWithNoExplicitType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/functionExpressionBodyWithNoExplicitType.kt.after @@ -3,3 +3,6 @@ class T { fun foo(s: String?) = s?.length } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/hasElvis.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/hasElvis.kt index 039783bb5618..767f96f730b1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/hasElvis.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/hasElvis.kt @@ -8,3 +8,6 @@ fun main() { fun foo(): String? { return "" } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/hasElvis.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/hasElvis.kt.after index 8d86a24c68bf..0fb736bcb0bb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/hasElvis.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/hasElvis.kt.after @@ -8,3 +8,6 @@ fun main() { fun foo(): String? { return "" } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/hasElvis2.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/hasElvis2.kt index 535cc2d96574..4551ce27b55e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/hasElvis2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/hasElvis2.kt @@ -7,3 +7,6 @@ fun foo(a: String?) { i = length ?: 0 } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceImplicitReceiverCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceImplicitReceiverCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/hasElvis2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/hasElvis2.kt.after index 9135108b5d57..51a5eb3be2a3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/hasElvis2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/hasElvis2.kt.after @@ -7,3 +7,6 @@ fun foo(a: String?) { i = this?.length ?: 0 } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceImplicitReceiverCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceImplicitReceiverCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/invokeOperator.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/invokeOperator.kt index aef529e946d5..d68dcc972f4c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/invokeOperator.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/invokeOperator.kt @@ -4,4 +4,5 @@ val functions: Map Any> = TODO() fun run(name: String) = functions[name]() -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/invokeOperator.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/invokeOperator.kt.after index e4a5574c435e..84559c3fa5c4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/invokeOperator.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/invokeOperator.kt.after @@ -4,4 +4,5 @@ val functions: Map Any> = TODO() fun run(name: String) = functions[name]?.invoke() -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/invokeOperator2.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/invokeOperator2.kt index 2ab9ef5650fa..c6dc88423ae1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/invokeOperator2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/invokeOperator2.kt @@ -9,4 +9,5 @@ class Bar { fun test(foo: Foo?) { foo.bar() } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/invokeOperator2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/invokeOperator2.kt.after index 58b42f6fa58b..7577efb7b032 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/invokeOperator2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/invokeOperator2.kt.after @@ -9,4 +9,5 @@ class Bar { fun test(foo: Foo?) { foo?.bar?.invoke() } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceInfixOrOperatorCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/lastStatementOfLambdaAsArgument.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/lastStatementOfLambdaAsArgument.kt index da55c9e4631d..866ba32991a9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/lastStatementOfLambdaAsArgument.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/lastStatementOfLambdaAsArgument.kt @@ -16,3 +16,6 @@ fun bar(s: String) {} fun baz(f: () -> String) { } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/lastStatementOfLambdaAsArgument.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/lastStatementOfLambdaAsArgument.kt.after index f57fa447ce01..d60f9ca132fe 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/lastStatementOfLambdaAsArgument.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/lastStatementOfLambdaAsArgument.kt.after @@ -16,3 +16,6 @@ fun bar(s: String) {} fun baz(f: () -> String) { } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/lastStatementOfLambdaAsLocalVariable.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/lastStatementOfLambdaAsLocalVariable.kt index 85e8ed7b8afc..2a7e358156ed 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/lastStatementOfLambdaAsLocalVariable.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/lastStatementOfLambdaAsLocalVariable.kt @@ -12,3 +12,6 @@ class Foo { } fun bar(s: String) {} + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/lastStatementOfLambdaAsLocalVariable.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/lastStatementOfLambdaAsLocalVariable.kt.after index f3c0d25249ea..e1ece471a2ad 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/lastStatementOfLambdaAsLocalVariable.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/lastStatementOfLambdaAsLocalVariable.kt.after @@ -12,3 +12,6 @@ class Foo { } fun bar(s: String) {} + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/lastStatementOfLambdaAsProperty.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/lastStatementOfLambdaAsProperty.kt index de3d076b80e5..740ed005d4fc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/lastStatementOfLambdaAsProperty.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/lastStatementOfLambdaAsProperty.kt @@ -12,3 +12,6 @@ class Foo { } fun bar(s: String) {} + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/lastStatementOfLambdaAsProperty.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/lastStatementOfLambdaAsProperty.kt.after index 4f722f26f393..5b46e81699da 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/lastStatementOfLambdaAsProperty.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/lastStatementOfLambdaAsProperty.kt.after @@ -12,3 +12,6 @@ class Foo { } fun bar(s: String) {} + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/let.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/let.kt index 454868564ef9..aa8cbc278f6b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/let.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/let.kt @@ -5,3 +5,6 @@ fun foo(a: String?) { it.length } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/let.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/let.kt.after index b7387af42dd0..10a649ef82fe 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/let.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/let.kt.after @@ -5,3 +5,6 @@ fun foo(a: String?) { it?.length ?: } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/letWithParameter.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/letWithParameter.kt index 1eeac889edf7..e7afdc7ad336 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/letWithParameter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/letWithParameter.kt @@ -5,3 +5,6 @@ fun foo(a: String?) { b.length } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/letWithParameter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/letWithParameter.kt.after index 5e8815ccd459..90cf115cdad4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/letWithParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/letWithParameter.kt.after @@ -5,3 +5,6 @@ fun foo(a: String?) { b?.length ?: } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/lineBreak.fir.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/lineBreak.fir.kt.after index b12475011dc8..192697f6a7e6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/lineBreak.fir.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/lineBreak.fir.kt.after @@ -4,3 +4,6 @@ fun foo(a: String?) { val b = a ?.length ?: } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/lineBreak.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/lineBreak.kt index 5eff419bd7f8..c8d55381c438 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/lineBreak.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/lineBreak.kt @@ -4,3 +4,6 @@ fun foo(a: String?) { val b = a .length } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/lineBreak.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/lineBreak.kt.after index 4672e9939449..6eaefa0d9905 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/lineBreak.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/lineBreak.kt.after @@ -4,3 +4,6 @@ fun foo(a: String?) { val b = a ?.length } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/normal.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/normal.kt index 419623f5136d..89c5ff3580c7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/normal.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/normal.kt @@ -3,3 +3,6 @@ fun foo(a: String?) { a.length } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/normal.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/normal.kt.after index f0ccffb226be..f15380dcea66 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/normal.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/normal.kt.after @@ -3,3 +3,6 @@ fun foo(a: String?) { a?.length } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/return.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/return.kt index e9072ff99215..de82e0a9841e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/return.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/return.kt @@ -5,4 +5,6 @@ fun test(foo: Foo?): String { class Foo { val s = "" -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/return.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/return.kt.after index e1a7f3fdc080..9e958374badc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/return.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCall/return.kt.after @@ -5,4 +5,6 @@ fun test(foo: Foo?): String { class Foo { val s = "" -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/also.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/also.kt index ead5b520dc59..b26011a9c40c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/also.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/also.kt @@ -4,4 +4,5 @@ fun foo(a: String?) { a.also { it.length } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallForScopeFunctionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/also.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/also.kt.after index 82c815a9c8ad..9d68e08a0b1a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/also.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/also.kt.after @@ -4,4 +4,5 @@ fun foo(a: String?) { a?.also { it.length } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallForScopeFunctionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithThis.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithThis.kt index e384181754fc..8d476843d615 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithThis.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithThis.kt @@ -4,4 +4,5 @@ fun foo(a: String?) { a.apply { this.length } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallForScopeFunctionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithThis.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithThis.kt.after index dd8317148381..eab9d3348413 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithThis.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithThis.kt.after @@ -4,4 +4,5 @@ fun foo(a: String?) { a?.apply { this.length } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallForScopeFunctionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithThisAndArrow.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithThisAndArrow.kt index 0f032e9cb61e..9640dcced104 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithThisAndArrow.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithThisAndArrow.kt @@ -4,4 +4,5 @@ fun foo(a: String?) { a.apply { -> this.length } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallForScopeFunctionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithThisAndArrow.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithThisAndArrow.kt.after index 508ed6ed33e4..3cb5aa288133 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithThisAndArrow.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithThisAndArrow.kt.after @@ -4,4 +4,5 @@ fun foo(a: String?) { a?.apply { -> this.length } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallForScopeFunctionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithThisLabeled.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithThisLabeled.kt index 53b704f3ca4c..263b6eb615ce 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithThisLabeled.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithThisLabeled.kt @@ -4,4 +4,5 @@ fun foo(a: String?) { a.apply { this@apply.length } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallForScopeFunctionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithThisLabeled.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithThisLabeled.kt.after index c485c67da875..11a7cc6460e0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithThisLabeled.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithThisLabeled.kt.after @@ -4,4 +4,5 @@ fun foo(a: String?) { a?.apply { this@apply.length } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallForScopeFunctionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithoutThis.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithoutThis.kt index 23e10b782266..a12221aa8dbe 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithoutThis.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithoutThis.kt @@ -4,4 +4,5 @@ fun foo(a: String?) { a.apply { length } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallForScopeFunctionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithoutThis.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithoutThis.kt.after index a2cc1e9fea19..228ea6faeefb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithoutThis.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithoutThis.kt.after @@ -4,4 +4,5 @@ fun foo(a: String?) { a?.apply { length } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallForScopeFunctionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithoutThisMethodCall.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithoutThisMethodCall.kt index 3ff619deca29..d212ff56dba2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithoutThisMethodCall.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithoutThisMethodCall.kt @@ -4,4 +4,5 @@ fun foo(a: String?) { a.apply { toLowerCase() } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallForScopeFunctionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithoutThisMethodCall.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithoutThisMethodCall.kt.after index b6b7b15385aa..3ca50c535999 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithoutThisMethodCall.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/applyWithoutThisMethodCall.kt.after @@ -4,4 +4,5 @@ fun foo(a: String?) { a?.apply { toLowerCase() } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallForScopeFunctionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/assignment.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/assignment.kt index 0d715a84dca5..68ddc927c4f0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/assignment.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/assignment.kt @@ -6,4 +6,5 @@ fun foo(a: String?) { i = a.run { length } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallForScopeFunctionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/assignment.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/assignment.kt.after index cf941c15a6f7..7ce66ff696b7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/assignment.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/assignment.kt.after @@ -6,4 +6,5 @@ fun foo(a: String?) { i = a?.run { length } ?: -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallForScopeFunctionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/comment.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/comment.kt index 34fac7da9c3c..db01e25e9ade 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/comment.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/comment.kt @@ -6,4 +6,5 @@ fun foo(a: String?) { .let { it.length } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallForScopeFunctionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/comment.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/comment.kt.after index 9b7064eed474..120b173d297a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/comment.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/comment.kt.after @@ -6,4 +6,5 @@ fun foo(a: String?) { ?.let { it.length } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallForScopeFunctionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/let.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/let.kt index 12ba93307bea..c89300855801 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/let.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/let.kt @@ -4,4 +4,5 @@ fun foo(a: String?) { a.let { it.length } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallForScopeFunctionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/let.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/let.kt.after index 7c295b7a8fd2..8b8803be979b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/let.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/let.kt.after @@ -4,4 +4,5 @@ fun foo(a: String?) { a?.let { it.length } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallForScopeFunctionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/letWithParam.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/letWithParam.kt index 01c23d3ce028..42da3a13b8b2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/letWithParam.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/letWithParam.kt @@ -4,4 +4,5 @@ fun foo(a: String?) { a.let { s -> s.length } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallForScopeFunctionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/letWithParam.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/letWithParam.kt.after index faee079f9ace..2d9927ae5949 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/letWithParam.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/letWithParam.kt.after @@ -4,4 +4,5 @@ fun foo(a: String?) { a?.let { s -> s.length } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallForScopeFunctionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/lineBreak.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/lineBreak.kt index e2aede6c8be7..0b17e8727664 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/lineBreak.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/lineBreak.kt @@ -5,4 +5,5 @@ fun foo(a: String?) { .let { it.length } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallForScopeFunctionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/lineBreak.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/lineBreak.kt.after index f5e1e3e64f06..a33b2e580c37 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/lineBreak.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/lineBreak.kt.after @@ -5,4 +5,5 @@ fun foo(a: String?) { ?.let { it.length } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallForScopeFunctionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/run.kt b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/run.kt index 73fac4709f71..648ee044d200 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/run.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/run.kt @@ -4,4 +4,5 @@ fun foo(a: String?) { a.run { length } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallForScopeFunctionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/run.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/run.kt.after index feb5d7ecff01..18c812f930c0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/run.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/replaceWithSafeCallForScopeFunction/run.kt.after @@ -4,4 +4,5 @@ fun foo(a: String?) { a?.run { length } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallForScopeFunctionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/addSourceRetention/noRetention.kt b/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/addSourceRetention/noRetention.kt index 971f2b34819c..055dfc228222 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/addSourceRetention/noRetention.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/addSourceRetention/noRetention.kt @@ -1,3 +1,4 @@ // "Add SOURCE retention" "true" @Target(AnnotationTarget.EXPRESSION) -annotation class Ann \ No newline at end of file +annotation class Ann +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RestrictedRetentionForExpressionAnnotationFactory$AddSourceRetentionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/addSourceRetention/noRetention.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/addSourceRetention/noRetention.kt.after index ef5c9e42e683..72dfc74362df 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/addSourceRetention/noRetention.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/addSourceRetention/noRetention.kt.after @@ -1,4 +1,5 @@ // "Add SOURCE retention" "true" @Retention(AnnotationRetention.SOURCE) @Target(AnnotationTarget.EXPRESSION) -annotation class Ann \ No newline at end of file +annotation class Ann +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RestrictedRetentionForExpressionAnnotationFactory$AddSourceRetentionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/addSourceRetention/noRetention2.kt b/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/addSourceRetention/noRetention2.kt index 74a312c5ec6b..71321fcc2abb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/addSourceRetention/noRetention2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/addSourceRetention/noRetention2.kt @@ -3,4 +3,5 @@ annotation class Retention @Retention @Target(AnnotationTarget.EXPRESSION) -annotation class Ann \ No newline at end of file +annotation class Ann +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RestrictedRetentionForExpressionAnnotationFactory$AddSourceRetentionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/addSourceRetention/noRetention2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/addSourceRetention/noRetention2.kt.after index fd2a1d4eff64..b307a69baaa1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/addSourceRetention/noRetention2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/addSourceRetention/noRetention2.kt.after @@ -4,4 +4,5 @@ annotation class Retention @kotlin.annotation.Retention(AnnotationRetention.SOURCE) @Retention @Target(AnnotationTarget.EXPRESSION) -annotation class Ann \ No newline at end of file +annotation class Ann +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RestrictedRetentionForExpressionAnnotationFactory$AddSourceRetentionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/changeRetentionToSource/binaryRetention.kt b/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/changeRetentionToSource/binaryRetention.kt index 0abc9146ff28..d71aac71fc38 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/changeRetentionToSource/binaryRetention.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/changeRetentionToSource/binaryRetention.kt @@ -1,4 +1,5 @@ // "Change existing retention to SOURCE" "true" @Retention(AnnotationRetention.BINARY) @Target(AnnotationTarget.EXPRESSION) -annotation class Ann \ No newline at end of file +annotation class Ann +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RestrictedRetentionForExpressionAnnotationFactory$ChangeRetentionToSourceFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/changeRetentionToSource/binaryRetention.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/changeRetentionToSource/binaryRetention.kt.after index b39d80151d50..b8e389226e86 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/changeRetentionToSource/binaryRetention.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/changeRetentionToSource/binaryRetention.kt.after @@ -1,4 +1,5 @@ // "Change existing retention to SOURCE" "true" @Retention(AnnotationRetention.SOURCE) @Target(AnnotationTarget.EXPRESSION) -annotation class Ann \ No newline at end of file +annotation class Ann +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RestrictedRetentionForExpressionAnnotationFactory$ChangeRetentionToSourceFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/changeRetentionToSource/emptyRetention.kt b/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/changeRetentionToSource/emptyRetention.kt index c8ab2e6b7aa5..702a8c5f389a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/changeRetentionToSource/emptyRetention.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/changeRetentionToSource/emptyRetention.kt @@ -1,4 +1,5 @@ // "Change existing retention to SOURCE" "true" @Retention @Target(AnnotationTarget.EXPRESSION) -annotation class Ann \ No newline at end of file +annotation class Ann +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RestrictedRetentionForExpressionAnnotationFactory$ChangeRetentionToSourceFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/changeRetentionToSource/emptyRetention.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/changeRetentionToSource/emptyRetention.kt.after index b39d80151d50..b8e389226e86 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/changeRetentionToSource/emptyRetention.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/changeRetentionToSource/emptyRetention.kt.after @@ -1,4 +1,5 @@ // "Change existing retention to SOURCE" "true" @Retention(AnnotationRetention.SOURCE) @Target(AnnotationTarget.EXPRESSION) -annotation class Ann \ No newline at end of file +annotation class Ann +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RestrictedRetentionForExpressionAnnotationFactory$ChangeRetentionToSourceFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/changeRetentionToSource/emptyRetention2.kt b/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/changeRetentionToSource/emptyRetention2.kt index f2b6f8d67b01..33dab9ca5470 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/changeRetentionToSource/emptyRetention2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/changeRetentionToSource/emptyRetention2.kt @@ -1,4 +1,5 @@ // "Change existing retention to SOURCE" "true" @Retention() @Target(AnnotationTarget.EXPRESSION) -annotation class Ann \ No newline at end of file +annotation class Ann +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RestrictedRetentionForExpressionAnnotationFactory$ChangeRetentionToSourceFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/changeRetentionToSource/emptyRetention2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/changeRetentionToSource/emptyRetention2.kt.after index b39d80151d50..b8e389226e86 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/changeRetentionToSource/emptyRetention2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/changeRetentionToSource/emptyRetention2.kt.after @@ -1,4 +1,5 @@ // "Change existing retention to SOURCE" "true" @Retention(AnnotationRetention.SOURCE) @Target(AnnotationTarget.EXPRESSION) -annotation class Ann \ No newline at end of file +annotation class Ann +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RestrictedRetentionForExpressionAnnotationFactory$ChangeRetentionToSourceFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/changeRetentionToSource/emptyRetention3.kt b/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/changeRetentionToSource/emptyRetention3.kt index 5f79bad0446f..8a968ac839c5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/changeRetentionToSource/emptyRetention3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/changeRetentionToSource/emptyRetention3.kt @@ -3,4 +3,5 @@ class AnnotationRetention @Retention() @Target(AnnotationTarget.EXPRESSION) -annotation class Ann \ No newline at end of file +annotation class Ann +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RestrictedRetentionForExpressionAnnotationFactory$ChangeRetentionToSourceFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/changeRetentionToSource/emptyRetention3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/changeRetentionToSource/emptyRetention3.kt.after index 020628343f5c..f24eff323b86 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/changeRetentionToSource/emptyRetention3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/changeRetentionToSource/emptyRetention3.kt.after @@ -5,4 +5,5 @@ class AnnotationRetention @Retention(AnnotationRetention.SOURCE) @Target(AnnotationTarget.EXPRESSION) -annotation class Ann \ No newline at end of file +annotation class Ann +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RestrictedRetentionForExpressionAnnotationFactory$ChangeRetentionToSourceFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/removeExpressionTarget/binaryRetention.kt b/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/removeExpressionTarget/binaryRetention.kt index 2232213318f0..49dc9d2af65b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/removeExpressionTarget/binaryRetention.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/removeExpressionTarget/binaryRetention.kt @@ -1,4 +1,5 @@ // "Remove EXPRESSION target" "true" @Retention(AnnotationRetention.BINARY) @Target(AnnotationTarget.EXPRESSION) -annotation class Ann \ No newline at end of file +annotation class Ann +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RestrictedRetentionForExpressionAnnotationFactory$RemoveExpressionTargetFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/removeExpressionTarget/binaryRetention.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/removeExpressionTarget/binaryRetention.kt.after index 1e92cc42a7fc..ead29c7f1297 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/removeExpressionTarget/binaryRetention.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/removeExpressionTarget/binaryRetention.kt.after @@ -1,3 +1,4 @@ // "Remove EXPRESSION target" "true" @Retention(AnnotationRetention.BINARY) -annotation class Ann \ No newline at end of file +annotation class Ann +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RestrictedRetentionForExpressionAnnotationFactory$RemoveExpressionTargetFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/removeExpressionTarget/emptyRetention.kt b/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/removeExpressionTarget/emptyRetention.kt index 11fcd837ac7b..b6e88a14984c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/removeExpressionTarget/emptyRetention.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/removeExpressionTarget/emptyRetention.kt @@ -1,4 +1,5 @@ // "Remove EXPRESSION target" "true" @Retention @Target(AnnotationTarget.EXPRESSION) -annotation class Ann \ No newline at end of file +annotation class Ann +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RestrictedRetentionForExpressionAnnotationFactory$RemoveExpressionTargetFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/removeExpressionTarget/emptyRetention.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/removeExpressionTarget/emptyRetention.kt.after index 81ab769ea5c6..dd65fe9fb133 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/removeExpressionTarget/emptyRetention.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/removeExpressionTarget/emptyRetention.kt.after @@ -1,3 +1,4 @@ // "Remove EXPRESSION target" "true" @Retention -annotation class Ann \ No newline at end of file +annotation class Ann +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RestrictedRetentionForExpressionAnnotationFactory$RemoveExpressionTargetFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/removeExpressionTarget/emptyRetention2.kt b/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/removeExpressionTarget/emptyRetention2.kt index e3e94cb04086..05a5a7ac24f3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/removeExpressionTarget/emptyRetention2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/removeExpressionTarget/emptyRetention2.kt @@ -1,4 +1,5 @@ // "Remove EXPRESSION target" "true" @Retention() @Target(AnnotationTarget.EXPRESSION) -annotation class Ann \ No newline at end of file +annotation class Ann +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RestrictedRetentionForExpressionAnnotationFactory$RemoveExpressionTargetFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/removeExpressionTarget/emptyRetention2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/removeExpressionTarget/emptyRetention2.kt.after index c6702be45fcb..ccb55fc3b7d5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/removeExpressionTarget/emptyRetention2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/removeExpressionTarget/emptyRetention2.kt.after @@ -1,3 +1,4 @@ // "Remove EXPRESSION target" "true" @Retention() -annotation class Ann \ No newline at end of file +annotation class Ann +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RestrictedRetentionForExpressionAnnotationFactory$RemoveExpressionTargetFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/removeExpressionTarget/multipleTargets.kt b/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/removeExpressionTarget/multipleTargets.kt index dbdfe2406c76..f596f6aae2eb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/removeExpressionTarget/multipleTargets.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/removeExpressionTarget/multipleTargets.kt @@ -3,4 +3,5 @@ import kotlin.annotation.AnnotationTarget.* @Retention @Target(FIELD, EXPRESSION, PROPERTY) -annotation class Ann \ No newline at end of file +annotation class Ann +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RestrictedRetentionForExpressionAnnotationFactory$RemoveExpressionTargetFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/removeExpressionTarget/multipleTargets.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/removeExpressionTarget/multipleTargets.kt.after index f37692e34a2b..55c5bb8e72ae 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/removeExpressionTarget/multipleTargets.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/removeExpressionTarget/multipleTargets.kt.after @@ -3,4 +3,5 @@ import kotlin.annotation.AnnotationTarget.* @Retention @Target(FIELD, PROPERTY) -annotation class Ann \ No newline at end of file +annotation class Ann +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RestrictedRetentionForExpressionAnnotationFactory$RemoveExpressionTargetFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/removeExpressionTarget/multipleTargetsImported.kt b/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/removeExpressionTarget/multipleTargetsImported.kt index f61e5722e19e..27ed31212f1b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/removeExpressionTarget/multipleTargetsImported.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/removeExpressionTarget/multipleTargetsImported.kt @@ -1,4 +1,5 @@ // "Remove EXPRESSION target" "true" @Retention @Target(AnnotationTarget.FIELD, AnnotationTarget.EXPRESSION, AnnotationTarget.PROPERTY) -annotation class Ann \ No newline at end of file +annotation class Ann +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RestrictedRetentionForExpressionAnnotationFactory$RemoveExpressionTargetFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/removeExpressionTarget/multipleTargetsImported.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/removeExpressionTarget/multipleTargetsImported.kt.after index b6bc815e4d96..186104e1c631 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/removeExpressionTarget/multipleTargetsImported.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/removeExpressionTarget/multipleTargetsImported.kt.after @@ -1,4 +1,5 @@ // "Remove EXPRESSION target" "true" @Retention @Target(AnnotationTarget.FIELD, AnnotationTarget.PROPERTY) -annotation class Ann \ No newline at end of file +annotation class Ann +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RestrictedRetentionForExpressionAnnotationFactory$RemoveExpressionTargetFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/removeExpressionTarget/noRetention.kt b/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/removeExpressionTarget/noRetention.kt index 26a647781b9f..007be75bfb08 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/removeExpressionTarget/noRetention.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/removeExpressionTarget/noRetention.kt @@ -1,3 +1,4 @@ // "Remove EXPRESSION target" "true" @Target(AnnotationTarget.EXPRESSION) -annotation class Ann \ No newline at end of file +annotation class Ann +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RestrictedRetentionForExpressionAnnotationFactory$RemoveExpressionTargetFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/removeExpressionTarget/noRetention.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/removeExpressionTarget/noRetention.kt.after index 651d39dd0513..717fc297b3a4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/removeExpressionTarget/noRetention.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/restrictedRetentionForExpressionAnnotation/removeExpressionTarget/noRetention.kt.after @@ -1,2 +1,3 @@ // "Remove EXPRESSION target" "true" -annotation class Ann \ No newline at end of file +annotation class Ann +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RestrictedRetentionForExpressionAnnotationFactory$RemoveExpressionTargetFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/simplifyComparison/doubleNull.kt b/plugins/kotlin/idea/tests/testData/quickfix/simplifyComparison/doubleNull.kt index fab83b68a767..4c783d872f3c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/simplifyComparison/doubleNull.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/simplifyComparison/doubleNull.kt @@ -10,4 +10,5 @@ fun foo(x: String?) { } } -fun bar() {} \ No newline at end of file +fun bar() {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SimplifyComparisonFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/simplifyComparison/doubleNull.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/simplifyComparison/doubleNull.kt.after index 0bf342fb8809..4a3b2b89537a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/simplifyComparison/doubleNull.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/simplifyComparison/doubleNull.kt.after @@ -7,4 +7,5 @@ fun foo(x: String?) { } } -fun bar() {} \ No newline at end of file +fun bar() {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SimplifyComparisonFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/simplifyComparison/notNull.kt b/plugins/kotlin/idea/tests/testData/quickfix/simplifyComparison/notNull.kt index 0235688ec231..90568df45cf4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/simplifyComparison/notNull.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/simplifyComparison/notNull.kt @@ -5,4 +5,5 @@ fun foo(x: Int) { } } -fun bar() {} \ No newline at end of file +fun bar() {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SimplifyComparisonFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/simplifyComparison/notNull.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/simplifyComparison/notNull.kt.after index b2518059f018..c578079dbf8e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/simplifyComparison/notNull.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/simplifyComparison/notNull.kt.after @@ -3,4 +3,5 @@ fun foo(x: Int) { bar() } -fun bar() {} \ No newline at end of file +fun bar() {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SimplifyComparisonFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/simplifyComparison/nullOrNotNull.kt b/plugins/kotlin/idea/tests/testData/quickfix/simplifyComparison/nullOrNotNull.kt index 16192d798de1..aa8c04ea06fb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/simplifyComparison/nullOrNotNull.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/simplifyComparison/nullOrNotNull.kt @@ -3,4 +3,5 @@ fun foo(x: Int) { if (x != null || x == null) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SimplifyComparisonFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/simplifyComparison/nullOrNotNull.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/simplifyComparison/nullOrNotNull.kt.after index 42766ba832bf..222f2ef83e60 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/simplifyComparison/nullOrNotNull.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/simplifyComparison/nullOrNotNull.kt.after @@ -3,4 +3,5 @@ fun foo(x: Int) { if (true) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SimplifyComparisonFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/simplifyComparison/somethingAndNotNull.kt b/plugins/kotlin/idea/tests/testData/quickfix/simplifyComparison/somethingAndNotNull.kt index a0517b90e9f9..e74ba54fdeba 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/simplifyComparison/somethingAndNotNull.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/simplifyComparison/somethingAndNotNull.kt @@ -3,4 +3,5 @@ fun foo(x: Int, arg: Boolean) { if (arg && x != null) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SimplifyComparisonFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/simplifyComparison/somethingAndNotNull.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/simplifyComparison/somethingAndNotNull.kt.after index a4a89723ae55..5d224f00903e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/simplifyComparison/somethingAndNotNull.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/simplifyComparison/somethingAndNotNull.kt.after @@ -3,4 +3,5 @@ fun foo(x: Int, arg: Boolean) { if (arg) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SimplifyComparisonFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/simplifyComparison/withAssertion.kt b/plugins/kotlin/idea/tests/testData/quickfix/simplifyComparison/withAssertion.kt index b4df83272246..03890f2d632e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/simplifyComparison/withAssertion.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/simplifyComparison/withAssertion.kt @@ -3,4 +3,5 @@ fun test() { val s = "" assert(s != null) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SimplifyComparisonFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/simplifyComparison/withAssertion.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/simplifyComparison/withAssertion.kt.after index 09d449c4d80f..20367785798f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/simplifyComparison/withAssertion.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/simplifyComparison/withAssertion.kt.after @@ -2,4 +2,5 @@ // WITH_STDLIB fun test() { val s = "" -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SimplifyComparisonFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/simplifyComparison/withAssertion2.kt b/plugins/kotlin/idea/tests/testData/quickfix/simplifyComparison/withAssertion2.kt index 61ade88eda8d..c07642adc9cd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/simplifyComparison/withAssertion2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/simplifyComparison/withAssertion2.kt @@ -3,4 +3,5 @@ fun test() { val s = "" assert(s != null && true) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SimplifyComparisonFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/simplifyComparison/withAssertion2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/simplifyComparison/withAssertion2.kt.after index 09d449c4d80f..20367785798f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/simplifyComparison/withAssertion2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/simplifyComparison/withAssertion2.kt.after @@ -2,4 +2,5 @@ // WITH_STDLIB fun test() { val s = "" -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SimplifyComparisonFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/simplifyComparison/withAssertion3.kt b/plugins/kotlin/idea/tests/testData/quickfix/simplifyComparison/withAssertion3.kt index ac2cc3e2fac4..cc040accf9e6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/simplifyComparison/withAssertion3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/simplifyComparison/withAssertion3.kt @@ -3,4 +3,5 @@ fun test() { val s = "" assert(s != null && false) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SimplifyComparisonFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/simplifyComparison/withAssertion3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/simplifyComparison/withAssertion3.kt.after index 6e18ec90c3e7..d841092a37a8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/simplifyComparison/withAssertion3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/simplifyComparison/withAssertion3.kt.after @@ -3,4 +3,5 @@ fun test() { val s = "" assert(false) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SimplifyComparisonFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThen.kt b/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThen.kt index 94c52926907a..b40a389af16a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThen.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThen.kt @@ -5,4 +5,5 @@ class Test { fun test() { if (x != null) x.length } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SmartCastImpossibleInIfThenFactory$createQuickFix$1 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThen.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThen.kt.after index 6ba5c93ddfd9..0f75225b462d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThen.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThen.kt.after @@ -5,4 +5,5 @@ class Test { fun test() { x?.length } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SmartCastImpossibleInIfThenFactory$createQuickFix$1 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThen2.kt b/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThen2.kt index 69554d341951..c68f1beb2192 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThen2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThen2.kt @@ -7,4 +7,5 @@ class Test { x.length } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SmartCastImpossibleInIfThenFactory$createQuickFix$1 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThen2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThen2.kt.after index 6ba5c93ddfd9..0f75225b462d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThen2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThen2.kt.after @@ -5,4 +5,5 @@ class Test { fun test() { x?.length } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SmartCastImpossibleInIfThenFactory$createQuickFix$1 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThen3.kt b/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThen3.kt index a3c91f398875..64ee9233afc8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThen3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThen3.kt @@ -8,4 +8,5 @@ class Test { } fun foo(s: String) = 1 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SmartCastImpossibleInIfThenFactory$createQuickFix$1 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThen3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThen3.kt.after index 2940adacdfcd..10895ad69f53 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThen3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThen3.kt.after @@ -8,4 +8,5 @@ class Test { } fun foo(s: String) = 1 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SmartCastImpossibleInIfThenFactory$createQuickFix$1 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThen4.kt b/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThen4.kt index b7e743bc89bf..a0f033ced8d7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThen4.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThen4.kt @@ -5,4 +5,5 @@ class Test { fun test() { if (x is String) x.length } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SmartCastImpossibleInIfThenFactory$createQuickFix$1 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThen4.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThen4.kt.after index 1f7ac6cd30d0..9096c5aeaba2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThen4.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThen4.kt.after @@ -5,4 +5,5 @@ class Test { fun test() { (x as? String)?.length } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SmartCastImpossibleInIfThenFactory$createQuickFix$1 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThen5.kt b/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThen5.kt index dc4930db88ce..d80a94bd25b5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThen5.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThen5.kt @@ -8,4 +8,5 @@ class Test { } fun foo(s: String) = 1 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SmartCastImpossibleInIfThenFactory$createQuickFix$1 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThen5.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThen5.kt.after index df4dab393f6e..f2cdc86e06af 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThen5.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThen5.kt.after @@ -8,4 +8,5 @@ class Test { } fun foo(s: String) = 1 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SmartCastImpossibleInIfThenFactory$createQuickFix$1 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThenElse.kt b/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThenElse.kt index 5026d358c4ad..aba214d840b1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThenElse.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThenElse.kt @@ -5,4 +5,5 @@ class Test { fun test() { val i = if (x != null) x.length else 0 } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SmartCastImpossibleInIfThenFactory$createQuickFix$1 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThenElse.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThenElse.kt.after index 80f608195573..e318152bfdbd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThenElse.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThenElse.kt.after @@ -5,4 +5,5 @@ class Test { fun test() { val i = x?.length ?: 0 } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SmartCastImpossibleInIfThenFactory$createQuickFix$1 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThenElse2.kt b/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThenElse2.kt index 91a5596acf9a..8f13b62323cc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThenElse2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThenElse2.kt @@ -9,4 +9,5 @@ class Test { 0 } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SmartCastImpossibleInIfThenFactory$createQuickFix$1 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThenElse2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThenElse2.kt.after index 80f608195573..e318152bfdbd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThenElse2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThenElse2.kt.after @@ -5,4 +5,5 @@ class Test { fun test() { val i = x?.length ?: 0 } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SmartCastImpossibleInIfThenFactory$createQuickFix$1 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThenElse3.kt b/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThenElse3.kt index 17678fc04c45..20daf75013dd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThenElse3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThenElse3.kt @@ -10,4 +10,5 @@ class Test { fun foo(s: String) = 1 fun bar() = 0 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SmartCastImpossibleInIfThenFactory$createQuickFix$1 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThenElse3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThenElse3.kt.after index 11d4ad391844..f43c554f4b41 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThenElse3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThenElse3.kt.after @@ -10,4 +10,5 @@ class Test { fun foo(s: String) = 1 fun bar() = 0 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SmartCastImpossibleInIfThenFactory$createQuickFix$1 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThenElse4.kt b/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThenElse4.kt index bb355b730fee..9de55cd312e2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThenElse4.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThenElse4.kt @@ -5,4 +5,5 @@ class Test { fun test() { val i = if (x is String) x.length else 0 } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SmartCastImpossibleInIfThenFactory$createQuickFix$1 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThenElse4.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThenElse4.kt.after index 1df10c245037..74fa0cc7c4ea 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThenElse4.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThenElse4.kt.after @@ -5,4 +5,5 @@ class Test { fun test() { val i = (x as? String)?.length ?: 0 } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SmartCastImpossibleInIfThenFactory$createQuickFix$1 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThenElse5.kt b/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThenElse5.kt index a4c08b01d2ce..55d18b54806f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThenElse5.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThenElse5.kt @@ -10,4 +10,5 @@ class Test { fun foo(s: String) = 1 fun bar() = 0 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SmartCastImpossibleInIfThenFactory$createQuickFix$1 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThenElse5.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThenElse5.kt.after index 22923110ce6a..922262caf64e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThenElse5.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThenElse5.kt.after @@ -10,4 +10,5 @@ class Test { fun foo(s: String) = 1 fun bar() = 0 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SmartCastImpossibleInIfThenFactory$createQuickFix$1 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/specifyOverrideExplicitly/base.kt b/plugins/kotlin/idea/tests/testData/quickfix/specifyOverrideExplicitly/base.kt index af83fd6b2695..42866540ef1e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/specifyOverrideExplicitly/base.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/specifyOverrideExplicitly/base.kt @@ -8,4 +8,5 @@ open class B : A { override fun foo() {} } -class C(a: A) : B(), A by a \ No newline at end of file +class C(a: A) : B(), A by a +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SpecifyOverrideExplicitlyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/specifyOverrideExplicitly/base.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/specifyOverrideExplicitly/base.kt.after index 0a1d4295a307..1e08e23fc969 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/specifyOverrideExplicitly/base.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/specifyOverrideExplicitly/base.kt.after @@ -12,4 +12,5 @@ class C(private val a: A) : B(), A by a { override fun foo() { a.foo() } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SpecifyOverrideExplicitlyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/specifyOverrideExplicitly/global.kt b/plugins/kotlin/idea/tests/testData/quickfix/specifyOverrideExplicitly/global.kt index 6d5ed912d9c7..3e820cabf748 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/specifyOverrideExplicitly/global.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/specifyOverrideExplicitly/global.kt @@ -12,4 +12,5 @@ fun bar(): A = null!! val a: A = bar() -class C() : B(), A by a \ No newline at end of file +class C() : B(), A by a +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SpecifyOverrideExplicitlyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/specifyOverrideExplicitly/global.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/specifyOverrideExplicitly/global.kt.after index ca6acc3015b1..4d47d49f4536 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/specifyOverrideExplicitly/global.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/specifyOverrideExplicitly/global.kt.after @@ -16,4 +16,5 @@ class C() : B(), A by a { override fun foo() { a.foo() } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SpecifyOverrideExplicitlyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/specifyOverrideExplicitly/lists.kt b/plugins/kotlin/idea/tests/testData/quickfix/specifyOverrideExplicitly/lists.kt index 0eeedb5219a6..7d3f8fc8ba67 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/specifyOverrideExplicitly/lists.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/specifyOverrideExplicitly/lists.kt @@ -3,4 +3,5 @@ import java.util.* -class B(f: MutableList): ArrayList(), MutableList by f \ No newline at end of file +class B(f: MutableList): ArrayList(), MutableList by f +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SpecifyOverrideExplicitlyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/specifyOverrideExplicitly/lists.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/specifyOverrideExplicitly/lists.kt.after index f8792c3cd3df..a4fe62b26ab6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/specifyOverrideExplicitly/lists.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/specifyOverrideExplicitly/lists.kt.after @@ -7,4 +7,5 @@ class B(private val f: MutableList): ArrayList(), MutableListB(private val f: MutableList): ArrayList(), Mutable override fun isEmpty(): Boolean { return f.isEmpty() } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SpecifyOverrideExplicitlyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/specifyOverrideExplicitly/lists2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/specifyOverrideExplicitly/lists2.kt.after index 233fb2d093d1..fc523cc704c2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/specifyOverrideExplicitly/lists2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/specifyOverrideExplicitly/lists2.kt.after @@ -10,4 +10,5 @@ class B(private val f: MutableList): ArrayList(), MutableList : B(), A by a -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SpecifyOverrideExplicitlyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/specifyOverrideExplicitly/outer.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/specifyOverrideExplicitly/outer.kt.after index 53b5c4af3e02..cabc4e93a14b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/specifyOverrideExplicitly/outer.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/specifyOverrideExplicitly/outer.kt.after @@ -14,4 +14,5 @@ fun bar(a: A) { a.foo() } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SpecifyOverrideExplicitlyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/specifyOverrideExplicitly/property.kt b/plugins/kotlin/idea/tests/testData/quickfix/specifyOverrideExplicitly/property.kt index 6ce6794d8860..a9d4e44e4654 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/specifyOverrideExplicitly/property.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/specifyOverrideExplicitly/property.kt @@ -8,4 +8,5 @@ open class B : A { override fun foo() {} } -class C(val a: A) : B(), A by a \ No newline at end of file +class C(val a: A) : B(), A by a +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SpecifyOverrideExplicitlyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/specifyOverrideExplicitly/property.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/specifyOverrideExplicitly/property.kt.after index 7c9c32400115..61288f60987f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/specifyOverrideExplicitly/property.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/specifyOverrideExplicitly/property.kt.after @@ -12,4 +12,5 @@ class C(val a: A) : B(), A by a { override fun foo() { a.foo() } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SpecifyOverrideExplicitlyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperExplicitly/abstractSuperCall.kt b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperExplicitly/abstractSuperCall.kt index 04045f39913e..ff980344d4b5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperExplicitly/abstractSuperCall.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperExplicitly/abstractSuperCall.kt @@ -21,3 +21,5 @@ class DerivedB : DerivedA(), IntB { return super.check() } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AbstractSuperCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperExplicitly/abstractSuperCall.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperExplicitly/abstractSuperCall.kt.after index 8b2c70ceb655..5021f7bcc9c4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperExplicitly/abstractSuperCall.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperExplicitly/abstractSuperCall.kt.after @@ -21,3 +21,5 @@ class DerivedB : DerivedA(), IntB, IntA { return super.check() } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AbstractSuperCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperExplicitly/abstractSuperCall2.kt b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperExplicitly/abstractSuperCall2.kt index 98006e28a574..6a6dd2bd3e87 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperExplicitly/abstractSuperCall2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperExplicitly/abstractSuperCall2.kt @@ -10,4 +10,5 @@ abstract class A { class B : A(), I { override fun foo(): String = super.foo() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AbstractSuperCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperExplicitly/abstractSuperCall2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperExplicitly/abstractSuperCall2.kt.after index 32980924b1d2..cf35c9205ab0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperExplicitly/abstractSuperCall2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperExplicitly/abstractSuperCall2.kt.after @@ -10,4 +10,5 @@ abstract class A { class B : A(), I { override fun foo(): String = super.foo() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AbstractSuperCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperExplicitly/abstractSuperCallEquals.kt b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperExplicitly/abstractSuperCallEquals.kt index 1f3b62083591..6701e4a4b14b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperExplicitly/abstractSuperCallEquals.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperExplicitly/abstractSuperCallEquals.kt @@ -21,3 +21,5 @@ class B : A(), I { + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AbstractSuperCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperExplicitly/abstractSuperCallEquals.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperExplicitly/abstractSuperCallEquals.kt.after index 0ae8ac65dfe9..7b71fac49d27 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperExplicitly/abstractSuperCallEquals.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperExplicitly/abstractSuperCallEquals.kt.after @@ -23,3 +23,5 @@ class B : A(), I { + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AbstractSuperCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperExplicitly/abstractSuperCallFromNested.kt b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperExplicitly/abstractSuperCallFromNested.kt index 23e12a5c44a1..62d5cf4edcfe 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperExplicitly/abstractSuperCallFromNested.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperExplicitly/abstractSuperCallFromNested.kt @@ -26,3 +26,5 @@ class ContainsNested { } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AbstractSuperCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperExplicitly/abstractSuperCallFromNested.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperExplicitly/abstractSuperCallFromNested.kt.after index 9a61c5dd3a81..190dabb264f2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperExplicitly/abstractSuperCallFromNested.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperExplicitly/abstractSuperCallFromNested.kt.after @@ -26,3 +26,5 @@ class ContainsNested { } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AbstractSuperCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperExplicitly/abstractSuperCallFromObject.kt b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperExplicitly/abstractSuperCallFromObject.kt index 14ce1d896822..427feb2ac803 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperExplicitly/abstractSuperCallFromObject.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperExplicitly/abstractSuperCallFromObject.kt @@ -21,3 +21,5 @@ object DerivedB : DerivedA(), IntB { return super.check() } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AbstractSuperCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperExplicitly/abstractSuperCallFromObject.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperExplicitly/abstractSuperCallFromObject.kt.after index 44e8676dab84..94b0d85ac1ab 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperExplicitly/abstractSuperCallFromObject.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperExplicitly/abstractSuperCallFromObject.kt.after @@ -21,3 +21,5 @@ object DerivedB : DerivedA(), IntB, IntA { return super.check() } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AbstractSuperCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperExplicitly/abstractSuperCallHashCode.kt b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperExplicitly/abstractSuperCallHashCode.kt index a453720d940e..cf0f5a8eb573 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperExplicitly/abstractSuperCallHashCode.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperExplicitly/abstractSuperCallHashCode.kt @@ -21,3 +21,5 @@ class B : A(), I { + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AbstractSuperCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperExplicitly/abstractSuperCallHashCode.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperExplicitly/abstractSuperCallHashCode.kt.after index b14043d5ab9f..d67cc1fd0890 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperExplicitly/abstractSuperCallHashCode.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperExplicitly/abstractSuperCallHashCode.kt.after @@ -21,3 +21,5 @@ class B : A(), I { + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AbstractSuperCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperExplicitly/abstractSuperCallToString.kt b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperExplicitly/abstractSuperCallToString.kt index 7dbe8b1df988..b38ef5dc4877 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperExplicitly/abstractSuperCallToString.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperExplicitly/abstractSuperCallToString.kt @@ -12,4 +12,5 @@ class B : A(), I { override fun toString(): String { return super.toString() } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AbstractSuperCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperExplicitly/abstractSuperCallToString.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperExplicitly/abstractSuperCallToString.kt.after index 3aa3f9e79d3d..69bede8c10a2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperExplicitly/abstractSuperCallToString.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperExplicitly/abstractSuperCallToString.kt.after @@ -12,4 +12,5 @@ class B : A(), I { override fun toString(): String { return "B()" } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AbstractSuperCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperExplicitly/abstractSuperCallWithExplicitSuper.kt b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperExplicitly/abstractSuperCallWithExplicitSuper.kt index 5d58b42c4afc..3c1e22b2855a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperExplicitly/abstractSuperCallWithExplicitSuper.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperExplicitly/abstractSuperCallWithExplicitSuper.kt @@ -21,3 +21,5 @@ class DerivedB : DerivedA(), IntB { return super.check() } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AbstractSuperCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperExplicitly/abstractSuperCallWithExplicitSuper.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperExplicitly/abstractSuperCallWithExplicitSuper.kt.after index d8090d9e842e..0edf6bdfc3e4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperExplicitly/abstractSuperCallWithExplicitSuper.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperExplicitly/abstractSuperCallWithExplicitSuper.kt.after @@ -21,3 +21,5 @@ class DerivedB : DerivedA(), IntB, IntA { return super.check() } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AbstractSuperCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperExplicitly/abstractSuperCallWithExplicitSuper2.kt b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperExplicitly/abstractSuperCallWithExplicitSuper2.kt index 3ce0bf52f437..de0f0485c6df 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperExplicitly/abstractSuperCallWithExplicitSuper2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperExplicitly/abstractSuperCallWithExplicitSuper2.kt @@ -21,3 +21,5 @@ class DerivedB : DerivedA(), IntB, IntA { return super.check() } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AbstractSuperCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperExplicitly/abstractSuperCallWithExplicitSuper2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperExplicitly/abstractSuperCallWithExplicitSuper2.kt.after index d8090d9e842e..0edf6bdfc3e4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperExplicitly/abstractSuperCallWithExplicitSuper2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperExplicitly/abstractSuperCallWithExplicitSuper2.kt.after @@ -21,3 +21,5 @@ class DerivedB : DerivedA(), IntB, IntA { return super.check() } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AbstractSuperCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/fullyQualifiedSuperType.fir.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/fullyQualifiedSuperType.fir.kt.after index 09e167550dfa..629499658a5a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/fullyQualifiedSuperType.fir.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/fullyQualifiedSuperType.fir.kt.after @@ -17,3 +17,6 @@ class Test : X, a.b.c.Y(), Z { super.foo() } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SpecifySuperTypeFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/fullyQualifiedSuperType.kt b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/fullyQualifiedSuperType.kt index 98b959582fe2..92edd38d396c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/fullyQualifiedSuperType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/fullyQualifiedSuperType.kt @@ -17,3 +17,6 @@ class Test : X, a.b.c.Y(), Z { super.foo() } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SpecifySuperTypeFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/fullyQualifiedSuperType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/fullyQualifiedSuperType.kt.after index 6d9fe0ddeaa1..a36735607d2b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/fullyQualifiedSuperType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/fullyQualifiedSuperType.kt.after @@ -17,3 +17,6 @@ class Test : X, a.b.c.Y(), Z { super.foo() } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SpecifySuperTypeFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/fullyQualifiedSuperTypeHasAnnotations.fir.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/fullyQualifiedSuperTypeHasAnnotations.fir.kt.after index 6dd4c0c438ae..63b99326b97c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/fullyQualifiedSuperTypeHasAnnotations.fir.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/fullyQualifiedSuperTypeHasAnnotations.fir.kt.after @@ -15,3 +15,6 @@ class Test : (@Suppress("foo") a.b.c.X)(), Z { super.foo() } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SpecifySuperTypeFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/fullyQualifiedSuperTypeHasAnnotations.kt b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/fullyQualifiedSuperTypeHasAnnotations.kt index 98a6f36095c9..930f79cba9d7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/fullyQualifiedSuperTypeHasAnnotations.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/fullyQualifiedSuperTypeHasAnnotations.kt @@ -15,3 +15,6 @@ class Test : (@Suppress("foo") a.b.c.X)(), Z { super.foo() } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SpecifySuperTypeFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/fullyQualifiedSuperTypeHasAnnotations.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/fullyQualifiedSuperTypeHasAnnotations.kt.after index 899ff95739f4..e22442074e99 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/fullyQualifiedSuperTypeHasAnnotations.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/fullyQualifiedSuperTypeHasAnnotations.kt.after @@ -15,3 +15,6 @@ class Test : (@Suppress("foo") a.b.c.X)(), Z { super.foo() } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SpecifySuperTypeFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/fullyQualifiedSuperTypeHasTypeArguments.fir.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/fullyQualifiedSuperTypeHasTypeArguments.fir.kt.after index 23aad436add2..26a73cf2dd49 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/fullyQualifiedSuperTypeHasTypeArguments.fir.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/fullyQualifiedSuperTypeHasTypeArguments.fir.kt.after @@ -17,3 +17,6 @@ class Test : a.b.c.Y(), X, Z { super.foo() } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SpecifySuperTypeFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/fullyQualifiedSuperTypeHasTypeArguments.kt b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/fullyQualifiedSuperTypeHasTypeArguments.kt index 3a6e5590819c..485b1680af8e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/fullyQualifiedSuperTypeHasTypeArguments.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/fullyQualifiedSuperTypeHasTypeArguments.kt @@ -17,3 +17,6 @@ class Test : a.b.c.Y(), X, Z { super.foo() } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SpecifySuperTypeFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/fullyQualifiedSuperTypeHasTypeArguments.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/fullyQualifiedSuperTypeHasTypeArguments.kt.after index 38d9a4ff0ab6..3aa8f18a2387 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/fullyQualifiedSuperTypeHasTypeArguments.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/fullyQualifiedSuperTypeHasTypeArguments.kt.after @@ -17,3 +17,6 @@ class Test : a.b.c.Y(), X, Z { super.foo() } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SpecifySuperTypeFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/function.kt b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/function.kt index b2ea408fa193..138a7acfccd7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/function.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/function.kt @@ -16,3 +16,6 @@ class Test : X, Y(), Z { super.foo() } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SpecifySuperTypeFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/function.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/function.kt.after index ba0f66068a0f..ccc41e38ea5d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/function.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/function.kt.after @@ -16,3 +16,6 @@ class Test : X, Y(), Z { super.foo() } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SpecifySuperTypeFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/property.kt b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/property.kt index 86161d622bf0..679d80ebbd9c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/property.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/property.kt @@ -15,3 +15,6 @@ class Test : X, Z, Y() { override val bar: Int get() = super.bar } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SpecifySuperTypeFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/property.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/property.kt.after index c5c64cdca268..f7ba6d8d58fe 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/property.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/property.kt.after @@ -15,3 +15,6 @@ class Test : X, Z, Y() { override val bar: Int get() = super.bar } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SpecifySuperTypeFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/superExpressionHasLabel.kt b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/superExpressionHasLabel.kt index a59668648673..1f5656d789e1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/superExpressionHasLabel.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/superExpressionHasLabel.kt @@ -18,3 +18,6 @@ class Test : X, Y(), Z { } } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SpecifySuperTypeFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/superExpressionHasLabel.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/superExpressionHasLabel.kt.after index 8d9509e28b64..8870532dfb2a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/superExpressionHasLabel.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/superExpressionHasLabel.kt.after @@ -18,3 +18,6 @@ class Test : X, Y(), Z { } } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SpecifySuperTypeFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/superTypeHasAnnotations.kt b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/superTypeHasAnnotations.kt index 772bb0e91ed2..1f388bacaad8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/superTypeHasAnnotations.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/superTypeHasAnnotations.kt @@ -12,3 +12,6 @@ class Test : (@Suppress("foo") X)(), Z { super.foo() } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SpecifySuperTypeFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/superTypeHasAnnotations.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/superTypeHasAnnotations.kt.after index 34400afb358f..fee2b3ba2d58 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/superTypeHasAnnotations.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/superTypeHasAnnotations.kt.after @@ -12,3 +12,6 @@ class Test : (@Suppress("foo") X)(), Z { super.foo() } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SpecifySuperTypeFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/superTypeHasTypeArguments.kt b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/superTypeHasTypeArguments.kt index adc4444ab3bb..c31ebd05047a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/superTypeHasTypeArguments.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/superTypeHasTypeArguments.kt @@ -14,3 +14,6 @@ class Test : Y(), X, Z { super.foo() } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SpecifySuperTypeFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/superTypeHasTypeArguments.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/superTypeHasTypeArguments.kt.after index 7293cfc516da..ebdd5ea1da33 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/superTypeHasTypeArguments.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/superTypeHasTypeArguments.kt.after @@ -14,3 +14,6 @@ class Test : Y(), X, Z { super.foo() } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SpecifySuperTypeFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/superTypeIsExtendedByOtherSuperType.kt b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/superTypeIsExtendedByOtherSuperType.kt index 28ac1b4265a8..2d6e6556c030 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/superTypeIsExtendedByOtherSuperType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/superTypeIsExtendedByOtherSuperType.kt @@ -16,3 +16,6 @@ class Test : X, Y(), Z { super.foo() } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SpecifySuperTypeFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/superTypeIsExtendedByOtherSuperType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/superTypeIsExtendedByOtherSuperType.kt.after index 247465577344..57359e839cf9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/superTypeIsExtendedByOtherSuperType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/superTypeIsExtendedByOtherSuperType.kt.after @@ -16,3 +16,6 @@ class Test : X, Y(), Z { super.foo() } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SpecifySuperTypeFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/typeMismatch.fir.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/typeMismatch.fir.kt.after index 6bd9b2c5f32f..a58d9dc0c0f6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/typeMismatch.fir.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/typeMismatch.fir.kt.after @@ -16,3 +16,6 @@ class Test : Z, Y() { return super.foo() } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SpecifySuperTypeFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/typeMismatch.kt b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/typeMismatch.kt index 78fa7c6dde8a..3eaf11b23a9b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/typeMismatch.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/typeMismatch.kt @@ -16,3 +16,6 @@ class Test : Z, Y() { return super.foo() } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SpecifySuperTypeFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/typeMismatch.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/typeMismatch.kt.after index 9002dce6c509..d0c01a61f3e0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/typeMismatch.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/typeMismatch.kt.after @@ -16,3 +16,6 @@ class Test : Z, Y() { return super.foo() } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SpecifySuperTypeFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/specifyTypeExplicitly/approximatedLocalTypeWillBecomeNullable.kt b/plugins/kotlin/idea/tests/testData/quickfix/specifyTypeExplicitly/approximatedLocalTypeWillBecomeNullable.kt index 59faaa052a57..50ae4dafb4c6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/specifyTypeExplicitly/approximatedLocalTypeWillBecomeNullable.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/specifyTypeExplicitly/approximatedLocalTypeWillBecomeNullable.kt @@ -1,3 +1,5 @@ // "Specify return type explicitly" "true" interface I fun foo() = if (false) object : I {} else null + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SpecifyTypeExplicitlyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/specifyTypeExplicitly/approximatedLocalTypeWillBecomeNullable.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/specifyTypeExplicitly/approximatedLocalTypeWillBecomeNullable.kt.after index 0f05b008ae2a..40b0360a0953 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/specifyTypeExplicitly/approximatedLocalTypeWillBecomeNullable.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/specifyTypeExplicitly/approximatedLocalTypeWillBecomeNullable.kt.after @@ -1,3 +1,5 @@ // "Specify return type explicitly" "true" interface I fun foo(): I? = if (false) object : I {} else null + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SpecifyTypeExplicitlyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/specifyVisibilityInExplicitApiMode/class.kt b/plugins/kotlin/idea/tests/testData/quickfix/specifyVisibilityInExplicitApiMode/class.kt index c6f36cfaebdb..8a0e6c05fd29 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/specifyVisibilityInExplicitApiMode/class.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/specifyVisibilityInExplicitApiMode/class.kt @@ -3,3 +3,6 @@ class Foo1() {} + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToPublicExplicitlyFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/specifyVisibilityInExplicitApiMode/class.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/specifyVisibilityInExplicitApiMode/class.kt.after index bf1faea51e0c..63fce1df24bb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/specifyVisibilityInExplicitApiMode/class.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/specifyVisibilityInExplicitApiMode/class.kt.after @@ -3,3 +3,6 @@ public class Foo1() {} + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToPublicExplicitlyFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/specifyVisibilityInExplicitApiMode/companion.kt b/plugins/kotlin/idea/tests/testData/quickfix/specifyVisibilityInExplicitApiMode/companion.kt index ac2e12ec53c5..fbdaad4b2103 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/specifyVisibilityInExplicitApiMode/companion.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/specifyVisibilityInExplicitApiMode/companion.kt @@ -5,3 +5,6 @@ public class Foo1() { companion object {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToPublicExplicitlyFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/specifyVisibilityInExplicitApiMode/companion.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/specifyVisibilityInExplicitApiMode/companion.kt.after index cab7d6a20ce9..26ed3a695fa1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/specifyVisibilityInExplicitApiMode/companion.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/specifyVisibilityInExplicitApiMode/companion.kt.after @@ -5,3 +5,6 @@ public class Foo1() { public companion object {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToPublicExplicitlyFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/specifyVisibilityInExplicitApiMode/constructor.kt b/plugins/kotlin/idea/tests/testData/quickfix/specifyVisibilityInExplicitApiMode/constructor.kt index e0a00f7b84a1..28d6604ca3ed 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/specifyVisibilityInExplicitApiMode/constructor.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/specifyVisibilityInExplicitApiMode/constructor.kt @@ -5,3 +5,6 @@ public class Foo5 { constructor() {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToPublicExplicitlyFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/specifyVisibilityInExplicitApiMode/constructor.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/specifyVisibilityInExplicitApiMode/constructor.kt.after index 2a9aeb313477..6c313b26d24d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/specifyVisibilityInExplicitApiMode/constructor.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/specifyVisibilityInExplicitApiMode/constructor.kt.after @@ -5,3 +5,6 @@ public class Foo5 { public constructor() {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToPublicExplicitlyFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/specifyVisibilityInExplicitApiMode/method.kt b/plugins/kotlin/idea/tests/testData/quickfix/specifyVisibilityInExplicitApiMode/method.kt index 98f967702ead..4e11a6ceb8d4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/specifyVisibilityInExplicitApiMode/method.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/specifyVisibilityInExplicitApiMode/method.kt @@ -4,3 +4,6 @@ public class Foo2() { fun method() {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToPublicExplicitlyFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/specifyVisibilityInExplicitApiMode/method.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/specifyVisibilityInExplicitApiMode/method.kt.after index 567100c34398..67980c5a6928 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/specifyVisibilityInExplicitApiMode/method.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/specifyVisibilityInExplicitApiMode/method.kt.after @@ -4,3 +4,6 @@ public class Foo2() { public fun method() {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToPublicExplicitlyFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/specifyVisibilityInExplicitApiMode/property.kt b/plugins/kotlin/idea/tests/testData/quickfix/specifyVisibilityInExplicitApiMode/property.kt index ed128aa72f9f..81983740a2f7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/specifyVisibilityInExplicitApiMode/property.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/specifyVisibilityInExplicitApiMode/property.kt @@ -3,3 +3,6 @@ public class Foo(val bar: Int, private var bar2: String, internal var bar3: Long, public var bar4: Int) + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToPublicExplicitlyFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/specifyVisibilityInExplicitApiMode/property.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/specifyVisibilityInExplicitApiMode/property.kt.after index a49f08cc5b6d..f03e53b38a10 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/specifyVisibilityInExplicitApiMode/property.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/specifyVisibilityInExplicitApiMode/property.kt.after @@ -3,3 +3,6 @@ public class Foo(public val bar: Int, private var bar2: String, internal var bar3: Long, public var bar4: Int) + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToPublicExplicitlyFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/superTypeIsExtensionType/typeWith1Argument.kt b/plugins/kotlin/idea/tests/testData/quickfix/superTypeIsExtensionType/typeWith1Argument.kt index 1ca0d04b48ae..44b0630a2682 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/superTypeIsExtensionType/typeWith1Argument.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/superTypeIsExtensionType/typeWith1Argument.kt @@ -3,4 +3,5 @@ class Foo : String.(String) -> Unit { override fun invoke(p1: String, p2: String) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertExtensionToFunctionTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/superTypeIsExtensionType/typeWith1Argument.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/superTypeIsExtensionType/typeWith1Argument.kt.after index e57f20966938..3955eb5f2106 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/superTypeIsExtensionType/typeWith1Argument.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/superTypeIsExtensionType/typeWith1Argument.kt.after @@ -3,4 +3,5 @@ class Foo : (String, String) -> Unit { override fun invoke(p1: String, p2: String) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertExtensionToFunctionTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/superTypeIsExtensionType/typeWithNoArgument.kt b/plugins/kotlin/idea/tests/testData/quickfix/superTypeIsExtensionType/typeWithNoArgument.kt index abf6713a8b90..230c1f72b262 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/superTypeIsExtensionType/typeWithNoArgument.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/superTypeIsExtensionType/typeWithNoArgument.kt @@ -3,4 +3,5 @@ class Foo : String.() -> Unit { override fun invoke(p1: String) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertExtensionToFunctionTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/superTypeIsExtensionType/typeWithNoArgument.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/superTypeIsExtensionType/typeWithNoArgument.kt.after index 0f2b8e4f9d63..76ce17113ffe 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/superTypeIsExtensionType/typeWithNoArgument.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/superTypeIsExtensionType/typeWithNoArgument.kt.after @@ -3,4 +3,5 @@ class Foo : (String) -> Unit { override fun invoke(p1: String) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertExtensionToFunctionTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/superTypeIsExtensionType/typeWithTypeArgument.kt b/plugins/kotlin/idea/tests/testData/quickfix/superTypeIsExtensionType/typeWithTypeArgument.kt index 4e6123e7fcc2..1c527b64e24b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/superTypeIsExtensionType/typeWithTypeArgument.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/superTypeIsExtensionType/typeWithTypeArgument.kt @@ -3,4 +3,5 @@ class Foo : String.(T) -> Unit { override fun invoke(p1: String, p2: T) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertExtensionToFunctionTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/superTypeIsExtensionType/typeWithTypeArgument.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/superTypeIsExtensionType/typeWithTypeArgument.kt.after index d3f97928804d..76e13be20a89 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/superTypeIsExtensionType/typeWithTypeArgument.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/superTypeIsExtensionType/typeWithTypeArgument.kt.after @@ -3,4 +3,5 @@ class Foo : (String, T) -> Unit { override fun invoke(p1: String, p2: T) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertExtensionToFunctionTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/supercalls/typeArgumentsRedundantInSuperQualifier.kt b/plugins/kotlin/idea/tests/testData/quickfix/supercalls/typeArgumentsRedundantInSuperQualifier.kt index ae92bc29714a..93196c7069b2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/supercalls/typeArgumentsRedundantInSuperQualifier.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/supercalls/typeArgumentsRedundantInSuperQualifier.kt @@ -7,4 +7,6 @@ class Bar: Foo { fun g() { superBoolean>>.f(); } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemovePsiElementSimpleFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemovePsiElementSimpleFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/supercalls/typeArgumentsRedundantInSuperQualifier.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/supercalls/typeArgumentsRedundantInSuperQualifier.kt.after index b764bacf0f9c..d55a5de471a4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/supercalls/typeArgumentsRedundantInSuperQualifier.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/supercalls/typeArgumentsRedundantInSuperQualifier.kt.after @@ -7,4 +7,6 @@ class Bar: Foo { fun g() { super>.f(); } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemovePsiElementSimpleFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemovePsiElementSimpleFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/addImport.kt b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/addImport.kt index 985097866262..c5aa476341ac 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/addImport.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/addImport.kt @@ -3,3 +3,5 @@ import java.io.DataInputStream class C : DataInputStream + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SuperClassNotInitialized$AddParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/addImport.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/addImport.kt.after index 60afe7c3e2ca..8ce9d83c7885 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/addImport.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/addImport.kt.after @@ -4,3 +4,5 @@ import java.io.DataInputStream import java.io.InputStream class C(`in`: InputStream) : DataInputStream(`in`) + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SuperClassNotInitialized$AddParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/addParameters.kt b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/addParameters.kt index dbd04643a65c..c244be6938fd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/addParameters.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/addParameters.kt @@ -2,3 +2,5 @@ open class Base(p1: Int, private val p2: Int = 0) class C(p: Int) : Base + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SuperClassNotInitialized$AddParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/addParameters.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/addParameters.kt.after index eaae08753bc4..0307758a41ac 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/addParameters.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/addParameters.kt.after @@ -2,3 +2,5 @@ open class Base(p1: Int, private val p2: Int = 0) class C(p: Int, p1: Int, p2: Int = 0) : Base(p1, p2) + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SuperClassNotInitialized$AddParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/addParenthesis.kt b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/addParenthesis.kt index 93dfdfcd9398..17777127e837 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/addParenthesis.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/addParenthesis.kt @@ -2,3 +2,5 @@ // ERROR: No value passed for parameter 'x' open class A(x : Int) {} class B : A {} + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SuperClassNotInitialized$AddParenthesisFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/addParenthesis.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/addParenthesis.kt.after index 7928be9d158f..130ba567016a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/addParenthesis.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/addParenthesis.kt.after @@ -2,3 +2,5 @@ // ERROR: No value passed for parameter 'x' open class A(x : Int) {} class B : A() {} + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SuperClassNotInitialized$AddParenthesisFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/addParenthesisDefaultParameters.kt b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/addParenthesisDefaultParameters.kt index 612fdb9a691f..c147960f97e0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/addParenthesisDefaultParameters.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/addParenthesisDefaultParameters.kt @@ -1,3 +1,5 @@ // "Change to constructor invocation" "true" open class A(x : Int = 42, vararg y : Int) {} class B() : A {} + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SuperClassNotInitialized$AddParenthesisFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/addParenthesisDefaultParameters.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/addParenthesisDefaultParameters.kt.after index dda33bcbef2f..84153b57d47d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/addParenthesisDefaultParameters.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/addParenthesisDefaultParameters.kt.after @@ -1,3 +1,5 @@ // "Change to constructor invocation" "true" open class A(x : Int = 42, vararg y : Int) {} class B() : A() {} + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SuperClassNotInitialized$AddParenthesisFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/addParenthesisEmptyConstructor.kt b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/addParenthesisEmptyConstructor.kt index 8406cde8587f..55b64298e371 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/addParenthesisEmptyConstructor.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/addParenthesisEmptyConstructor.kt @@ -1,3 +1,5 @@ // "Change to constructor invocation" "true" open class A() {} class B() : A {} + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SuperClassNotInitialized$AddParenthesisFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/addParenthesisEmptyConstructor.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/addParenthesisEmptyConstructor.kt.after index 991a201a4277..8c7d3d3ebaad 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/addParenthesisEmptyConstructor.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/addParenthesisEmptyConstructor.kt.after @@ -1,3 +1,5 @@ // "Change to constructor invocation" "true" open class A() {} class B() : A() {} + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SuperClassNotInitialized$AddParenthesisFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/addParenthesisExpectClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/addParenthesisExpectClass.kt index 1ed3faa77f1a..8dbe4eda3e1a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/addParenthesisExpectClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/addParenthesisExpectClass.kt @@ -5,3 +5,5 @@ expect open class A class B : A + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SuperClassNotInitialized$AddParenthesisFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/addParenthesisExpectClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/addParenthesisExpectClass.kt.after index f7988772ca79..cfa634b8dd5f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/addParenthesisExpectClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/addParenthesisExpectClass.kt.after @@ -5,3 +5,5 @@ expect open class A() class B : A() + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SuperClassNotInitialized$AddParenthesisFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/addParenthesisForLocalClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/addParenthesisForLocalClass.kt index 61ef9673c1f6..85ef3f438217 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/addParenthesisForLocalClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/addParenthesisForLocalClass.kt @@ -2,4 +2,5 @@ fun bar() { abstract class Foo {} class A : Foo {} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SuperClassNotInitialized$AddParenthesisFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/addParenthesisForLocalClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/addParenthesisForLocalClass.kt.after index 156bdd523179..30241e490328 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/addParenthesisForLocalClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/addParenthesisForLocalClass.kt.after @@ -2,4 +2,5 @@ fun bar() { abstract class Foo {} class A : Foo() {} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SuperClassNotInitialized$AddParenthesisFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/addParenthesisForObjectExpression.kt b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/addParenthesisForObjectExpression.kt index c9e3c7914c7d..b795f8d24947 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/addParenthesisForObjectExpression.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/addParenthesisForObjectExpression.kt @@ -2,4 +2,5 @@ fun bar() { abstract class Foo {} val foo: Foo = object : Foo {} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SuperClassNotInitialized$AddParenthesisFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/addParenthesisForObjectExpression.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/addParenthesisForObjectExpression.kt.after index 6b88f5d507c5..9589770a84f0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/addParenthesisForObjectExpression.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/addParenthesisForObjectExpression.kt.after @@ -2,4 +2,5 @@ fun bar() { abstract class Foo {} val foo: Foo = object : Foo() {} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SuperClassNotInitialized$AddParenthesisFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/addParenthesisForSealedClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/addParenthesisForSealedClass.kt index ce32493418aa..768e720a96ec 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/addParenthesisForSealedClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/addParenthesisForSealedClass.kt @@ -1,3 +1,4 @@ // "Change to constructor invocation" "true" sealed class A -class B : A \ No newline at end of file +class B : A +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SuperClassNotInitialized$AddParenthesisFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/addParenthesisForSealedClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/addParenthesisForSealedClass.kt.after index eda0b4714685..03c6ef191095 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/addParenthesisForSealedClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/addParenthesisForSealedClass.kt.after @@ -1,3 +1,4 @@ // "Change to constructor invocation" "true" sealed class A -class B : A() \ No newline at end of file +class B : A() +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SuperClassNotInitialized$AddParenthesisFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/addParenthesisForSealedClass2.kt b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/addParenthesisForSealedClass2.kt index c9b3954c35b9..5e3332e4c81f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/addParenthesisForSealedClass2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/addParenthesisForSealedClass2.kt @@ -8,3 +8,5 @@ class My { class B : A } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SuperClassNotInitialized$AddParenthesisFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/addParenthesisForSealedClass2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/addParenthesisForSealedClass2.kt.after index 890d8ccf5465..0046eb583886 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/addParenthesisForSealedClass2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/addParenthesisForSealedClass2.kt.after @@ -8,3 +8,5 @@ class My { class B : A() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SuperClassNotInitialized$AddParenthesisFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/createConstructor.kt b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/createConstructor.kt index 0e4b68deff53..d61c8f64e586 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/createConstructor.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/createConstructor.kt @@ -1,4 +1,5 @@ // "Add constructor parameters from Base(Int, Int)" "true" open class Base(p1: Int, val p2: Int) -class C : Base \ No newline at end of file +class C : Base +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SuperClassNotInitialized$AddParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/createConstructor.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/createConstructor.kt.after index edf01060827a..9b3befafdb44 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/createConstructor.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/createConstructor.kt.after @@ -1,4 +1,5 @@ // "Add constructor parameters from Base(Int, Int)" "true" open class Base(p1: Int, val p2: Int) -class C(p1: Int, p2: Int) : Base(p1, p2) \ No newline at end of file +class C(p1: Int, p2: Int) : Base(p1, p2) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SuperClassNotInitialized$AddParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/displayLongSignatures1.kt b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/displayLongSignatures1.kt index 61fe0669e2c5..27f8f88b8b90 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/displayLongSignatures1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/displayLongSignatures1.kt @@ -12,3 +12,5 @@ open class Base { } class C : Base + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SuperClassNotInitialized$AddParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/displayLongSignatures1.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/displayLongSignatures1.kt.after index cb9c5529e58a..35a3fd706bce 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/displayLongSignatures1.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/displayLongSignatures1.kt.after @@ -12,3 +12,5 @@ open class Base { } class C(p: Int) : Base(p) + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SuperClassNotInitialized$AddParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/displayLongSignatures2.kt b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/displayLongSignatures2.kt index ac706c93e4a2..d9921d84d2e8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/displayLongSignatures2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/displayLongSignatures2.kt @@ -12,3 +12,5 @@ open class Base { } class C : Base + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SuperClassNotInitialized$AddParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/displayLongSignatures2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/displayLongSignatures2.kt.after index 0b5f0d654839..ca0e05fc70a4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/displayLongSignatures2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/displayLongSignatures2.kt.after @@ -12,3 +12,5 @@ open class Base { } class C(p: Int) : Base(p) + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SuperClassNotInitialized$AddParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/genericClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/genericClass.kt index 954b72a377fc..713e9b277621 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/genericClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/genericClass.kt @@ -3,4 +3,5 @@ interface I open class Base(p1: T1, p2: T2, p3: Base?) -class C : I, Base \ No newline at end of file +class C : I, Base +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SuperClassNotInitialized$AddParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/genericClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/genericClass.kt.after index 6271c758ffa0..09f381c13d9e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/genericClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/genericClass.kt.after @@ -3,4 +3,5 @@ interface I open class Base(p1: T1, p2: T2, p3: Base?) -class C(p1: T, p2: String, p3: Base?) : I, Base(p1, p2, p3) \ No newline at end of file +class C(p1: T, p2: String, p3: Base?) : I, Base(p1, p2, p3) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SuperClassNotInitialized$AddParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/incompleteConstructor.kt b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/incompleteConstructor.kt index dbe8ed1a8e2c..66c5e9e91080 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/incompleteConstructor.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/incompleteConstructor.kt @@ -1,4 +1,5 @@ // "Add constructor parameters from Base(Int, Int)" "true" open class Base(p1: Int, val p2: Int) -class C private constructor : Base \ No newline at end of file +class C private constructor : Base +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SuperClassNotInitialized$AddParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/incompleteConstructor.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/incompleteConstructor.kt.after index f8dcf5499a2d..419448e84823 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/incompleteConstructor.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/incompleteConstructor.kt.after @@ -1,4 +1,5 @@ // "Add constructor parameters from Base(Int, Int)" "true" open class Base(p1: Int, val p2: Int) -class C private constructor(p1: Int, p2: Int) : Base(p1, p2) \ No newline at end of file +class C private constructor(p1: Int, p2: Int) : Base(p1, p2) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SuperClassNotInitialized$AddParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/keywordName.kt b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/keywordName.kt index 33787873c524..765925a3a072 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/keywordName.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/keywordName.kt @@ -1,4 +1,5 @@ // "Add constructor parameters from Base(Int, Int)" "true" open class Base(`fun`: Int, val `class`: Int) -class C : Base \ No newline at end of file +class C : Base +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SuperClassNotInitialized$AddParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/keywordName.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/keywordName.kt.after index 874480428be5..51aa45105909 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/keywordName.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/keywordName.kt.after @@ -1,4 +1,5 @@ // "Add constructor parameters from Base(Int, Int)" "true" open class Base(`fun`: Int, val `class`: Int) -class C(`fun`: Int, `class`: Int) : Base(`fun`, `class`) \ No newline at end of file +class C(`fun`: Int, `class`: Int) : Base(`fun`, `class`) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SuperClassNotInitialized$AddParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/multipleConstructors.kt b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/multipleConstructors.kt index 69420e9ba2cc..e1cd728aa41d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/multipleConstructors.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/multipleConstructors.kt @@ -6,3 +6,5 @@ import java.util.ArrayList class C : ArrayList + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SuperClassNotInitialized$AddParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/multipleConstructors.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/multipleConstructors.kt.after index e198aa8e227f..cd89f3917178 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/multipleConstructors.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/multipleConstructors.kt.after @@ -6,3 +6,5 @@ import java.util.ArrayList class C(c: MutableCollection) : ArrayList(c) + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SuperClassNotInitialized$AddParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/primaryConstructorInaccessible.kt b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/primaryConstructorInaccessible.kt index 7fc292b62bc8..54fef34dfa8a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/primaryConstructorInaccessible.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/primaryConstructorInaccessible.kt @@ -5,3 +5,5 @@ open class Base private constructor(p1: Int, val p2: Int) { } class C : Base + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SuperClassNotInitialized$AddParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/primaryConstructorInaccessible.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/primaryConstructorInaccessible.kt.after index ed3586570d44..e6bfc83f40d2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/primaryConstructorInaccessible.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/primaryConstructorInaccessible.kt.after @@ -5,3 +5,5 @@ open class Base private constructor(p1: Int, val p2: Int) { } class C(s: String) : Base(s) + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SuperClassNotInitialized$AddParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/someParametersAlreadyExist.kt b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/someParametersAlreadyExist.kt index 2aa4fcf50a67..9ad46c4a1a4c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/someParametersAlreadyExist.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/someParametersAlreadyExist.kt @@ -6,3 +6,5 @@ open class Base(p1: Int, private val p2: Int, p3: Any, p4: String, p5: T, p6: Int) class C(p: Int, p2: Int, p3: String, p4: Any, p5: String, val p6: Int) : Base + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SuperClassNotInitialized$AddParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/someParametersAlreadyExist.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/someParametersAlreadyExist.kt.after index 251c0f37c659..5b30241fbdff 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/someParametersAlreadyExist.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/someParametersAlreadyExist.kt.after @@ -7,3 +7,5 @@ open class Base(p1: Int, private val p2: Int, p3: Any, p4: String, p5: T, p6: class C(p: Int, p2: Int, p3: String, p4: Any, p5: String, val p6: Int, p1: Int, p4: String) : Base(p1, p2, p3, p4, p5, p6) + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SuperClassNotInitialized$AddParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/vararg1.kt b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/vararg1.kt index 19cae90f654c..a14f6e504ae3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/vararg1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/vararg1.kt @@ -1,4 +1,5 @@ // "Add constructor parameters from Base(Int, IntArray)" "true" open class Base(p1: Int, vararg p2: Int) -class C : Base \ No newline at end of file +class C : Base +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SuperClassNotInitialized$AddParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/vararg1.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/vararg1.kt.after index fd3f60aceb12..b5691a57e1eb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/vararg1.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/vararg1.kt.after @@ -1,4 +1,5 @@ // "Add constructor parameters from Base(Int, IntArray)" "true" open class Base(p1: Int, vararg p2: Int) -class C(p1: Int, vararg p2: Int) : Base(p1, *p2) \ No newline at end of file +class C(p1: Int, vararg p2: Int) : Base(p1, *p2) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SuperClassNotInitialized$AddParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/vararg2.kt b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/vararg2.kt index e648becd0d95..fa0e17eb3c76 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/vararg2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/vararg2.kt @@ -1,4 +1,5 @@ // "Add constructor parameters from Base(Int, IntArray)" "true" open class Base(p1: Int, vararg p2: Int) -class C(p2: IntArray) : Base \ No newline at end of file +class C(p2: IntArray) : Base +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SuperClassNotInitialized$AddParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/vararg2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/vararg2.kt.after index 3a3a879ade42..f65694eb56a0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/vararg2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/vararg2.kt.after @@ -1,4 +1,5 @@ // "Add constructor parameters from Base(Int, IntArray)" "true" open class Base(p1: Int, vararg p2: Int) -class C(p2: IntArray, p1: Int) : Base(p1, *p2) \ No newline at end of file +class C(p2: IntArray, p1: Int) : Base(p1, *p2) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SuperClassNotInitialized$AddParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/vararg3.kt b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/vararg3.kt index 0c22a855c83f..707bcdbc6c11 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/vararg3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/vararg3.kt @@ -1,4 +1,5 @@ // "Add constructor parameters from Base(Int, IntArray)" "true" open class Base(p1: Int, vararg p2: Int) -class C(vararg p2: Int) : Base \ No newline at end of file +class C(vararg p2: Int) : Base +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SuperClassNotInitialized$AddParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/vararg3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/vararg3.kt.after index 279746382367..6ce303b66f90 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/vararg3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/vararg3.kt.after @@ -1,4 +1,5 @@ // "Add constructor parameters from Base(Int, IntArray)" "true" open class Base(p1: Int, vararg p2: Int) -class C(vararg p2: Int, p1: Int) : Base(p1, *p2) \ No newline at end of file +class C(vararg p2: Int, p1: Int) : Base(p1, *p2) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SuperClassNotInitialized$AddParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/vararg4.kt b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/vararg4.kt index 721410261bce..fc8ea5a9d04d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/vararg4.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/vararg4.kt @@ -1,4 +1,5 @@ // "Add constructor parameters from A(Array)" "true" open class A(vararg strings: String = arrayOf("a", "b")) -class B : A \ No newline at end of file +class B : A +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SuperClassNotInitialized$AddParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/vararg4.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/vararg4.kt.after index 5f67a4a36d70..10455a347a9b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/vararg4.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/supertypeInitialization/vararg4.kt.after @@ -1,4 +1,5 @@ // "Add constructor parameters from A(Array)" "true" open class A(vararg strings: String = arrayOf("a", "b")) -class B(vararg strings: String = arrayOf("a", "b")) : A(*strings) \ No newline at end of file +class B(vararg strings: String = arrayOf("a", "b")) : A(*strings) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SuperClassNotInitialized$AddParametersFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/paramWithModifier.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/paramWithModifier.kt index 123c0cef44cb..66637dd1f8d6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/paramWithModifier.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/paramWithModifier.kt @@ -1,3 +1,6 @@ // "Suppress 'DIVISION_BY_ZERO' for parameter p" "true" fun foo(p: Int = 2 / 0) = null + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/paramWithModifier.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/paramWithModifier.kt.after index 36add6b283cd..7ebc2254cfd5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/paramWithModifier.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/paramWithModifier.kt.after @@ -1,3 +1,6 @@ // "Suppress 'DIVISION_BY_ZERO' for parameter p" "true" fun foo(@Suppress("DIVISION_BY_ZERO") p: Int = 2 / 0) = null + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionModifierOnThePreviousLine.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionModifierOnThePreviousLine.kt index 71920eb12825..b987c595b6d4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionModifierOnThePreviousLine.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionModifierOnThePreviousLine.kt @@ -3,3 +3,6 @@ public fun foo() = 2 / 0 + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionModifierOnThePreviousLine.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionModifierOnThePreviousLine.kt.after index 6e314e0b6edf..c6862c029504 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionModifierOnThePreviousLine.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionModifierOnThePreviousLine.kt.after @@ -4,3 +4,6 @@ public fun foo() = 2 / 0 + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionModifierOnTheSameLine.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionModifierOnTheSameLine.kt index 80611ce2b6da..e31dccd5b825 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionModifierOnTheSameLine.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionModifierOnTheSameLine.kt @@ -1,3 +1,6 @@ // "Suppress 'DIVISION_BY_ZERO' for fun foo" "true" public fun foo() = 2 / 0 + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionModifierOnTheSameLine.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionModifierOnTheSameLine.kt.after index 4e8747cec59e..c8a882218f3a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionModifierOnTheSameLine.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionModifierOnTheSameLine.kt.after @@ -2,3 +2,6 @@ @Suppress("DIVISION_BY_ZERO") public fun foo() = 2 / 0 + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionNoModifiers.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionNoModifiers.kt index 5c91c7c528a4..debe31a6ef49 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionNoModifiers.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionNoModifiers.kt @@ -1,3 +1,6 @@ // "Suppress 'DIVISION_BY_ZERO' for fun foo" "true" fun foo() = 2 / 0 + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionNoModifiers.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionNoModifiers.kt.after index a7838cb5c183..f6a611e41ad8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionNoModifiers.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionNoModifiers.kt.after @@ -2,3 +2,6 @@ @Suppress("DIVISION_BY_ZERO") fun foo() = 2 / 0 + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionSuppressAnotherPreviousLine.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionSuppressAnotherPreviousLine.kt index 8b5392c71792..617f1b282835 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionSuppressAnotherPreviousLine.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionSuppressAnotherPreviousLine.kt @@ -2,3 +2,6 @@ @Suppress("FOO") fun foo() = 2 / 0 + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionSuppressAnotherPreviousLine.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionSuppressAnotherPreviousLine.kt.after index fd586ec33c28..a1ccc5470ac9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionSuppressAnotherPreviousLine.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionSuppressAnotherPreviousLine.kt.after @@ -2,3 +2,6 @@ @Suppress("FOO", "DIVISION_BY_ZERO") fun foo() = 2 / 0 + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionSuppressEmptyArgsPreviousLine.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionSuppressEmptyArgsPreviousLine.kt index 58d5e0ebd4e8..92660d98e49b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionSuppressEmptyArgsPreviousLine.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionSuppressEmptyArgsPreviousLine.kt @@ -2,3 +2,6 @@ @Suppress() fun foo() = 2 / 0 + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionSuppressEmptyArgsPreviousLine.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionSuppressEmptyArgsPreviousLine.kt.after index a7838cb5c183..f6a611e41ad8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionSuppressEmptyArgsPreviousLine.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionSuppressEmptyArgsPreviousLine.kt.after @@ -2,3 +2,6 @@ @Suppress("DIVISION_BY_ZERO") fun foo() = 2 / 0 + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionSuppressNoArgsPreviousLine.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionSuppressNoArgsPreviousLine.kt index cdc3b0a04df6..1420afaf3a0a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionSuppressNoArgsPreviousLine.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionSuppressNoArgsPreviousLine.kt @@ -2,3 +2,6 @@ @Suppress fun foo() = 2 / 0 + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionSuppressNoArgsPreviousLine.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionSuppressNoArgsPreviousLine.kt.after index a7838cb5c183..f6a611e41ad8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionSuppressNoArgsPreviousLine.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionSuppressNoArgsPreviousLine.kt.after @@ -2,3 +2,6 @@ @Suppress("DIVISION_BY_ZERO") fun foo() = 2 / 0 + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionSuppressNoArgsTheSameLine.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionSuppressNoArgsTheSameLine.kt index 40e053555d85..4cf00b335680 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionSuppressNoArgsTheSameLine.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionSuppressNoArgsTheSameLine.kt @@ -1,3 +1,6 @@ // "Suppress 'DIVISION_BY_ZERO' for fun foo" "true" @Suppress fun foo() = 2 / 0 + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionSuppressNoArgsTheSameLine.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionSuppressNoArgsTheSameLine.kt.after index 7f6d712b4a0b..a2e39368b58c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionSuppressNoArgsTheSameLine.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionSuppressNoArgsTheSameLine.kt.after @@ -2,3 +2,6 @@ @Suppress("DIVISION_BY_ZERO") fun foo() = 2 / 0 + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionSuppressOnFile.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionSuppressOnFile.kt index c14e022e48f7..506c8aa48016 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionSuppressOnFile.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionSuppressOnFile.kt @@ -1,3 +1,6 @@ // "Suppress 'DIVISION_BY_ZERO' for file ${file}" "true" public fun foo() = 2 / 0 + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionSuppressOnFile.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionSuppressOnFile.kt.after index 48e879f9448f..8a82a3fdf2cf 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionSuppressOnFile.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionSuppressOnFile.kt.after @@ -2,3 +2,6 @@ // "Suppress 'DIVISION_BY_ZERO' for file ${file}" "true" public fun foo() = 2 / 0 + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionSuppressOnFileOtherAnnotation.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionSuppressOnFileOtherAnnotation.kt index 7bbb9d1d251f..c4522e298464 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionSuppressOnFileOtherAnnotation.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionSuppressOnFileOtherAnnotation.kt @@ -6,3 +6,6 @@ package test public fun foo() = 2 / 0 + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionSuppressOnFileOtherAnnotation.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionSuppressOnFileOtherAnnotation.kt.after index 5ff3360d4a2a..6f71249a772f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionSuppressOnFileOtherAnnotation.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionSuppressOnFileOtherAnnotation.kt.after @@ -7,3 +7,6 @@ package test public fun foo() = 2 / 0 + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionSuppressOnFileWithPackage.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionSuppressOnFileWithPackage.kt index 9d21e9c162cc..78b7e3235e4d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionSuppressOnFileWithPackage.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionSuppressOnFileWithPackage.kt @@ -4,3 +4,6 @@ package test public fun foo() = 2 / 0 + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionSuppressOnFileWithPackage.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionSuppressOnFileWithPackage.kt.after index 7c66848c5514..e932800e6d20 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionSuppressOnFileWithPackage.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionSuppressOnFileWithPackage.kt.after @@ -6,3 +6,6 @@ package test public fun foo() = 2 / 0 + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionSuppressOnFileWithSuppress.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionSuppressOnFileWithSuppress.kt index e8f20d67d2f0..155c5ecb0b78 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionSuppressOnFileWithSuppress.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionSuppressOnFileWithSuppress.kt @@ -2,3 +2,6 @@ @file:Suppress("unused") public fun foo() = 2 / 0 + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionSuppressOnFileWithSuppress.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionSuppressOnFileWithSuppress.kt.after index 30bd1201d3fd..6f892a4b1ae0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionSuppressOnFileWithSuppress.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionSuppressOnFileWithSuppress.kt.after @@ -2,3 +2,6 @@ @file:Suppress("unused", "DIVISION_BY_ZERO") public fun foo() = 2 / 0 + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionUnrelatedAnnotation.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionUnrelatedAnnotation.kt index 8bf2bd32b48f..c20cddb39fe6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionUnrelatedAnnotation.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionUnrelatedAnnotation.kt @@ -3,3 +3,6 @@ @ann fun foo() = 2 / 0 annotation class ann + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionUnrelatedAnnotation.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionUnrelatedAnnotation.kt.after index b81f92f3a8a5..7839a5d01c4c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionUnrelatedAnnotation.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/annotationPosition/topLevelFunctionUnrelatedAnnotation.kt.after @@ -4,3 +4,6 @@ @ann fun foo() = 2 / 0 annotation class ann + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/inlineKeyword.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/inlineKeyword.kt index 28ce26e2798b..cc918fb572ce 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/inlineKeyword.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/inlineKeyword.kt @@ -1,3 +1,5 @@ // "Suppress 'NOTHING_TO_INLINE' for fun run12" "true" -inline fun run12(noinline f: () -> T): T = f() \ No newline at end of file +inline fun run12(noinline f: () -> T): T = f() +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/inlineKeyword.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/inlineKeyword.kt.after index 482c62d97d16..3dd116eae8ba 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/inlineKeyword.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/inlineKeyword.kt.after @@ -1,4 +1,6 @@ // "Suppress 'NOTHING_TO_INLINE' for fun run12" "true" @Suppress("NOTHING_TO_INLINE") -inline fun run12(noinline f: () -> T): T = f() \ No newline at end of file +inline fun run12(noinline f: () -> T): T = f() +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/localFunSuppressForLocal.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/localFunSuppressForLocal.kt index 208bf094b259..2a00a9f8d90d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/localFunSuppressForLocal.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/localFunSuppressForLocal.kt @@ -3,3 +3,6 @@ fun foo() { fun local() = 2 / 0 } + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/localFunSuppressForLocal.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/localFunSuppressForLocal.kt.after index 6f3b85d7bb24..5451ec1d2127 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/localFunSuppressForLocal.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/localFunSuppressForLocal.kt.after @@ -4,3 +4,6 @@ fun foo() { @Suppress("DIVISION_BY_ZERO") fun local() = 2 / 0 } + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/localFunSuppressForOuter.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/localFunSuppressForOuter.kt index b10a6a72ba74..fff9a9b69e5c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/localFunSuppressForOuter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/localFunSuppressForOuter.kt @@ -3,3 +3,6 @@ fun foo() { fun local() = 2 / 0 } + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/localFunSuppressForOuter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/localFunSuppressForOuter.kt.after index c7b4b4e110f7..4519fb476d07 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/localFunSuppressForOuter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/localFunSuppressForOuter.kt.after @@ -4,3 +4,6 @@ fun foo() { fun local() = 2 / 0 } + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/localValSuppressForFun.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/localValSuppressForFun.kt index ce234ab0bd71..bad7c094f370 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/localValSuppressForFun.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/localValSuppressForFun.kt @@ -3,3 +3,6 @@ fun foo() { val a = 2 / 0 } + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/localValSuppressForFun.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/localValSuppressForFun.kt.after index ca21f957ef19..25b41aaf7c4c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/localValSuppressForFun.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/localValSuppressForFun.kt.after @@ -4,3 +4,6 @@ fun foo() { val a = 2 / 0 } + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/localValSuppressForVal.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/localValSuppressForVal.kt index e0eed0022bd9..473b1cb31791 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/localValSuppressForVal.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/localValSuppressForVal.kt @@ -2,4 +2,6 @@ fun foo() { val a = 2 / 0 -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/localValSuppressForVal.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/localValSuppressForVal.kt.after index 3ce31cae2c58..e289c6dfb290 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/localValSuppressForVal.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/localValSuppressForVal.kt.after @@ -2,4 +2,6 @@ fun foo() { @Suppress("DIVISION_BY_ZERO") val a = 2 / 0 -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/memberOfNestedSuppressForMember.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/memberOfNestedSuppressForMember.kt index 6e9c8109502f..457e5782df25 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/memberOfNestedSuppressForMember.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/memberOfNestedSuppressForMember.kt @@ -5,3 +5,6 @@ class C { fun foo() = 2 / 0 } } + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/memberOfNestedSuppressForMember.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/memberOfNestedSuppressForMember.kt.after index c301712f8752..81c2bac98dc4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/memberOfNestedSuppressForMember.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/memberOfNestedSuppressForMember.kt.after @@ -6,3 +6,6 @@ class C { fun foo() = 2 / 0 } } + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/memberOfNestedSuppressForNested.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/memberOfNestedSuppressForNested.kt index a6ef7b216db8..8734a9d82be4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/memberOfNestedSuppressForNested.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/memberOfNestedSuppressForNested.kt @@ -5,3 +5,6 @@ class C { fun foo() = 2 / 0 } } + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/memberOfNestedSuppressForNested.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/memberOfNestedSuppressForNested.kt.after index 4c3f33980c2c..d5d69e80a064 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/memberOfNestedSuppressForNested.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/memberOfNestedSuppressForNested.kt.after @@ -6,3 +6,6 @@ class C { fun foo() = 2 / 0 } } + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/memberOfNestedSuppressForOuter.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/memberOfNestedSuppressForOuter.kt index 2cebebecb9d8..1c21d7ea5d60 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/memberOfNestedSuppressForOuter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/memberOfNestedSuppressForOuter.kt @@ -5,3 +5,6 @@ class C { fun foo() = 2 / 0 } } + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/memberOfNestedSuppressForOuter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/memberOfNestedSuppressForOuter.kt.after index 8d59e5489cb2..869b8647b0f9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/memberOfNestedSuppressForOuter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/memberOfNestedSuppressForOuter.kt.after @@ -6,3 +6,6 @@ class C { fun foo() = 2 / 0 } } + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/memberSuppressForClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/memberSuppressForClass.kt index 478d4d0fa00f..ce5e3c006a1f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/memberSuppressForClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/memberSuppressForClass.kt @@ -3,3 +3,6 @@ class C { fun foo() = 2 / 0 } + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/memberSuppressForClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/memberSuppressForClass.kt.after index 3275f25ef11f..2baf23c0cc2f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/memberSuppressForClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/memberSuppressForClass.kt.after @@ -4,3 +4,6 @@ class C { fun foo() = 2 / 0 } + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/memberSuppressForMember.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/memberSuppressForMember.kt index 47b922e8fb3d..c10c0cacf447 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/memberSuppressForMember.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/memberSuppressForMember.kt @@ -3,3 +3,6 @@ class C { fun foo() = 2 / 0 } + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/memberSuppressForMember.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/memberSuppressForMember.kt.after index 066ef710b54b..870b2beb05a8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/memberSuppressForMember.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/memberSuppressForMember.kt.after @@ -4,3 +4,6 @@ class C { @Suppress("DIVISION_BY_ZERO") fun foo() = 2 / 0 } + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/parameterSuppressForDestructuredLambdaFun.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/parameterSuppressForDestructuredLambdaFun.kt index 4dbb974d8661..5b75787a4167 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/parameterSuppressForDestructuredLambdaFun.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/parameterSuppressForDestructuredLambdaFun.kt @@ -19,3 +19,5 @@ fun test() { } // IGNORE_FIR + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/parameterSuppressForDestructuredLambdaFun.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/parameterSuppressForDestructuredLambdaFun.kt.after index e436d4ffaecf..2c9b555ce9a4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/parameterSuppressForDestructuredLambdaFun.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/parameterSuppressForDestructuredLambdaFun.kt.after @@ -20,3 +20,5 @@ fun test() { } // IGNORE_FIR + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/upperBound.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/upperBound.kt index f4ebcf0f28db..874c5a918742 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/upperBound.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/upperBound.kt @@ -1,4 +1,6 @@ // "Suppress 'FINAL_UPPER_BOUND' for class Some" "true" class ReferenceInClassWhereConstraint -class Some where T: ReferenceInClassWhereConstraint \ No newline at end of file +class Some where T: ReferenceInClassWhereConstraint +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/upperBound.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/upperBound.kt.after index d9af40ea05e0..b5661eba5852 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/upperBound.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/upperBound.kt.after @@ -2,4 +2,6 @@ class ReferenceInClassWhereConstraint @Suppress("FINAL_UPPER_BOUND") -class Some where T: ReferenceInClassWhereConstraint \ No newline at end of file +class Some where T: ReferenceInClassWhereConstraint +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/class.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/class.kt index 1c2d5c08c8bd..88cc006307c6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/class.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/class.kt @@ -3,3 +3,6 @@ class C { var foo = 2 / 0 } + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/class.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/class.kt.after index 90f9db8ec3ff..01b710c941d0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/class.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/class.kt.after @@ -4,3 +4,6 @@ class C { var foo = 2 / 0 } + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/classObject.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/classObject.kt index 3914c3dfb450..6aec82adf9c9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/classObject.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/classObject.kt @@ -5,3 +5,6 @@ class C { var foo = 2 / 0 } } + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/classObject.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/classObject.kt.after index b7ed17740d4b..9f72ea8dc9f8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/classObject.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/classObject.kt.after @@ -6,3 +6,6 @@ class C { var foo = 2 / 0 } } + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/enumEntry.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/enumEntry.kt index 6de4b0dbd7f6..5436ef7f810e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/enumEntry.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/enumEntry.kt @@ -5,3 +5,6 @@ enum class E { fun foo() = 2 / 0 } } + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/enumEntry.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/enumEntry.kt.after index 8709ed930f50..659a46c68234 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/enumEntry.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/enumEntry.kt.after @@ -6,3 +6,6 @@ enum class E { fun foo() = 2 / 0 } } + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/fun.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/fun.kt index 5c91c7c528a4..debe31a6ef49 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/fun.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/fun.kt @@ -1,3 +1,6 @@ // "Suppress 'DIVISION_BY_ZERO' for fun foo" "true" fun foo() = 2 / 0 + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/fun.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/fun.kt.after index a7838cb5c183..f6a611e41ad8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/fun.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/fun.kt.after @@ -2,3 +2,6 @@ @Suppress("DIVISION_BY_ZERO") fun foo() = 2 / 0 + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/interface.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/interface.kt index 97ab63bc5497..e8e707940eb7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/interface.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/interface.kt @@ -3,3 +3,6 @@ interface C { fun foo() = 2 / 0 } + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/interface.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/interface.kt.after index 209af1f272fd..0db8a6c82b0a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/interface.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/interface.kt.after @@ -4,3 +4,6 @@ interface C { fun foo() = 2 / 0 } + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/multiVal.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/multiVal.kt index 65eb9833dbf4..3722e6cac1f3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/multiVal.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/multiVal.kt @@ -5,3 +5,6 @@ fun foo() { } data class Pair(val a: A, val b: B) + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/multiVal.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/multiVal.kt.after index 1cff28e9c8c7..9e199884d4ff 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/multiVal.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/multiVal.kt.after @@ -6,3 +6,6 @@ fun foo() { } data class Pair(val a: A, val b: B) + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/multiVar.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/multiVar.kt index 6c480b00da3f..7a9153c8821d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/multiVar.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/multiVar.kt @@ -5,3 +5,6 @@ fun foo() { } data class Pair(val a: A, val b: B) + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/multiVar.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/multiVar.kt.after index 2a7f5c2327fc..7dc13a2fbee0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/multiVar.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/multiVar.kt.after @@ -6,3 +6,6 @@ fun foo() { } data class Pair(val a: A, val b: B) + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/object.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/object.kt index 72536689fe53..da4ec5baa9a8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/object.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/object.kt @@ -3,3 +3,6 @@ object C { var foo = 2 / 0 } + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/object.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/object.kt.after index f451bea5cb3f..4b191ef71537 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/object.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/object.kt.after @@ -4,3 +4,6 @@ object C { var foo = 2 / 0 } + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/param.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/param.kt index 123c0cef44cb..66637dd1f8d6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/param.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/param.kt @@ -1,3 +1,6 @@ // "Suppress 'DIVISION_BY_ZERO' for parameter p" "true" fun foo(p: Int = 2 / 0) = null + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/param.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/param.kt.after index 36add6b283cd..7ebc2254cfd5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/param.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/param.kt.after @@ -1,3 +1,6 @@ // "Suppress 'DIVISION_BY_ZERO' for parameter p" "true" fun foo(@Suppress("DIVISION_BY_ZERO") p: Int = 2 / 0) = null + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/secondaryConstructor.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/secondaryConstructor.kt index a55396061abe..bebeabdaa597 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/secondaryConstructor.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/secondaryConstructor.kt @@ -3,3 +3,6 @@ class C { constructor(s: Int = 2 / 0) } + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/secondaryConstructor.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/secondaryConstructor.kt.after index 20d886a6d712..84d1cfde3d0f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/secondaryConstructor.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/secondaryConstructor.kt.after @@ -4,3 +4,6 @@ class C { @Suppress("DIVISION_BY_ZERO") constructor(s: Int = 2 / 0) } + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/val.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/val.kt index 108991c3f660..d43469984bbb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/val.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/val.kt @@ -1,3 +1,6 @@ // "Suppress 'DIVISION_BY_ZERO' for val foo" "true" val foo = 2 / 0 + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/val.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/val.kt.after index 0662e6c0ca77..b8f0810ef559 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/val.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/val.kt.after @@ -2,3 +2,6 @@ @Suppress("DIVISION_BY_ZERO") val foo = 2 / 0 + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/var.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/var.kt index 1cfb305bd4f2..05a85ffe9c92 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/var.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/var.kt @@ -1,3 +1,6 @@ // "Suppress 'DIVISION_BY_ZERO' for var foo" "true" var foo = 2 / 0 + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/var.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/var.kt.after index 029ad6c0451d..f1a50cc2cbf2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/var.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/declarationKinds/var.kt.after @@ -2,3 +2,6 @@ @Suppress("DIVISION_BY_ZERO") var foo = 2 / 0 + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/errorRecovery/nonStringInSuppress.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/errorRecovery/nonStringInSuppress.kt index e95e487a8683..e940e766ed66 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/errorRecovery/nonStringInSuppress.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/errorRecovery/nonStringInSuppress.kt @@ -3,3 +3,6 @@ @Suppress(1) fun foo() = 2 / 0 + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/errorRecovery/nonStringInSuppress.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/errorRecovery/nonStringInSuppress.kt.after index 4b70e77e6ef8..53c49c784a93 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/errorRecovery/nonStringInSuppress.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/errorRecovery/nonStringInSuppress.kt.after @@ -3,3 +3,6 @@ @Suppress(1, "DIVISION_BY_ZERO") fun foo() = 2 / 0 + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/errorRecovery/unresolvedAnnotation.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/errorRecovery/unresolvedAnnotation.kt index 8c1c6eb4e227..1bcb7406bf0b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/errorRecovery/unresolvedAnnotation.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/errorRecovery/unresolvedAnnotation.kt @@ -2,3 +2,6 @@ // ERROR: Unresolved reference: ann @ann fun foo() = 2 / 0 + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/errorRecovery/unresolvedAnnotation.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/errorRecovery/unresolvedAnnotation.kt.after index ef2d1619b326..95578ed3674b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/errorRecovery/unresolvedAnnotation.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/errorRecovery/unresolvedAnnotation.kt.after @@ -3,3 +3,6 @@ @Suppress("DIVISION_BY_ZERO") @ann fun foo() = 2 / 0 + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/external/suppressAvailable.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/external/suppressAvailable.kt index b1ed9b74b7d7..0ad86079b1bf 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/external/suppressAvailable.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/external/suppressAvailable.kt @@ -1,4 +1,6 @@ // "Suppress 'SpellCheckingInspection' for val str" "true" // TOOL: com.intellij.spellchecker.inspections.SpellCheckingInspection -val str = "kjsghkjshtiurhuig" \ No newline at end of file +val str = "kjsghkjshtiurhuig" +// FUS_K2_QUICKFIX_NAME: com.intellij.codeInspection.SuppressIntentionActionFromFix +// FUS_QUICKFIX_NAME: com.intellij.codeInspection.SuppressIntentionActionFromFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/external/suppressAvailable.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/external/suppressAvailable.kt.after index f300222ade22..af5f536c5f02 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/external/suppressAvailable.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/external/suppressAvailable.kt.after @@ -2,4 +2,6 @@ // TOOL: com.intellij.spellchecker.inspections.SpellCheckingInspection @Suppress("SpellCheckingInspection") -val str = "kjsghkjshtiurhuig" \ No newline at end of file +val str = "kjsghkjshtiurhuig" +// FUS_K2_QUICKFIX_NAME: com.intellij.codeInspection.SuppressIntentionActionFromFix +// FUS_QUICKFIX_NAME: com.intellij.codeInspection.SuppressIntentionActionFromFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/andAnd.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/andAnd.kt index a41333fc9d2d..053ea5eb20bd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/andAnd.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/andAnd.kt @@ -2,4 +2,6 @@ fun foo() { false!! && true -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/andAnd.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/andAnd.kt.after index 8b738bf71ccd..ab64ad94353d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/andAnd.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/andAnd.kt.after @@ -3,4 +3,6 @@ fun foo() { @Suppress("UNNECESSARY_NOT_NULL_ASSERTION") false!! && true -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/annotatedExpr.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/annotatedExpr.kt index ba5aa9e11fd7..7a8bff71f436 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/annotatedExpr.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/annotatedExpr.kt @@ -6,4 +6,6 @@ fun foo() { @Target(AnnotationTarget.EXPRESSION) @Retention(AnnotationRetention.SOURCE) -annotation class ann \ No newline at end of file +annotation class ann +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/annotatedExpr.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/annotatedExpr.kt.after index fed6a24990c4..897df54a3fdd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/annotatedExpr.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/annotatedExpr.kt.after @@ -7,4 +7,6 @@ fun foo() { @Target(AnnotationTarget.EXPRESSION) @Retention(AnnotationRetention.SOURCE) -annotation class ann \ No newline at end of file +annotation class ann +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/annotatedExprWithSuppress.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/annotatedExprWithSuppress.kt index c6ece63f7989..bf762920f6d3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/annotatedExprWithSuppress.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/annotatedExprWithSuppress.kt @@ -4,4 +4,6 @@ fun foo() { @Suppress("Foo") ""!! } -annotation class ann \ No newline at end of file +annotation class ann +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/annotatedExprWithSuppress.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/annotatedExprWithSuppress.kt.after index 4f5626f6672b..518f6092fd3d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/annotatedExprWithSuppress.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/annotatedExprWithSuppress.kt.after @@ -4,4 +4,6 @@ fun foo() { @Suppress("Foo", "UNNECESSARY_NOT_NULL_ASSERTION") ""!! } -annotation class ann \ No newline at end of file +annotation class ann +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/arrayRead.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/arrayRead.kt index 64c7e2383ed8..7acb802edbf8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/arrayRead.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/arrayRead.kt @@ -2,4 +2,6 @@ fun foo(a: Array) { a[1!!] -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/arrayRead.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/arrayRead.kt.after index 2f9f7884792f..5189f4f55143 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/arrayRead.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/arrayRead.kt.after @@ -3,4 +3,6 @@ fun foo(a: Array) { @Suppress("UNNECESSARY_NOT_NULL_ASSERTION") a[1!!] -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/as.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/as.kt index 4660ac5ceb51..8688fc8cf52f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/as.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/as.kt @@ -2,4 +2,6 @@ fun foo() { ""!! as String -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/as.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/as.kt.after index 89b16b89cc58..294d224873ae 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/as.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/as.kt.after @@ -3,4 +3,6 @@ fun foo() { @Suppress("UNNECESSARY_NOT_NULL_ASSERTION") ""!! as String -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/asSafe.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/asSafe.kt index eaded77a20f3..3da1a52d90e6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/asSafe.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/asSafe.kt @@ -2,4 +2,6 @@ fun foo() { ""!! as? String -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/asSafe.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/asSafe.kt.after index bdb24ca4de63..074bcb4a2fce 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/asSafe.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/asSafe.kt.after @@ -3,4 +3,6 @@ fun foo() { @Suppress("UNNECESSARY_NOT_NULL_ASSERTION") ""!! as? String -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/assign.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/assign.kt index 439d4526c5ea..f857c0ede6c0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/assign.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/assign.kt @@ -3,4 +3,6 @@ fun foo() { var x = 0 x = 1!! -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/assign.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/assign.kt.after index a1b67ca56103..f1d7927458d4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/assign.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/assign.kt.after @@ -4,4 +4,6 @@ fun foo() { var x = 0 @Suppress("UNNECESSARY_NOT_NULL_ASSERTION") x = 1!! -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/call.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/call.kt index 5b2100f5d926..d3a43ac010e8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/call.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/call.kt @@ -5,3 +5,6 @@ fun foo() { } fun call(i: Int) {} + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/call.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/call.kt.after index 4b93ba04f1cf..e965059aa35b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/call.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/call.kt.after @@ -6,3 +6,6 @@ fun foo() { } fun call(i: Int) {} + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/doWhile.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/doWhile.kt index d717605cc2db..e8a05d9c8d90 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/doWhile.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/doWhile.kt @@ -3,4 +3,6 @@ fun foo() { do {} while (true!!) -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/doWhile.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/doWhile.kt.after index 2ff762d14cec..8ce7b6fbc98d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/doWhile.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/doWhile.kt.after @@ -4,4 +4,6 @@ fun foo() { @Suppress("UNNECESSARY_NOT_NULL_ASSERTION") do {} while (true!!) -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/dotQualified.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/dotQualified.kt index 21ff4668966f..da24f5236567 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/dotQualified.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/dotQualified.kt @@ -6,4 +6,6 @@ fun foo(a: C) { class C { fun foo(a: Any) {} -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/dotQualified.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/dotQualified.kt.after index b8fffa0178da..efd9f2a4dcfb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/dotQualified.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/dotQualified.kt.after @@ -7,4 +7,6 @@ fun foo(a: C) { class C { fun foo(a: Any) {} -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/elvis.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/elvis.kt index d4a8ff072fdc..30f3dc8f9fb2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/elvis.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/elvis.kt @@ -2,4 +2,6 @@ fun foo() { 1!! ?: 0 -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/elvis.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/elvis.kt.after index 98453f88c60e..56c9ece0590f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/elvis.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/elvis.kt.after @@ -3,4 +3,6 @@ fun foo() { @Suppress("UNNECESSARY_NOT_NULL_ASSERTION") 1!! ?: 0 -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/eqEq.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/eqEq.kt index 8ad1adfc60a7..09f1f2566ebe 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/eqEq.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/eqEq.kt @@ -2,4 +2,6 @@ fun foo() { 1!! == 2 -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/eqEq.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/eqEq.kt.after index ee26b4098a12..740aa41aa8ae 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/eqEq.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/eqEq.kt.after @@ -3,4 +3,6 @@ fun foo() { @Suppress("UNNECESSARY_NOT_NULL_ASSERTION") 1!! == 2 -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/for.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/for.kt index 52553bcf9142..0cccc186af9d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/for.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/for.kt @@ -5,4 +5,6 @@ fun foo() { for (i in list()!!) {} } -fun list(): List = throw Exception() \ No newline at end of file +fun list(): List = throw Exception() +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/for.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/for.kt.after index 8ed6cddfa385..faa67d627440 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/for.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/for.kt.after @@ -6,4 +6,6 @@ fun foo() { for (i in list()!!) {} } -fun list(): List = throw Exception() \ No newline at end of file +fun list(): List = throw Exception() +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/if.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/if.kt index 20703945734e..91ba31ff4885 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/if.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/if.kt @@ -2,4 +2,6 @@ fun foo() { if (true!!) {} -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/if.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/if.kt.after index 6f2830afe493..ada00639495e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/if.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/if.kt.after @@ -3,4 +3,6 @@ fun foo() { @Suppress("UNNECESSARY_NOT_NULL_ASSERTION") if (true!!) {} -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/in.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/in.kt index 4376cdf5e6a6..7e1834acacc8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/in.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/in.kt @@ -2,4 +2,6 @@ fun foo() { 1!! in (1..2) -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/in.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/in.kt.after index 92145176bddc..3834ca58112a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/in.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/in.kt.after @@ -3,4 +3,6 @@ fun foo() { @Suppress("UNNECESSARY_NOT_NULL_ASSERTION") 1!! in (1..2) -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/infix.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/infix.kt index 978ec50c27f5..95df58862d84 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/infix.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/infix.kt @@ -4,4 +4,6 @@ infix fun Int.add(other: Int) = this + other fun foo() { 1!! add 2 -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/infix.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/infix.kt.after index a042f0305498..f51fead70cac 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/infix.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/infix.kt.after @@ -5,4 +5,6 @@ infix fun Int.add(other: Int) = this + other fun foo() { @Suppress("UNNECESSARY_NOT_NULL_ASSERTION") 1!! add 2 -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/is.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/is.kt index 47d5f59595c8..9d4c15b500c3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/is.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/is.kt @@ -2,4 +2,6 @@ fun foo() { ""!! is String -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/is.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/is.kt.after index d049b81e6191..0c3631c12136 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/is.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/is.kt.after @@ -3,4 +3,6 @@ fun foo() { @Suppress("UNNECESSARY_NOT_NULL_ASSERTION") ""!! is String -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/labeled.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/labeled.kt index d086b0b0ab3c..8ce163cdb95a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/labeled.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/labeled.kt @@ -2,4 +2,6 @@ fun foo() { label@""!! -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/labeled.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/labeled.kt.after index f1d914ecf344..fae289233e51 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/labeled.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/labeled.kt.after @@ -3,4 +3,6 @@ fun foo() { @Suppress("UNNECESSARY_NOT_NULL_ASSERTION") label@""!! -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/less.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/less.kt index 98c49487d31c..7cfcddb4f4cc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/less.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/less.kt @@ -2,4 +2,6 @@ fun foo() { 1!! < 2 -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/less.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/less.kt.after index 282d7a05cc45..342dc85bf4e3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/less.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/less.kt.after @@ -3,4 +3,6 @@ fun foo() { @Suppress("UNNECESSARY_NOT_NULL_ASSERTION") 1!! < 2 -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/mul.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/mul.kt index f4b5550594dc..66bfaf3cf494 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/mul.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/mul.kt @@ -2,4 +2,6 @@ fun foo() { 1!! * 2 -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/mul.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/mul.kt.after index 8c67bf45783a..d7b221058948 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/mul.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/mul.kt.after @@ -3,4 +3,6 @@ fun foo() { @Suppress("UNNECESSARY_NOT_NULL_ASSERTION") 1!! * 2 -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/orOr.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/orOr.kt index 79e7c3731fb2..c9d7d80959a7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/orOr.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/orOr.kt @@ -2,4 +2,6 @@ fun foo() { false!! || true -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/orOr.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/orOr.kt.after index 3b62bce84ee2..ced3aeb2c09c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/orOr.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/orOr.kt.after @@ -3,4 +3,6 @@ fun foo() { @Suppress("UNNECESSARY_NOT_NULL_ASSERTION") false!! || true -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/parenthesized.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/parenthesized.kt index 345e47d2c02d..0ab637117505 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/parenthesized.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/parenthesized.kt @@ -2,4 +2,6 @@ fun foo() { (""!!) -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/parenthesized.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/parenthesized.kt.after index d000f2c9e33a..c9fa947039b8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/parenthesized.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/parenthesized.kt.after @@ -3,4 +3,6 @@ fun foo() { @Suppress("UNNECESSARY_NOT_NULL_ASSERTION") (""!!) -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/plus.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/plus.kt index 095a8d2e7131..32becbf3c961 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/plus.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/plus.kt @@ -2,4 +2,6 @@ fun foo() { 1!! + 2 -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/plus.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/plus.kt.after index 6c944cd308aa..51526461d98f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/plus.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/plus.kt.after @@ -3,4 +3,6 @@ fun foo() { @Suppress("UNNECESSARY_NOT_NULL_ASSERTION") 1!! + 2 -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/postfix.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/postfix.kt index 07f7142398f7..27ec48980edf 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/postfix.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/postfix.kt @@ -2,4 +2,6 @@ fun foo() { ""!! -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/postfix.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/postfix.kt.after index d6fcb10278a7..c4dedbc72a58 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/postfix.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/postfix.kt.after @@ -3,4 +3,6 @@ fun foo() { @Suppress("UNNECESSARY_NOT_NULL_ASSERTION") ""!! -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/postfixPlusPlus.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/postfixPlusPlus.kt index a7dd9b1c7e12..90dddd187627 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/postfixPlusPlus.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/postfixPlusPlus.kt @@ -4,3 +4,6 @@ fun foo() { val arr = IntArray(1) arr[1 as Int]++ } + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/postfixPlusPlus.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/postfixPlusPlus.kt.after index ba70d760ae90..3dc79b30fc93 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/postfixPlusPlus.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/postfixPlusPlus.kt.after @@ -5,3 +5,6 @@ fun foo() { @Suppress("USELESS_CAST") arr[1 as Int]++ } + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/prefixPlusPlus.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/prefixPlusPlus.kt index 644f3092b1b6..b2d443c2d40e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/prefixPlusPlus.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/prefixPlusPlus.kt @@ -4,3 +4,6 @@ fun foo() { val arr = IntArray(1) ++arr[1 as Int] } + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/prefixPlusPlus.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/prefixPlusPlus.kt.after index 93464d6929c2..a2061fc7e1ba 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/prefixPlusPlus.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/prefixPlusPlus.kt.after @@ -5,3 +5,6 @@ fun foo() { @Suppress("USELESS_CAST") ++arr[1 as Int] } + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/range.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/range.kt index 1b9a34540e2c..8465e14c0944 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/range.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/range.kt @@ -2,4 +2,6 @@ fun foo() { 1!! .. 2 -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/range.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/range.kt.after index 497cbccf7330..e4f52a0c567c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/range.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/range.kt.after @@ -3,4 +3,6 @@ fun foo() { @Suppress("UNNECESSARY_NOT_NULL_ASSERTION") 1!! .. 2 -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/return.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/return.kt index 6fcd06ffc93b..0a41a0cca67e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/return.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/return.kt @@ -2,4 +2,6 @@ fun foo(): Any { return ""!! -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/return.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/return.kt.after index 56f577e3921c..832a9690ce45 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/return.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/return.kt.after @@ -3,4 +3,6 @@ fun foo(): Any { @Suppress("UNNECESSARY_NOT_NULL_ASSERTION") return ""!! -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/safeQualified.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/safeQualified.kt index a275a8b10326..c42768b7a978 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/safeQualified.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/safeQualified.kt @@ -6,4 +6,6 @@ fun foo(a: C) { class C { fun foo(a: Any) {} -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/safeQualified.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/safeQualified.kt.after index ea4a4b5b9eb7..cceee9ab098b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/safeQualified.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/safeQualified.kt.after @@ -7,4 +7,6 @@ fun foo(a: C) { class C { fun foo(a: Any) {} -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/simpleName.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/simpleName.kt index 74c57f40ea55..04e3c7c82b9f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/simpleName.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/simpleName.kt @@ -5,4 +5,5 @@ fun foo() { a } -// IGNORE_FIR \ No newline at end of file +// IGNORE_FIR +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/simpleName.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/simpleName.kt.after index 11cb75df9aaa..6c828a991652 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/simpleName.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/simpleName.kt.after @@ -6,4 +6,5 @@ fun foo() { a } -// IGNORE_FIR \ No newline at end of file +// IGNORE_FIR +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/stringTemplate.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/stringTemplate.kt index 6ee9c1a74041..69c39e5e941b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/stringTemplate.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/stringTemplate.kt @@ -2,4 +2,6 @@ fun foo() { "${""!!}" -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/stringTemplate.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/stringTemplate.kt.after index e8e6c0c23804..c66ef4335f33 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/stringTemplate.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/stringTemplate.kt.after @@ -3,4 +3,6 @@ fun foo() { @Suppress("UNNECESSARY_NOT_NULL_ASSERTION") "${""!!}" -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/throw.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/throw.kt index 1b5bae44f4b2..77ed7ec29b64 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/throw.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/throw.kt @@ -3,4 +3,6 @@ fun foo(): Any { throw Exception(""!!) -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/throw.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/throw.kt.after index d51af785ef80..c13f37a7f9a0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/throw.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/throw.kt.after @@ -4,4 +4,6 @@ fun foo(): Any { @Suppress("UNNECESSARY_NOT_NULL_ASSERTION") throw Exception(""!!) -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/try.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/try.kt index 4400cc1df745..610c801eb306 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/try.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/try.kt @@ -7,4 +7,6 @@ fun foo() { finally { } -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/try.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/try.kt.after index b640b9368a84..bb3140a2e78c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/try.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/try.kt.after @@ -8,4 +8,6 @@ fun foo() { finally { } -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/whenExpressionEntry.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/whenExpressionEntry.kt index 69529bf0f363..9c522d478fca 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/whenExpressionEntry.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/whenExpressionEntry.kt @@ -4,4 +4,6 @@ fun foo(a: Any) { when (a) { ""!! -> {} } -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/whenExpressionEntry.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/whenExpressionEntry.kt.after index 0f54df93c6d0..2f867ceb28f7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/whenExpressionEntry.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/whenExpressionEntry.kt.after @@ -5,4 +5,6 @@ fun foo(a: Any) { when (a) { ""!! -> {} } -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/whenInEntry.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/whenInEntry.kt index dd3909ae36f6..02cb6fdb41cd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/whenInEntry.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/whenInEntry.kt @@ -4,4 +4,6 @@ fun foo() { when (1) { in 1!!..2 -> {} } -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/whenInEntry.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/whenInEntry.kt.after index 24ac574d822e..eafdbce89082 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/whenInEntry.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/whenInEntry.kt.after @@ -5,4 +5,6 @@ fun foo() { when (1) { in 1!!..2 -> {} } -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/whenIsEntry.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/whenIsEntry.kt index 0af5f6219513..045b321929ae 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/whenIsEntry.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/whenIsEntry.kt @@ -5,3 +5,6 @@ fun foo() { is Any? -> {2 / 0} } } + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/whenIsEntry.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/whenIsEntry.kt.after index 2c3313a25484..2aef840b30f5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/whenIsEntry.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/whenIsEntry.kt.after @@ -8,3 +8,6 @@ fun foo() { } } } + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/whenSubject.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/whenSubject.kt index 652af1082787..945c4fb9dba4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/whenSubject.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/whenSubject.kt @@ -4,4 +4,6 @@ fun foo() { when (""!!) { is Any -> {} } -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/whenSubject.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/whenSubject.kt.after index 548082b04dbb..2080db7d3f80 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/whenSubject.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/whenSubject.kt.after @@ -5,4 +5,6 @@ fun foo() { when (""!!) { is Any -> {} } -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/while.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/while.kt index b6f4041709c1..c2a79294a1f5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/while.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/while.kt @@ -2,4 +2,6 @@ fun foo() { while (true!!) {} -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/while.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/while.kt.after index 7c44e2e4e4fb..5c10a00d82c8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/while.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/forStatement/while.kt.after @@ -3,4 +3,6 @@ fun foo() { @Suppress("UNNECESSARY_NOT_NULL_ASSERTION") while (true!!) {} -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.KotlinSuppressIntentionAction \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/inspections/constantConditionIf.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/inspections/constantConditionIf.kt index d741f350baa6..ccefa73fa3ae 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/inspections/constantConditionIf.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/inspections/constantConditionIf.kt @@ -6,4 +6,5 @@ fun foo() { } // IGNORE_FIR -// TOOL: org.jetbrains.kotlin.idea.inspections.ConstantConditionIfInspection \ No newline at end of file +// TOOL: org.jetbrains.kotlin.idea.inspections.ConstantConditionIfInspection +// FUS_QUICKFIX_NAME: com.intellij.codeInspection.SuppressIntentionActionFromFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/inspections/constantConditionIf.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/inspections/constantConditionIf.kt.after index ce8b52bdf48d..6ab5b1f31044 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/inspections/constantConditionIf.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/inspections/constantConditionIf.kt.after @@ -7,4 +7,5 @@ fun foo() { } // IGNORE_FIR -// TOOL: org.jetbrains.kotlin.idea.inspections.ConstantConditionIfInspection \ No newline at end of file +// TOOL: org.jetbrains.kotlin.idea.inspections.ConstantConditionIfInspection +// FUS_QUICKFIX_NAME: com.intellij.codeInspection.SuppressIntentionActionFromFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/inspections/redundantUnitReturn.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/inspections/redundantUnitReturn.kt index 18fba51b9d53..7c86c5e0b721 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/inspections/redundantUnitReturn.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/inspections/redundantUnitReturn.kt @@ -5,4 +5,6 @@ fun foo(): Unit { } // K1_TOOL: org.jetbrains.kotlin.idea.inspections.RedundantUnitReturnTypeInspection -// K2_TOOL: org.jetbrains.kotlin.idea.k2.codeinsight.inspections.declarations.RedundantUnitReturnTypeInspection \ No newline at end of file +// K2_TOOL: org.jetbrains.kotlin.idea.k2.codeinsight.inspections.declarations.RedundantUnitReturnTypeInspection +// FUS_K2_QUICKFIX_NAME: com.intellij.codeInspection.SuppressIntentionActionFromFix +// FUS_QUICKFIX_NAME: com.intellij.codeInspection.SuppressIntentionActionFromFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/inspections/redundantUnitReturn.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/inspections/redundantUnitReturn.kt.after index 7dde02bc6932..cacf94eeb1f5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/inspections/redundantUnitReturn.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/inspections/redundantUnitReturn.kt.after @@ -6,4 +6,6 @@ fun foo(): Unit { } // K1_TOOL: org.jetbrains.kotlin.idea.inspections.RedundantUnitReturnTypeInspection -// K2_TOOL: org.jetbrains.kotlin.idea.k2.codeinsight.inspections.declarations.RedundantUnitReturnTypeInspection \ No newline at end of file +// K2_TOOL: org.jetbrains.kotlin.idea.k2.codeinsight.inspections.declarations.RedundantUnitReturnTypeInspection +// FUS_K2_QUICKFIX_NAME: com.intellij.codeInspection.SuppressIntentionActionFromFix +// FUS_QUICKFIX_NAME: com.intellij.codeInspection.SuppressIntentionActionFromFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/inspections/unusedImports.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/inspections/unusedImports.kt index 0fbe5453324d..d452c0ea1f3e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/inspections/unusedImports.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/inspections/unusedImports.kt @@ -3,4 +3,6 @@ import java.io.* // K1_TOOL: org.jetbrains.kotlin.idea.inspections.KotlinUnusedImportInspection -// K2_TOOL: org.jetbrains.kotlin.idea.k2.codeinsight.inspections.KotlinUnusedImportInspection \ No newline at end of file +// K2_TOOL: org.jetbrains.kotlin.idea.k2.codeinsight.inspections.KotlinUnusedImportInspection +// FUS_K2_QUICKFIX_NAME: com.intellij.codeInspection.SuppressIntentionActionFromFix +// FUS_QUICKFIX_NAME: com.intellij.codeInspection.SuppressIntentionActionFromFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/inspections/unusedImports.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/inspections/unusedImports.kt.after index 7443c5f1ea58..eeaf77d9ad55 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/inspections/unusedImports.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/inspections/unusedImports.kt.after @@ -5,4 +5,6 @@ import java.io.* // K1_TOOL: org.jetbrains.kotlin.idea.inspections.KotlinUnusedImportInspection -// K2_TOOL: org.jetbrains.kotlin.idea.k2.codeinsight.inspections.KotlinUnusedImportInspection \ No newline at end of file +// K2_TOOL: org.jetbrains.kotlin.idea.k2.codeinsight.inspections.KotlinUnusedImportInspection +// FUS_K2_QUICKFIX_NAME: com.intellij.codeInspection.SuppressIntentionActionFromFix +// FUS_QUICKFIX_NAME: com.intellij.codeInspection.SuppressIntentionActionFromFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/redundant/RedundantUnitReturn.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/redundant/RedundantUnitReturn.kt index d85667f761e8..1d0e9ad59a61 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/redundant/RedundantUnitReturn.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/redundant/RedundantUnitReturn.kt @@ -6,4 +6,6 @@ fun foo() { // K1_TOOL: org.jetbrains.kotlin.idea.inspections.RedundantUnitReturnTypeInspection // K2_TOOL: org.jetbrains.kotlin.idea.k2.codeinsight.inspections.declarations.RedundantUnitReturnTypeInspection -// TOOL: com.intellij.codeInspection.RedundantSuppressInspection \ No newline at end of file +// TOOL: com.intellij.codeInspection.RedundantSuppressInspection +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.RemoveRedundantSuppression +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.RemoveRedundantSuppression \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/redundant/RedundantUnitReturn.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/redundant/RedundantUnitReturn.kt.after index b4864daeee6c..7d0fbfc0ea62 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/redundant/RedundantUnitReturn.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/redundant/RedundantUnitReturn.kt.after @@ -5,4 +5,6 @@ // K1_TOOL: org.jetbrains.kotlin.idea.inspections.RedundantUnitReturnTypeInspection // K2_TOOL: org.jetbrains.kotlin.idea.k2.codeinsight.inspections.declarations.RedundantUnitReturnTypeInspection -// TOOL: com.intellij.codeInspection.RedundantSuppressInspection \ No newline at end of file +// TOOL: com.intellij.codeInspection.RedundantSuppressInspection +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.RemoveRedundantSuppression +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.RemoveRedundantSuppression \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/redundant/RemoveAnnotation.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/redundant/RemoveAnnotation.kt index 362bc724f2d0..2eb5476b9368 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/redundant/RemoveAnnotation.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/redundant/RemoveAnnotation.kt @@ -8,3 +8,5 @@ fun function() { // IGNORE_FIR // TOOL: com.intellij.codeInspection.RedundantSuppressInspection // K1_TOOL: org.jetbrains.kotlin.idea.inspections.MoveVariableDeclarationIntoWhenInspection + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.RemoveRedundantSuppression \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/redundant/RemoveAnnotation.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/redundant/RemoveAnnotation.kt.after index 8c0f1d6269eb..9696ed99d95d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/redundant/RemoveAnnotation.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/redundant/RemoveAnnotation.kt.after @@ -7,3 +7,5 @@ // IGNORE_FIR // TOOL: com.intellij.codeInspection.RedundantSuppressInspection // K1_TOOL: org.jetbrains.kotlin.idea.inspections.MoveVariableDeclarationIntoWhenInspection + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.RemoveRedundantSuppression \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/redundant/RemoveAnnotationEntry.kt b/plugins/kotlin/idea/tests/testData/quickfix/suppress/redundant/RemoveAnnotationEntry.kt index dfb8326e96b7..86e4f890e4c2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/redundant/RemoveAnnotationEntry.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/redundant/RemoveAnnotationEntry.kt @@ -8,3 +8,5 @@ fun function() { // IGNORE_FIR // TOOL: com.intellij.codeInspection.RedundantSuppressInspection // K1_TOOL: org.jetbrains.kotlin.idea.inspections.MoveVariableDeclarationIntoWhenInspection + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.RemoveRedundantSuppression \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suppress/redundant/RemoveAnnotationEntry.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suppress/redundant/RemoveAnnotationEntry.kt.after index ba7f110baacc..6125c9c3bafd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suppress/redundant/RemoveAnnotationEntry.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suppress/redundant/RemoveAnnotationEntry.kt.after @@ -8,3 +8,5 @@ fun function() { // IGNORE_FIR // TOOL: com.intellij.codeInspection.RedundantSuppressInspection // K1_TOOL: org.jetbrains.kotlin.idea.inspections.MoveVariableDeclarationIntoWhenInspection + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.suppress.RemoveRedundantSuppression \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/onlyShortenInsertedArrayOfCall.fir.kt b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/onlyShortenInsertedArrayOfCall.fir.kt index 3b7a5c91a303..8712eb37d9e9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/onlyShortenInsertedArrayOfCall.fir.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/onlyShortenInsertedArrayOfCall.fir.kt @@ -9,3 +9,5 @@ fun foo(vararg a: A) {} fun test() { foo(a = foo.bar.A()) } + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/onlyShortenInsertedArrayOfCall.fir.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/onlyShortenInsertedArrayOfCall.fir.kt.after index 8b7671dad6b9..956f30086414 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/onlyShortenInsertedArrayOfCall.fir.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/onlyShortenInsertedArrayOfCall.fir.kt.after @@ -9,3 +9,5 @@ fun foo(vararg a: A) {} fun test() { foo(a = arrayOf(foo.bar.A())) } + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/onlyShortenInsertedArrayOfCall.kt b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/onlyShortenInsertedArrayOfCall.kt index cf43aa7d271f..9b313cfed12d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/onlyShortenInsertedArrayOfCall.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/onlyShortenInsertedArrayOfCall.kt @@ -9,3 +9,5 @@ fun foo(vararg a: A) {} fun test() { foo(a = foo.bar.A()) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SurroundWithArrayOfWithSpreadOperatorInFunctionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/onlyShortenInsertedArrayOfCall.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/onlyShortenInsertedArrayOfCall.kt.after index df7a5aae4255..98627a342a9b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/onlyShortenInsertedArrayOfCall.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/onlyShortenInsertedArrayOfCall.kt.after @@ -9,3 +9,5 @@ fun foo(vararg a: A) {} fun test() { foo(a = *arrayOf(foo.bar.A())) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SurroundWithArrayOfWithSpreadOperatorInFunctionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/replaceForVarargOfAny.kt b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/replaceForVarargOfAny.kt index 7759de084242..b1bd57d1fac1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/replaceForVarargOfAny.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/replaceForVarargOfAny.kt @@ -6,4 +6,5 @@ fun anyFoo(vararg a: Any) {} fun test() { anyFoo(a = intArrayOf(1)) } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SurroundWithArrayOfWithSpreadOperatorInFunctionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/replaceForVarargOfAny.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/replaceForVarargOfAny.kt.after index 1ac02f59cc08..0c6ccd26be89 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/replaceForVarargOfAny.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/replaceForVarargOfAny.kt.after @@ -6,4 +6,5 @@ fun anyFoo(vararg a: Any) {} fun test() { anyFoo(a = *arrayOf(intArrayOf(1))) } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SurroundWithArrayOfWithSpreadOperatorInFunctionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/replaceForbiddenAssigningIntoArrayCall.kt b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/replaceForbiddenAssigningIntoArrayCall.kt index 242826707ebd..5a4787293c71 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/replaceForbiddenAssigningIntoArrayCall.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/replaceForbiddenAssigningIntoArrayCall.kt @@ -8,3 +8,5 @@ fun test() { anyFoo(a = intArrayOf(1)) } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SurroundWithArrayOfWithSpreadOperatorInFunctionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/replaceForbiddenAssigningIntoArrayCall.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/replaceForbiddenAssigningIntoArrayCall.kt.after index 7f427d0092ed..b821c76684ce 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/replaceForbiddenAssigningIntoArrayCall.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/replaceForbiddenAssigningIntoArrayCall.kt.after @@ -8,3 +8,5 @@ fun test() { anyFoo(a = *arrayOf(intArrayOf(1))) } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SurroundWithArrayOfWithSpreadOperatorInFunctionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/replaceToArrayOfPrimitiveTypes.fir.kt b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/replaceToArrayOfPrimitiveTypes.fir.kt index b4e58ecada37..7b3cd8e2cd3b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/replaceToArrayOfPrimitiveTypes.fir.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/replaceToArrayOfPrimitiveTypes.fir.kt @@ -4,4 +4,5 @@ fun foo(vararg s: Int) {} fun test() { foo(s = 1) -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/replaceToArrayOfPrimitiveTypes.fir.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/replaceToArrayOfPrimitiveTypes.fir.kt.after index 734e50dc4903..32a463582057 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/replaceToArrayOfPrimitiveTypes.fir.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/replaceToArrayOfPrimitiveTypes.fir.kt.after @@ -4,4 +4,5 @@ fun foo(vararg s: Int) {} fun test() { foo(s = intArrayOf(1)) -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/replaceToArrayOfPrimitiveTypes.kt b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/replaceToArrayOfPrimitiveTypes.kt index 48db29b82d55..1c64abdb3d12 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/replaceToArrayOfPrimitiveTypes.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/replaceToArrayOfPrimitiveTypes.kt @@ -4,4 +4,5 @@ fun foo(vararg s: Int) {} fun test() { foo(s = 1) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SurroundWithArrayOfWithSpreadOperatorInFunctionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/replaceToArrayOfPrimitiveTypes.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/replaceToArrayOfPrimitiveTypes.kt.after index 49f65cb0f761..6349c3f239f3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/replaceToArrayOfPrimitiveTypes.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/replaceToArrayOfPrimitiveTypes.kt.after @@ -4,4 +4,5 @@ fun foo(vararg s: Int) {} fun test() { foo(s = *intArrayOf(1)) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SurroundWithArrayOfWithSpreadOperatorInFunctionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/replaceToArrayOfPrimitiveTypes_1_2.kt b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/replaceToArrayOfPrimitiveTypes_1_2.kt index 94f2f863c7bc..d60ee9098a2c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/replaceToArrayOfPrimitiveTypes_1_2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/replaceToArrayOfPrimitiveTypes_1_2.kt @@ -7,3 +7,5 @@ fun test() { foo(s = 1) } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SurroundWithArrayOfWithSpreadOperatorInFunctionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/replaceToArrayOfPrimitiveTypes_1_2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/replaceToArrayOfPrimitiveTypes_1_2.kt.after index 8b304bcc342e..28868375f5ff 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/replaceToArrayOfPrimitiveTypes_1_2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/replaceToArrayOfPrimitiveTypes_1_2.kt.after @@ -7,3 +7,5 @@ fun test() { foo(s = *intArrayOf(1)) } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SurroundWithArrayOfWithSpreadOperatorInFunctionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/simpleNamedArgumentToVararg.fir.kt b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/simpleNamedArgumentToVararg.fir.kt index f7d5ee0afac5..0045edcd9180 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/simpleNamedArgumentToVararg.fir.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/simpleNamedArgumentToVararg.fir.kt @@ -4,4 +4,5 @@ fun foo(vararg s: String) {} fun test() { foo(s = "value") -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/simpleNamedArgumentToVararg.fir.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/simpleNamedArgumentToVararg.fir.kt.after index b5803a473ba4..6dc0f8c20dd7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/simpleNamedArgumentToVararg.fir.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/simpleNamedArgumentToVararg.fir.kt.after @@ -4,4 +4,5 @@ fun foo(vararg s: String) {} fun test() { foo(s = arrayOf("value")) -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/simpleNamedArgumentToVararg.kt b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/simpleNamedArgumentToVararg.kt index 43ad836241a7..61f0f1c6e80c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/simpleNamedArgumentToVararg.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/simpleNamedArgumentToVararg.kt @@ -4,4 +4,5 @@ fun foo(vararg s: String) {} fun test() { foo(s = "value") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SurroundWithArrayOfWithSpreadOperatorInFunctionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/simpleNamedArgumentToVararg.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/simpleNamedArgumentToVararg.kt.after index 34cabe1d6771..a4220886bfb2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/simpleNamedArgumentToVararg.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/simpleNamedArgumentToVararg.kt.after @@ -4,4 +4,5 @@ fun foo(vararg s: String) {} fun test() { foo(s = *arrayOf("value")) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SurroundWithArrayOfWithSpreadOperatorInFunctionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/simpleNamedArgumentToVararg_1_2.kt b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/simpleNamedArgumentToVararg_1_2.kt index 36195f23b1a2..75f0752520bb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/simpleNamedArgumentToVararg_1_2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/simpleNamedArgumentToVararg_1_2.kt @@ -7,3 +7,5 @@ fun test() { foo(s = "value") } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SurroundWithArrayOfWithSpreadOperatorInFunctionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/simpleNamedArgumentToVararg_1_2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/simpleNamedArgumentToVararg_1_2.kt.after index 4204a78a9da2..c088a76812fe 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/simpleNamedArgumentToVararg_1_2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/simpleNamedArgumentToVararg_1_2.kt.after @@ -7,3 +7,5 @@ fun test() { foo(s = *arrayOf("value")) } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SurroundWithArrayOfWithSpreadOperatorInFunctionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/surroundWithSpreadForConstructorCall.fir.kt b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/surroundWithSpreadForConstructorCall.fir.kt index 42e9a6bf5361..8c7618cad61d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/surroundWithSpreadForConstructorCall.fir.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/surroundWithSpreadForConstructorCall.fir.kt @@ -4,4 +4,5 @@ class Foo(vararg val p: T) fun test() { Foo(p = 123) -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/surroundWithSpreadForConstructorCall.fir.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/surroundWithSpreadForConstructorCall.fir.kt.after index ad98dfa40cf7..e2fe7aba088e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/surroundWithSpreadForConstructorCall.fir.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/surroundWithSpreadForConstructorCall.fir.kt.after @@ -4,4 +4,5 @@ class Foo(vararg val p: T) fun test() { Foo(p = arrayOf(123)) -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/surroundWithSpreadForConstructorCall.kt b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/surroundWithSpreadForConstructorCall.kt index 5bad7261722c..95bad6398920 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/surroundWithSpreadForConstructorCall.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/surroundWithSpreadForConstructorCall.kt @@ -4,4 +4,5 @@ class Foo(vararg val p: T) fun test() { Foo(p = 123) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SurroundWithArrayOfWithSpreadOperatorInFunctionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/surroundWithSpreadForConstructorCall.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/surroundWithSpreadForConstructorCall.kt.after index 55f4012cf939..4e7b896d98dc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/surroundWithSpreadForConstructorCall.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/surroundWithSpreadForConstructorCall.kt.after @@ -4,4 +4,5 @@ class Foo(vararg val p: T) fun test() { Foo(p = *arrayOf(123)) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SurroundWithArrayOfWithSpreadOperatorInFunctionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/surroundWithSpreadForConstructorCall_1_2.kt b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/surroundWithSpreadForConstructorCall_1_2.kt index c7831c38a690..78ef47026a81 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/surroundWithSpreadForConstructorCall_1_2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/surroundWithSpreadForConstructorCall_1_2.kt @@ -7,3 +7,5 @@ fun test() { Foo(p = 123) } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SurroundWithArrayOfWithSpreadOperatorInFunctionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/surroundWithSpreadForConstructorCall_1_2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/surroundWithSpreadForConstructorCall_1_2.kt.after index f01a77580a39..39a6fc9fd342 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/surroundWithSpreadForConstructorCall_1_2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithArrayOfForNamedArgumentsToVarargs/surroundWithSpreadForConstructorCall_1_2.kt.after @@ -7,3 +7,5 @@ fun test() { Foo(p = *arrayOf(123)) } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SurroundWithArrayOfWithSpreadOperatorInFunctionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/argumentNullable.kt b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/argumentNullable.kt index 13ffb3039c58..12660b776cc4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/argumentNullable.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/argumentNullable.kt @@ -4,4 +4,5 @@ fun foo(x: String?) { bar(x) } -fun bar(s: String) = s.hashCode() \ No newline at end of file +fun bar(s: String) = s.hashCode() +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SurroundWithNullCheckFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/argumentNullable.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/argumentNullable.kt.after index 64c25e240128..9eee5f6f7cce 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/argumentNullable.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/argumentNullable.kt.after @@ -6,4 +6,5 @@ fun foo(x: String?) { } } -fun bar(s: String) = s.hashCode() \ No newline at end of file +fun bar(s: String) = s.hashCode() +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SurroundWithNullCheckFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/assignment.kt b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/assignment.kt index cdafab905ca0..4c841af9f7cc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/assignment.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/assignment.kt @@ -3,4 +3,5 @@ fun foo(s: String?) { var ss: String = "" ss = s -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SurroundWithNullCheckFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/assignment.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/assignment.kt.after index fb21914b1711..87e1aa31b169 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/assignment.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/assignment.kt.after @@ -5,4 +5,5 @@ fun foo(s: String?) { if (s != null) { ss = s } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SurroundWithNullCheckFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/in.kt b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/in.kt index dd9c5bac5a4a..ea775c35771f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/in.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/in.kt @@ -1,4 +1,5 @@ // "Surround with null check" "true" fun test(a: String, b: List?) { a in b -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SurroundWithNullCheckFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/in.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/in.kt.after index a3da26541f86..255e2cc43607 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/in.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/in.kt.after @@ -3,4 +3,5 @@ fun test(a: String, b: List?) { if (b != null) { a in b } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SurroundWithNullCheckFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/inLambda.kt b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/inLambda.kt index 0daaf4ea5bde..a13e2abb1f76 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/inLambda.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/inLambda.kt @@ -10,4 +10,5 @@ fun test() { bar { it.foo() } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SurroundWithNullCheckFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/inLambda.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/inLambda.kt.after index f341d3d959c5..5ac5d5018a8e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/inLambda.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/inLambda.kt.after @@ -12,4 +12,5 @@ fun test() { it.foo() } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SurroundWithNullCheckFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/inLambda3.kt b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/inLambda3.kt index bbb473dff142..e4236ee0ccb7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/inLambda3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/inLambda3.kt @@ -10,4 +10,5 @@ fun test(x: Foo?) { bar { x.foo() } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SurroundWithNullCheckFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/inLambda3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/inLambda3.kt.after index a0f2e44f67b5..15fbb0ecaf87 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/inLambda3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/inLambda3.kt.after @@ -12,4 +12,5 @@ fun test(x: Foo?) { x.foo() } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SurroundWithNullCheckFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/infixUnsafeCall.kt b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/infixUnsafeCall.kt index 57bbbfdc4c2b..3a9fb98b8f90 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/infixUnsafeCall.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/infixUnsafeCall.kt @@ -4,4 +4,5 @@ infix fun Int.op(arg: Int) = this fun foo(arg: Int?) { arg op 42 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SurroundWithNullCheckFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/infixUnsafeCall.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/infixUnsafeCall.kt.after index e58a631fdeca..9c2786ef4645 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/infixUnsafeCall.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/infixUnsafeCall.kt.after @@ -6,4 +6,5 @@ fun foo(arg: Int?) { if (arg != null) { arg op 42 } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SurroundWithNullCheckFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/invokeFuncUnsafe.kt b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/invokeFuncUnsafe.kt index 3295c80bc922..47e7dec74bff 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/invokeFuncUnsafe.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/invokeFuncUnsafe.kt @@ -2,4 +2,5 @@ fun foo(exec: (() -> Unit)?) { exec() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SurroundWithNullCheckFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/invokeFuncUnsafe.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/invokeFuncUnsafe.kt.after index 2d88d830b0cc..181d639040a0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/invokeFuncUnsafe.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/invokeFuncUnsafe.kt.after @@ -4,4 +4,5 @@ fun foo(exec: (() -> Unit)?) { if (exec != null) { exec() } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SurroundWithNullCheckFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/invokeUnsafe.kt b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/invokeUnsafe.kt index 7c427ee2d2cf..90fe60904c63 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/invokeUnsafe.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/invokeUnsafe.kt @@ -4,4 +4,5 @@ operator fun Int.invoke() = this fun foo(arg: Int?) { arg() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SurroundWithNullCheckFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/invokeUnsafe.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/invokeUnsafe.kt.after index 969fc38fe310..c2a00d4ee36f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/invokeUnsafe.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/invokeUnsafe.kt.after @@ -6,4 +6,5 @@ fun foo(arg: Int?) { if (arg != null) { arg() } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SurroundWithNullCheckFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/iteratorUnsafe.kt b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/iteratorUnsafe.kt index 056e0fcc4aad..961897ce8fac 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/iteratorUnsafe.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/iteratorUnsafe.kt @@ -3,4 +3,5 @@ fun foo(list: List?) { for (element in list) {} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SurroundWithNullCheckFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/iteratorUnsafe.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/iteratorUnsafe.kt.after index d250efd279eb..53d7613f02c0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/iteratorUnsafe.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/iteratorUnsafe.kt.after @@ -5,4 +5,5 @@ fun foo(list: List?) { if (list != null) { for (element in list) {} } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SurroundWithNullCheckFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/nullableInCondition.kt b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/nullableInCondition.kt index 9a6b4aada8e9..8541205987c8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/nullableInCondition.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/nullableInCondition.kt @@ -5,4 +5,5 @@ fun foz(arg: String?) { if (arg.isNotEmpty()) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SurroundWithNullCheckFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/nullableInCondition.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/nullableInCondition.kt.after index 659bbc83262a..5d3c9f86d964 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/nullableInCondition.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/nullableInCondition.kt.after @@ -7,4 +7,5 @@ fun foz(arg: String?) { } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SurroundWithNullCheckFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/objectNestedQualifiers.kt b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/objectNestedQualifiers.kt index b0a22833a1bd..8bfc25dd73c3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/objectNestedQualifiers.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/objectNestedQualifiers.kt @@ -7,4 +7,5 @@ fun foo(p: String?) { object Util { fun f1(o: Any, p: Int): Any = o fun f2(o: Any): Any = o -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SurroundWithNullCheckFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/objectNestedQualifiers.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/objectNestedQualifiers.kt.after index 06555aa3996f..fa3dffe14649 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/objectNestedQualifiers.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/objectNestedQualifiers.kt.after @@ -9,4 +9,5 @@ fun foo(p: String?) { object Util { fun f1(o: Any, p: Int): Any = o fun f2(o: Any): Any = o -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SurroundWithNullCheckFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/objectQualifier.kt b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/objectQualifier.kt index 0bc43f627434..f31c93e69a2b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/objectQualifier.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/objectQualifier.kt @@ -7,3 +7,5 @@ object Obj { fun use(arg: Int?) { Obj.foo(arg) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SurroundWithNullCheckFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/objectQualifier.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/objectQualifier.kt.after index fac4793147b4..b50be19d4d7b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/objectQualifier.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/objectQualifier.kt.after @@ -9,3 +9,5 @@ fun use(arg: Int?) { Obj.foo(arg) } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SurroundWithNullCheckFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/simpleUnsafeCall.kt b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/simpleUnsafeCall.kt index 48e4d72b5020..0237ac6607b9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/simpleUnsafeCall.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/simpleUnsafeCall.kt @@ -2,4 +2,5 @@ fun foo(arg: Int?) { arg.hashCode() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SurroundWithNullCheckFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/simpleUnsafeCall.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/simpleUnsafeCall.kt.after index 0b5552adf722..aabfe233906c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/simpleUnsafeCall.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/simpleUnsafeCall.kt.after @@ -4,4 +4,5 @@ fun foo(arg: Int?) { if (arg != null) { arg.hashCode() } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SurroundWithNullCheckFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/unsafeCallInBinary.kt b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/unsafeCallInBinary.kt index 0d5adc2f58e4..22a18e34f724 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/unsafeCallInBinary.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/unsafeCallInBinary.kt @@ -2,4 +2,5 @@ fun foo(arg: Int?) { 42 + arg.hashCode() - 13 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SurroundWithNullCheckFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/unsafeCallInBinary.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/unsafeCallInBinary.kt.after index f803102f32fc..a6f47eabc9b8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/unsafeCallInBinary.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/unsafeCallInBinary.kt.after @@ -4,4 +4,5 @@ fun foo(arg: Int?) { if (arg != null) { 42 + arg.hashCode() - 13 } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SurroundWithNullCheckFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/unsafeCallInsideAnonymous.kt b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/unsafeCallInsideAnonymous.kt index 9c64f0d4f3b0..8e387afa6294 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/unsafeCallInsideAnonymous.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/unsafeCallInsideAnonymous.kt @@ -5,4 +5,5 @@ fun Int.bar() = this fun foo(arg: Int?) { run(fun() = arg.bar()) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SurroundWithNullCheckFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/unsafeCallInsideAnonymous.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/unsafeCallInsideAnonymous.kt.after index 547c0280508c..fff0cef757b6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/unsafeCallInsideAnonymous.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/unsafeCallInsideAnonymous.kt.after @@ -7,4 +7,5 @@ fun foo(arg: Int?) { if (arg != null) { run(fun() = arg.bar()) } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SurroundWithNullCheckFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/unsafeCallInsideIf.kt b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/unsafeCallInsideIf.kt index 2075f00b8f9d..1f508fa8052c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/unsafeCallInsideIf.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/unsafeCallInsideIf.kt @@ -2,4 +2,5 @@ fun foo(arg: Int?, flag: Boolean) { if (flag) arg.hashCode() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SurroundWithNullCheckFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/unsafeCallInsideIf.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/unsafeCallInsideIf.kt.after index 88dedcb2a58e..99ff47cdab55 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/unsafeCallInsideIf.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/unsafeCallInsideIf.kt.after @@ -4,4 +4,5 @@ fun foo(arg: Int?, flag: Boolean) { if (flag) if (arg != null) { arg.hashCode() } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SurroundWithNullCheckFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/unsafeCallInsideWhen.kt b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/unsafeCallInsideWhen.kt index 4b336d56ef65..4a963e5378ba 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/unsafeCallInsideWhen.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/unsafeCallInsideWhen.kt @@ -5,4 +5,5 @@ fun foo(arg: Int?, flag: Boolean) { when (flag) { true -> arg.hashCode() } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SurroundWithNullCheckFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/unsafeCallInsideWhen.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/unsafeCallInsideWhen.kt.after index 9b5c2d414600..1d76058a22f3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/unsafeCallInsideWhen.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/unsafeCallInsideWhen.kt.after @@ -7,4 +7,5 @@ fun foo(arg: Int?, flag: Boolean) { arg.hashCode() } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SurroundWithNullCheckFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/unsafeCallInsideWhile.kt b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/unsafeCallInsideWhile.kt index 16161346ef20..feb1c9c9298b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/unsafeCallInsideWhile.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/unsafeCallInsideWhile.kt @@ -2,4 +2,5 @@ fun foo(arg: Int?, flag: Boolean) { while (flag) arg.hashCode() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SurroundWithNullCheckFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/unsafeCallInsideWhile.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/unsafeCallInsideWhile.kt.after index cd762136d0e0..a88e38b9759f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/unsafeCallInsideWhile.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/unsafeCallInsideWhile.kt.after @@ -4,4 +4,5 @@ fun foo(arg: Int?, flag: Boolean) { while (flag) if (arg != null) { arg.hashCode() } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SurroundWithNullCheckFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/hasType.kt b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/hasType.kt index 3be1a2e83615..269d16860879 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/hasType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/hasType.kt @@ -4,4 +4,5 @@ fun test() { var list: List = listOf(1) list += 2 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.SuspiciousCollectionReassignmentInspection$ChangeTypeToMutableFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/hasType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/hasType.kt.after index 994e01b0c6a0..ba5a9718db45 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/hasType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/hasType.kt.after @@ -4,4 +4,5 @@ fun test() { val list: MutableList = mutableListOf(1) list += 2 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.SuspiciousCollectionReassignmentInspection$ChangeTypeToMutableFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/hasType2.kt b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/hasType2.kt index 9a62da9a6d83..6debcf5cf8cb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/hasType2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/hasType2.kt @@ -4,4 +4,5 @@ fun test() { var list = listOf(1) list += 2 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.SuspiciousCollectionReassignmentInspection$ChangeTypeToMutableFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/hasType2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/hasType2.kt.after index b89aba4d6597..cb0dd2779679 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/hasType2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/hasType2.kt.after @@ -4,4 +4,5 @@ fun test() { val list = mutableListOf(1) list += 2 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.SuspiciousCollectionReassignmentInspection$ChangeTypeToMutableFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/mutableListOf.kt b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/mutableListOf.kt index 559ca00877ef..cb8f18463f71 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/mutableListOf.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/mutableListOf.kt @@ -4,4 +4,5 @@ fun test() { var list = listOf(1) list += 2 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.SuspiciousCollectionReassignmentInspection$ChangeTypeToMutableFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/mutableListOf.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/mutableListOf.kt.after index 2ba79af1cbc5..e74d9d88e0fa 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/mutableListOf.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/mutableListOf.kt.after @@ -4,4 +4,5 @@ fun test() { val list = mutableListOf(1) list += 2 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.SuspiciousCollectionReassignmentInspection$ChangeTypeToMutableFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/mutableMapOf.kt b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/mutableMapOf.kt index bc4e51abc58d..fa1bff1dc38b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/mutableMapOf.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/mutableMapOf.kt @@ -4,4 +4,5 @@ fun test() { var map = mapOf(1 to 2) map += 3 to 4 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.SuspiciousCollectionReassignmentInspection$ChangeTypeToMutableFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/mutableMapOf.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/mutableMapOf.kt.after index 028702d29809..0e91ee561f6d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/mutableMapOf.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/mutableMapOf.kt.after @@ -4,4 +4,5 @@ fun test() { val map = mutableMapOf(1 to 2) map += 3 to 4 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.SuspiciousCollectionReassignmentInspection$ChangeTypeToMutableFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/mutableSetOf.kt b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/mutableSetOf.kt index d88ee2767bea..cd2366a99928 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/mutableSetOf.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/mutableSetOf.kt @@ -4,4 +4,5 @@ fun test() { var set = setOf(1) set += 1 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.SuspiciousCollectionReassignmentInspection$ChangeTypeToMutableFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/mutableSetOf.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/mutableSetOf.kt.after index f74a1c1ecb5b..30e0398deee9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/mutableSetOf.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/mutableSetOf.kt.after @@ -4,4 +4,5 @@ fun test() { val set = mutableSetOf(1) set += 1 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.SuspiciousCollectionReassignmentInspection$ChangeTypeToMutableFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/toMutableList.kt b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/toMutableList.kt index 31eb83453641..b3e48799ce53 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/toMutableList.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/toMutableList.kt @@ -6,4 +6,5 @@ fun test() { list -= 2 } -fun foo() = listOf(1) \ No newline at end of file +fun foo() = listOf(1) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.SuspiciousCollectionReassignmentInspection$ChangeTypeToMutableFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/toMutableList.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/toMutableList.kt.after index a245b4a7e09d..45972314db38 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/toMutableList.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/toMutableList.kt.after @@ -6,4 +6,5 @@ fun test() { list -= 2 } -fun foo() = listOf(1) \ No newline at end of file +fun foo() = listOf(1) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.SuspiciousCollectionReassignmentInspection$ChangeTypeToMutableFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/toMutableList2.kt b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/toMutableList2.kt index c1e9630b4dea..413551aba1c0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/toMutableList2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/toMutableList2.kt @@ -4,4 +4,5 @@ fun test(a: Any) { var list = a as List list -= 2 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.SuspiciousCollectionReassignmentInspection$ChangeTypeToMutableFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/toMutableList2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/toMutableList2.kt.after index 48c639698d41..a5cfcf277ca1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/toMutableList2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/toMutableList2.kt.after @@ -4,4 +4,5 @@ fun test(a: Any) { val list = (a as List).toMutableList() list -= 2 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.SuspiciousCollectionReassignmentInspection$ChangeTypeToMutableFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/toMutableMap.kt b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/toMutableMap.kt index a15715061d5c..9d6430ecb685 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/toMutableMap.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/toMutableMap.kt @@ -6,4 +6,5 @@ fun toMutableMap() { map -= 3 } -fun foo() = mapOf(1 to 2) \ No newline at end of file +fun foo() = mapOf(1 to 2) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.SuspiciousCollectionReassignmentInspection$ChangeTypeToMutableFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/toMutableMap.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/toMutableMap.kt.after index ce2b92c300c1..f63f5545b5ea 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/toMutableMap.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/toMutableMap.kt.after @@ -6,4 +6,5 @@ fun toMutableMap() { map -= 3 } -fun foo() = mapOf(1 to 2) \ No newline at end of file +fun foo() = mapOf(1 to 2) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.SuspiciousCollectionReassignmentInspection$ChangeTypeToMutableFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/toMutableSet.kt b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/toMutableSet.kt index b967c148edce..d6879e321b37 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/toMutableSet.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/toMutableSet.kt @@ -6,4 +6,5 @@ fun test() { set -= 1 } -fun foo() = setOf(1) \ No newline at end of file +fun foo() = setOf(1) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.SuspiciousCollectionReassignmentInspection$ChangeTypeToMutableFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/toMutableSet.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/toMutableSet.kt.after index 87db4e8c9740..8b9c0a3bc0fb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/toMutableSet.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/changeTypeToMutable/toMutableSet.kt.after @@ -6,4 +6,5 @@ fun test() { set -= 1 } -fun foo() = setOf(1) \ No newline at end of file +fun foo() = setOf(1) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.SuspiciousCollectionReassignmentInspection$ChangeTypeToMutableFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/joinWithInitializer/simple.kt b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/joinWithInitializer/simple.kt index acfcb98cb2ae..f0b05e361527 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/joinWithInitializer/simple.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/joinWithInitializer/simple.kt @@ -7,4 +7,5 @@ fun test(otherList: List) { list += otherList } -fun createList(): List = listOf(1, 2, 3) \ No newline at end of file +fun createList(): List = listOf(1, 2, 3) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.SuspiciousCollectionReassignmentInspection$JoinWithInitializerFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/joinWithInitializer/simple.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/joinWithInitializer/simple.kt.after index 39196e980518..99c68fa8d66b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/joinWithInitializer/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/joinWithInitializer/simple.kt.after @@ -6,4 +6,5 @@ fun test(otherList: List) { // comment } -fun createList(): List = listOf(1, 2, 3) \ No newline at end of file +fun createList(): List = listOf(1, 2, 3) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.SuspiciousCollectionReassignmentInspection$JoinWithInitializerFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptyList.kt b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptyList.kt index 6617bce6ea61..ff07ed3d6dbf 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptyList.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptyList.kt @@ -9,4 +9,5 @@ fun test(otherList: List) { } fun foo() {} -fun bar() {} \ No newline at end of file +fun bar() {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.SuspiciousCollectionReassignmentInspection$ReplaceWithAssignmentFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptyList.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptyList.kt.after index a4943b5d129d..c753c40e31b0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptyList.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptyList.kt.after @@ -9,4 +9,5 @@ fun test(otherList: List) { } fun foo() {} -fun bar() {} \ No newline at end of file +fun bar() {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.SuspiciousCollectionReassignmentInspection$ReplaceWithAssignmentFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptyListOf.kt b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptyListOf.kt index 6879816de7c2..959422cbd30d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptyListOf.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptyListOf.kt @@ -9,4 +9,5 @@ fun test(otherList: List) { } fun foo() {} -fun bar() {} \ No newline at end of file +fun bar() {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.SuspiciousCollectionReassignmentInspection$ReplaceWithAssignmentFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptyListOf.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptyListOf.kt.after index 183b279e6098..9b70a8646799 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptyListOf.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptyListOf.kt.after @@ -9,4 +9,5 @@ fun test(otherList: List) { } fun foo() {} -fun bar() {} \ No newline at end of file +fun bar() {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.SuspiciousCollectionReassignmentInspection$ReplaceWithAssignmentFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptyMap.kt b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptyMap.kt index 4c0c144f8061..2d068d980de0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptyMap.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptyMap.kt @@ -9,4 +9,5 @@ fun test(otherMap: Map) { } fun foo() {} -fun bar() {} \ No newline at end of file +fun bar() {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.SuspiciousCollectionReassignmentInspection$ReplaceWithAssignmentFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptyMap.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptyMap.kt.after index c769541ea328..02447b61a5a2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptyMap.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptyMap.kt.after @@ -9,4 +9,5 @@ fun test(otherMap: Map) { } fun foo() {} -fun bar() {} \ No newline at end of file +fun bar() {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.SuspiciousCollectionReassignmentInspection$ReplaceWithAssignmentFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptyMapOf.kt b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptyMapOf.kt index 4fdcdd27f98e..eeba5e0964ac 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptyMapOf.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptyMapOf.kt @@ -9,4 +9,5 @@ fun test(otherMap: Map) { } fun foo() {} -fun bar() {} \ No newline at end of file +fun bar() {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.SuspiciousCollectionReassignmentInspection$ReplaceWithAssignmentFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptyMapOf.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptyMapOf.kt.after index d5cf93ac7d67..d349fbb3e59c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptyMapOf.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptyMapOf.kt.after @@ -9,4 +9,5 @@ fun test(otherMap: Map) { } fun foo() {} -fun bar() {} \ No newline at end of file +fun bar() {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.SuspiciousCollectionReassignmentInspection$ReplaceWithAssignmentFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptySet.kt b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptySet.kt index 54da04caa3a8..df5228624211 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptySet.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptySet.kt @@ -9,4 +9,5 @@ fun test(otherList: Set) { } fun foo() {} -fun bar() {} \ No newline at end of file +fun bar() {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.SuspiciousCollectionReassignmentInspection$ReplaceWithAssignmentFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptySet.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptySet.kt.after index 502ad1e39718..25a2ae965915 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptySet.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptySet.kt.after @@ -9,4 +9,5 @@ fun test(otherList: Set) { } fun foo() {} -fun bar() {} \ No newline at end of file +fun bar() {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.SuspiciousCollectionReassignmentInspection$ReplaceWithAssignmentFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptySetOf.kt b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptySetOf.kt index 40c798e91fe9..354350862aeb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptySetOf.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptySetOf.kt @@ -9,4 +9,5 @@ fun test(otherList: Set) { } fun foo() {} -fun bar() {} \ No newline at end of file +fun bar() {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.SuspiciousCollectionReassignmentInspection$ReplaceWithAssignmentFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptySetOf.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptySetOf.kt.after index 4d0d64ec3624..b1379ad33af4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptySetOf.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/emptySetOf.kt.after @@ -9,4 +9,5 @@ fun test(otherList: Set) { } fun foo() {} -fun bar() {} \ No newline at end of file +fun bar() {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.SuspiciousCollectionReassignmentInspection$ReplaceWithAssignmentFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithFilter/minusEq.kt b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithFilter/minusEq.kt index 4d5f6df2ef1a..ef8b308a8a43 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithFilter/minusEq.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithFilter/minusEq.kt @@ -4,4 +4,5 @@ fun test() { var list = listOf(1, 2, 3) list -= listOf(2) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.SuspiciousCollectionReassignmentInspection$ReplaceWithFilterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithFilter/minusEq.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithFilter/minusEq.kt.after index b86b34d7a954..3c90a7fb90bc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithFilter/minusEq.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithFilter/minusEq.kt.after @@ -4,4 +4,5 @@ fun test() { var list = listOf(1, 2, 3) list = list.filter { it !in listOf(2) } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.SuspiciousCollectionReassignmentInspection$ReplaceWithFilterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithOrdinaryAssignment/simple.kt b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithOrdinaryAssignment/simple.kt index fb8e447e9913..6b1f2491ac70 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithOrdinaryAssignment/simple.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithOrdinaryAssignment/simple.kt @@ -11,3 +11,5 @@ fun test(otherList: List, flag: Boolean) { list += 4 } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.ReplaceWithOrdinaryAssignmentIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithOrdinaryAssignment/simple.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithOrdinaryAssignment/simple.kt.after index fc869691e01c..6d17b8607928 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithOrdinaryAssignment/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/suspiciousCollectionReassignment/replaceWithOrdinaryAssignment/simple.kt.after @@ -11,3 +11,5 @@ fun test(otherList: List, flag: Boolean) { list = list + 4 } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.ReplaceWithOrdinaryAssignmentIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/toString/callArgument.kt b/plugins/kotlin/idea/tests/testData/quickfix/toString/callArgument.kt index 8d6dfb957795..432ec3b3015d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/toString/callArgument.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/toString/callArgument.kt @@ -5,4 +5,6 @@ fun foo() { } fun bar(a: String) { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddToStringFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddToStringFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/toString/callArgument.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/toString/callArgument.kt.after index 0a990ef641cd..40f9222650be 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/toString/callArgument.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/toString/callArgument.kt.after @@ -5,4 +5,6 @@ fun foo() { } fun bar(a: String) { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddToStringFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddToStringFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/toString/notNullableExpectedNullable.kt b/plugins/kotlin/idea/tests/testData/quickfix/toString/notNullableExpectedNullable.kt index a2d9ddf9ea60..0a8550c89a04 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/toString/notNullableExpectedNullable.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/toString/notNullableExpectedNullable.kt @@ -8,4 +8,6 @@ fun foo() { } fun bar(a: String?) { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddToStringFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddToStringFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/toString/notNullableExpectedNullable.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/toString/notNullableExpectedNullable.kt.after index 3a0d7f035700..49636c6633f9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/toString/notNullableExpectedNullable.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/toString/notNullableExpectedNullable.kt.after @@ -8,4 +8,6 @@ fun foo() { } fun bar(a: String?) { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddToStringFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddToStringFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/toString/nullableExpectedNotNullable.kt b/plugins/kotlin/idea/tests/testData/quickfix/toString/nullableExpectedNotNullable.kt index 0d6bc3ed59f6..9e609d2cdc86 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/toString/nullableExpectedNotNullable.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/toString/nullableExpectedNotNullable.kt @@ -8,4 +8,6 @@ fun foo() { } fun bar(a: String) { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddToStringFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddToStringFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/toString/nullableExpectedNotNullable.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/toString/nullableExpectedNotNullable.kt.after index 14512e6527a9..8801aade16fb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/toString/nullableExpectedNotNullable.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/toString/nullableExpectedNotNullable.kt.after @@ -8,4 +8,6 @@ fun foo() { } fun bar(a: String) { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddToStringFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddToStringFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/toString/nullableExpectedNullable.kt b/plugins/kotlin/idea/tests/testData/quickfix/toString/nullableExpectedNullable.kt index b9f35ef8c2c7..8686b0777c0d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/toString/nullableExpectedNullable.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/toString/nullableExpectedNullable.kt @@ -9,4 +9,6 @@ fun foo() { } fun bar(a: String?) { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddToStringFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddToStringFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/toString/nullableExpectedNullable.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/toString/nullableExpectedNullable.kt.after index fa66aeda09c0..9d73bcf9e70d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/toString/nullableExpectedNullable.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/toString/nullableExpectedNullable.kt.after @@ -9,4 +9,6 @@ fun foo() { } fun bar(a: String?) { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddToStringFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddToStringFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/toString/propertyInitializer.kt b/plugins/kotlin/idea/tests/testData/quickfix/toString/propertyInitializer.kt index 3f25e89e92be..893d636cc5d4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/toString/propertyInitializer.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/toString/propertyInitializer.kt @@ -1,3 +1,6 @@ // "Add 'toString()' call" "true" val s: String = 1 + 2 * 3 + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddToStringFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddToStringFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/toString/propertyInitializer.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/toString/propertyInitializer.kt.after index 7b88c815ddc5..91093667b2b4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/toString/propertyInitializer.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/toString/propertyInitializer.kt.after @@ -1,3 +1,6 @@ // "Add 'toString()' call" "true" val s: String = (1 + 2 * 3).toString() + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddToStringFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddToStringFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/toString/returnStatement.kt b/plugins/kotlin/idea/tests/testData/quickfix/toString/returnStatement.kt index 3350754d822f..2c23db435b9b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/toString/returnStatement.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/toString/returnStatement.kt @@ -2,4 +2,6 @@ fun test(): String { return 1 + 2 * 3 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddToStringFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddToStringFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/toString/returnStatement.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/toString/returnStatement.kt.after index 157b17d15f0f..fc3474bef27c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/toString/returnStatement.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/toString/returnStatement.kt.after @@ -2,4 +2,6 @@ fun test(): String { return (1 + 2 * 3).toString() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddToStringFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddToStringFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/toString/variableAssignment.kt b/plugins/kotlin/idea/tests/testData/quickfix/toString/variableAssignment.kt index f18d48ae9bd1..9efdca94e802 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/toString/variableAssignment.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/toString/variableAssignment.kt @@ -3,4 +3,6 @@ fun test() { var s: String = "" s = 1 + 2 * 3 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddToStringFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddToStringFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/toString/variableAssignment.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/toString/variableAssignment.kt.after index a815cf03e044..2aa52d5c464e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/toString/variableAssignment.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/toString/variableAssignment.kt.after @@ -3,4 +3,6 @@ fun test() { var s: String = "" s = (1 + 2 * 3).toString() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddToStringFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddToStringFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/tooLongCharLiteralToString/backslashShouldNotBeEscaped.kt b/plugins/kotlin/idea/tests/testData/quickfix/tooLongCharLiteralToString/backslashShouldNotBeEscaped.kt index c2a826c8c3a3..97a6f27dd599 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/tooLongCharLiteralToString/backslashShouldNotBeEscaped.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/tooLongCharLiteralToString/backslashShouldNotBeEscaped.kt @@ -2,4 +2,5 @@ fun foo() { 'foo\nbar' -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.TooLongCharLiteralToStringFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/tooLongCharLiteralToString/backslashShouldNotBeEscaped.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/tooLongCharLiteralToString/backslashShouldNotBeEscaped.kt.after index 6a45be53478e..1463dc199291 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/tooLongCharLiteralToString/backslashShouldNotBeEscaped.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/tooLongCharLiteralToString/backslashShouldNotBeEscaped.kt.after @@ -2,4 +2,5 @@ fun foo() { "foo\nbar" -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.TooLongCharLiteralToStringFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/tooLongCharLiteralToString/dollarShouldNotBeEscaped.kt b/plugins/kotlin/idea/tests/testData/quickfix/tooLongCharLiteralToString/dollarShouldNotBeEscaped.kt index 744a8343ddf0..099377337e81 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/tooLongCharLiteralToString/dollarShouldNotBeEscaped.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/tooLongCharLiteralToString/dollarShouldNotBeEscaped.kt @@ -3,4 +3,5 @@ fun foo() { 'foo$bar' -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.TooLongCharLiteralToStringFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/tooLongCharLiteralToString/dollarShouldNotBeEscaped.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/tooLongCharLiteralToString/dollarShouldNotBeEscaped.kt.after index 4cc34b15b951..47a5150ec321 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/tooLongCharLiteralToString/dollarShouldNotBeEscaped.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/tooLongCharLiteralToString/dollarShouldNotBeEscaped.kt.after @@ -3,4 +3,5 @@ fun foo() { "foo$bar" -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.TooLongCharLiteralToStringFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/tooLongCharLiteralToString/doubleQuotesShouldBeEscaped.kt b/plugins/kotlin/idea/tests/testData/quickfix/tooLongCharLiteralToString/doubleQuotesShouldBeEscaped.kt index ecfb283f6c50..9b84e97d4b6d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/tooLongCharLiteralToString/doubleQuotesShouldBeEscaped.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/tooLongCharLiteralToString/doubleQuotesShouldBeEscaped.kt @@ -2,4 +2,5 @@ fun foo() { 'foo"bar' -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.TooLongCharLiteralToStringFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/tooLongCharLiteralToString/doubleQuotesShouldBeEscaped.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/tooLongCharLiteralToString/doubleQuotesShouldBeEscaped.kt.after index ae09326af5d9..8ad4f1bf06fe 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/tooLongCharLiteralToString/doubleQuotesShouldBeEscaped.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/tooLongCharLiteralToString/doubleQuotesShouldBeEscaped.kt.after @@ -2,4 +2,5 @@ fun foo() { "foo\"bar" -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.TooLongCharLiteralToStringFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/tooLongCharLiteralToString/ecapedDoubleQuotesShouldNotBeEscaped.kt b/plugins/kotlin/idea/tests/testData/quickfix/tooLongCharLiteralToString/ecapedDoubleQuotesShouldNotBeEscaped.kt index e4550bb17517..340208dee2e4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/tooLongCharLiteralToString/ecapedDoubleQuotesShouldNotBeEscaped.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/tooLongCharLiteralToString/ecapedDoubleQuotesShouldNotBeEscaped.kt @@ -2,4 +2,5 @@ fun foo() { 'foo\"bar' -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.TooLongCharLiteralToStringFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/tooLongCharLiteralToString/ecapedDoubleQuotesShouldNotBeEscaped.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/tooLongCharLiteralToString/ecapedDoubleQuotesShouldNotBeEscaped.kt.after index ae09326af5d9..8ad4f1bf06fe 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/tooLongCharLiteralToString/ecapedDoubleQuotesShouldNotBeEscaped.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/tooLongCharLiteralToString/ecapedDoubleQuotesShouldNotBeEscaped.kt.after @@ -2,4 +2,5 @@ fun foo() { "foo\"bar" -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.TooLongCharLiteralToStringFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/tooLongCharLiteralToString/startWithBackslash.kt b/plugins/kotlin/idea/tests/testData/quickfix/tooLongCharLiteralToString/startWithBackslash.kt index 85e4be723e79..753d65618ee8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/tooLongCharLiteralToString/startWithBackslash.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/tooLongCharLiteralToString/startWithBackslash.kt @@ -3,4 +3,5 @@ fun foo() { '\ bar' -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.TooLongCharLiteralToStringFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/tooLongCharLiteralToString/startWithBackslash.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/tooLongCharLiteralToString/startWithBackslash.kt.after index fe1a948c5c3c..47e4332a56d7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/tooLongCharLiteralToString/startWithBackslash.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/tooLongCharLiteralToString/startWithBackslash.kt.after @@ -3,4 +3,5 @@ fun foo() { "\ bar" -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.TooLongCharLiteralToStringFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/ambiguousFunctionReturnType.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/ambiguousFunctionReturnType.kt index dae839466cc6..d9abd14aa83d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/ambiguousFunctionReturnType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/ambiguousFunctionReturnType.kt @@ -7,4 +7,6 @@ interface B {} class C { fun property() = object : B, A {} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SpecifyTypeExplicitlyFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.SpecifyExplicitTypeFixFactories$SpecifyExplicitTypeQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/ambiguousFunctionReturnType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/ambiguousFunctionReturnType.kt.after index b289caf729e1..d4ec37d66156 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/ambiguousFunctionReturnType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/ambiguousFunctionReturnType.kt.after @@ -7,4 +7,6 @@ interface B {} class C { fun property(): B = object : B, A {} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SpecifyTypeExplicitlyFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.SpecifyExplicitTypeFixFactories$SpecifyExplicitTypeQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/ambiguousPropertyReturnType.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/ambiguousPropertyReturnType.kt index d9ea37d7b76b..e67a5eec81c1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/ambiguousPropertyReturnType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/ambiguousPropertyReturnType.kt @@ -7,4 +7,6 @@ interface B {} class C { val property = object : B, A {} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SpecifyTypeExplicitlyFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.SpecifyExplicitTypeFixFactories$SpecifyExplicitTypeQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/ambiguousPropertyReturnType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/ambiguousPropertyReturnType.kt.after index 171581ad5b8f..70f6f242f1d5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/ambiguousPropertyReturnType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/ambiguousPropertyReturnType.kt.after @@ -7,4 +7,6 @@ interface B {} class C { val property: B = object : B, A {} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SpecifyTypeExplicitlyFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.SpecifyExplicitTypeFixFactories$SpecifyExplicitTypeQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/changeAccessorTypeToFunctionType.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/changeAccessorTypeToFunctionType.kt index 43985a53b800..03bf9575ebc0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/changeAccessorTypeToFunctionType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/changeAccessorTypeToFunctionType.kt @@ -4,3 +4,5 @@ class A { get(): Int = {42} } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeAccessorTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/changeAccessorTypeToFunctionType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/changeAccessorTypeToFunctionType.kt.after index 0132b0ff45c3..03219967b01e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/changeAccessorTypeToFunctionType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/changeAccessorTypeToFunctionType.kt.after @@ -4,3 +4,5 @@ class A { get(): (String) -> Int = {42} } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeAccessorTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/noAddErrorType.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/noAddErrorType.kt index 6b53003d370f..55979491dc9d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/noAddErrorType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/noAddErrorType.kt @@ -14,3 +14,5 @@ class A() { public val t = foo() } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.SpecifyTypeExplicitlyIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/noAddErrorType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/noAddErrorType.kt.after index 6b53003d370f..55979491dc9d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/noAddErrorType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/noAddErrorType.kt.after @@ -14,3 +14,5 @@ class A() { public val t = foo() } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.SpecifyTypeExplicitlyIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/noExplicitTypeInApiMode.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/noExplicitTypeInApiMode.kt index 1ac0f5eccceb..a8fdf9d08e41 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/noExplicitTypeInApiMode.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/noExplicitTypeInApiMode.kt @@ -7,3 +7,6 @@ package a interface A { fun foo() = "" } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SpecifyTypeExplicitlyFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.SpecifyExplicitTypeFixFactories$SpecifyExplicitTypeQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/noExplicitTypeInApiMode.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/noExplicitTypeInApiMode.kt.after index 821933778b3a..63823de266dd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/noExplicitTypeInApiMode.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/noExplicitTypeInApiMode.kt.after @@ -7,3 +7,6 @@ package a interface A { fun foo(): String = "" } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SpecifyTypeExplicitlyFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.SpecifyExplicitTypeFixFactories$SpecifyExplicitTypeQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/propertyWithGetterWithBlockBody.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/propertyWithGetterWithBlockBody.kt index 79cdeac46800..b7073fd9f679 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/propertyWithGetterWithBlockBody.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/propertyWithGetterWithBlockBody.kt @@ -13,3 +13,5 @@ class My { } } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.SpecifyTypeExplicitlyIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/propertyWithGetterWithBlockBody.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/propertyWithGetterWithBlockBody.kt.after index 79cdeac46800..b7073fd9f679 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/propertyWithGetterWithBlockBody.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/propertyWithGetterWithBlockBody.kt.after @@ -13,3 +13,5 @@ class My { } } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.SpecifyTypeExplicitlyIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/propertyWithGetterWithInferredType.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/propertyWithGetterWithInferredType.kt index 7b323fb22153..c433e09eeab6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/propertyWithGetterWithInferredType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/propertyWithGetterWithInferredType.kt @@ -5,3 +5,5 @@ class My { get() = "abc" } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.SpecifyTypeExplicitlyIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/propertyWithGetterWithInferredType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/propertyWithGetterWithInferredType.kt.after index 4a64739149ba..41545fa8e2cb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/propertyWithGetterWithInferredType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/propertyWithGetterWithInferredType.kt.after @@ -5,3 +5,5 @@ class My { get() = "abc" } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.SpecifyTypeExplicitlyIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/propertyWithGetterWithoutType.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/propertyWithGetterWithoutType.kt index 830f1c1a5ba9..83dca4166062 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/propertyWithGetterWithoutType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/propertyWithGetterWithoutType.kt @@ -3,3 +3,5 @@ val x get(): Int = 42 /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.SpecifyTypeExplicitlyIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/propertyWithGetterWithoutType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/propertyWithGetterWithoutType.kt.after index e4b69de2583d..1c4eb661f8e5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/propertyWithGetterWithoutType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/propertyWithGetterWithoutType.kt.after @@ -3,3 +3,5 @@ val x: Int get(): Int = 42 /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.SpecifyTypeExplicitlyIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/propertyWithRecursiveGetter.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/propertyWithRecursiveGetter.kt index 0718423e4ae3..c7d2e5366c6a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/propertyWithRecursiveGetter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/propertyWithRecursiveGetter.kt @@ -11,3 +11,5 @@ class A { get() = a } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.SpecifyTypeExplicitlyIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/propertyWithRecursiveGetter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/propertyWithRecursiveGetter.kt.after index 0718423e4ae3..c7d2e5366c6a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/propertyWithRecursiveGetter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/propertyWithRecursiveGetter.kt.after @@ -11,3 +11,5 @@ class A { get() = a } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.SpecifyTypeExplicitlyIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/propertyWithSetterWithoutType.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/propertyWithSetterWithoutType.kt index aca039b7e741..4f40f9ee0f71 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/propertyWithSetterWithoutType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/propertyWithSetterWithoutType.kt @@ -11,3 +11,5 @@ class My { } } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.SpecifyTypeExplicitlyIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/propertyWithSetterWithoutType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/propertyWithSetterWithoutType.kt.after index 5d6a438c061b..5f6a8585d1e2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/propertyWithSetterWithoutType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/propertyWithSetterWithoutType.kt.after @@ -11,3 +11,5 @@ class My { } } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.SpecifyTypeExplicitlyIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/protectedFunWithoutReturnType.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/protectedFunWithoutReturnType.kt index 979dcbd685d5..3de7c8540e96 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/protectedFunWithoutReturnType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/protectedFunWithoutReturnType.kt @@ -5,3 +5,5 @@ class A() { protected fun foo() = 1 } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.SpecifyTypeExplicitlyIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/protectedFunWithoutReturnType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/protectedFunWithoutReturnType.kt.after index afe2bdecf9bf..a69a3ad6a55f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/protectedFunWithoutReturnType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/protectedFunWithoutReturnType.kt.after @@ -5,3 +5,5 @@ class A() { protected fun foo(): Int = 1 } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.SpecifyTypeExplicitlyIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/publicFunWithoutReturnType.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/publicFunWithoutReturnType.kt index 67c8dc37a30c..8b60a35c502b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/publicFunWithoutReturnType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/publicFunWithoutReturnType.kt @@ -5,3 +5,5 @@ class A() { public fun foo() = "a" } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.SpecifyTypeExplicitlyIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/publicFunWithoutReturnType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/publicFunWithoutReturnType.kt.after index a29b34d9bcb5..0723b6414a16 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/publicFunWithoutReturnType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/publicFunWithoutReturnType.kt.after @@ -5,3 +5,5 @@ class A() { public fun foo(): String = "a" } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.SpecifyTypeExplicitlyIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/publicFunWithoutReturnTypeCaretOnParameter.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/publicFunWithoutReturnTypeCaretOnParameter.kt index 42aceeab520a..88ead33370bf 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/publicFunWithoutReturnTypeCaretOnParameter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/publicFunWithoutReturnTypeCaretOnParameter.kt @@ -5,3 +5,5 @@ class A() { public fun foo(p: String) = "a" } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.SpecifyTypeExplicitlyIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/publicFunWithoutReturnTypeCaretOnParameter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/publicFunWithoutReturnTypeCaretOnParameter.kt.after index ad19680cc21a..7e6e9132128b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/publicFunWithoutReturnTypeCaretOnParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/publicFunWithoutReturnTypeCaretOnParameter.kt.after @@ -5,3 +5,5 @@ class A() { public fun foo(p: String): String = "a" } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.SpecifyTypeExplicitlyIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/publicValWithoutReturnType.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/publicValWithoutReturnType.kt index e8fd517d53cc..728ed3aac00f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/publicValWithoutReturnType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/publicValWithoutReturnType.kt @@ -5,3 +5,5 @@ public fun emptyList(): List = null!! public val l = emptyList() /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.SpecifyTypeExplicitlyIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/publicValWithoutReturnType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/publicValWithoutReturnType.kt.after index 5774ce7ee9f6..10226cb1501e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/publicValWithoutReturnType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/publicValWithoutReturnType.kt.after @@ -5,3 +5,5 @@ public fun emptyList(): List = null!! public val l: List = emptyList() /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.SpecifyTypeExplicitlyIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/publicValWithoutReturnTypeCaretOnPublic.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/publicValWithoutReturnTypeCaretOnPublic.kt index 5df78c115acd..69e56a6c0168 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/publicValWithoutReturnTypeCaretOnPublic.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/publicValWithoutReturnTypeCaretOnPublic.kt @@ -5,3 +5,5 @@ public fun emptyList(): List = null!! public val l = emptyList() /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.SpecifyTypeExplicitlyIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/publicValWithoutReturnTypeCaretOnPublic.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/publicValWithoutReturnTypeCaretOnPublic.kt.after index 5774ce7ee9f6..10226cb1501e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/publicValWithoutReturnTypeCaretOnPublic.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/publicValWithoutReturnTypeCaretOnPublic.kt.after @@ -5,3 +5,5 @@ public fun emptyList(): List = null!! public val l: List = emptyList() /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.SpecifyTypeExplicitlyIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/wrongGetterParameterType.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/wrongGetterParameterType.kt index 14cb1aee5e9f..58934cf8b178 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/wrongGetterParameterType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/wrongGetterParameterType.kt @@ -4,3 +4,5 @@ class A() { get(): Any = 1 } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeAccessorTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/wrongGetterParameterType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/wrongGetterParameterType.kt.after index 51120fa89db5..d2835309027e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/wrongGetterParameterType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/wrongGetterParameterType.kt.after @@ -4,3 +4,5 @@ class A() { get(): Int = 1 } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeAccessorTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/wrongGetterParameterTypeLongNameRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/wrongGetterParameterTypeLongNameRuntime.kt index bc1f7973b9eb..23cba6e7ed4c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/wrongGetterParameterTypeLongNameRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/wrongGetterParameterTypeLongNameRuntime.kt @@ -5,3 +5,5 @@ class A() { get(): Any = java.util.LinkedHashSet() } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeAccessorTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/wrongGetterParameterTypeLongNameRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/wrongGetterParameterTypeLongNameRuntime.kt.after index e27db5d2ef4e..9aca25d0dfc5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/wrongGetterParameterTypeLongNameRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/wrongGetterParameterTypeLongNameRuntime.kt.after @@ -7,3 +7,5 @@ class A() { get(): HashSet = java.util.LinkedHashSet() } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeAccessorTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/wrongSetterParameterType.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/wrongSetterParameterType.kt index d3945b274b25..a06ce7a197d0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/wrongSetterParameterType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/wrongSetterParameterType.kt @@ -4,3 +4,5 @@ class A() { set(v: Any) {} } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeAccessorTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/wrongSetterParameterType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/wrongSetterParameterType.kt.after index 70e20ac08d71..3f1555aa2d1b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/wrongSetterParameterType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeAddition/wrongSetterParameterType.kt.after @@ -4,3 +4,5 @@ class A() { set(v: Int) {} } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeAccessorTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeImports/hasThisImport.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeImports/hasThisImport.kt index ae6ca45d928f..930bc26984c3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeImports/hasThisImport.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeImports/hasThisImport.kt @@ -7,4 +7,5 @@ class M { interface A { val l = emptyList() } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemovePartsFromPropertyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeImports/hasThisImport.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeImports/hasThisImport.kt.after index 2aca92b0d689..8d382582f1d6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeImports/hasThisImport.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeImports/hasThisImport.kt.after @@ -7,4 +7,5 @@ class M { interface A { val l: List } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemovePartsFromPropertyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeImports/noImportFromTheSameFile.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeImports/noImportFromTheSameFile.kt index e7149aca5d59..e1a852f37438 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeImports/noImportFromTheSameFile.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeImports/noImportFromTheSameFile.kt @@ -4,4 +4,5 @@ class A() {} class B() { public val a = A() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.SpecifyTypeExplicitlyIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeImports/noImportFromTheSameFile.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeImports/noImportFromTheSameFile.kt.after index 8903fecd00ad..ec2c011cc070 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeImports/noImportFromTheSameFile.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeImports/noImportFromTheSameFile.kt.after @@ -4,4 +4,5 @@ class A() {} class B() { public val a: A = A() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.SpecifyTypeExplicitlyIntention \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeImports/noImportJavaLang.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeImports/noImportJavaLang.kt index 70bb0fb318f9..a439f1bd7ee8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeImports/noImportJavaLang.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeImports/noImportJavaLang.kt @@ -5,4 +5,5 @@ class M { interface A { abstract val e = Thread() } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemovePartsFromPropertyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeImports/noImportJavaLang.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeImports/noImportJavaLang.kt.after index bd845cc8f0f4..83237b104037 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeImports/noImportJavaLang.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeImports/noImportJavaLang.kt.after @@ -5,4 +5,5 @@ class M { interface A { abstract val e: Thread } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemovePartsFromPropertyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeImports/noImportJetStandard.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeImports/noImportJetStandard.kt index 9f4da61a9a4b..933c27c7d690 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeImports/noImportJetStandard.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeImports/noImportJetStandard.kt @@ -5,4 +5,5 @@ class M { interface A { abstract val i = 10 } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemovePartsFromPropertyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeImports/noImportJetStandard.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeImports/noImportJetStandard.kt.after index ccb62c0fcbd8..f89885bdfa2a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeImports/noImportJetStandard.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeImports/noImportJetStandard.kt.after @@ -5,4 +5,5 @@ class M { interface A { abstract val i: Int } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemovePartsFromPropertyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeImports/toImport1.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeImports/toImport1.kt index 19b9725c688c..9ae67fe396b5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeImports/toImport1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeImports/toImport1.kt @@ -7,4 +7,5 @@ class M { interface A { abstract val l = emptyList() } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemovePartsFromPropertyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeImports/toImport1.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeImports/toImport1.kt.after index 639423f5d099..b5c6dfa86338 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeImports/toImport1.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeImports/toImport1.kt.after @@ -7,4 +7,5 @@ class M { interface A { abstract val l: List } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemovePartsFromPropertyFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeInferenceExpectedTypeMismatch/convertClassToKClass1Runtime.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeInferenceExpectedTypeMismatch/convertClassToKClass1Runtime.kt index 820a1254f881..ee12db130b61 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeInferenceExpectedTypeMismatch/convertClassToKClass1Runtime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeInferenceExpectedTypeMismatch/convertClassToKClass1Runtime.kt @@ -7,4 +7,5 @@ fun foo() { class Foo fun bar(kc: kotlin.reflect.KClass) { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertClassToKClassFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeInferenceExpectedTypeMismatch/convertClassToKClass1Runtime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeInferenceExpectedTypeMismatch/convertClassToKClass1Runtime.kt.after index 7ab0ac574b47..ead2b1813a77 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeInferenceExpectedTypeMismatch/convertClassToKClass1Runtime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeInferenceExpectedTypeMismatch/convertClassToKClass1Runtime.kt.after @@ -7,4 +7,5 @@ fun foo() { class Foo fun bar(kc: kotlin.reflect.KClass) { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertClassToKClassFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/accessibleLocalClassInReturn.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/accessibleLocalClassInReturn.kt index 3ffa276517ee..8474f5f813a0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/accessibleLocalClassInReturn.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/accessibleLocalClassInReturn.kt @@ -5,4 +5,5 @@ fun foo() { fun bar(): Int { return object: A() {} } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/accessibleLocalClassInReturn.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/accessibleLocalClassInReturn.kt.after index fcb7800d8e35..2df60926066b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/accessibleLocalClassInReturn.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/accessibleLocalClassInReturn.kt.after @@ -5,4 +5,5 @@ fun foo() { fun bar(): A { return object: A() {} } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/addArrayOfType.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/addArrayOfType.kt index 55e5755760b0..9519083fc762 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/addArrayOfType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/addArrayOfType.kt @@ -3,3 +3,5 @@ annotation class ArrAnn(val value: Array) @ArrAnn("123") class My + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddArrayOfTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/addArrayOfType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/addArrayOfType.kt.after index fbe9d76c4c95..27e03e95f212 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/addArrayOfType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/addArrayOfType.kt.after @@ -3,3 +3,5 @@ annotation class ArrAnn(val value: Array) @ArrAnn(arrayOf("123")) class My + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddArrayOfTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/addArrayOfTypeForNamedParameter.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/addArrayOfTypeForNamedParameter.kt index 5ebed1cc3dff..85b4a04f721b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/addArrayOfTypeForNamedParameter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/addArrayOfTypeForNamedParameter.kt @@ -3,3 +3,5 @@ annotation class ArrAnn(val name: DoubleArray) @ArrAnn(name = 3.14) class My + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddArrayOfTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/addArrayOfTypeForNamedParameter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/addArrayOfTypeForNamedParameter.kt.after index 471ba95ebb68..0eca939a10d9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/addArrayOfTypeForNamedParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/addArrayOfTypeForNamedParameter.kt.after @@ -3,3 +3,5 @@ annotation class ArrAnn(val name: DoubleArray) @ArrAnn(name = doubleArrayOf(3.14)) class My + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddArrayOfTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/addIntArrayOf.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/addIntArrayOf.kt index b68f69fa9817..508744df5be7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/addIntArrayOf.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/addIntArrayOf.kt @@ -3,3 +3,5 @@ annotation class ArrAnn(val value: IntArray) @ArrAnn(42) class My + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddArrayOfTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/addIntArrayOf.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/addIntArrayOf.kt.after index 3cdc73dcf0ce..b05fcb3e8c13 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/addIntArrayOf.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/addIntArrayOf.kt.after @@ -3,3 +3,5 @@ annotation class ArrAnn(val value: IntArray) @ArrAnn(intArrayOf(42)) class My + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddArrayOfTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/anonymousObjectInCall.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/anonymousObjectInCall.kt index ba8da8cadd97..7fa3884267ea 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/anonymousObjectInCall.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/anonymousObjectInCall.kt @@ -7,4 +7,5 @@ fun Int.foo(t: Int) { fun foo() { 1.foo(object: T{}) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeParameterTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/anonymousObjectInCall.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/anonymousObjectInCall.kt.after index e63110da02e8..2ec6125d5bf1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/anonymousObjectInCall.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/anonymousObjectInCall.kt.after @@ -7,4 +7,5 @@ fun Int.foo(t: T) { fun foo() { 1.foo(object: T{}) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeParameterTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/anonymousObjectInInfixCall.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/anonymousObjectInInfixCall.kt index 3cf3fa65fe0b..e9c88ff4e902 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/anonymousObjectInInfixCall.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/anonymousObjectInInfixCall.kt @@ -5,4 +5,5 @@ infix fun Int.foo(t: Int) = this fun foo() { 1 foo object: T{} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeParameterTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/anonymousObjectInInfixCall.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/anonymousObjectInInfixCall.kt.after index af30fb5b3871..36c4413ddb5f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/anonymousObjectInInfixCall.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/anonymousObjectInInfixCall.kt.after @@ -5,4 +5,5 @@ infix fun Int.foo(t: T) = this fun foo() { 1 foo object: T{} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeParameterTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/anonymousObjectInInitializer.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/anonymousObjectInInitializer.kt index 833576d5624b..dc7628929b0f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/anonymousObjectInInitializer.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/anonymousObjectInInitializer.kt @@ -3,4 +3,5 @@ interface T fun foo() { val t: Int = object: T{} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVariableTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/anonymousObjectInInitializer.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/anonymousObjectInInitializer.kt.after index 533420c6dd03..f96fa9de2483 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/anonymousObjectInInitializer.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/anonymousObjectInInitializer.kt.after @@ -3,4 +3,5 @@ interface T fun foo() { val t: T = object: T{} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVariableTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/anonymousObjectInReturn.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/anonymousObjectInReturn.kt index ee9645f2a696..7a463a257909 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/anonymousObjectInReturn.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/anonymousObjectInReturn.kt @@ -3,4 +3,5 @@ interface T fun foo() { return object: T{} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/anonymousObjectInReturn.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/anonymousObjectInReturn.kt.after index 1e975d8501df..ddf42d2c5e27 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/anonymousObjectInReturn.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/anonymousObjectInReturn.kt.after @@ -3,4 +3,5 @@ interface T fun foo(): T { return object: T{} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/anyInReturn.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/anyInReturn.kt index 4ccb0e9f58c3..024dc9bfcd87 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/anyInReturn.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/anyInReturn.kt @@ -3,4 +3,5 @@ fun foo() { class A return A() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/anyInReturn.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/anyInReturn.kt.after index 91c063785d85..e7814e5d6dbf 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/anyInReturn.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/anyInReturn.kt.after @@ -3,4 +3,5 @@ fun foo(): Any { class A return A() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/castQualifiedArgument.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/castQualifiedArgument.kt index e277fc606ae5..7f05cf8c3991 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/castQualifiedArgument.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/castQualifiedArgument.kt @@ -9,4 +9,6 @@ class A { val a = A() a.bar(a.foo().single(), "Asd") } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.CastExpressionFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/castQualifiedArgument.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/castQualifiedArgument.kt.after index 9a9632857134..d6b3cf10b379 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/castQualifiedArgument.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/castQualifiedArgument.kt.after @@ -9,4 +9,6 @@ class A { val a = A() a.bar(a.foo().single() as Int, "Asd") } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.CastExpressionFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/castToFunctionType.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/castToFunctionType.kt index eb0f35b50c3e..fe62951146ff 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/castToFunctionType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/castToFunctionType.kt @@ -2,3 +2,6 @@ fun foo(x: Any): () -> Int { return x } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.CastExpressionFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/castToFunctionType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/castToFunctionType.kt.after index 989e55304cf4..0727721af713 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/castToFunctionType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/castToFunctionType.kt.after @@ -2,3 +2,6 @@ fun foo(x: Any): () -> Int { return x as () -> Int } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.CastExpressionFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/smartcastImpossible1.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/smartcastImpossible1.kt index cb1326959f1c..ae435fdd797b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/smartcastImpossible1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/smartcastImpossible1.kt @@ -14,3 +14,6 @@ fun MyClass.foo(): Any { } return 42 } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.CastExpressionFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/smartcastImpossible1.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/smartcastImpossible1.kt.after index 7561148297a0..2e5572fc6ee0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/smartcastImpossible1.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/smartcastImpossible1.kt.after @@ -14,3 +14,6 @@ fun MyClass.foo(): Any { } return 42 } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.CastExpressionFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/smartcastImpossible2.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/smartcastImpossible2.kt index 34d769df8c5a..d7c1b1bc1426 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/smartcastImpossible2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/smartcastImpossible2.kt @@ -13,4 +13,6 @@ fun MyClass.foo(): Any { return !a } return 42 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.CastExpressionFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/smartcastImpossible2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/smartcastImpossible2.kt.after index c7cbaa2e31f6..670ee16f6d5a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/smartcastImpossible2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/smartcastImpossible2.kt.after @@ -13,4 +13,6 @@ fun MyClass.foo(): Any { return !(a as Foo) } return 42 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.CastExpressionFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/smartcastImpossible3.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/smartcastImpossible3.kt index a2b14f7bf570..a3d21fc570fc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/smartcastImpossible3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/smartcastImpossible3.kt @@ -12,4 +12,6 @@ fun MyClass.bar() { if (x is Foo<*>) { x.bar() } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.CastExpressionFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/smartcastImpossible3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/smartcastImpossible3.kt.after index 2ddebd2b1f76..834ac0f63b5d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/smartcastImpossible3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/smartcastImpossible3.kt.after @@ -12,4 +12,6 @@ fun MyClass.bar() { if (x is Foo<*>) { (x as Foo<*>).bar() } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.CastExpressionFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/typeMismatch1.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/typeMismatch1.kt index bad37978777e..5251d568f7f2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/typeMismatch1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/typeMismatch1.kt @@ -3,4 +3,6 @@ class Foo fun foo(): Foo { return Foo() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.CastExpressionFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/typeMismatch1.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/typeMismatch1.kt.after index cf7c3d9c45c0..dbaf3bd263e9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/typeMismatch1.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/typeMismatch1.kt.after @@ -3,4 +3,6 @@ class Foo fun foo(): Foo { return Foo() as Foo -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.CastExpressionFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/typeMismatch3.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/typeMismatch3.kt index fa7a00140588..75fcf65a9188 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/typeMismatch3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/typeMismatch3.kt @@ -6,4 +6,6 @@ interface B : A fun foo(a: A): B { return a + a -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.CastExpressionFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/typeMismatch3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/typeMismatch3.kt.after index 1591c8d4ab5b..c70424bfb2c9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/typeMismatch3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/typeMismatch3.kt.after @@ -6,4 +6,6 @@ interface B : A fun foo(a: A): B { return (a + a) as B -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.CastExpressionFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/typeMismatch5.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/typeMismatch5.kt index eff95ebb0886..2b19e7963c5f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/typeMismatch5.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/typeMismatch5.kt @@ -4,4 +4,5 @@ // IGNORE_FE10 fun f() { val someList: List = listOf(1) -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/typeMismatch5.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/typeMismatch5.kt.after index 0e8173125c91..869dee0d5b52 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/typeMismatch5.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/typeMismatch5.kt.after @@ -4,4 +4,5 @@ // IGNORE_FE10 fun f() { val someList: List = listOf(1) as List -} \ No newline at end of file +} +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/typeMismatchLongNameRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/typeMismatchLongNameRuntime.kt index f487e6397266..f46ba92d121e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/typeMismatchLongNameRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/typeMismatchLongNameRuntime.kt @@ -4,4 +4,6 @@ fun foo(): java.util.LinkedHashSet { val module: java.util.HashSet = java.util.LinkedHashSet() return module -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.CastExpressionFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/typeMismatchLongNameRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/typeMismatchLongNameRuntime.kt.after index 1a5fec6e9ea6..6ec0496f760e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/typeMismatchLongNameRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/casts/typeMismatchLongNameRuntime.kt.after @@ -6,4 +6,6 @@ import java.util.LinkedHashSet fun foo(): java.util.LinkedHashSet { val module: java.util.HashSet = java.util.LinkedHashSet() return module as LinkedHashSet -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.CastExpressionFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeFunctionLiteralParameterTypeToFunctionType.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeFunctionLiteralParameterTypeToFunctionType.kt index a0a8ef680396..229582319295 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeFunctionLiteralParameterTypeToFunctionType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeFunctionLiteralParameterTypeToFunctionType.kt @@ -3,4 +3,5 @@ fun foo(f: ((Int) -> String) -> String) { foo { f: String -> f(42) } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeFunctionLiteralParameterTypeToFunctionType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeFunctionLiteralParameterTypeToFunctionType.kt.after index 753225d3c44f..5bfd4305e8e1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeFunctionLiteralParameterTypeToFunctionType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeFunctionLiteralParameterTypeToFunctionType.kt.after @@ -3,4 +3,5 @@ fun foo(f: ((Int) -> String) -> String) { foo { f: (Int) -> String -> f(42) } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeFunctionLiteralParameterTypeToFunctionTypeLongNameRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeFunctionLiteralParameterTypeToFunctionTypeLongNameRuntime.kt index 3c51ba312554..8adbb89be33a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeFunctionLiteralParameterTypeToFunctionTypeLongNameRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeFunctionLiteralParameterTypeToFunctionTypeLongNameRuntime.kt @@ -4,4 +4,5 @@ fun foo(f: ((java.util.LinkedHashSet) -> java.util.HashSet) -> String) foo { f: String -> "42" } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeFunctionLiteralParameterTypeToFunctionTypeLongNameRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeFunctionLiteralParameterTypeToFunctionTypeLongNameRuntime.kt.after index 89ac14af5663..8812f72bfe3b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeFunctionLiteralParameterTypeToFunctionTypeLongNameRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeFunctionLiteralParameterTypeToFunctionTypeLongNameRuntime.kt.after @@ -7,4 +7,5 @@ fun foo(f: ((java.util.LinkedHashSet) -> java.util.HashSet) -> String) foo { f: (LinkedHashSet) -> HashSet -> "42" } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeFunctionReturnTypeToMatchExpectedTypeOfCall.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeFunctionReturnTypeToMatchExpectedTypeOfCall.kt index f743bc415863..43dca7119c88 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeFunctionReturnTypeToMatchExpectedTypeOfCall.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeFunctionReturnTypeToMatchExpectedTypeOfCall.kt @@ -1,3 +1,4 @@ // "Change return type of called function 'bar' to 'String'" "true" fun bar(): Any = "" -fun foo(): String = bar() \ No newline at end of file +fun foo(): String = bar() +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForCalled \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeFunctionReturnTypeToMatchExpectedTypeOfCall.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeFunctionReturnTypeToMatchExpectedTypeOfCall.kt.after index 3919281baad1..b6dbc308afbc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeFunctionReturnTypeToMatchExpectedTypeOfCall.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeFunctionReturnTypeToMatchExpectedTypeOfCall.kt.after @@ -1,3 +1,4 @@ // "Change return type of called function 'bar' to 'String'" "true" fun bar(): String = "" -fun foo(): String = bar() \ No newline at end of file +fun foo(): String = bar() +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForCalled \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeFunctionReturnTypeToMatchExpectedTypeOfCallLongNameRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeFunctionReturnTypeToMatchExpectedTypeOfCallLongNameRuntime.kt index 8077119ce6a0..e4c1e0a7b026 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeFunctionReturnTypeToMatchExpectedTypeOfCallLongNameRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeFunctionReturnTypeToMatchExpectedTypeOfCallLongNameRuntime.kt @@ -1,4 +1,5 @@ // "Change return type of called function 'bar' to 'HashSet'" "true" fun bar(): Any = java.util.LinkedHashSet() -fun foo(): java.util.HashSet = bar() \ No newline at end of file +fun foo(): java.util.HashSet = bar() +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForCalled \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeFunctionReturnTypeToMatchExpectedTypeOfCallLongNameRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeFunctionReturnTypeToMatchExpectedTypeOfCallLongNameRuntime.kt.after index 445f6b780338..6511e10aec64 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeFunctionReturnTypeToMatchExpectedTypeOfCallLongNameRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeFunctionReturnTypeToMatchExpectedTypeOfCallLongNameRuntime.kt.after @@ -3,4 +3,5 @@ import java.util.HashSet // "Change return type of called function 'bar' to 'HashSet'" "true" fun bar(): HashSet = java.util.LinkedHashSet() -fun foo(): java.util.HashSet = bar() \ No newline at end of file +fun foo(): java.util.HashSet = bar() +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForCalled \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeForTypeInference.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeForTypeInference.kt index 717753131f5c..c16866ae8898 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeForTypeInference.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeForTypeInference.kt @@ -3,4 +3,5 @@ fun test2(ss: List) { return ss.map { it } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeForTypeInference.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeForTypeInference.kt.after index 5f0082c57d2a..3ebce65010a3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeForTypeInference.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeForTypeInference.kt.after @@ -3,4 +3,5 @@ fun test2(ss: List): List { return ss.map { it } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeForTypeMismatch.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeForTypeMismatch.kt index 86785387bd0c..e4872d8bdec2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeForTypeMismatch.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeForTypeMismatch.kt @@ -3,4 +3,5 @@ fun test1(ss: List) { return ss.map { it }.size -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeForTypeMismatch.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeForTypeMismatch.kt.after index ccf87ec9c0f3..69b1187b9336 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeForTypeMismatch.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeForTypeMismatch.kt.after @@ -3,4 +3,5 @@ fun test1(ss: List): Int { return ss.map { it }.size -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeNoFqNameForAnonymousObject.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeNoFqNameForAnonymousObject.kt index 22f1b920ef0e..cc90142dfec0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeNoFqNameForAnonymousObject.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeNoFqNameForAnonymousObject.kt @@ -7,4 +7,5 @@ fun test() { return 1 } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeNoFqNameForAnonymousObject.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeNoFqNameForAnonymousObject.kt.after index 705008ffb8fd..81a40b91d3f8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeNoFqNameForAnonymousObject.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeNoFqNameForAnonymousObject.kt.after @@ -7,4 +7,5 @@ fun test() { return 1 } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeNoFqNameForCompanionObject.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeNoFqNameForCompanionObject.kt index ef92ca37118f..02b8c6f48100 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeNoFqNameForCompanionObject.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeNoFqNameForCompanionObject.kt @@ -9,3 +9,5 @@ class A { } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeNoFqNameForCompanionObject.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeNoFqNameForCompanionObject.kt.after index 8b75d34e5d22..ae34362c1508 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeNoFqNameForCompanionObject.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeNoFqNameForCompanionObject.kt.after @@ -9,3 +9,5 @@ class A { } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeNoFqNameForLocalClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeNoFqNameForLocalClass.kt index b386e0093dcb..e900e3081f48 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeNoFqNameForLocalClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeNoFqNameForLocalClass.kt @@ -7,4 +7,5 @@ fun test() { return 1 } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeNoFqNameForLocalClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeNoFqNameForLocalClass.kt.after index 3fa738abac82..fc6303c91780 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeNoFqNameForLocalClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeNoFqNameForLocalClass.kt.after @@ -7,4 +7,5 @@ fun test() { return 1 } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeNoFqNameForNestedClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeNoFqNameForNestedClass.kt index 371e695dadd5..4bd4bc253852 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeNoFqNameForNestedClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeNoFqNameForNestedClass.kt @@ -9,3 +9,5 @@ class A { } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeNoFqNameForNestedClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeNoFqNameForNestedClass.kt.after index 435ed15f42f5..2300e00eb05b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeNoFqNameForNestedClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeNoFqNameForNestedClass.kt.after @@ -9,3 +9,5 @@ class A { } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeNoFqNameForTopLevelClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeNoFqNameForTopLevelClass.kt index 79704f1f745d..3d8cd4c284dd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeNoFqNameForTopLevelClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeNoFqNameForTopLevelClass.kt @@ -7,3 +7,5 @@ class A { } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeNoFqNameForTopLevelClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeNoFqNameForTopLevelClass.kt.after index 2479678282e8..b64169557bcf 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeNoFqNameForTopLevelClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeNoFqNameForTopLevelClass.kt.after @@ -7,3 +7,5 @@ class A { } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeToSpecificNullable.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeToSpecificNullable.kt index 6b46c7cc3fbe..98bc5792543e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeToSpecificNullable.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeToSpecificNullable.kt @@ -3,4 +3,5 @@ fun foo(): String { val n: Int? = 1 return n -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeToSpecificNullable.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeToSpecificNullable.kt.after index d803d51590cc..c7b6cc450ad2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeToSpecificNullable.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeToSpecificNullable.kt.after @@ -3,4 +3,5 @@ fun foo(): Int? { val n: Int? = 1 return n -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeWhenFunctionNameIsMissing.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeWhenFunctionNameIsMissing.kt index b9551d6b2c78..4699681f94dc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeWhenFunctionNameIsMissing.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeWhenFunctionNameIsMissing.kt @@ -2,4 +2,5 @@ // ERROR: Function declaration must have a name fun (): Int { return -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeWhenFunctionNameIsMissing.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeWhenFunctionNameIsMissing.kt.after index 948f399516d0..0accd0c67728 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeWhenFunctionNameIsMissing.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeWhenFunctionNameIsMissing.kt.after @@ -2,4 +2,5 @@ // ERROR: Function declaration must have a name fun () { return -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeWhenValueParameterListIsAbsent.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeWhenValueParameterListIsAbsent.kt index a683b33512af..f033aad71b33 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeWhenValueParameterListIsAbsent.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeWhenValueParameterListIsAbsent.kt @@ -7,4 +7,5 @@ abstract class A { fun test(notRange: A) { for (i in notRange) {} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForCalled \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeWhenValueParameterListIsAbsent.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeWhenValueParameterListIsAbsent.kt.after index 485566ce8d28..d953d056f35a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeWhenValueParameterListIsAbsent.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/changeReturnTypeWhenValueParameterListIsAbsent.kt.after @@ -7,4 +7,5 @@ abstract class A { fun test(notRange: A) { for (i in notRange) {} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForCalled \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/compareToTypeMismatch.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/compareToTypeMismatch.kt index 8bf97e6157ff..e59c0419f384 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/compareToTypeMismatch.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/compareToTypeMismatch.kt @@ -4,4 +4,5 @@ interface A { } fun foo(x: A) { if (x < 0) {} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForCalled \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/compareToTypeMismatch.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/compareToTypeMismatch.kt.after index 9b8a02252aad..9768c08489a6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/compareToTypeMismatch.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/compareToTypeMismatch.kt.after @@ -4,4 +4,5 @@ interface A { } fun foo(x: A) { if (x < 0) {} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForCalled \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/componentFunctionReturnTypeMismatch/componentFunctionReturnTypeMismatch1.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/componentFunctionReturnTypeMismatch/componentFunctionReturnTypeMismatch1.kt index 02051704ba4d..8f657b5f98a7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/componentFunctionReturnTypeMismatch/componentFunctionReturnTypeMismatch1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/componentFunctionReturnTypeMismatch/componentFunctionReturnTypeMismatch1.kt @@ -6,4 +6,6 @@ abstract class A { fun foo(a: A) { val (w: Int, x: Int) = a -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForCalled +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.ChangeTypeQuickFixFactories$UpdateTypeQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/componentFunctionReturnTypeMismatch/componentFunctionReturnTypeMismatch1.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/componentFunctionReturnTypeMismatch/componentFunctionReturnTypeMismatch1.kt.after index fb2a6da09ec0..54311b7e8083 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/componentFunctionReturnTypeMismatch/componentFunctionReturnTypeMismatch1.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/componentFunctionReturnTypeMismatch/componentFunctionReturnTypeMismatch1.kt.after @@ -6,4 +6,6 @@ abstract class A { fun foo(a: A) { val (w: Int, x: Int) = a -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForCalled +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.ChangeTypeQuickFixFactories$UpdateTypeQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/componentFunctionReturnTypeMismatch/componentFunctionReturnTypeMismatch2.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/componentFunctionReturnTypeMismatch/componentFunctionReturnTypeMismatch2.kt index f42506a6430c..00dc633ed023 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/componentFunctionReturnTypeMismatch/componentFunctionReturnTypeMismatch2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/componentFunctionReturnTypeMismatch/componentFunctionReturnTypeMismatch2.kt @@ -6,4 +6,6 @@ abstract class A { fun foo(a: A) { val (w: Int, x: Int) = a -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForCalled +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.ChangeTypeQuickFixFactories$UpdateTypeQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/componentFunctionReturnTypeMismatch/componentFunctionReturnTypeMismatch2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/componentFunctionReturnTypeMismatch/componentFunctionReturnTypeMismatch2.kt.after index c0a07787fc7c..c1cf124c6c10 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/componentFunctionReturnTypeMismatch/componentFunctionReturnTypeMismatch2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/componentFunctionReturnTypeMismatch/componentFunctionReturnTypeMismatch2.kt.after @@ -6,4 +6,6 @@ abstract class A { fun foo(a: A) { val (w: Int, x: Int) = a -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForCalled +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.ChangeTypeQuickFixFactories$UpdateTypeQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/componentFunctionReturnTypeMismatch/componentFunctionReturnTypeMismatch3.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/componentFunctionReturnTypeMismatch/componentFunctionReturnTypeMismatch3.kt index aa5ed14e6d9f..8cecf3b69955 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/componentFunctionReturnTypeMismatch/componentFunctionReturnTypeMismatch3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/componentFunctionReturnTypeMismatch/componentFunctionReturnTypeMismatch3.kt @@ -6,4 +6,6 @@ abstract class A { fun foo(a: A) { val (w: Int, x: Unit) = a -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForCalled +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.ChangeTypeQuickFixFactories$UpdateTypeQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/componentFunctionReturnTypeMismatch/componentFunctionReturnTypeMismatch3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/componentFunctionReturnTypeMismatch/componentFunctionReturnTypeMismatch3.kt.after index 38d92d2c93b0..6801254cf3f0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/componentFunctionReturnTypeMismatch/componentFunctionReturnTypeMismatch3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/componentFunctionReturnTypeMismatch/componentFunctionReturnTypeMismatch3.kt.after @@ -6,4 +6,6 @@ abstract class A { fun foo(a: A) { val (w: Int, x: Unit) = a -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForCalled +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.ChangeTypeQuickFixFactories$UpdateTypeQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/componentFunctionReturnTypeMismatch/componentFunctionReturnTypeMismatch4.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/componentFunctionReturnTypeMismatch/componentFunctionReturnTypeMismatch4.kt index 8498d60a925b..a5dc1f2c2427 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/componentFunctionReturnTypeMismatch/componentFunctionReturnTypeMismatch4.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/componentFunctionReturnTypeMismatch/componentFunctionReturnTypeMismatch4.kt @@ -7,4 +7,6 @@ abstract class A { fun foo(a: A) { val (w: Int, x: Unit) = a -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForCalled +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.ChangeTypeQuickFixFactories$UpdateTypeQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/componentFunctionReturnTypeMismatch/componentFunctionReturnTypeMismatch4.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/componentFunctionReturnTypeMismatch/componentFunctionReturnTypeMismatch4.kt.after index 2ec8b442faa8..db3b955fb1a5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/componentFunctionReturnTypeMismatch/componentFunctionReturnTypeMismatch4.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/componentFunctionReturnTypeMismatch/componentFunctionReturnTypeMismatch4.kt.after @@ -7,4 +7,6 @@ abstract class A { fun foo(a: A) { val (w: Int, x: Unit) = a -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForCalled +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.ChangeTypeQuickFixFactories$UpdateTypeQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/componentFunctionReturnTypeMismatch/componentFunctionReturnTypeMismatch5.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/componentFunctionReturnTypeMismatch/componentFunctionReturnTypeMismatch5.kt index 7d6d8f057746..6b5d5a8fd625 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/componentFunctionReturnTypeMismatch/componentFunctionReturnTypeMismatch5.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/componentFunctionReturnTypeMismatch/componentFunctionReturnTypeMismatch5.kt @@ -7,4 +7,6 @@ class A { fun foo(a: A) { val (x: Int, y: String, z: Int) = a -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVariableTypeFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.ChangeTypeQuickFixFactories$UpdateTypeQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/componentFunctionReturnTypeMismatch/componentFunctionReturnTypeMismatch5.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/componentFunctionReturnTypeMismatch/componentFunctionReturnTypeMismatch5.kt.after index f85fe120bfd4..968de9903279 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/componentFunctionReturnTypeMismatch/componentFunctionReturnTypeMismatch5.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/componentFunctionReturnTypeMismatch/componentFunctionReturnTypeMismatch5.kt.after @@ -7,4 +7,6 @@ class A { fun foo(a: A) { val (x: Int, y: Int, z: Int) = a -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVariableTypeFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.ChangeTypeQuickFixFactories$UpdateTypeQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/componentFunctionReturnTypeMismatch/dataClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/componentFunctionReturnTypeMismatch/dataClass.kt index 4b90f97abcbf..e5d7c564ca9d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/componentFunctionReturnTypeMismatch/dataClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/componentFunctionReturnTypeMismatch/dataClass.kt @@ -5,4 +5,6 @@ data class A(val x: Int, val y: String) fun f1(a: A) { val (x: String, y) = a -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForCalled +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.ChangeTypeQuickFixFactories$UpdateTypeQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/componentFunctionReturnTypeMismatch/dataClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/componentFunctionReturnTypeMismatch/dataClass.kt.after index 715aebb7dd35..ecceb95a4b13 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/componentFunctionReturnTypeMismatch/dataClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/componentFunctionReturnTypeMismatch/dataClass.kt.after @@ -5,4 +5,6 @@ data class A(val x: String, val y: String) fun f1(a: A) { val (x: String, y) = a -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForCalled +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.ChangeTypeQuickFixFactories$UpdateTypeQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/constantTypeMismatch.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/constantTypeMismatch.kt index d612304984b5..1abb29e0e0f8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/constantTypeMismatch.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/constantTypeMismatch.kt @@ -2,4 +2,5 @@ fun foo(): String { return 1 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/constantTypeMismatch.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/constantTypeMismatch.kt.after index 60cb25595825..bfe2bb535b95 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/constantTypeMismatch.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/constantTypeMismatch.kt.after @@ -2,4 +2,5 @@ fun foo(): Int { return 1 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/arrayToCollection.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/arrayToCollection.kt index 63877086d805..f22d7eb11b23 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/arrayToCollection.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/arrayToCollection.kt @@ -5,4 +5,5 @@ fun foo(a: Array) { bar(a) } -fun bar(a: Collection) {} \ No newline at end of file +fun bar(a: Collection) {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertCollectionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/arrayToCollection.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/arrayToCollection.kt.after index 908817d6c3dd..a4367d3d7c57 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/arrayToCollection.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/arrayToCollection.kt.after @@ -5,4 +5,5 @@ fun foo(a: Array) { bar(a.toList()) } -fun bar(a: Collection) {} \ No newline at end of file +fun bar(a: Collection) {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertCollectionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/arrayToIterable.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/arrayToIterable.kt index c417cbfdd172..7a86d780f88a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/arrayToIterable.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/arrayToIterable.kt @@ -5,4 +5,5 @@ fun foo(a: Array) { bar(a) } -fun bar(a: Iterable) {} \ No newline at end of file +fun bar(a: Iterable) {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertCollectionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/arrayToIterable.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/arrayToIterable.kt.after index 3f3e411f7ca4..db7e92834a64 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/arrayToIterable.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/arrayToIterable.kt.after @@ -5,4 +5,5 @@ fun foo(a: Array) { bar(a.toList()) } -fun bar(a: Iterable) {} \ No newline at end of file +fun bar(a: Iterable) {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertCollectionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/arrayToList.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/arrayToList.kt index ad9b164d4f61..50902e22fa20 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/arrayToList.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/arrayToList.kt @@ -5,4 +5,5 @@ fun foo(a: Array) { bar(a) } -fun bar(a: List) {} \ No newline at end of file +fun bar(a: List) {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertCollectionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/arrayToList.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/arrayToList.kt.after index 7da6207e129a..557d3ae75206 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/arrayToList.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/arrayToList.kt.after @@ -5,4 +5,5 @@ fun foo(a: Array) { bar(a.toList()) } -fun bar(a: List) {} \ No newline at end of file +fun bar(a: List) {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertCollectionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/arrayToSequence.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/arrayToSequence.kt index 4945cb67a8e2..120d12439774 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/arrayToSequence.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/arrayToSequence.kt @@ -5,4 +5,5 @@ fun foo(a: Array) { bar(a) } -fun bar(a: Sequence) {} \ No newline at end of file +fun bar(a: Sequence) {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertCollectionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/arrayToSequence.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/arrayToSequence.kt.after index 4a28f9c5cd3a..eb458ceb97ce 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/arrayToSequence.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/arrayToSequence.kt.after @@ -5,4 +5,5 @@ fun foo(a: Array) { bar(a.asSequence()) } -fun bar(a: Sequence) {} \ No newline at end of file +fun bar(a: Sequence) {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertCollectionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/iterableToArray.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/iterableToArray.kt index c1daf5447fd6..7f6eb75d4286 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/iterableToArray.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/iterableToArray.kt @@ -5,4 +5,5 @@ fun foo(a: Iterable) { bar(a) } -fun bar(a: Array) {} \ No newline at end of file +fun bar(a: Array) {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertCollectionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/iterableToArray.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/iterableToArray.kt.after index 42cb454552ce..bf5b96d2000d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/iterableToArray.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/iterableToArray.kt.after @@ -5,4 +5,5 @@ fun foo(a: Iterable) { bar(a.toList().toTypedArray()) } -fun bar(a: Array) {} \ No newline at end of file +fun bar(a: Array) {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertCollectionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/listToArray.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/listToArray.kt index cfd7489e4a20..85d12c2aeefd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/listToArray.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/listToArray.kt @@ -5,4 +5,5 @@ fun foo(a: List) { bar(a) } -fun bar(a: Array) {} \ No newline at end of file +fun bar(a: Array) {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertCollectionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/listToArray.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/listToArray.kt.after index 43784f8fb266..43cd04ba27fb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/listToArray.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/listToArray.kt.after @@ -5,4 +5,5 @@ fun foo(a: List) { bar(a.toTypedArray()) } -fun bar(a: Array) {} \ No newline at end of file +fun bar(a: Array) {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertCollectionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/listToArrayBinary.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/listToArrayBinary.kt index 9d2c60d00bd3..061a8d4be15c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/listToArrayBinary.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/listToArrayBinary.kt @@ -5,4 +5,5 @@ fun foo(a: List, b: List) { bar(a + b) } -fun bar(a: Array) {} \ No newline at end of file +fun bar(a: Array) {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertCollectionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/listToArrayBinary.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/listToArrayBinary.kt.after index c05ecec0213b..dcc6e3739be2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/listToArrayBinary.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/listToArrayBinary.kt.after @@ -5,4 +5,5 @@ fun foo(a: List, b: List) { bar((a + b).toTypedArray()) } -fun bar(a: Array) {} \ No newline at end of file +fun bar(a: Array) {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertCollectionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/listToMutableList.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/listToMutableList.kt index 4763ccd91520..6654f4075e1c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/listToMutableList.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/listToMutableList.kt @@ -5,4 +5,5 @@ fun foo(a: List) { bar(a) } -fun bar(a: MutableList) {} \ No newline at end of file +fun bar(a: MutableList) {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertCollectionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/listToMutableList.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/listToMutableList.kt.after index b6881189e7d7..b639e593a34d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/listToMutableList.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/listToMutableList.kt.after @@ -5,4 +5,5 @@ fun foo(a: List) { bar(a.toMutableList()) } -fun bar(a: MutableList) {} \ No newline at end of file +fun bar(a: MutableList) {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertCollectionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/listToSequence.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/listToSequence.kt index 24ae318faa88..28abec1a97a9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/listToSequence.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/listToSequence.kt @@ -5,4 +5,5 @@ fun foo(a: List) { bar(a) } -fun bar(a: Sequence) {} \ No newline at end of file +fun bar(a: Sequence) {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertCollectionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/listToSequence.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/listToSequence.kt.after index ad11531aa3bc..3b1de2482e38 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/listToSequence.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/listToSequence.kt.after @@ -5,4 +5,5 @@ fun foo(a: List) { bar(a.asSequence()) } -fun bar(a: Sequence) {} \ No newline at end of file +fun bar(a: Sequence) {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertCollectionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/sequenceToArray.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/sequenceToArray.kt index 3a7c73bdc3cc..6e86a58f06b8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/sequenceToArray.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/sequenceToArray.kt @@ -5,4 +5,5 @@ fun foo(a: Sequence) { bar(a) } -fun bar(a: Array) {} \ No newline at end of file +fun bar(a: Array) {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertCollectionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/sequenceToArray.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/sequenceToArray.kt.after index 23875bbe0017..fae71dbc5857 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/sequenceToArray.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/sequenceToArray.kt.after @@ -5,4 +5,5 @@ fun foo(a: Sequence) { bar(a.toList().toTypedArray()) } -fun bar(a: Array) {} \ No newline at end of file +fun bar(a: Array) {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertCollectionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/sequenceToList.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/sequenceToList.kt index 3d92e98f1dab..16ac6000b4d1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/sequenceToList.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/sequenceToList.kt @@ -5,4 +5,5 @@ fun foo(a: Sequence) { bar(a) } -fun bar(a: List) {} \ No newline at end of file +fun bar(a: List) {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertCollectionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/sequenceToList.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/sequenceToList.kt.after index 56b784af57a0..0e18aaf21507 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/sequenceToList.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertCollection/sequenceToList.kt.after @@ -5,4 +5,5 @@ fun foo(a: Sequence) { bar(a.toList()) } -fun bar(a: List) {} \ No newline at end of file +fun bar(a: List) {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertCollectionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertStringToCharLiteral.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertStringToCharLiteral.kt index 81324db16b15..6da0ee0f9699 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertStringToCharLiteral.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertStringToCharLiteral.kt @@ -1,4 +1,5 @@ // "Convert string to character literal" "true" fun bar(): Char { return "a" -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertStringToCharLiteralFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertStringToCharLiteral.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertStringToCharLiteral.kt.after index dd44f2a53b79..e0b13554544e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertStringToCharLiteral.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/convertStringToCharLiteral.kt.after @@ -1,4 +1,5 @@ // "Convert string to character literal" "true" fun bar(): Char { return 'a' -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertStringToCharLiteralFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/definitelyNonNullableTypes/changeFunctionParameterType1.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/definitelyNonNullableTypes/changeFunctionParameterType1.kt index af3610476a1c..d648eb894666 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/definitelyNonNullableTypes/changeFunctionParameterType1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/definitelyNonNullableTypes/changeFunctionParameterType1.kt @@ -7,3 +7,5 @@ fun foo(x: T & Any) {} fun bar(x: T) { foo(x) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeParameterTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/definitelyNonNullableTypes/changeFunctionParameterType1.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/definitelyNonNullableTypes/changeFunctionParameterType1.kt.after index 58bdc721f2d2..a89fb3690228 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/definitelyNonNullableTypes/changeFunctionParameterType1.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/definitelyNonNullableTypes/changeFunctionParameterType1.kt.after @@ -7,3 +7,5 @@ fun foo(x: T & Any) {} fun bar(x: T & Any) { foo(x) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeParameterTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/definitelyNonNullableTypes/changePrimaryConstructorParameterType.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/definitelyNonNullableTypes/changePrimaryConstructorParameterType.kt index f0123d01005b..1d6726b30103 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/definitelyNonNullableTypes/changePrimaryConstructorParameterType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/definitelyNonNullableTypes/changePrimaryConstructorParameterType.kt @@ -9,3 +9,5 @@ class Foo(val x: T) { fun Foo.bar(z: T) { foo(x) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeParameterTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/definitelyNonNullableTypes/changePrimaryConstructorParameterType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/definitelyNonNullableTypes/changePrimaryConstructorParameterType.kt.after index a7109f0e800c..54b6af7492a7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/definitelyNonNullableTypes/changePrimaryConstructorParameterType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/definitelyNonNullableTypes/changePrimaryConstructorParameterType.kt.after @@ -9,3 +9,5 @@ class Foo(val x: T & Any) { fun Foo.bar(z: T) { foo(x) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeParameterTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/definitelyNonNullableTypes/changeVariableType1.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/definitelyNonNullableTypes/changeVariableType1.kt index 9fafd8430f81..3fa90d9ba204 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/definitelyNonNullableTypes/changeVariableType1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/definitelyNonNullableTypes/changeVariableType1.kt @@ -8,3 +8,5 @@ fun bar(x: T & Any) { val z: T = x foo(z) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVariableTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/definitelyNonNullableTypes/changeVariableType1.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/definitelyNonNullableTypes/changeVariableType1.kt.after index 627d863121db..c7e054446f81 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/definitelyNonNullableTypes/changeVariableType1.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/definitelyNonNullableTypes/changeVariableType1.kt.after @@ -8,3 +8,5 @@ fun bar(x: T & Any) { val z: T & Any = x foo(z) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVariableTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/definitelyNonNullableTypes/changeVariableType2.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/definitelyNonNullableTypes/changeVariableType2.kt index 7bc871654af5..c9ba150cd983 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/definitelyNonNullableTypes/changeVariableType2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/definitelyNonNullableTypes/changeVariableType2.kt @@ -9,3 +9,5 @@ fun bar(x: T) { val z: T = x foo(z) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVariableTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/definitelyNonNullableTypes/changeVariableType2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/definitelyNonNullableTypes/changeVariableType2.kt.after index d3dd00ffe794..de9027ad4371 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/definitelyNonNullableTypes/changeVariableType2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/definitelyNonNullableTypes/changeVariableType2.kt.after @@ -9,3 +9,5 @@ fun bar(x: T) { val z: T & Any = x foo(z) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVariableTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/definitelyNonNullableTypes/explicitCast1.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/definitelyNonNullableTypes/explicitCast1.kt index 7d9c8b5f2c4d..6b622d55f9a8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/definitelyNonNullableTypes/explicitCast1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/definitelyNonNullableTypes/explicitCast1.kt @@ -5,3 +5,5 @@ fun foo(x: T & Any) {} fun bar(x: T) { foo(x) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.CastExpressionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/definitelyNonNullableTypes/explicitCast1.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/definitelyNonNullableTypes/explicitCast1.kt.after index d0f13adcd33d..6cdb5ce98c58 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/definitelyNonNullableTypes/explicitCast1.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/definitelyNonNullableTypes/explicitCast1.kt.after @@ -5,3 +5,5 @@ fun foo(x: T & Any) {} fun bar(x: T) { foo(x as (T & Any)) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.CastExpressionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/definitelyNonNullableTypes/explicitCast2.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/definitelyNonNullableTypes/explicitCast2.kt index ca6cecd77656..7fce08598048 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/definitelyNonNullableTypes/explicitCast2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/definitelyNonNullableTypes/explicitCast2.kt @@ -5,3 +5,5 @@ fun foo(x: Collection) {} fun bar(x: Collection) { foo(x) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.CastExpressionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/definitelyNonNullableTypes/explicitCast2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/definitelyNonNullableTypes/explicitCast2.kt.after index 120ffd0b82e6..e02991b89bf2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/definitelyNonNullableTypes/explicitCast2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/definitelyNonNullableTypes/explicitCast2.kt.after @@ -5,3 +5,5 @@ fun foo(x: Collection) {} fun bar(x: Collection) { foo(x as Collection) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.CastExpressionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/expectedParameterTypeMismatch.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/expectedParameterTypeMismatch.kt index e3089b5b26e4..1a53cc6de1e1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/expectedParameterTypeMismatch.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/expectedParameterTypeMismatch.kt @@ -3,4 +3,5 @@ fun foo(f: (Int) -> String) { foo { x: String -> "" } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/expectedParameterTypeMismatch.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/expectedParameterTypeMismatch.kt.after index 31e6d905c15b..f449162f7522 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/expectedParameterTypeMismatch.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/expectedParameterTypeMismatch.kt.after @@ -3,4 +3,5 @@ fun foo(f: (Int) -> String) { foo { x: Int -> "" } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/expectedParameterTypeMismatchLongNameRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/expectedParameterTypeMismatchLongNameRuntime.kt index c1bfcec90a2f..b0c917405a81 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/expectedParameterTypeMismatchLongNameRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/expectedParameterTypeMismatchLongNameRuntime.kt @@ -4,4 +4,5 @@ fun foo(f: (java.util.HashSet) -> String) { foo { x: String -> "" } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/expectedParameterTypeMismatchLongNameRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/expectedParameterTypeMismatchLongNameRuntime.kt.after index 85917b2ba68e..5e506e5bd350 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/expectedParameterTypeMismatchLongNameRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/expectedParameterTypeMismatchLongNameRuntime.kt.after @@ -6,4 +6,5 @@ fun foo(f: (java.util.HashSet) -> String) { foo { x: HashSet -> "" } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/fixOverloadedOperator/changeNotFunctionReturnType.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/fixOverloadedOperator/changeNotFunctionReturnType.kt index a76c446c764c..9db34eccea89 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/fixOverloadedOperator/changeNotFunctionReturnType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/fixOverloadedOperator/changeNotFunctionReturnType.kt @@ -4,4 +4,5 @@ interface A { operator fun times(a: A): A } -fun foo(a: A): A = a * !(if (true) a else a) \ No newline at end of file +fun foo(a: A): A = a * !(if (true) a else a) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForCalled \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/fixOverloadedOperator/changeNotFunctionReturnType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/fixOverloadedOperator/changeNotFunctionReturnType.kt.after index f80e97d9cef0..b3ece979d140 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/fixOverloadedOperator/changeNotFunctionReturnType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/fixOverloadedOperator/changeNotFunctionReturnType.kt.after @@ -4,4 +4,5 @@ interface A { operator fun times(a: A): A } -fun foo(a: A): A = a * !(if (true) a else a) \ No newline at end of file +fun foo(a: A): A = a * !(if (true) a else a) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForCalled \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/fixOverloadedOperator/changePlusFunctionReturnType.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/fixOverloadedOperator/changePlusFunctionReturnType.kt index 363ca64967b6..3f036cc80fc5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/fixOverloadedOperator/changePlusFunctionReturnType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/fixOverloadedOperator/changePlusFunctionReturnType.kt @@ -5,4 +5,5 @@ interface A { fun foo(a: A): () -> Int { return a + a -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForCalled \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/fixOverloadedOperator/changePlusFunctionReturnType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/fixOverloadedOperator/changePlusFunctionReturnType.kt.after index 6996830bc17f..f882b9794348 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/fixOverloadedOperator/changePlusFunctionReturnType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/fixOverloadedOperator/changePlusFunctionReturnType.kt.after @@ -5,4 +5,5 @@ interface A { fun foo(a: A): () -> Int { return a + a -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForCalled \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/fixOverloadedOperator/changeTimesFunctionParameterType.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/fixOverloadedOperator/changeTimesFunctionParameterType.kt index 616a7d942614..0afd168690c9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/fixOverloadedOperator/changeTimesFunctionParameterType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/fixOverloadedOperator/changeTimesFunctionParameterType.kt @@ -3,4 +3,5 @@ interface A { operator fun times(a: A): A } -fun foo(a: A): A = a * "" \ No newline at end of file +fun foo(a: A): A = a * "" +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeParameterTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/fixOverloadedOperator/changeTimesFunctionParameterType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/fixOverloadedOperator/changeTimesFunctionParameterType.kt.after index 8ac62263afd3..3c80ec8e7706 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/fixOverloadedOperator/changeTimesFunctionParameterType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/fixOverloadedOperator/changeTimesFunctionParameterType.kt.after @@ -3,4 +3,5 @@ interface A { operator fun times(a: String): A } -fun foo(a: A): A = a * "" \ No newline at end of file +fun foo(a: A): A = a * "" +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeParameterTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/functionExtensionType.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/functionExtensionType.kt index 9535f051dd05..3862ef008cd1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/functionExtensionType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/functionExtensionType.kt @@ -5,4 +5,5 @@ fun foo() { fun myFunction(s: String): (String, Int) -> Boolean = s::verifyData } -fun String.verifyData(a: Int) = this.length > a \ No newline at end of file +fun String.verifyData(a: Int) = this.length > a +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/functionExtensionType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/functionExtensionType.kt.after index da10fdf3c959..5ca89a0ff619 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/functionExtensionType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/functionExtensionType.kt.after @@ -5,4 +5,5 @@ fun foo() { fun myFunction(s: String): (Int) -> Boolean = s::verifyData } -fun String.verifyData(a: Int) = this.length > a \ No newline at end of file +fun String.verifyData(a: Int) = this.length > a +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/functionNestedType.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/functionNestedType.kt index dd25d2d0a258..5eb8166a1289 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/functionNestedType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/functionNestedType.kt @@ -5,4 +5,5 @@ fun foo() { var myFunction: (Int, Int) -> Int = ::verifyData } -fun verifyData(a: Int, b: (Int) -> Boolean) = b(a) \ No newline at end of file +fun verifyData(a: Int, b: (Int) -> Boolean) = b(a) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVariableTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/functionNestedType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/functionNestedType.kt.after index f6ef19eff305..dafd0d18c36c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/functionNestedType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/functionNestedType.kt.after @@ -5,4 +5,5 @@ fun foo() { var myFunction: (Int, (Int) -> Boolean) -> Boolean = ::verifyData } -fun verifyData(a: Int, b: (Int) -> Boolean) = b(a) \ No newline at end of file +fun verifyData(a: Int, b: (Int) -> Boolean) = b(a) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVariableTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/functionNestedType2.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/functionNestedType2.kt index 9daedb6c0cd0..27183fc87afc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/functionNestedType2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/functionNestedType2.kt @@ -7,4 +7,5 @@ fun foo() { fun Int.internalVerifyData() = this > 0 -fun verifyData(a: Int) = a::internalVerifyData \ No newline at end of file +fun verifyData(a: Int) = a::internalVerifyData +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVariableTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/functionNestedType2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/functionNestedType2.kt.after index 5faa083b264c..d6b459d1fd72 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/functionNestedType2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/functionNestedType2.kt.after @@ -9,4 +9,5 @@ fun foo() { fun Int.internalVerifyData() = this > 0 -fun verifyData(a: Int) = a::internalVerifyData \ No newline at end of file +fun verifyData(a: Int) = a::internalVerifyData +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVariableTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/functionReflectType.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/functionReflectType.kt index fd5531dc83ab..30a408cae1cd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/functionReflectType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/functionReflectType.kt @@ -5,4 +5,5 @@ fun foo() { var myFunction: (Int, Int) -> Int = ::verifyData } -fun verifyData(a: Int, b: Int) = (a > 10 && b > 10) \ No newline at end of file +fun verifyData(a: Int, b: Int) = (a > 10 && b > 10) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVariableTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/functionReflectType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/functionReflectType.kt.after index b8d18a75b3a6..21b7db07c8c0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/functionReflectType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/functionReflectType.kt.after @@ -7,4 +7,5 @@ fun foo() { var myFunction: KFunction2 = ::verifyData } -fun verifyData(a: Int, b: Int) = (a > 10 && b > 10) \ No newline at end of file +fun verifyData(a: Int, b: Int) = (a > 10 && b > 10) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVariableTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/functionType.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/functionType.kt index 89469a81b882..38b7d0ced3e2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/functionType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/functionType.kt @@ -5,4 +5,5 @@ fun foo() { var myFunction: (Int, Int) -> Int = ::verifyData } -fun verifyData(a: Int, b: Int) = (a > 10 && b > 10) \ No newline at end of file +fun verifyData(a: Int, b: Int) = (a > 10 && b > 10) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVariableTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/functionType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/functionType.kt.after index 2d6185708ef3..140178489cd2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/functionType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/functionType.kt.after @@ -5,4 +5,5 @@ fun foo() { var myFunction: (Int, Int) -> Boolean = ::verifyData } -fun verifyData(a: Int, b: Int) = (a > 10 && b > 10) \ No newline at end of file +fun verifyData(a: Int, b: Int) = (a > 10 && b > 10) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVariableTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/hasNextFunctionReturnTypeMismatch.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/hasNextFunctionReturnTypeMismatch.kt index 41e53cc2b543..dae28d649864 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/hasNextFunctionReturnTypeMismatch.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/hasNextFunctionReturnTypeMismatch.kt @@ -7,4 +7,5 @@ abstract class A { fun test(notRange: A) { for (i in notRange) {} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForCalled \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/hasNextFunctionReturnTypeMismatch.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/hasNextFunctionReturnTypeMismatch.kt.after index d38e15c3a39b..d57da0db32a8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/hasNextFunctionReturnTypeMismatch.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/hasNextFunctionReturnTypeMismatch.kt.after @@ -7,4 +7,5 @@ abstract class A { fun test(notRange: A) { for (i in notRange) {} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForCalled \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/incompatibleTypes/byte.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/incompatibleTypes/byte.kt index 871bb9e02e6a..b50b67098538 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/incompatibleTypes/byte.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/incompatibleTypes/byte.kt @@ -3,4 +3,5 @@ fun test(b: Byte, i: Int) { when (b) { i -> {} } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.NumberConversionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/incompatibleTypes/byte.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/incompatibleTypes/byte.kt.after index 26e3dc8cad01..bef77bec1648 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/incompatibleTypes/byte.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/incompatibleTypes/byte.kt.after @@ -3,4 +3,5 @@ fun test(b: Byte, i: Int) { when (b) { i.toByte() -> {} } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.NumberConversionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/incompatibleTypes/changeReturnType.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/incompatibleTypes/changeReturnType.kt index b5c354c1a3da..8263486023cd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/incompatibleTypes/changeReturnType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/incompatibleTypes/changeReturnType.kt @@ -6,4 +6,5 @@ fun test(i: Int) { } } -fun foo(): String = TODO() \ No newline at end of file +fun foo(): String = TODO() +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForCalled \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/incompatibleTypes/changeReturnType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/incompatibleTypes/changeReturnType.kt.after index f07a32b535fc..26f8c5a5ca87 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/incompatibleTypes/changeReturnType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/incompatibleTypes/changeReturnType.kt.after @@ -6,4 +6,5 @@ fun test(i: Int) { } } -fun foo(): Int = TODO() \ No newline at end of file +fun foo(): Int = TODO() +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForCalled \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/incompatibleTypes/char.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/incompatibleTypes/char.kt index 61f4ff6c483c..002336cb6748 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/incompatibleTypes/char.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/incompatibleTypes/char.kt @@ -3,4 +3,5 @@ fun test(c: Char) { when (c) { "." -> {} } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertStringToCharLiteralFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/incompatibleTypes/char.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/incompatibleTypes/char.kt.after index 2dbc73ca2614..bd4c30cb3a38 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/incompatibleTypes/char.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/incompatibleTypes/char.kt.after @@ -3,4 +3,5 @@ fun test(c: Char) { when (c) { '.' -> {} } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertStringToCharLiteralFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/incompatibleTypes/int.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/incompatibleTypes/int.kt index c518aba2e2f9..b743961b2086 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/incompatibleTypes/int.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/incompatibleTypes/int.kt @@ -3,4 +3,5 @@ fun test(b: Byte, i: Int) { when (i) { b -> {} } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.NumberConversionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/incompatibleTypes/int.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/incompatibleTypes/int.kt.after index 2c85ade0218c..d3cd887b401a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/incompatibleTypes/int.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/incompatibleTypes/int.kt.after @@ -3,4 +3,5 @@ fun test(b: Byte, i: Int) { when (i) { b.toInt() -> {} } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.NumberConversionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/incompatibleTypes/toString.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/incompatibleTypes/toString.kt index 9ab31eca5355..2b336263dd80 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/incompatibleTypes/toString.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/incompatibleTypes/toString.kt @@ -3,4 +3,5 @@ fun test(s: String, i: Int) { when (s) { i -> {} } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddToStringFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/incompatibleTypes/toString.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/incompatibleTypes/toString.kt.after index 70449042e740..fa9a976bfd97 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/incompatibleTypes/toString.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/incompatibleTypes/toString.kt.after @@ -3,4 +3,5 @@ fun test(s: String, i: Int) { when (s) { i.toString() -> {} } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddToStringFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/incompatibleTypes/wrapWithCollectionLiteral.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/incompatibleTypes/wrapWithCollectionLiteral.kt index 62db4dfea46d..f03ab3541f21 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/incompatibleTypes/wrapWithCollectionLiteral.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/incompatibleTypes/wrapWithCollectionLiteral.kt @@ -4,4 +4,5 @@ fun test(ints: List, i: Int) { when (ints) { i -> {} } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithCollectionLiteralCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/incompatibleTypes/wrapWithCollectionLiteral.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/incompatibleTypes/wrapWithCollectionLiteral.kt.after index 409e1390487f..95b120412566 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/incompatibleTypes/wrapWithCollectionLiteral.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/incompatibleTypes/wrapWithCollectionLiteral.kt.after @@ -4,4 +4,5 @@ fun test(ints: List, i: Int) { when (ints) { listOf(i) -> {} } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithCollectionLiteralCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/intToShortTypeMismatch.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/intToShortTypeMismatch.kt index eeb29faeaa66..0d8dede46c69 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/intToShortTypeMismatch.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/intToShortTypeMismatch.kt @@ -2,4 +2,5 @@ fun foo() { val x: Short = 100000 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVariableTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/intToShortTypeMismatch.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/intToShortTypeMismatch.kt.after index 630bba30eb08..96c4a2d82248 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/intToShortTypeMismatch.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/intToShortTypeMismatch.kt.after @@ -2,4 +2,5 @@ fun foo() { val x: Int = 100000 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVariableTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/kt17404.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/kt17404.kt index 2f1fc1e8ba5c..f1e5fd140481 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/kt17404.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/kt17404.kt @@ -3,4 +3,5 @@ inline fun inlineReified(f: (T) -> T) = {} inline fun callInlineReified() = inlineReified { x: Int -> x -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/kt17404.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/kt17404.kt.after index 14746f24be2c..2f8314074673 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/kt17404.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/kt17404.kt.after @@ -3,4 +3,5 @@ inline fun inlineReified(f: (T) -> T) = {} inline fun callInlineReified() = inlineReified { x: X -> x -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/letClassImplementAdditionalInterface.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/letClassImplementAdditionalInterface.kt index 1b1a918297d5..36169e9e9700 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/letClassImplementAdditionalInterface.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/letClassImplementAdditionalInterface.kt @@ -11,4 +11,5 @@ fun foo(a: A) { interface A interface C -class B : C \ No newline at end of file +class B : C +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.LetImplementInterfaceFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/letClassImplementAdditionalInterface.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/letClassImplementAdditionalInterface.kt.after index 0cf6d8bd76d7..add13e2e7897 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/letClassImplementAdditionalInterface.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/letClassImplementAdditionalInterface.kt.after @@ -11,4 +11,5 @@ fun foo(a: A) { interface A interface C -class B : C, A \ No newline at end of file +class B : C, A +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.LetImplementInterfaceFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/letClassImplementGenericInterface.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/letClassImplementGenericInterface.kt index 36d82fabd4a5..103c99b749e5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/letClassImplementGenericInterface.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/letClassImplementGenericInterface.kt @@ -10,4 +10,5 @@ fun foo(a: A) { } interface A -class B \ No newline at end of file +class B +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.LetImplementInterfaceFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/letClassImplementGenericInterface.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/letClassImplementGenericInterface.kt.after index b76342eee3e4..cfb5b6b05ffe 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/letClassImplementGenericInterface.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/letClassImplementGenericInterface.kt.after @@ -10,4 +10,5 @@ fun foo(a: A) { } interface A -class B : A \ No newline at end of file +class B : A +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.LetImplementInterfaceFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/letClassImplementInterface.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/letClassImplementInterface.kt index 786717f0185c..5f031cb4099a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/letClassImplementInterface.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/letClassImplementInterface.kt @@ -13,4 +13,5 @@ fun foo(a: A) { interface A { fun gav() } -class B \ No newline at end of file +class B +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.LetImplementInterfaceFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/letClassImplementInterface.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/letClassImplementInterface.kt.after index dd869e1f4bb5..24b85556e38e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/letClassImplementInterface.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/letClassImplementInterface.kt.after @@ -17,4 +17,5 @@ class B : A { override fun gav() { TODO("Not yet implemented") } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.LetImplementInterfaceFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/letClassImplementInterfaceNullable.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/letClassImplementInterfaceNullable.kt index 6588a23f1fd4..090e188aab29 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/letClassImplementInterfaceNullable.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/letClassImplementInterfaceNullable.kt @@ -10,4 +10,5 @@ fun foo(a: A?) { } interface A -class B \ No newline at end of file +class B +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.LetImplementInterfaceFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/letClassImplementInterfaceNullable.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/letClassImplementInterfaceNullable.kt.after index 392ba2b65afe..be9897b3d535 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/letClassImplementInterfaceNullable.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/letClassImplementInterfaceNullable.kt.after @@ -10,4 +10,5 @@ fun foo(a: A?) { } interface A -class B : A \ No newline at end of file +class B : A +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.LetImplementInterfaceFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/letInterfaceExtendInterface.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/letInterfaceExtendInterface.kt index cdbac7f16fc9..bbc257086bc0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/letInterfaceExtendInterface.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/letInterfaceExtendInterface.kt @@ -11,4 +11,5 @@ fun foo(a: A) { interface A interface C -class B : C \ No newline at end of file +class B : C +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.LetImplementInterfaceFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/letInterfaceExtendInterface.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/letInterfaceExtendInterface.kt.after index d4aa291f2c34..4d8a5defba09 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/letInterfaceExtendInterface.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/letInterfaceExtendInterface.kt.after @@ -11,4 +11,5 @@ fun foo(a: A) { interface A interface C : A -class B : C \ No newline at end of file +class B : C +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.LetImplementInterfaceFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/letObjectImplementAdditionalInterface.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/letObjectImplementAdditionalInterface.kt index 7c5baa9ddd30..0c77bf17a0e8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/letObjectImplementAdditionalInterface.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/letObjectImplementAdditionalInterface.kt @@ -8,4 +8,5 @@ fun bar() { fun foo(a: A) { } -interface A \ No newline at end of file +interface A +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.LetImplementInterfaceFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/letObjectImplementAdditionalInterface.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/letObjectImplementAdditionalInterface.kt.after index 8b08e715ca81..c85744eb37a4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/letObjectImplementAdditionalInterface.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/letObjectImplementAdditionalInterface.kt.after @@ -8,4 +8,5 @@ fun bar() { fun foo(a: A) { } -interface A \ No newline at end of file +interface A +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.LetImplementInterfaceFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/letObjectLiteralImplementInterface.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/letObjectLiteralImplementInterface.kt index 9102568940f1..6d57e77dceb4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/letObjectLiteralImplementInterface.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/letObjectLiteralImplementInterface.kt @@ -6,4 +6,5 @@ fun bar() { foo(object: {}) } -interface Runnable \ No newline at end of file +interface Runnable +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.LetImplementInterfaceFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/letObjectLiteralImplementInterface.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/letObjectLiteralImplementInterface.kt.after index a8559de5c97c..31bec1b5c7a0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/letObjectLiteralImplementInterface.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/letObjectLiteralImplementInterface.kt.after @@ -6,4 +6,5 @@ fun bar() { foo(object: Runnable {}) } -interface Runnable \ No newline at end of file +interface Runnable +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.LetImplementInterfaceFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/localClassInReturn1.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/localClassInReturn1.kt index f36a113953c3..2363b5bd268c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/localClassInReturn1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/localClassInReturn1.kt @@ -7,4 +7,5 @@ fun foo() { class B: A(), U return B() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/localClassInReturn1.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/localClassInReturn1.kt.after index 3890644f609d..069b881e116e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/localClassInReturn1.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/localClassInReturn1.kt.after @@ -7,4 +7,5 @@ fun foo(): U { class B: A(), U return B() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/localClassInReturn2.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/localClassInReturn2.kt index 3e54dab18bdb..0ac3a90100d4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/localClassInReturn2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/localClassInReturn2.kt @@ -6,4 +6,5 @@ fun foo() { class B: A() return B() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/localClassInReturn2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/localClassInReturn2.kt.after index e0b11b8eef9e..7c7fc27c5b47 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/localClassInReturn2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/localClassInReturn2.kt.after @@ -6,4 +6,5 @@ fun foo(): T { class B: A() return B() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/longToDoubleTypeMismatch.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/longToDoubleTypeMismatch.kt index c5c0e18bfcce..9dd7aa402a7b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/longToDoubleTypeMismatch.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/longToDoubleTypeMismatch.kt @@ -2,4 +2,5 @@ fun foo() { val x: Double = 0L -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVariableTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/longToDoubleTypeMismatch.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/longToDoubleTypeMismatch.kt.after index dc132b8e7667..377cb0c40c12 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/longToDoubleTypeMismatch.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/longToDoubleTypeMismatch.kt.after @@ -2,4 +2,5 @@ fun foo() { val x: Long = 0L -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVariableTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/longToIntTypeMismatch.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/longToIntTypeMismatch.kt index d6288e08b648..99e8b5d09732 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/longToIntTypeMismatch.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/longToIntTypeMismatch.kt @@ -2,4 +2,5 @@ fun foo() { val x: Int = 0L -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVariableTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/longToIntTypeMismatch.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/longToIntTypeMismatch.kt.after index dc132b8e7667..377cb0c40c12 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/longToIntTypeMismatch.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/longToIntTypeMismatch.kt.after @@ -2,4 +2,5 @@ fun foo() { val x: Long = 0L -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVariableTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/makeReturnTypeNullable.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/makeReturnTypeNullable.kt index 0cf153948455..3f397952c133 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/makeReturnTypeNullable.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/makeReturnTypeNullable.kt @@ -2,4 +2,5 @@ fun foo(): String { return null -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/makeReturnTypeNullable.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/makeReturnTypeNullable.kt.after index bc521b6e879b..77d06fc0d10a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/makeReturnTypeNullable.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/makeReturnTypeNullable.kt.after @@ -2,4 +2,5 @@ fun foo(): String? { return null -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/noReturnInFunctionWithBlockBody.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/noReturnInFunctionWithBlockBody.kt index 5796f8a08fff..602114a569a6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/noReturnInFunctionWithBlockBody.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/noReturnInFunctionWithBlockBody.kt @@ -1,3 +1,4 @@ // "Remove explicitly specified return type of enclosing function 'foo'" "true" fun foo(): Int { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/noReturnInFunctionWithBlockBody.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/noReturnInFunctionWithBlockBody.kt.after index 9cebcf826b63..0d9a51f717d7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/noReturnInFunctionWithBlockBody.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/noReturnInFunctionWithBlockBody.kt.after @@ -1,3 +1,4 @@ // "Remove explicitly specified return type of enclosing function 'foo'" "true" fun foo() { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/nullArgumentForNonNullParameter.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/nullArgumentForNonNullParameter.kt index b793ae77d7ca..48b77c1acd28 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/nullArgumentForNonNullParameter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/nullArgumentForNonNullParameter.kt @@ -5,4 +5,5 @@ class Foo(s: String) { fun test() { Foo(null) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeParameterTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/nullArgumentForNonNullParameter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/nullArgumentForNonNullParameter.kt.after index e797bcab32b9..61baa51d474e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/nullArgumentForNonNullParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/nullArgumentForNonNullParameter.kt.after @@ -5,4 +5,5 @@ class Foo(s: String?) { fun test() { Foo(null) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeParameterTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/convertBinaryExpression.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/convertBinaryExpression.kt index 02c668370fe1..0058b54c8134 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/convertBinaryExpression.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/convertBinaryExpression.kt @@ -4,4 +4,5 @@ fun foo() { } fun bar(l: Float) { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.NumberConversionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/convertBinaryExpression.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/convertBinaryExpression.kt.after index 0dae383fcf56..92b91a6d721e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/convertBinaryExpression.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/convertBinaryExpression.kt.after @@ -4,4 +4,5 @@ fun foo() { } fun bar(l: Float) { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.NumberConversionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/convertExpression.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/convertExpression.kt index 0232736a66df..12b04a584dec 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/convertExpression.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/convertExpression.kt @@ -5,4 +5,5 @@ fun foo() { } fun bar(l: Int) { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.NumberConversionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/convertExpression.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/convertExpression.kt.after index 7c9fd3ac4977..60447cd30309 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/convertExpression.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/convertExpression.kt.after @@ -5,4 +5,5 @@ fun foo() { } fun bar(l: Int) { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.NumberConversionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/convertToSigned.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/convertToSigned.kt index ea488dcd7404..267262afd932 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/convertToSigned.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/convertToSigned.kt @@ -4,4 +4,5 @@ fun foo(param: Int) {} fun test(expr: UInt) { foo(expr) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.NumberConversionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/convertToSigned.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/convertToSigned.kt.after index 85b5dcd87ae4..2f5de62bb533 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/convertToSigned.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/convertToSigned.kt.after @@ -4,4 +4,5 @@ fun foo(param: Int) {} fun test(expr: UInt) { foo(expr.toInt()) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.NumberConversionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/convertToUnsigned.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/convertToUnsigned.kt index 2aee6b19a483..6186862e7184 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/convertToUnsigned.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/convertToUnsigned.kt @@ -4,4 +4,5 @@ fun foo(param: UInt) {} fun test(expr: Int) { foo(expr) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.NumberConversionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/convertToUnsigned.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/convertToUnsigned.kt.after index 917e83ea99d1..58f6ba803471 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/convertToUnsigned.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/convertToUnsigned.kt.after @@ -4,4 +4,5 @@ fun foo(param: UInt) {} fun test(expr: Int) { foo(expr.toUInt()) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.NumberConversionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/fromChar/byte.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/fromChar/byte.kt index 1f2c30ebd871..0b1319c66af9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/fromChar/byte.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/fromChar/byte.kt @@ -4,4 +4,5 @@ fun byte(x: Byte) {} fun test(c: Char) { byte(c) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.NumberConversionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/fromChar/byte.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/fromChar/byte.kt.after index a539e851c85c..6abfe84b7efc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/fromChar/byte.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/fromChar/byte.kt.after @@ -4,4 +4,5 @@ fun byte(x: Byte) {} fun test(c: Char) { byte(c.code.toByte()) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.NumberConversionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/fromChar/double.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/fromChar/double.kt index d83c0ee5b40b..5f1f6ac8ffd1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/fromChar/double.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/fromChar/double.kt @@ -4,4 +4,5 @@ fun double(x: Double) {} fun test(c: Char) { double(c) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.NumberConversionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/fromChar/double.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/fromChar/double.kt.after index 00a9850e4341..7545543f7099 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/fromChar/double.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/fromChar/double.kt.after @@ -4,4 +4,5 @@ fun double(x: Double) {} fun test(c: Char) { double(c.code.toDouble()) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.NumberConversionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/fromChar/float.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/fromChar/float.kt index ba3f4be4e6d4..4cd82195151e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/fromChar/float.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/fromChar/float.kt @@ -4,4 +4,5 @@ fun float(x: Float) {} fun test(c: Char) { float(c) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.NumberConversionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/fromChar/float.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/fromChar/float.kt.after index 5ff372503d18..f1db63c71947 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/fromChar/float.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/fromChar/float.kt.after @@ -4,4 +4,5 @@ fun float(x: Float) {} fun test(c: Char) { float(c.code.toFloat()) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.NumberConversionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/fromChar/int.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/fromChar/int.kt index 355adb807890..d69e3eb16698 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/fromChar/int.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/fromChar/int.kt @@ -4,4 +4,5 @@ fun int(x: Int) {} fun test(c: Char) { int(c) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.NumberConversionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/fromChar/int.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/fromChar/int.kt.after index fcccbb859ad0..f153a0a1aa57 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/fromChar/int.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/fromChar/int.kt.after @@ -4,4 +4,5 @@ fun int(x: Int) {} fun test(c: Char) { int(c.code) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.NumberConversionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/fromChar/intFromCharLiteral.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/fromChar/intFromCharLiteral.kt index 2ee61b42ce49..4161cc6f0bb0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/fromChar/intFromCharLiteral.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/fromChar/intFromCharLiteral.kt @@ -4,4 +4,5 @@ fun int(x: Int) {} fun test(c: Char) { int('c') -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.NumberConversionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/fromChar/intFromCharLiteral.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/fromChar/intFromCharLiteral.kt.after index 583ac24aee87..5850568e616e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/fromChar/intFromCharLiteral.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/fromChar/intFromCharLiteral.kt.after @@ -4,4 +4,5 @@ fun int(x: Int) {} fun test(c: Char) { int('c'.code) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.NumberConversionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/fromChar/long.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/fromChar/long.kt index 6e75380af0e5..f4663a01bda7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/fromChar/long.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/fromChar/long.kt @@ -4,4 +4,5 @@ fun long(x: Long) {} fun test(c: Char) { long(c) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.NumberConversionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/fromChar/long.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/fromChar/long.kt.after index 9e259a6306cf..04a0a0136775 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/fromChar/long.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/fromChar/long.kt.after @@ -4,4 +4,5 @@ fun long(x: Long) {} fun test(c: Char) { long(c.code.toLong()) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.NumberConversionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/fromChar/longFromCharLiteral.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/fromChar/longFromCharLiteral.kt index 0284b675c4f8..12f76e5ad139 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/fromChar/longFromCharLiteral.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/fromChar/longFromCharLiteral.kt @@ -4,4 +4,5 @@ fun long(x: Long) {} fun test(c: Char) { long('c') -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.NumberConversionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/fromChar/longFromCharLiteral.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/fromChar/longFromCharLiteral.kt.after index 3e3d84d73b01..3fb7c5fac8a9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/fromChar/longFromCharLiteral.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/fromChar/longFromCharLiteral.kt.after @@ -4,4 +4,5 @@ fun long(x: Long) {} fun test(c: Char) { long('c'.code.toLong()) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.NumberConversionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/fromChar/short.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/fromChar/short.kt index 5017c7cc6543..c28b0b63007c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/fromChar/short.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/fromChar/short.kt @@ -4,4 +4,5 @@ fun short(x: Short) {} fun test(c: Char) { short(c) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.NumberConversionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/fromChar/short.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/fromChar/short.kt.after index faa035d77b81..946aee3f86d5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/fromChar/short.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/fromChar/short.kt.after @@ -4,4 +4,5 @@ fun short(x: Short) {} fun test(c: Char) { short(c.code.toShort()) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.NumberConversionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/fromChar/shortWithVer1_4.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/fromChar/shortWithVer1_4.kt index ede570ffc881..bc9e74613aef 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/fromChar/shortWithVer1_4.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/fromChar/shortWithVer1_4.kt @@ -4,4 +4,5 @@ fun short(x: Short) {} fun test(c: Char) { short(c) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.NumberConversionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/fromChar/shortWithVer1_4.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/fromChar/shortWithVer1_4.kt.after index 847f5d3f999e..0379a3bb072b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/fromChar/shortWithVer1_4.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/fromChar/shortWithVer1_4.kt.after @@ -4,4 +4,5 @@ fun short(x: Short) {} fun test(c: Char) { short(c.toShort()) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.NumberConversionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toByte/double.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toByte/double.kt index e02cf0113629..5c71f19182a8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toByte/double.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toByte/double.kt @@ -3,4 +3,5 @@ fun byte(x: Byte) {} fun test(d: Double) { byte(d) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.NumberConversionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toByte/double.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toByte/double.kt.after index 8a8bad592604..a2e75c4974b2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toByte/double.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toByte/double.kt.after @@ -3,4 +3,5 @@ fun byte(x: Byte) {} fun test(d: Double) { byte(d.toInt().toByte()) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.NumberConversionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toByte/float.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toByte/float.kt index 1437cb8f4edc..a3ce6b879c4d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toByte/float.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toByte/float.kt @@ -3,4 +3,5 @@ fun byte(x: Byte) {} fun test(f: Float) { byte(f) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.NumberConversionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toByte/float.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toByte/float.kt.after index a13394e7b658..fd91c0580902 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toByte/float.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toByte/float.kt.after @@ -3,4 +3,5 @@ fun byte(x: Byte) {} fun test(f: Float) { byte(f.toInt().toByte()) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.NumberConversionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toByte/floatWithVer1_2.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toByte/floatWithVer1_2.kt index 0fe8d71f5a02..5e78542b6606 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toByte/floatWithVer1_2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toByte/floatWithVer1_2.kt @@ -4,4 +4,5 @@ fun byte(x: Byte) {} fun test(f: Float) { byte(f) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.NumberConversionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toByte/floatWithVer1_2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toByte/floatWithVer1_2.kt.after index f6ed45838b3c..1656a1d77e41 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toByte/floatWithVer1_2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toByte/floatWithVer1_2.kt.after @@ -4,4 +4,5 @@ fun byte(x: Byte) {} fun test(f: Float) { byte(f.toByte()) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.NumberConversionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toByte/long.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toByte/long.kt index a32f4889b853..2f6fd0fe5195 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toByte/long.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toByte/long.kt @@ -3,4 +3,5 @@ fun byte(x: Byte) {} fun test(l: Long) { byte(l) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.NumberConversionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toByte/long.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toByte/long.kt.after index d89c96487dab..69f53fb9bdb9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toByte/long.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toByte/long.kt.after @@ -3,4 +3,5 @@ fun byte(x: Byte) {} fun test(l: Long) { byte(l.toByte()) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.NumberConversionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toChar/byte.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toChar/byte.kt index 764f0760411a..56a2972d9c8b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toChar/byte.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toChar/byte.kt @@ -4,3 +4,5 @@ fun char(x: Char) {} fun test(b: Byte) { char(b) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.NumberConversionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toChar/byte.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toChar/byte.kt.after index 80f1a6c48b07..ae5642600544 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toChar/byte.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toChar/byte.kt.after @@ -4,3 +4,5 @@ fun char(x: Char) {} fun test(b: Byte) { char(b.toInt().toChar()) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.NumberConversionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toChar/double.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toChar/double.kt index c1fe06ab80b7..24bae5ddb46c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toChar/double.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toChar/double.kt @@ -4,3 +4,5 @@ fun char(x: Char) {} fun test(d: Double) { char(d) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.NumberConversionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toChar/double.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toChar/double.kt.after index c6fe3fdff3a4..494bbf03cf2d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toChar/double.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toChar/double.kt.after @@ -4,3 +4,5 @@ fun char(x: Char) {} fun test(d: Double) { char(d.toInt().toChar()) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.NumberConversionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toChar/doubleLiteral.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toChar/doubleLiteral.kt index d39ade51434c..fd9c7c6c2401 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toChar/doubleLiteral.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toChar/doubleLiteral.kt @@ -4,3 +4,5 @@ fun char(x: Char) {} fun test() { char(1.0) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.NumberConversionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toChar/doubleLiteral.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toChar/doubleLiteral.kt.after index 3da510e344f4..eec22cb91287 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toChar/doubleLiteral.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toChar/doubleLiteral.kt.after @@ -4,3 +4,5 @@ fun char(x: Char) {} fun test() { char(1.0.toInt().toChar()) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.NumberConversionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toChar/float.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toChar/float.kt index 8f9cfe76c501..94313e411262 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toChar/float.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toChar/float.kt @@ -4,3 +4,5 @@ fun char(x: Char) {} fun test(f: Float) { char(f) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.NumberConversionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toChar/float.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toChar/float.kt.after index b8434e4dcb74..b1d1ca6c1e48 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toChar/float.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toChar/float.kt.after @@ -4,3 +4,5 @@ fun char(x: Char) {} fun test(f: Float) { char(f.toInt().toChar()) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.NumberConversionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toChar/floatLiteral.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toChar/floatLiteral.kt index 19a528cf07f5..64fc027e3840 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toChar/floatLiteral.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toChar/floatLiteral.kt @@ -4,3 +4,5 @@ fun char(x: Char) {} fun test() { char(1.0f) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.NumberConversionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toChar/floatLiteral.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toChar/floatLiteral.kt.after index f560b5c76e35..618cf85f9cd6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toChar/floatLiteral.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toChar/floatLiteral.kt.after @@ -4,3 +4,5 @@ fun char(x: Char) {} fun test() { char(1.0f.toInt().toChar()) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.NumberConversionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toChar/int.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toChar/int.kt index 099545a497ab..86375be079bc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toChar/int.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toChar/int.kt @@ -4,3 +4,5 @@ fun char(x: Char) {} fun test() { char(1) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.NumberConversionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toChar/int.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toChar/int.kt.after index 567b7bbaa91a..346b20d7c6a2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toChar/int.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toChar/int.kt.after @@ -4,3 +4,5 @@ fun char(x: Char) {} fun test() { char(1.toChar()) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.NumberConversionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toChar/long.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toChar/long.kt index f0dd95989578..42444bf5c124 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toChar/long.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toChar/long.kt @@ -4,3 +4,5 @@ fun char(x: Char) {} fun test(l: Long) { char(l) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.NumberConversionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toChar/long.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toChar/long.kt.after index d7cfdf42ae6e..4cbe550d0208 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toChar/long.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toChar/long.kt.after @@ -4,3 +4,5 @@ fun char(x: Char) {} fun test(l: Long) { char(l.toInt().toChar()) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.NumberConversionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toChar/longLiteral.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toChar/longLiteral.kt index 2811a1074e1f..cecd9c2a5dba 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toChar/longLiteral.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toChar/longLiteral.kt @@ -4,3 +4,5 @@ fun char(x: Char) {} fun test() { char(1L) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.NumberConversionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toChar/longLiteral.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toChar/longLiteral.kt.after index 85334e97cc61..ff1c61d9bd20 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toChar/longLiteral.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toChar/longLiteral.kt.after @@ -4,3 +4,5 @@ fun char(x: Char) {} fun test() { char(1L.toInt().toChar()) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.NumberConversionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toChar/short.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toChar/short.kt index ed7d80848012..19b0d386dfe1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toChar/short.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toChar/short.kt @@ -4,3 +4,5 @@ fun char(x: Char) {} fun test(s: Short) { char(s) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.NumberConversionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toChar/short.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toChar/short.kt.after index 12bd30dab57c..6a212382c500 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toChar/short.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toChar/short.kt.after @@ -4,3 +4,5 @@ fun char(x: Char) {} fun test(s: Short) { char(s.toInt().toChar()) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.NumberConversionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toChar/shortWithVer1_4.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toChar/shortWithVer1_4.kt index a59da7f1bf3c..705dcb1551a3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toChar/shortWithVer1_4.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toChar/shortWithVer1_4.kt @@ -5,3 +5,5 @@ fun char(x: Char) {} fun test(s: Short) { char(s) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.NumberConversionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toChar/shortWithVer1_4.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toChar/shortWithVer1_4.kt.after index 8920c4d49d5a..c2e2ee3e1c69 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toChar/shortWithVer1_4.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toChar/shortWithVer1_4.kt.after @@ -5,3 +5,5 @@ fun char(x: Char) {} fun test(s: Short) { char(s.toChar()) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.NumberConversionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toShort/double.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toShort/double.kt index d3e301daf848..8d823891ae72 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toShort/double.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toShort/double.kt @@ -3,4 +3,5 @@ fun short(x: Short) {} fun test(d: Double) { short(d) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.NumberConversionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toShort/double.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toShort/double.kt.after index d836bc956d14..d2eaf6e294dc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toShort/double.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toShort/double.kt.after @@ -3,4 +3,5 @@ fun short(x: Short) {} fun test(d: Double) { short(d.toInt().toShort()) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.NumberConversionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toShort/float.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toShort/float.kt index 9daa1ebb9522..cff9439729f3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toShort/float.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toShort/float.kt @@ -3,4 +3,5 @@ fun short(x: Short) {} fun test(f: Float) { short(f) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.NumberConversionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toShort/float.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toShort/float.kt.after index 7d771adf5914..827905c21a3a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toShort/float.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toShort/float.kt.after @@ -3,4 +3,5 @@ fun short(x: Short) {} fun test(f: Float) { short(f.toInt().toShort()) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.NumberConversionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toShort/floatWithVer1_2.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toShort/floatWithVer1_2.kt index 968b91c58f9d..88ed5f19a008 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toShort/floatWithVer1_2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toShort/floatWithVer1_2.kt @@ -4,4 +4,5 @@ fun short(x: Short) {} fun test(f: Float) { short(f) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.NumberConversionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toShort/floatWithVer1_2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toShort/floatWithVer1_2.kt.after index 310fa8a35692..8cb2dffd1572 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toShort/floatWithVer1_2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toShort/floatWithVer1_2.kt.after @@ -4,4 +4,5 @@ fun short(x: Short) {} fun test(f: Float) { short(f.toShort()) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.NumberConversionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toShort/long.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toShort/long.kt index 437af072cc36..db1fb9bcd263 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toShort/long.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toShort/long.kt @@ -3,4 +3,5 @@ fun short(x: Short) {} fun test(l: Long) { short(l) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.NumberConversionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toShort/long.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toShort/long.kt.after index 949160ea0591..f2d121accd50 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toShort/long.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toShort/long.kt.after @@ -3,4 +3,5 @@ fun short(x: Short) {} fun test(l: Long) { short(l.toShort()) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.NumberConversionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/paramTypeLambdaMatch.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/paramTypeLambdaMatch.kt index 54d819ff7aeb..b50f0dc5c2eb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/paramTypeLambdaMatch.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/paramTypeLambdaMatch.kt @@ -3,4 +3,5 @@ fun simple() { str("foo") } -fun str(block: () -> String) {} \ No newline at end of file +fun str(block: () -> String) {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SurroundWithLambdaFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/paramTypeLambdaMatch.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/paramTypeLambdaMatch.kt.after index 43ca52324647..548760b1819f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/paramTypeLambdaMatch.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/paramTypeLambdaMatch.kt.after @@ -3,4 +3,5 @@ fun simple() { str({ "foo" }) } -fun str(block: () -> String) {} \ No newline at end of file +fun str(block: () -> String) {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SurroundWithLambdaFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/paramTypeLambdaMatchInt.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/paramTypeLambdaMatchInt.kt index a22a37d4ba03..025edddca4a7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/paramTypeLambdaMatchInt.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/paramTypeLambdaMatchInt.kt @@ -3,4 +3,5 @@ fun int() { i(123) } -fun i(block: () -> Long) {} \ No newline at end of file +fun i(block: () -> Long) {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SurroundWithLambdaFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/paramTypeLambdaMatchInt.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/paramTypeLambdaMatchInt.kt.after index 7afffee02716..812396978fe4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/paramTypeLambdaMatchInt.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/paramTypeLambdaMatchInt.kt.after @@ -3,4 +3,5 @@ fun int() { i({ 123 }) } -fun i(block: () -> Long) {} \ No newline at end of file +fun i(block: () -> Long) {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SurroundWithLambdaFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/paramTypeLambdaMatchNullable.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/paramTypeLambdaMatchNullable.kt index add092341351..f946168ce518 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/paramTypeLambdaMatchNullable.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/paramTypeLambdaMatchNullable.kt @@ -5,4 +5,5 @@ fun nullableFn() { str(nullableStr) } -fun str(block: () -> String) {} \ No newline at end of file +fun str(block: () -> String) {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SurroundWithLambdaFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/paramTypeLambdaMatchNullable.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/paramTypeLambdaMatchNullable.kt.after index 33cf4b031164..9b35e0a40671 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/paramTypeLambdaMatchNullable.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/paramTypeLambdaMatchNullable.kt.after @@ -5,4 +5,5 @@ fun nullableFn() { str({ nullableStr }) } -fun str(block: () -> String) {} \ No newline at end of file +fun str(block: () -> String) {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SurroundWithLambdaFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/paramTypeLambdaMatchSubclass.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/paramTypeLambdaMatchSubclass.kt index 415cf85479fc..7c40f23e7dec 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/paramTypeLambdaMatchSubclass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/paramTypeLambdaMatchSubclass.kt @@ -6,4 +6,5 @@ fun subclass() { fun base(base: () -> Base) {} open class Base {} -class Leaf : Base() \ No newline at end of file +class Leaf : Base() +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SurroundWithLambdaFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/paramTypeLambdaMatchSubclass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/paramTypeLambdaMatchSubclass.kt.after index 5e6bec9367b1..d80ab2f5fb04 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/paramTypeLambdaMatchSubclass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/paramTypeLambdaMatchSubclass.kt.after @@ -6,4 +6,5 @@ fun subclass() { fun base(base: () -> Base) {} open class Base {} -class Leaf : Base() \ No newline at end of file +class Leaf : Base() +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SurroundWithLambdaFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/paramTypeLambdaMatchSuspend.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/paramTypeLambdaMatchSuspend.kt index 649333ef2115..d9097a6bf7f9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/paramTypeLambdaMatchSuspend.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/paramTypeLambdaMatchSuspend.kt @@ -3,4 +3,5 @@ fun foo(action: suspend () -> String) {} fun usage() { foo("oraora") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SurroundWithLambdaFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/paramTypeLambdaMatchSuspend.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/paramTypeLambdaMatchSuspend.kt.after index 3528080b6195..8b2c0f760525 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/paramTypeLambdaMatchSuspend.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/paramTypeLambdaMatchSuspend.kt.after @@ -3,4 +3,5 @@ fun foo(action: suspend () -> String) {} fun usage() { foo({ "oraora" }) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SurroundWithLambdaFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterDefaultValue.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterDefaultValue.kt index 5c03a630e362..cfae1be5993d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterDefaultValue.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterDefaultValue.kt @@ -1,4 +1,5 @@ // "Change parameter 's' type of function 'foo' to 'Int'" "true" val ONE = 1 -fun foo(s: String = ONE + 1) {} \ No newline at end of file +fun foo(s: String = ONE + 1) {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeParameterTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterDefaultValue.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterDefaultValue.kt.after index 9a0d1468da8e..b8ac3f1bebcd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterDefaultValue.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterDefaultValue.kt.after @@ -1,4 +1,5 @@ // "Change parameter 's' type of function 'foo' to 'Int'" "true" val ONE = 1 -fun foo(s: Int = ONE + 1) {} \ No newline at end of file +fun foo(s: Int = ONE + 1) {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeParameterTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/changeFunctionParameterType1.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/changeFunctionParameterType1.kt index a2da6389f8d7..8e047b9e9206 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/changeFunctionParameterType1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/changeFunctionParameterType1.kt @@ -3,3 +3,5 @@ package bar fun foo(w: Int = 0, x: Int, y: Int = 0, z: (Int) -> Int = {42}) { foo(1, { a: String -> 42}, 1) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeParameterTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/changeFunctionParameterType1.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/changeFunctionParameterType1.kt.after index a4f803ad4534..768f6596c43b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/changeFunctionParameterType1.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/changeFunctionParameterType1.kt.after @@ -3,3 +3,5 @@ package bar fun foo(w: Int = 0, x: (String) -> Int, y: Int = 0, z: (Int) -> Int = {42}) { foo(1, { a: String -> 42}, 1) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeParameterTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/changeFunctionParameterType2.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/changeFunctionParameterType2.kt index c5e45b514be2..af2fbaccac90 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/changeFunctionParameterType2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/changeFunctionParameterType2.kt @@ -2,3 +2,5 @@ fun foo(v: Int, w: Int = 0, x: Int = 0, y: Int, z: (Int) -> Int = {42}) { foo(0, 1, y = "") } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeParameterTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/changeFunctionParameterType2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/changeFunctionParameterType2.kt.after index c1b3343642c2..301539da36fe 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/changeFunctionParameterType2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/changeFunctionParameterType2.kt.after @@ -2,3 +2,5 @@ fun foo(v: Int, w: Int = 0, x: Int = 0, y: String, z: (Int) -> Int = {42}) { foo(0, 1, y = "") } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeParameterTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/changeFunctionParameterType3.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/changeFunctionParameterType3.kt index 9d5f48d961d3..b9b3fb0d352a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/changeFunctionParameterType3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/changeFunctionParameterType3.kt @@ -2,3 +2,5 @@ fun foo(w: Int = 0, x: Int, y: Int = 0, z: (Int) -> String) { foo(0, 1) {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeParameterTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/changeFunctionParameterType3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/changeFunctionParameterType3.kt.after index 30b490ba5ed7..c2a09977ab22 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/changeFunctionParameterType3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/changeFunctionParameterType3.kt.after @@ -2,3 +2,5 @@ fun foo(w: Int = 0, x: Int, y: Int = 0, z: (Int) -> Unit) { foo(0, 1) {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeParameterTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/changeFunctionParameterTypeWithComment.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/changeFunctionParameterTypeWithComment.kt index 809791e348ef..9f0b5abd2a85 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/changeFunctionParameterTypeWithComment.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/changeFunctionParameterTypeWithComment.kt @@ -5,4 +5,5 @@ fun test() { foo { 1 // comment } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/changeFunctionParameterTypeWithComment.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/changeFunctionParameterTypeWithComment.kt.after index 004c40fdd244..635a25662071 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/changeFunctionParameterTypeWithComment.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/changeFunctionParameterTypeWithComment.kt.after @@ -5,4 +5,5 @@ fun test() { foo { 1 // comment } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/changeParameterTypeLongNameRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/changeParameterTypeLongNameRuntime.kt index dd47f84e20fc..5d326050c74f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/changeParameterTypeLongNameRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/changeParameterTypeLongNameRuntime.kt @@ -3,3 +3,5 @@ package bar fun foo(w: Int = 0, x: Int, y: Int = 0, z: (Int) -> Int = {42}) { foo(1, { a: java.util.HashSet -> 42}, 1) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeParameterTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/changeParameterTypeLongNameRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/changeParameterTypeLongNameRuntime.kt.after index 786e1295f673..f7f3c9481107 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/changeParameterTypeLongNameRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/changeParameterTypeLongNameRuntime.kt.after @@ -6,3 +6,5 @@ import java.util.HashSet fun foo(w: Int = 0, x: (HashSet) -> Int, y: Int = 0, z: (Int) -> Int = {42}) { foo(1, { a: java.util.HashSet -> 42}, 1) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeParameterTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/changePrimaryConstructorParameterType.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/changePrimaryConstructorParameterType.kt index 7e39c54a4a16..26e1fadc7e52 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/changePrimaryConstructorParameterType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/changePrimaryConstructorParameterType.kt @@ -3,3 +3,5 @@ class B(val a: Int) fun foo() { B(if (true) "" else "") } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeParameterTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/changePrimaryConstructorParameterType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/changePrimaryConstructorParameterType.kt.after index 9acd1ad03899..e4e18420ca2f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/changePrimaryConstructorParameterType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/changePrimaryConstructorParameterType.kt.after @@ -3,3 +3,5 @@ class B(val a: String) fun foo() { B(if (true) "" else "") } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeParameterTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/changePrimaryConstructorParameterTypeOnPropertyDelegate.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/changePrimaryConstructorParameterTypeOnPropertyDelegate.kt index 66e12e6b24d4..c7d468ea4941 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/changePrimaryConstructorParameterTypeOnPropertyDelegate.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/changePrimaryConstructorParameterTypeOnPropertyDelegate.kt @@ -16,4 +16,5 @@ class TestDelegate(val code: () -> LoggerConfig) { } data class LoggerConfig(val name: String) -data class Logger(val loggerConfig: LoggerConfig) \ No newline at end of file +data class Logger(val loggerConfig: LoggerConfig) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/changePrimaryConstructorParameterTypeOnPropertyDelegate.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/changePrimaryConstructorParameterTypeOnPropertyDelegate.kt.after index 7de3b6cd3317..2a431de73dda 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/changePrimaryConstructorParameterTypeOnPropertyDelegate.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/changePrimaryConstructorParameterTypeOnPropertyDelegate.kt.after @@ -16,4 +16,5 @@ class TestDelegate(val code: () -> Logger) { } data class LoggerConfig(val name: String) -data class Logger(val loggerConfig: LoggerConfig) \ No newline at end of file +data class Logger(val loggerConfig: LoggerConfig) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/convertKClassToJavaClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/convertKClassToJavaClass.kt index e8c5736f3e77..25c7f8088de6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/convertKClassToJavaClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/convertKClassToJavaClass.kt @@ -6,3 +6,5 @@ fun main() { } fun acceptClass(cls: Class<*>) = Unit + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertKClassToClassFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/convertKClassToJavaClass.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/convertKClassToJavaClass.kt.after index e271fc481d5a..c402e4b32ad1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/convertKClassToJavaClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/convertKClassToJavaClass.kt.after @@ -6,3 +6,5 @@ fun main() { } fun acceptClass(cls: Class<*>) = Unit + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertKClassToClassFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/convertKClassToJavaClassVariable.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/convertKClassToJavaClassVariable.kt index 666e596493ff..69ad16001215 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/convertKClassToJavaClassVariable.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/convertKClassToJavaClassVariable.kt @@ -7,3 +7,5 @@ fun main() { } fun acceptClass(cls: Class<*>) = Unit + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertKClassToClassFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/convertKClassToJavaClassVariable.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/convertKClassToJavaClassVariable.kt.after index b6f6aacd0536..05dfd368c445 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/convertKClassToJavaClassVariable.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/convertKClassToJavaClassVariable.kt.after @@ -7,3 +7,5 @@ fun main() { } fun acceptClass(cls: Class<*>) = Unit + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertKClassToClassFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/genericType.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/genericType.kt index 452b5f138a60..4b1c45dbe46a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/genericType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/genericType.kt @@ -3,4 +3,5 @@ fun foo(x: X) {} fun bar(x: T) { foo(x) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeParameterTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/genericType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/genericType.kt.after index d79566e35816..7b1f558cb162 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/genericType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/genericType.kt.after @@ -3,4 +3,5 @@ fun foo(x: Any?) {} fun bar(x: T) { foo(x) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeParameterTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/genericType2.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/genericType2.kt index e7af74b47002..c509a8c2089f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/genericType2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/genericType2.kt @@ -3,4 +3,5 @@ fun foo(x: X, y: Y) {} fun bar(x: T) { foo(x, "") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeParameterTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/genericType2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/genericType2.kt.after index b412a284cbf6..774049385f51 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/genericType2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/genericType2.kt.after @@ -3,4 +3,5 @@ fun foo(x: Any?, y: Y) {} fun bar(x: T) { foo(x, "") -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeParameterTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/unsigned.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/unsigned.kt index 4a2548d2a143..9c9f41942c52 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/unsigned.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/unsigned.kt @@ -3,4 +3,5 @@ fun takeUInt(u: UInt) = 0 -val b = takeUInt(1) \ No newline at end of file +val b = takeUInt(1) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeParameterTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/unsigned.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/unsigned.kt.after index ed635ea50cac..e8af8b627b17 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/unsigned.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/parameterTypeMismatch/unsigned.kt.after @@ -3,4 +3,5 @@ fun takeUInt(u: Int) = 0 -val b = takeUInt(1) \ No newline at end of file +val b = takeUInt(1) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeParameterTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/propertyTypeMismatch.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/propertyTypeMismatch.kt index 196e8961768c..46933decfad0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/propertyTypeMismatch.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/propertyTypeMismatch.kt @@ -1,4 +1,5 @@ // "Change type of 'f' to '(Long) -> Unit'" "true" fun foo() { var f: Int = if (true) { x: Long -> } else { x: Long -> } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVariableTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/propertyTypeMismatch.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/propertyTypeMismatch.kt.after index 384b5ccb0103..08a5dcffbe23 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/propertyTypeMismatch.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/propertyTypeMismatch.kt.after @@ -1,4 +1,5 @@ // "Change type of 'f' to '(Long) -> Unit'" "true" fun foo() { var f: (Long) -> Unit = if (true) { x: Long -> } else { x: Long -> } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVariableTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/propertyTypeMismatchLongNameRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/propertyTypeMismatchLongNameRuntime.kt index 0b24b39a6a42..873d33b57ecf 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/propertyTypeMismatchLongNameRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/propertyTypeMismatchLongNameRuntime.kt @@ -3,4 +3,5 @@ fun foo() { var f: Int = { x: kotlin.properties.Delegates -> } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVariableTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/propertyTypeMismatchLongNameRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/propertyTypeMismatchLongNameRuntime.kt.after index f9d9415f5d37..b331faf23223 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/propertyTypeMismatchLongNameRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/propertyTypeMismatchLongNameRuntime.kt.after @@ -5,4 +5,5 @@ import kotlin.properties.Delegates fun foo() { var f: (Delegates) -> Unit = { x: kotlin.properties.Delegates -> } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVariableTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/resolvableTypeParams.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/resolvableTypeParams.kt index 4b9345cafbd9..dbc5b196d608 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/resolvableTypeParams.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/resolvableTypeParams.kt @@ -5,4 +5,5 @@ fun bar(t: T) { } foo(t) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeParameterTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/resolvableTypeParams.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/resolvableTypeParams.kt.after index dd6fdccb1e5e..15697cb177f5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/resolvableTypeParams.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/resolvableTypeParams.kt.after @@ -5,4 +5,5 @@ fun bar(t: T) { } foo(t) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeParameterTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/returnTypeMismatch.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/returnTypeMismatch.kt index 50bf1a76c7a2..0b19fe78ac49 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/returnTypeMismatch.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/returnTypeMismatch.kt @@ -1,4 +1,5 @@ // "Remove explicitly specified return type of enclosing function 'foo'" "true" fun foo(): Int { return -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/returnTypeMismatch.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/returnTypeMismatch.kt.after index 79af798f5352..14033f2c40ba 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/returnTypeMismatch.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/returnTypeMismatch.kt.after @@ -1,4 +1,5 @@ // "Remove explicitly specified return type of enclosing function 'foo'" "true" fun foo() { return -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/roundNumber/roundDoubleToInt.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/roundNumber/roundDoubleToInt.kt index 82102e241d5d..37653c2cfc30 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/roundNumber/roundDoubleToInt.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/roundNumber/roundDoubleToInt.kt @@ -4,4 +4,5 @@ fun test(d: Double) { foo(d) } -fun foo(x: Int) {} \ No newline at end of file +fun foo(x: Int) {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RoundNumberFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/roundNumber/roundDoubleToInt.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/roundNumber/roundDoubleToInt.kt.after index caa7c8f8153b..62cad0f31c71 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/roundNumber/roundDoubleToInt.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/roundNumber/roundDoubleToInt.kt.after @@ -6,4 +6,5 @@ fun test(d: Double) { foo(d.roundToInt()) } -fun foo(x: Int) {} \ No newline at end of file +fun foo(x: Int) {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RoundNumberFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/roundNumber/roundDoubleToLong.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/roundNumber/roundDoubleToLong.kt index f95a702463ad..f5cf76a5381e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/roundNumber/roundDoubleToLong.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/roundNumber/roundDoubleToLong.kt @@ -4,4 +4,5 @@ fun test(d: Double) { bar(d) } -fun bar(x: Long) {} \ No newline at end of file +fun bar(x: Long) {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RoundNumberFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/roundNumber/roundDoubleToLong.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/roundNumber/roundDoubleToLong.kt.after index bd2738af5b1d..983f7d216e33 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/roundNumber/roundDoubleToLong.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/roundNumber/roundDoubleToLong.kt.after @@ -6,4 +6,5 @@ fun test(d: Double) { bar(d.roundToLong()) } -fun bar(x: Long) {} \ No newline at end of file +fun bar(x: Long) {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RoundNumberFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/roundNumber/roundFloatToInt.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/roundNumber/roundFloatToInt.kt index f15b4a200b1c..1337aeb4867f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/roundNumber/roundFloatToInt.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/roundNumber/roundFloatToInt.kt @@ -4,4 +4,5 @@ fun test(f: Float) { foo(f) } -fun foo(x: Int) {} \ No newline at end of file +fun foo(x: Int) {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RoundNumberFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/roundNumber/roundFloatToInt.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/roundNumber/roundFloatToInt.kt.after index d8951c835c89..4b2fa227c803 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/roundNumber/roundFloatToInt.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/roundNumber/roundFloatToInt.kt.after @@ -6,4 +6,5 @@ fun test(f: Float) { foo(f.roundToInt()) } -fun foo(x: Int) {} \ No newline at end of file +fun foo(x: Int) {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RoundNumberFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/roundNumber/roundFloatToLong.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/roundNumber/roundFloatToLong.kt index b74121a1ac8f..fc06c3f856f0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/roundNumber/roundFloatToLong.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/roundNumber/roundFloatToLong.kt @@ -4,4 +4,5 @@ fun test(f: Float) { bar(f) } -fun bar(x: Long) {} \ No newline at end of file +fun bar(x: Long) {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RoundNumberFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/roundNumber/roundFloatToLong.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/roundNumber/roundFloatToLong.kt.after index 708f8acd06d7..78da7f5e346f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/roundNumber/roundFloatToLong.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/roundNumber/roundFloatToLong.kt.after @@ -6,4 +6,5 @@ fun test(f: Float) { bar(f.roundToLong()) } -fun bar(x: Long) {} \ No newline at end of file +fun bar(x: Long) {} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RoundNumberFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/shortToByteTypeMismatch.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/shortToByteTypeMismatch.kt index e8d33f14282e..f75dc8ffab18 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/shortToByteTypeMismatch.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/shortToByteTypeMismatch.kt @@ -2,4 +2,5 @@ fun foo() { val x: Byte = 1000 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVariableTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/shortToByteTypeMismatch.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/shortToByteTypeMismatch.kt.after index d7511b856dd8..517efb3b2893 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/shortToByteTypeMismatch.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/shortToByteTypeMismatch.kt.after @@ -2,4 +2,5 @@ fun foo() { val x: Int = 1000 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVariableTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/assignmentTypeMismatch.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/assignmentTypeMismatch.kt index 3cf58142b576..3463fc720e65 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/assignmentTypeMismatch.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/assignmentTypeMismatch.kt @@ -6,3 +6,5 @@ fun foo() { } } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeFunctionLiteralReturnTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/assignmentTypeMismatch.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/assignmentTypeMismatch.kt.after index 41fcd2a48bf4..02cb5690c183 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/assignmentTypeMismatch.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/assignmentTypeMismatch.kt.after @@ -6,3 +6,5 @@ fun foo() { } } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeFunctionLiteralReturnTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/changeFunctionReturnTypeToFunctionType.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/changeFunctionReturnTypeToFunctionType.kt index b73f70d3c9d9..b79deb8cdb8f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/changeFunctionReturnTypeToFunctionType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/changeFunctionReturnTypeToFunctionType.kt @@ -1,4 +1,6 @@ // "Change return type of enclosing function 'foo' to '(Long) -> Int'" "true" fun foo(x: Any): Int { return {x: Long -> 42} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.ChangeTypeQuickFixFactories$UpdateTypeQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/changeFunctionReturnTypeToFunctionType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/changeFunctionReturnTypeToFunctionType.kt.after index 0eda8154e6ab..25c2ded22d6e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/changeFunctionReturnTypeToFunctionType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/changeFunctionReturnTypeToFunctionType.kt.after @@ -1,4 +1,6 @@ // "Change return type of enclosing function 'foo' to '(Long) -> Int'" "true" fun foo(x: Any): (Long) -> Int { return {x: Long -> 42} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.ChangeTypeQuickFixFactories$UpdateTypeQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/changeFunctionReturnTypeToMatchReturnTypeOfReturnedLiteral.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/changeFunctionReturnTypeToMatchReturnTypeOfReturnedLiteral.kt index b14c4778bc00..4886f0723dbd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/changeFunctionReturnTypeToMatchReturnTypeOfReturnedLiteral.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/changeFunctionReturnTypeToMatchReturnTypeOfReturnedLiteral.kt @@ -1,4 +1,6 @@ // "Change return type of enclosing function 'foo' to '() -> Any'" "true" fun foo(x: Any): () -> Int { return {x} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.ChangeTypeQuickFixFactories$UpdateTypeQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/changeFunctionReturnTypeToMatchReturnTypeOfReturnedLiteral.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/changeFunctionReturnTypeToMatchReturnTypeOfReturnedLiteral.kt.after index d29673e8d24a..5410f6508832 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/changeFunctionReturnTypeToMatchReturnTypeOfReturnedLiteral.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/changeFunctionReturnTypeToMatchReturnTypeOfReturnedLiteral.kt.after @@ -1,4 +1,6 @@ // "Change return type of enclosing function 'foo' to '() -> Any'" "true" fun foo(x: Any): () -> Any { return {x} -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.ChangeTypeQuickFixFactories$UpdateTypeQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/inIf.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/inIf.kt index c06d4c596e3b..3f71663fe9ca 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/inIf.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/inIf.kt @@ -3,3 +3,6 @@ class O class P fun test(b: Boolean): O = if (b) O() else P() + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.ChangeTypeQuickFixFactories$UpdateTypeQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/inIf.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/inIf.kt.after index e5fcc23bb022..1e94c431379a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/inIf.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/inIf.kt.after @@ -3,3 +3,6 @@ class O class P fun test(b: Boolean): Any = if (b) O() else P() + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.ChangeTypeQuickFixFactories$UpdateTypeQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/inWhen.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/inWhen.kt index 8c42bde7bec1..af7ba0c0f370 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/inWhen.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/inWhen.kt @@ -8,3 +8,6 @@ fun test(b: Boolean, p: P?): O { else -> p } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.ChangeTypeQuickFixFactories$UpdateTypeQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/inWhen.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/inWhen.kt.after index 885eeaed6f9b..a8a651403b7c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/inWhen.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/inWhen.kt.after @@ -8,3 +8,6 @@ fun test(b: Boolean, p: P?): Any? { else -> p } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.ChangeTypeQuickFixFactories$UpdateTypeQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/literalPropertyWithGetter.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/literalPropertyWithGetter.kt index 6b1d85afcf66..2d99d8515765 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/literalPropertyWithGetter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/literalPropertyWithGetter.kt @@ -3,3 +3,5 @@ val complex: (Int) -> String get() = { it.toLong() } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/literalPropertyWithGetter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/literalPropertyWithGetter.kt.after index a0aacf3dff0f..4de11f8c014f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/literalPropertyWithGetter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/literalPropertyWithGetter.kt.after @@ -3,3 +3,5 @@ val complex: (Int) -> Long get() = { it.toLong() } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/multiReturn/labeledReturn.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/multiReturn/labeledReturn.kt index 08bcdd0945fc..c4c43bff6e43 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/multiReturn/labeledReturn.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/multiReturn/labeledReturn.kt @@ -8,3 +8,5 @@ fun foo(n: Int): Boolean { } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/multiReturn/labeledReturn.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/multiReturn/labeledReturn.kt.after index b0976ade1882..8b549e833695 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/multiReturn/labeledReturn.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/multiReturn/labeledReturn.kt.after @@ -8,3 +8,5 @@ fun foo(n: Int): Any { } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/multiReturn/returnDifferentType.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/multiReturn/returnDifferentType.kt index 4bec4ae55d5e..9bd5eb963c69 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/multiReturn/returnDifferentType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/multiReturn/returnDifferentType.kt @@ -6,3 +6,5 @@ fun test(x: Int) { /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/multiReturn/returnDifferentType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/multiReturn/returnDifferentType.kt.after index 617694458f46..b3dc127b81ba 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/multiReturn/returnDifferentType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/multiReturn/returnDifferentType.kt.after @@ -6,3 +6,5 @@ fun test(x: Int): Any { /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/multiReturn/returnNull.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/multiReturn/returnNull.kt index 5c9c61a0062c..80c151dd3ae9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/multiReturn/returnNull.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/multiReturn/returnNull.kt @@ -5,3 +5,5 @@ fun test() { } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/multiReturn/returnNull.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/multiReturn/returnNull.kt.after index b408e7752117..528d393459ef 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/multiReturn/returnNull.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/multiReturn/returnNull.kt.after @@ -5,3 +5,5 @@ fun test(): String? { } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/multiReturn/returnNull2.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/multiReturn/returnNull2.kt index a8d9de048629..a3fa6075a32c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/multiReturn/returnNull2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/multiReturn/returnNull2.kt @@ -5,3 +5,5 @@ fun test() { } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/multiReturn/returnNull2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/multiReturn/returnNull2.kt.after index 23ff12f1ed89..963a9ab832cd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/multiReturn/returnNull2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/multiReturn/returnNull2.kt.after @@ -5,3 +5,5 @@ fun test(): String? { } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/multiReturn/returnNullable.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/multiReturn/returnNullable.kt index 0e0ebacd4cf3..696e857f96b7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/multiReturn/returnNullable.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/multiReturn/returnNullable.kt @@ -5,3 +5,5 @@ fun test(x: String?) { } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/multiReturn/returnNullable.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/multiReturn/returnNullable.kt.after index 05b6d0b85f29..3368c9fb9a41 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/multiReturn/returnNullable.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/multiReturn/returnNullable.kt.after @@ -5,3 +5,5 @@ fun test(x: String?): String? { } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/multiReturn/returnSuperType.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/multiReturn/returnSuperType.kt index 29e0c374c39c..06b66d574c72 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/multiReturn/returnSuperType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/multiReturn/returnSuperType.kt @@ -5,3 +5,5 @@ fun test(x: CharSequence) { } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/multiReturn/returnSuperType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/multiReturn/returnSuperType.kt.after index 1a35d2503937..28ce596988cb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/multiReturn/returnSuperType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/multiReturn/returnSuperType.kt.after @@ -5,3 +5,5 @@ fun test(x: CharSequence): CharSequence { } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/multiReturn/unrelatedLabeledReturn.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/multiReturn/unrelatedLabeledReturn.kt index 7bcd174b0837..1218ed6fa316 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/multiReturn/unrelatedLabeledReturn.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/multiReturn/unrelatedLabeledReturn.kt @@ -9,3 +9,5 @@ fun bar(n: Int): Boolean { } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/multiReturn/unrelatedLabeledReturn.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/multiReturn/unrelatedLabeledReturn.kt.after index 1591c65e4218..5ccd0a1cdd53 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/multiReturn/unrelatedLabeledReturn.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/multiReturn/unrelatedLabeledReturn.kt.after @@ -9,3 +9,5 @@ fun bar(n: Int): String? { } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/nestedWhenExpression.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/nestedWhenExpression.kt index 453e95940aa8..e7a2367fc9ad 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/nestedWhenExpression.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/nestedWhenExpression.kt @@ -9,3 +9,6 @@ fun test(b: Boolean): O = true -> O(); else -> P() } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.ChangeTypeQuickFixFactories$UpdateTypeQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/nestedWhenExpression.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/nestedWhenExpression.kt.after index 6ef279f2d56b..f5d308fe5bb8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/nestedWhenExpression.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/nestedWhenExpression.kt.after @@ -9,3 +9,6 @@ fun test(b: Boolean): Any = true -> O(); else -> P() } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.ChangeTypeQuickFixFactories$UpdateTypeQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/nonLocalReturnRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/nonLocalReturnRuntime.kt index d5782ae5d698..c9342795cd00 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/nonLocalReturnRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/nonLocalReturnRuntime.kt @@ -4,4 +4,6 @@ fun foo(n: Int): Boolean { n.let { return 1 } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.ChangeTypeQuickFixFactories$UpdateTypeQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/nonLocalReturnRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/nonLocalReturnRuntime.kt.after index 655f0e8033b7..0d646c0d0f12 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/nonLocalReturnRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/nonLocalReturnRuntime.kt.after @@ -4,4 +4,6 @@ fun foo(n: Int): Int { n.let { return 1 } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.ChangeTypeQuickFixFactories$UpdateTypeQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/nonLocalReturnWithLabelRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/nonLocalReturnWithLabelRuntime.kt index 6060a337a323..eb520e288ad4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/nonLocalReturnWithLabelRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/nonLocalReturnWithLabelRuntime.kt @@ -4,4 +4,6 @@ fun foo(n: Int): Boolean { n.let { return@foo 1 } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.ChangeTypeQuickFixFactories$UpdateTypeQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/nonLocalReturnWithLabelRuntime.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/nonLocalReturnWithLabelRuntime.kt.after index 9554edd6ba25..b1fc13d6faf2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/nonLocalReturnWithLabelRuntime.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/nonLocalReturnWithLabelRuntime.kt.after @@ -4,4 +4,6 @@ fun foo(n: Int): Int { n.let { return@foo 1 } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.ChangeTypeQuickFixFactories$UpdateTypeQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/propertyGetterInitializerTypeMismatch.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/propertyGetterInitializerTypeMismatch.kt index eb5f012c394b..78e22a99294b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/propertyGetterInitializerTypeMismatch.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/propertyGetterInitializerTypeMismatch.kt @@ -5,3 +5,5 @@ class A { set(i: Int) {} } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVariableTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/propertyGetterInitializerTypeMismatch.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/propertyGetterInitializerTypeMismatch.kt.after index 1543f6e42f3c..f207d82c049d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/propertyGetterInitializerTypeMismatch.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/propertyGetterInitializerTypeMismatch.kt.after @@ -5,3 +5,5 @@ class A { set(i: () -> Int) {} } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVariableTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/propertyGetterWithIf.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/propertyGetterWithIf.kt index db7b9d027bde..9316e9d29c9e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/propertyGetterWithIf.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/propertyGetterWithIf.kt @@ -5,3 +5,5 @@ class P val foo: O get() = if (true) O() else P() /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVariableTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/propertyGetterWithIf.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/propertyGetterWithIf.kt.after index fe7fce9ac22d..b06926e77a1f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/propertyGetterWithIf.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/propertyGetterWithIf.kt.after @@ -5,3 +5,5 @@ class P val foo: Any get() = if (true) O() else P() /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVariableTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/propertyGetterWithIf2.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/propertyGetterWithIf2.kt index aaa880455863..badb3a4f086c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/propertyGetterWithIf2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/propertyGetterWithIf2.kt @@ -8,3 +8,5 @@ val foo: O } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVariableTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/propertyGetterWithIf2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/propertyGetterWithIf2.kt.after index ffa3db3fb8b0..940ad80d01d7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/propertyGetterWithIf2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/propertyGetterWithIf2.kt.after @@ -8,3 +8,5 @@ val foo: Any } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVariableTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/propertyGetterWithIf3.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/propertyGetterWithIf3.kt index 52afd864ba02..f7d60118586e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/propertyGetterWithIf3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/propertyGetterWithIf3.kt @@ -9,3 +9,5 @@ val foo: O /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVariableTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/propertyGetterWithIf3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/propertyGetterWithIf3.kt.after index 92839a39bffa..ba2fe7b47650 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/propertyGetterWithIf3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/propertyGetterWithIf3.kt.after @@ -9,3 +9,5 @@ val foo: Any /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVariableTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/propertyInitializerWithIf.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/propertyInitializerWithIf.kt index efcbaf28f41a..564de6e66fba 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/propertyInitializerWithIf.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/propertyInitializerWithIf.kt @@ -5,3 +5,5 @@ class P val foo: O = if (true) O() else P() /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVariableTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/propertyInitializerWithIf.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/propertyInitializerWithIf.kt.after index 737c517e1e05..82f3a82accae 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/propertyInitializerWithIf.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/propertyInitializerWithIf.kt.after @@ -5,3 +5,5 @@ class P val foo: Any = if (true) O() else P() /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVariableTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/propertyInitializerWithWhen.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/propertyInitializerWithWhen.kt index def4c31a8921..7affba07bc2a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/propertyInitializerWithWhen.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/propertyInitializerWithWhen.kt @@ -8,3 +8,5 @@ val foo: O = when { } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVariableTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/propertyInitializerWithWhen.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/propertyInitializerWithWhen.kt.after index 9126e3fe4d65..924942feb961 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/propertyInitializerWithWhen.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/propertyInitializerWithWhen.kt.after @@ -8,3 +8,5 @@ val foo: Any = when { } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVariableTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/returnedExpressionTypeMismatchFunctionParameterType.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/returnedExpressionTypeMismatchFunctionParameterType.kt index 7e2ebb18c784..b7752ed9f1ad 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/returnedExpressionTypeMismatchFunctionParameterType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/returnedExpressionTypeMismatchFunctionParameterType.kt @@ -5,3 +5,5 @@ fun foo(f: () -> Int) { } } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/returnedExpressionTypeMismatchFunctionParameterType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/returnedExpressionTypeMismatchFunctionParameterType.kt.after index 5797a8355c07..623b44e1fcb8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/returnedExpressionTypeMismatchFunctionParameterType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/returnedExpressionTypeMismatchFunctionParameterType.kt.after @@ -5,3 +5,5 @@ fun foo(f: () -> String) { } } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/twoDimensionalArray2.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/twoDimensionalArray2.kt index 617f23fde509..b9d46a80cb98 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/twoDimensionalArray2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/twoDimensionalArray2.kt @@ -3,4 +3,5 @@ val a: Array = arrayOf(1) val b: Array = arrayOf(a) -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVariableTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/twoDimensionalArray2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/twoDimensionalArray2.kt.after index 991cdee2d539..aadb7d32dd21 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/twoDimensionalArray2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/twoDimensionalArray2.kt.after @@ -3,4 +3,5 @@ val a: Array = arrayOf(1) val b: Array> = arrayOf(a) -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVariableTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/twoDimensionalArray3.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/twoDimensionalArray3.kt index febc38ceb0b8..1cdb2c0608c3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/twoDimensionalArray3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/twoDimensionalArray3.kt @@ -4,3 +4,6 @@ val a: Array = arrayOf(1) fun b(): Array { return arrayOf(a) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.ChangeTypeQuickFixFactories$UpdateTypeQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/twoDimensionalArray3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/twoDimensionalArray3.kt.after index 31cf7553bf40..c3f4eeb3e850 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/twoDimensionalArray3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/twoDimensionalArray3.kt.after @@ -4,3 +4,6 @@ val a: Array = arrayOf(1) fun b(): Array> { return arrayOf(a) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.ChangeTypeQuickFixFactories$UpdateTypeQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/twoDimensionalList2.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/twoDimensionalList2.kt index 3a10d6139240..a5705a620287 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/twoDimensionalList2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/twoDimensionalList2.kt @@ -3,4 +3,5 @@ val a: List = listOf(1) val b: List = listOf(a) -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVariableTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/twoDimensionalList2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/twoDimensionalList2.kt.after index 9097c7718549..2a796a7c0d9a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/twoDimensionalList2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/twoDimensionalList2.kt.after @@ -3,4 +3,5 @@ val a: List = listOf(1) val b: List> = listOf(a) -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVariableTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/typeMismatchInIfStatementReturnedByFunction.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/typeMismatchInIfStatementReturnedByFunction.kt index 6e07f3898182..80002785baf6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/typeMismatchInIfStatementReturnedByFunction.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/typeMismatchInIfStatementReturnedByFunction.kt @@ -4,4 +4,6 @@ fun boo(): Int { val a = "" a } else "")) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.ChangeTypeQuickFixFactories$UpdateTypeQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/typeMismatchInIfStatementReturnedByFunction.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/typeMismatchInIfStatementReturnedByFunction.kt.after index 01d5be9c8cc3..b2adf9ab8676 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/typeMismatchInIfStatementReturnedByFunction.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/typeMismatchInIfStatementReturnedByFunction.kt.after @@ -4,4 +4,6 @@ fun boo(): String { val a = "" a } else "")) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.ChangeTypeQuickFixFactories$UpdateTypeQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/typeMismatchInIfStatementReturnedByLiteral.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/typeMismatchInIfStatementReturnedByLiteral.kt index 6142902545ce..36eded49850a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/typeMismatchInIfStatementReturnedByLiteral.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/typeMismatchInIfStatementReturnedByLiteral.kt @@ -11,3 +11,5 @@ fun foo() { } } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/typeMismatchInIfStatementReturnedByLiteral.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/typeMismatchInIfStatementReturnedByLiteral.kt.after index b10759b6fbc8..849fc1bf0d17 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/typeMismatchInIfStatementReturnedByLiteral.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/typeMismatchInIfStatementReturnedByLiteral.kt.after @@ -11,3 +11,5 @@ fun foo() { } } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/typeMismatchInInitializer.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/typeMismatchInInitializer.kt index d58e7b3f7571..0f8a7a854586 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/typeMismatchInInitializer.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/typeMismatchInInitializer.kt @@ -1,2 +1,4 @@ // "Change return type of enclosing function 'foo' to 'String'" "true" -fun foo(): Int = "" \ No newline at end of file +fun foo(): Int = "" +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.ChangeTypeQuickFixFactories$UpdateTypeQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/typeMismatchInInitializer.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/typeMismatchInInitializer.kt.after index 4e7f2501e0e5..0ce2151a9afe 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/typeMismatchInInitializer.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/typeMismatchInInitializer.kt.after @@ -1,2 +1,4 @@ // "Change return type of enclosing function 'foo' to 'String'" "true" -fun foo(): String = "" \ No newline at end of file +fun foo(): String = "" +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.ChangeTypeQuickFixFactories$UpdateTypeQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/typeMismatchInReturnStatement.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/typeMismatchInReturnStatement.kt index a8e124b664ed..8f6efd4eae3f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/typeMismatchInReturnStatement.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/typeMismatchInReturnStatement.kt @@ -1,4 +1,6 @@ // "Change return type of enclosing function 'foo' to 'String'" "true" fun foo() { return "" -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.ChangeTypeQuickFixFactories$UpdateTypeQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/typeMismatchInReturnStatement.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/typeMismatchInReturnStatement.kt.after index 88a67551b381..ecfd2c6c3a28 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/typeMismatchInReturnStatement.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/typeMismatchInReturnStatement.kt.after @@ -1,4 +1,6 @@ // "Change return type of enclosing function 'foo' to 'String'" "true" fun foo(): String { return "" -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.ChangeTypeQuickFixFactories$UpdateTypeQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/unresolvableTypeParams.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/unresolvableTypeParams.kt index c324ccac8cc6..97290cb58289 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/unresolvableTypeParams.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/unresolvableTypeParams.kt @@ -5,4 +5,5 @@ fun foo(n: Int) { fun bar(t: T) { foo(t) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeParameterTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/unresolvableTypeParams.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/unresolvableTypeParams.kt.after index d96fbb7e64e8..b1b766351907 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/unresolvableTypeParams.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/unresolvableTypeParams.kt.after @@ -5,4 +5,5 @@ fun foo(n: Any?) { fun bar(t: T) { foo(t) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeParameterTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/variableInitializedWithNull.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/variableInitializedWithNull.kt index 14e204e747e5..d5fa278774b6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/variableInitializedWithNull.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/variableInitializedWithNull.kt @@ -4,4 +4,5 @@ fun foo(condition: Boolean) { if (condition) { x = "abc" } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVariableTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/variableInitializedWithNull.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/variableInitializedWithNull.kt.after index 9a3c8499cda1..689392c7ef2d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/variableInitializedWithNull.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/variableInitializedWithNull.kt.after @@ -4,4 +4,5 @@ fun foo(condition: Boolean) { if (condition) { x = "abc" } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVariableTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/variableInitializedWithNullProperty.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/variableInitializedWithNullProperty.kt index ddb3784df28b..be6cfc23266c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/variableInitializedWithNullProperty.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/variableInitializedWithNullProperty.kt @@ -7,4 +7,5 @@ class Foo { x = "abc" } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVariableTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/variableInitializedWithNullProperty.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/variableInitializedWithNullProperty.kt.after index 9ea86920b15b..0d88e8a4c3cc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/variableInitializedWithNullProperty.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/variableInitializedWithNullProperty.kt.after @@ -7,4 +7,5 @@ class Foo { x = "abc" } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVariableTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/when.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/when.kt index 6b58ca42f2e9..69c34d0a30b6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/when.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/when.kt @@ -4,4 +4,5 @@ fun test(i: Int) { 0 -> "" else -> "" } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/when.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/when.kt.after index 2be4539163fe..c346b08c5145 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/when.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/when.kt.after @@ -4,4 +4,5 @@ fun test(i: Int): String { 0 -> "" else -> "" } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/when2.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/when2.kt index e27697525eb1..96cc1733621b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/when2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/when2.kt @@ -8,4 +8,5 @@ fun test(i: Int) { "" } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/when2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/when2.kt.after index 04905802f65b..029e5fdfcd09 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/when2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/when2.kt.after @@ -8,4 +8,5 @@ fun test(i: Int): String { "" } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeCallableReturnTypeFix$ForEnclosing \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/when3.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/when3.kt index 97b2262c323a..953afd5be61e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/when3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/when3.kt @@ -4,4 +4,5 @@ fun test(i: Int) { 0 -> "" else -> "" } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVariableTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/when3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/when3.kt.after index 0a97b2708cbf..5867281b96ce 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/when3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/when3.kt.after @@ -4,4 +4,5 @@ fun test(i: Int) { 0 -> "" else -> "" } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVariableTypeFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithArrayLiteral.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithArrayLiteral.kt index 22574329648b..45c9b7e49c9f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithArrayLiteral.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithArrayLiteral.kt @@ -3,4 +3,5 @@ annotation class Foo(val value: Array) @Foo(value = "abc") -class Bar \ No newline at end of file +class Bar +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithArrayLiteralFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithArrayLiteral.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithArrayLiteral.kt.after index 23032b8c1f3c..6cfe279eaaf3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithArrayLiteral.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithArrayLiteral.kt.after @@ -3,4 +3,5 @@ annotation class Foo(val value: Array) @Foo(value = ["abc"]) -class Bar \ No newline at end of file +class Bar +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithArrayLiteralFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/nullToListOfNullable.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/nullToListOfNullable.kt index 8850d2595cf2..55d555172275 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/nullToListOfNullable.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/nullToListOfNullable.kt @@ -6,3 +6,5 @@ fun foo() { } fun bar(a: List) {} + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithCollectionLiteralCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/nullToListOfNullable.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/nullToListOfNullable.kt.after index 218d868cf2f2..c94890d90499 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/nullToListOfNullable.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/nullToListOfNullable.kt.after @@ -6,3 +6,5 @@ fun foo() { } fun bar(a: List) {} + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithCollectionLiteralCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/returnEmptyArray.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/returnEmptyArray.kt index 5eb63bae9f31..552bf2f66b99 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/returnEmptyArray.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/returnEmptyArray.kt @@ -5,3 +5,5 @@ fun foo(a: String?): Array { val w = a ?: return null return arrayOf(w) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithCollectionLiteralCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/returnEmptyArray.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/returnEmptyArray.kt.after index cee86e6ac6d1..daafa3031020 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/returnEmptyArray.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/returnEmptyArray.kt.after @@ -5,3 +5,5 @@ fun foo(a: String?): Array { val w = a ?: return emptyArray() return arrayOf(w) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithCollectionLiteralCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/returnEmptyCollection.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/returnEmptyCollection.kt index 30d7c913f6d7..aa30b6dc408a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/returnEmptyCollection.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/returnEmptyCollection.kt @@ -5,3 +5,5 @@ fun foo(a: String?): Collection { val w = a ?: return null return listOf(w) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithCollectionLiteralCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/returnEmptyCollection.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/returnEmptyCollection.kt.after index c9b67f746bc0..1ba8caa00ce8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/returnEmptyCollection.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/returnEmptyCollection.kt.after @@ -5,3 +5,5 @@ fun foo(a: String?): Collection { val w = a ?: return emptyList() return listOf(w) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithCollectionLiteralCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/returnEmptyList.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/returnEmptyList.kt index e179f17b6d46..0d3d8c483d64 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/returnEmptyList.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/returnEmptyList.kt @@ -5,3 +5,5 @@ fun foo(a: String?): List { val w = a ?: return null return listOf(w) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithCollectionLiteralCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/returnEmptyList.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/returnEmptyList.kt.after index 46374e5b8d7e..41ed4fefd21c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/returnEmptyList.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/returnEmptyList.kt.after @@ -5,3 +5,5 @@ fun foo(a: String?): List { val w = a ?: return emptyList() return listOf(w) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithCollectionLiteralCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/returnEmptySequence.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/returnEmptySequence.kt index f1731d598db3..fcf9b9d45537 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/returnEmptySequence.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/returnEmptySequence.kt @@ -5,3 +5,5 @@ fun foo(a: String?): Sequence { val w = a ?: return null return sequenceOf(w) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithCollectionLiteralCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/returnEmptySequence.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/returnEmptySequence.kt.after index 74f9b69cc9e1..7500b33bdea7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/returnEmptySequence.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/returnEmptySequence.kt.after @@ -5,3 +5,5 @@ fun foo(a: String?): Sequence { val w = a ?: return emptySequence() return sequenceOf(w) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithCollectionLiteralCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/returnEmptySet.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/returnEmptySet.kt index 26229f64f0a9..eb7d20cbee39 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/returnEmptySet.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/returnEmptySet.kt @@ -5,3 +5,5 @@ fun foo(a: String?): Set { val w = a ?: return null return setOf(w) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithCollectionLiteralCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/returnEmptySet.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/returnEmptySet.kt.after index 049420b8d9ef..c968d97cba8b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/returnEmptySet.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/returnEmptySet.kt.after @@ -5,3 +5,5 @@ fun foo(a: String?): Set { val w = a ?: return emptySet() return setOf(w) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithCollectionLiteralCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/toArray.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/toArray.kt index a9d00e30c8bb..c7d3ece1f31b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/toArray.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/toArray.kt @@ -6,3 +6,5 @@ fun foo(a: String) { } fun bar(a: Array) {} + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithCollectionLiteralCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/toArray.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/toArray.kt.after index 412c6ce5c260..d14002f60626 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/toArray.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/toArray.kt.after @@ -6,3 +6,5 @@ fun foo(a: String) { } fun bar(a: Array) {} + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithCollectionLiteralCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/toCollection.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/toCollection.kt index 81e29bc6b350..b3d230feba00 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/toCollection.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/toCollection.kt @@ -6,3 +6,5 @@ fun foo(a: String) { } fun bar(a: Collection) {} + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithCollectionLiteralCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/toCollection.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/toCollection.kt.after index 3ef284898897..78aed774d938 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/toCollection.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/toCollection.kt.after @@ -6,3 +6,5 @@ fun foo(a: String) { } fun bar(a: Collection) {} + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithCollectionLiteralCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/toList.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/toList.kt index 2f717aba3ab2..561a12a4600e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/toList.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/toList.kt @@ -6,3 +6,5 @@ fun foo(a: String) { } fun bar(a: List) {} + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithCollectionLiteralCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/toList.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/toList.kt.after index c14692841a55..e8279d9215e4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/toList.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/toList.kt.after @@ -6,3 +6,5 @@ fun foo(a: String) { } fun bar(a: List) {} + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithCollectionLiteralCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/toSequence.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/toSequence.kt index ab9d0d7726cd..05dda865ca34 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/toSequence.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/toSequence.kt @@ -6,3 +6,5 @@ fun foo(a: String) { } fun bar(a: Sequence) {} + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithCollectionLiteralCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/toSequence.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/toSequence.kt.after index f76ab978f78f..5389afa4e1b2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/toSequence.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/toSequence.kt.after @@ -6,3 +6,5 @@ fun foo(a: String) { } fun bar(a: Sequence) {} + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithCollectionLiteralCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/toSet.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/toSet.kt index 239718a1b703..c5ed4030d759 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/toSet.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/toSet.kt @@ -6,3 +6,5 @@ fun foo(a: String) { } fun bar(a: Set) {} + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithCollectionLiteralCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/toSet.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/toSet.kt.after index 8f4989fcc999..60948748fabe 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/toSet.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/toSet.kt.after @@ -6,3 +6,5 @@ fun foo(a: String) { } fun bar(a: Set) {} + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithCollectionLiteralCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/floatToDoubleWithDecimal.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/floatToDoubleWithDecimal.kt index 262d5f383a0a..a28fa6f655ac 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/floatToDoubleWithDecimal.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/floatToDoubleWithDecimal.kt @@ -1,2 +1,3 @@ // "Change to '1.2'" "true" -val a : Double = 1.2F \ No newline at end of file +val a : Double = 1.2F +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrongPrimitiveLiteralFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/floatToDoubleWithDecimal.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/floatToDoubleWithDecimal.kt.after index a68ef2b52876..77585f7e4aeb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/floatToDoubleWithDecimal.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/floatToDoubleWithDecimal.kt.after @@ -1,2 +1,3 @@ // "Change to '1.2'" "true" -val a : Double = 1.2 \ No newline at end of file +val a : Double = 1.2 +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrongPrimitiveLiteralFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/floatToInt.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/floatToInt.kt index fcc7785c4ed4..9914cf524b5c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/floatToInt.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/floatToInt.kt @@ -4,4 +4,5 @@ // ACTION: Convert property initializer to getter // ACTION: Convert to lazy property -val a : Int = 1.0F \ No newline at end of file +val a : Int = 1.0F +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrongPrimitiveLiteralFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/floatToInt.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/floatToInt.kt.after index 03fbc588ce6e..e825ab92758d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/floatToInt.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/floatToInt.kt.after @@ -4,4 +4,5 @@ // ACTION: Convert property initializer to getter // ACTION: Convert to lazy property -val a : Int = 1 \ No newline at end of file +val a : Int = 1 +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrongPrimitiveLiteralFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/floatToInt2.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/floatToInt2.kt index feaf4e1f6791..b2efab5d4c4d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/floatToInt2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/floatToInt2.kt @@ -1,2 +1,3 @@ // "Change to '1'" "true" -val a : Int = 1F \ No newline at end of file +val a : Int = 1F +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrongPrimitiveLiteralFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/floatToInt2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/floatToInt2.kt.after index 06d819d33a72..922f8c04a18c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/floatToInt2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/floatToInt2.kt.after @@ -1,2 +1,3 @@ // "Change to '1'" "true" -val a : Int = 1 \ No newline at end of file +val a : Int = 1 +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrongPrimitiveLiteralFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/floatToLong.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/floatToLong.kt index c92330d13aaa..be524e4f9f2f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/floatToLong.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/floatToLong.kt @@ -1,3 +1,4 @@ // "Change to '1L'" "true" val a = foo(1.0) -fun foo(l: Long) = l \ No newline at end of file +fun foo(l: Long) = l +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrongPrimitiveLiteralFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/floatToLong.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/floatToLong.kt.after index ad7ab42f5643..200d023bc7e7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/floatToLong.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/floatToLong.kt.after @@ -1,3 +1,4 @@ // "Change to '1L'" "true" val a = foo(1L) -fun foo(l: Long) = l \ No newline at end of file +fun foo(l: Long) = l +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrongPrimitiveLiteralFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/hexToFloat.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/hexToFloat.kt index 5b8a8217635d..23e475d5eb53 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/hexToFloat.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/hexToFloat.kt @@ -1,3 +1,4 @@ // "Change to '15F'" "true" -val a : Float = 0xF \ No newline at end of file +val a : Float = 0xF +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrongPrimitiveLiteralFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/hexToFloat.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/hexToFloat.kt.after index ee4ed71c180f..afb16a4fb1b3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/hexToFloat.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/hexToFloat.kt.after @@ -1,3 +1,4 @@ // "Change to '15F'" "true" -val a : Float = 15F \ No newline at end of file +val a : Float = 15F +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrongPrimitiveLiteralFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/intToFloat.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/intToFloat.kt index e244c83ce3b2..ea8764e69bf9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/intToFloat.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/intToFloat.kt @@ -1,2 +1,3 @@ // "Change to '1F'" "true" -val a : Float = 1 \ No newline at end of file +val a : Float = 1 +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrongPrimitiveLiteralFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/intToFloat.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/intToFloat.kt.after index 88c2d92d8e76..415b90a4ef7f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/intToFloat.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/intToFloat.kt.after @@ -1,2 +1,3 @@ // "Change to '1F'" "true" -val a : Float = 1F \ No newline at end of file +val a : Float = 1F +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrongPrimitiveLiteralFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/intToUnsigned.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/intToUnsigned.kt index da7a5e06b235..2d58fdb81152 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/intToUnsigned.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/intToUnsigned.kt @@ -4,4 +4,5 @@ fun foo(param: UInt) {} fun test() { foo(1) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrongPrimitiveLiteralFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/intToUnsigned.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/intToUnsigned.kt.after index cf6e28e67e7f..e5127eb781c2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/intToUnsigned.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/intToUnsigned.kt.after @@ -4,4 +4,5 @@ fun foo(param: UInt) {} fun test() { foo(1u) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrongPrimitiveLiteralFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/longToDouble.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/longToDouble.kt index f6baac9789ae..dc2b55d77fc0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/longToDouble.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/longToDouble.kt @@ -1,2 +1,3 @@ // "Change to '1.0'" "true" -val a : Double = 1L \ No newline at end of file +val a : Double = 1L +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrongPrimitiveLiteralFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/longToDouble.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/longToDouble.kt.after index ef70501f3c29..7c0000bb740f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/longToDouble.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/longToDouble.kt.after @@ -1,2 +1,3 @@ // "Change to '1.0'" "true" -val a : Double = 1.0 \ No newline at end of file +val a : Double = 1.0 +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrongPrimitiveLiteralFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/longToInt.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/longToInt.kt index fc40e1907b01..e54922198aa0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/longToInt.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/longToInt.kt @@ -1,2 +1,3 @@ // "Change to '1'" "true" -val a : Int = 1L \ No newline at end of file +val a : Int = 1L +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrongPrimitiveLiteralFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/longToInt.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/longToInt.kt.after index 06d819d33a72..922f8c04a18c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/longToInt.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/longToInt.kt.after @@ -1,2 +1,3 @@ // "Change to '1'" "true" -val a : Int = 1 \ No newline at end of file +val a : Int = 1 +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrongPrimitiveLiteralFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/longToIntBinary.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/longToIntBinary.kt index f712dafcab81..d5d725ebaa4e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/longToIntBinary.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/longToIntBinary.kt @@ -1,2 +1,3 @@ // "Change to '0b10'" "true" -val a : Int = 0b10L \ No newline at end of file +val a : Int = 0b10L +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrongPrimitiveLiteralFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/longToIntBinary.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/longToIntBinary.kt.after index 19897701429c..39293697b6a9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/longToIntBinary.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/longToIntBinary.kt.after @@ -1,2 +1,3 @@ // "Change to '0b10'" "true" -val a : Int = 0b10 \ No newline at end of file +val a : Int = 0b10 +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrongPrimitiveLiteralFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/unsignedToInt.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/unsignedToInt.kt index 1b954cabf95b..e2123a191de8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/unsignedToInt.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/unsignedToInt.kt @@ -4,4 +4,5 @@ fun foo(param: Int) {} fun test() { foo(1u) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrongPrimitiveLiteralFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/unsignedToInt.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/unsignedToInt.kt.after index 5b50a330c1e8..1c948bcbe695 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/unsignedToInt.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/unsignedToInt.kt.after @@ -4,4 +4,5 @@ fun foo(param: Int) {} fun test() { foo(1) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrongPrimitiveLiteralFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeOfAnnotationMember/boolean.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeOfAnnotationMember/boolean.kt index 003396f26348..325b6a138a35 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeOfAnnotationMember/boolean.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeOfAnnotationMember/boolean.kt @@ -2,4 +2,5 @@ annotation class SuperAnnotation( val boo: Array, val str: Array -) \ No newline at end of file +) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.TypeOfAnnotationMemberFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeOfAnnotationMember/boolean.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeOfAnnotationMember/boolean.kt.after index e09cc10ce8ef..353afbe07930 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeOfAnnotationMember/boolean.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeOfAnnotationMember/boolean.kt.after @@ -2,4 +2,5 @@ annotation class SuperAnnotation( val boo: BooleanArray, val str: Array -) \ No newline at end of file +) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.TypeOfAnnotationMemberFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeOfAnnotationMember/byte.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeOfAnnotationMember/byte.kt index 8653266abda0..4b43a1c801e7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeOfAnnotationMember/byte.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeOfAnnotationMember/byte.kt @@ -2,4 +2,5 @@ annotation class SuperAnnotation( val b: Array, val str: Array -) \ No newline at end of file +) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.TypeOfAnnotationMemberFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeOfAnnotationMember/byte.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeOfAnnotationMember/byte.kt.after index 8bf91128dc28..38c4e91f79e6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeOfAnnotationMember/byte.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeOfAnnotationMember/byte.kt.after @@ -2,4 +2,5 @@ annotation class SuperAnnotation( val b: ByteArray, val str: Array -) \ No newline at end of file +) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.TypeOfAnnotationMemberFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeOfAnnotationMember/char.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeOfAnnotationMember/char.kt index 900bc8016274..c23c254324de 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeOfAnnotationMember/char.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeOfAnnotationMember/char.kt @@ -2,4 +2,5 @@ annotation class SuperAnnotation( val c: Array, val str: Array -) \ No newline at end of file +) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.TypeOfAnnotationMemberFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeOfAnnotationMember/char.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeOfAnnotationMember/char.kt.after index 62046b48faee..47381c7aa584 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeOfAnnotationMember/char.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeOfAnnotationMember/char.kt.after @@ -2,4 +2,5 @@ annotation class SuperAnnotation( val c: CharArray, val str: Array -) \ No newline at end of file +) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.TypeOfAnnotationMemberFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeOfAnnotationMember/float.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeOfAnnotationMember/float.kt index 108870753a39..e4d70028e9ef 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeOfAnnotationMember/float.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeOfAnnotationMember/float.kt @@ -2,4 +2,5 @@ annotation class SuperAnnotation( val f: Array, val str: Array -) \ No newline at end of file +) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.TypeOfAnnotationMemberFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeOfAnnotationMember/float.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeOfAnnotationMember/float.kt.after index 97191010e260..d909ae0debd5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeOfAnnotationMember/float.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeOfAnnotationMember/float.kt.after @@ -2,4 +2,5 @@ annotation class SuperAnnotation( val f: FloatArray, val str: Array -) \ No newline at end of file +) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.TypeOfAnnotationMemberFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeOfAnnotationMember/int.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeOfAnnotationMember/int.kt index 3359500ab4f2..47d26976bb8a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeOfAnnotationMember/int.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeOfAnnotationMember/int.kt @@ -2,4 +2,5 @@ annotation class SuperAnnotation( val i: Array, val str: Array -) \ No newline at end of file +) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.TypeOfAnnotationMemberFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeOfAnnotationMember/int.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeOfAnnotationMember/int.kt.after index 492247a696c8..f6c04b990e39 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeOfAnnotationMember/int.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeOfAnnotationMember/int.kt.after @@ -2,4 +2,5 @@ annotation class SuperAnnotation( val i: IntArray, val str: Array -) \ No newline at end of file +) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.TypeOfAnnotationMemberFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeOfAnnotationMember/long.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeOfAnnotationMember/long.kt index ee22890366d8..7ec29fa0c61d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeOfAnnotationMember/long.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeOfAnnotationMember/long.kt @@ -2,4 +2,5 @@ annotation class SuperAnnotation( val l: Array, val str: Array -) \ No newline at end of file +) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.TypeOfAnnotationMemberFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeOfAnnotationMember/long.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeOfAnnotationMember/long.kt.after index babfd3deb0b6..924633813d3e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeOfAnnotationMember/long.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeOfAnnotationMember/long.kt.after @@ -2,4 +2,5 @@ annotation class SuperAnnotation( val l: LongArray, val str: Array -) \ No newline at end of file +) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.TypeOfAnnotationMemberFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeOfAnnotationMember/short.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeOfAnnotationMember/short.kt index 1805fcf7b119..181f37e59d2e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeOfAnnotationMember/short.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeOfAnnotationMember/short.kt @@ -2,4 +2,5 @@ annotation class SuperAnnotation( val s: Array, val str: Array -) \ No newline at end of file +) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.TypeOfAnnotationMemberFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeOfAnnotationMember/short.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeOfAnnotationMember/short.kt.after index adde59d8834f..7496daaa72f4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeOfAnnotationMember/short.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeOfAnnotationMember/short.kt.after @@ -2,4 +2,5 @@ annotation class SuperAnnotation( val s: ShortArray, val str: Array -) \ No newline at end of file +) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.TypeOfAnnotationMemberFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeParameters/misplacedClassTypeParameter.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeParameters/misplacedClassTypeParameter.kt index 8dca3c762306..e8d22f192b77 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeParameters/misplacedClassTypeParameter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeParameters/misplacedClassTypeParameter.kt @@ -1,3 +1,5 @@ // "Move type parameter constraint to 'where' clause" "true" class A<T : Cloneable> where T : Comparable<*> { } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MoveTypeParameterConstraintFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeParameters/misplacedClassTypeParameter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeParameters/misplacedClassTypeParameter.kt.after index 4312dbc11494..c1ca8484d321 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeParameters/misplacedClassTypeParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeParameters/misplacedClassTypeParameter.kt.after @@ -1,3 +1,5 @@ // "Move type parameter constraint to 'where' clause" "true" class A where T : Cloneable, T : Comparable<*> { } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MoveTypeParameterConstraintFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeParameters/misplacedFunctionTypeParameter.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeParameters/misplacedFunctionTypeParameter.kt index 39cb12939116..003fe2b4c13a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeParameters/misplacedFunctionTypeParameter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeParameters/misplacedFunctionTypeParameter.kt @@ -1,3 +1,5 @@ // "Move type parameter constraint to 'where' clause" "true" fun <T : Cloneable> foo() where T : Comparable<*> { } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MoveTypeParameterConstraintFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeParameters/misplacedFunctionTypeParameter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeParameters/misplacedFunctionTypeParameter.kt.after index 1d8163770553..ee8ea3f3ee88 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeParameters/misplacedFunctionTypeParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeParameters/misplacedFunctionTypeParameter.kt.after @@ -1,3 +1,5 @@ // "Move type parameter constraint to 'where' clause" "true" fun foo() where T : Cloneable, T : Comparable<*> { } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MoveTypeParameterConstraintFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeProjection/conflictingProjection.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeProjection/conflictingProjection.kt index 2fd88191ddae..6e73eed66f62 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeProjection/conflictingProjection.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeProjection/conflictingProjection.kt @@ -2,3 +2,5 @@ class Foo {} fun bar(x : Foo<in Any>) {} + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeProjection/conflictingProjection.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeProjection/conflictingProjection.kt.after index a35ff898abf0..705aaf6a4c97 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeProjection/conflictingProjection.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeProjection/conflictingProjection.kt.after @@ -2,3 +2,5 @@ class Foo {} fun bar(x : Foo) {} + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeProjection/projectionInImmediateArgumentToSupertype.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeProjection/projectionInImmediateArgumentToSupertype.kt index 959f2db615de..c4f1ca2293f3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeProjection/projectionInImmediateArgumentToSupertype.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeProjection/projectionInImmediateArgumentToSupertype.kt @@ -2,3 +2,5 @@ interface A {} class B : A<in Int> {} + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeProjection/projectionInImmediateArgumentToSupertype.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeProjection/projectionInImmediateArgumentToSupertype.kt.after index 00142dc967fb..5ee1ede4d9d1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeProjection/projectionInImmediateArgumentToSupertype.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeProjection/projectionInImmediateArgumentToSupertype.kt.after @@ -2,3 +2,5 @@ interface A {} class B : A {} + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeProjection/projectionOnNonClassTypeArgument1.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeProjection/projectionOnNonClassTypeArgument1.kt index f1ab8642a724..e5aa6abf240f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeProjection/projectionOnNonClassTypeArgument1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeProjection/projectionOnNonClassTypeArgument1.kt @@ -4,3 +4,5 @@ fun foo(x : T) {} fun bar() { foo<out Int>(44) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeProjection/projectionOnNonClassTypeArgument1.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeProjection/projectionOnNonClassTypeArgument1.kt.after index c040ad6d78c3..296f5057f5d4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeProjection/projectionOnNonClassTypeArgument1.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeProjection/projectionOnNonClassTypeArgument1.kt.after @@ -4,3 +4,5 @@ fun foo(x : T) {} fun bar() { foo(44) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeProjection/projectionOnNonClassTypeArgument2.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeProjection/projectionOnNonClassTypeArgument2.kt index 92f33188295b..254af216f964 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeProjection/projectionOnNonClassTypeArgument2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeProjection/projectionOnNonClassTypeArgument2.kt @@ -4,3 +4,5 @@ class A {} class B { var foo = A<in Int>() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeProjection/projectionOnNonClassTypeArgument2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeProjection/projectionOnNonClassTypeArgument2.kt.after index 82c02bada2ae..e30cdd96edbf 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeProjection/projectionOnNonClassTypeArgument2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeProjection/projectionOnNonClassTypeArgument2.kt.after @@ -4,3 +4,5 @@ class A {} class B { var foo = A<Int>() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeProjection/removeRedundantProjection1.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeProjection/removeRedundantProjection1.kt index f3727a9c259d..1845435939e3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeProjection/removeRedundantProjection1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeProjection/removeRedundantProjection1.kt @@ -6,3 +6,5 @@ class Foo { fun bar(x : Foo Any>) { } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeProjection/removeRedundantProjection1.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeProjection/removeRedundantProjection1.kt.after index 61c029632ecc..9aa205cc13b8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeProjection/removeRedundantProjection1.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeProjection/removeRedundantProjection1.kt.after @@ -6,3 +6,5 @@ class Foo { fun bar(x : Foo) { } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeProjection/removeRedundantProjection2.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeProjection/removeRedundantProjection2.kt index ddda58f86019..b0841e8e840f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeProjection/removeRedundantProjection2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeProjection/removeRedundantProjection2.kt @@ -6,3 +6,5 @@ class Foo { fun bar(x : Foo Any>) { } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeProjection/removeRedundantProjection2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeProjection/removeRedundantProjection2.kt.after index e16e7af24cd9..eb948cf2c421 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeProjection/removeRedundantProjection2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeProjection/removeRedundantProjection2.kt.after @@ -6,3 +6,5 @@ class Foo { fun bar(x : Foo) { } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeProjection/removeVariance.kt b/plugins/kotlin/idea/tests/testData/quickfix/typeProjection/removeVariance.kt index 4e83c7e04d30..adf3672f4dbe 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeProjection/removeVariance.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeProjection/removeVariance.kt @@ -1,2 +1,3 @@ // "Remove 'out' modifier" "true" -fun String> foo() { } \ No newline at end of file +fun String> foo() { } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/typeProjection/removeVariance.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/typeProjection/removeVariance.kt.after index 2bf512c5f5d0..f9ba974fe6d0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/typeProjection/removeVariance.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/typeProjection/removeVariance.kt.after @@ -1,2 +1,3 @@ // "Remove 'out' modifier" "true" -fun foo() { } \ No newline at end of file +fun foo() { } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/unnecessaryLateinit/lateinitWithConstructor.kt b/plugins/kotlin/idea/tests/testData/quickfix/unnecessaryLateinit/lateinitWithConstructor.kt index 7b0afbc79423..297a2a462258 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/unnecessaryLateinit/lateinitWithConstructor.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/unnecessaryLateinit/lateinitWithConstructor.kt @@ -7,3 +7,5 @@ class Foo { bar = "" } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/unnecessaryLateinit/lateinitWithConstructor.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/unnecessaryLateinit/lateinitWithConstructor.kt.after index b52aa46ef445..21d7d0566efb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/unnecessaryLateinit/lateinitWithConstructor.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/unnecessaryLateinit/lateinitWithConstructor.kt.after @@ -7,3 +7,5 @@ class Foo { bar = "" } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/unnecessaryLateinit/lateinitWithInit.kt b/plugins/kotlin/idea/tests/testData/quickfix/unnecessaryLateinit/lateinitWithInit.kt index e7aeeddb8bc9..030c4b7bcb8c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/unnecessaryLateinit/lateinitWithInit.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/unnecessaryLateinit/lateinitWithInit.kt @@ -6,4 +6,5 @@ class Foo { init { bar = "" } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/unnecessaryLateinit/lateinitWithInit.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/unnecessaryLateinit/lateinitWithInit.kt.after index e859c66a3ecf..8792e769512b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/unnecessaryLateinit/lateinitWithInit.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/unnecessaryLateinit/lateinitWithInit.kt.after @@ -6,4 +6,5 @@ class Foo { init { bar = "" } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/unnecessaryLateinit/lateinitWithMultipleConstructors.kt b/plugins/kotlin/idea/tests/testData/quickfix/unnecessaryLateinit/lateinitWithMultipleConstructors.kt index 66bc38f2f175..7ad2ba70e6c3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/unnecessaryLateinit/lateinitWithMultipleConstructors.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/unnecessaryLateinit/lateinitWithMultipleConstructors.kt @@ -10,4 +10,5 @@ class Foo { constructor(baz: Int) { bar = "" } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/unnecessaryLateinit/lateinitWithMultipleConstructors.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/unnecessaryLateinit/lateinitWithMultipleConstructors.kt.after index 27c7c521fd4c..2184a83d8ca7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/unnecessaryLateinit/lateinitWithMultipleConstructors.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/unnecessaryLateinit/lateinitWithMultipleConstructors.kt.after @@ -10,4 +10,5 @@ class Foo { constructor(baz: Int) { bar = "" } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/unnecessaryLateinit/lateinitWithMultipleConstructorsAndDelegation.kt b/plugins/kotlin/idea/tests/testData/quickfix/unnecessaryLateinit/lateinitWithMultipleConstructorsAndDelegation.kt index 8c51b726e04a..aecf57bbff23 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/unnecessaryLateinit/lateinitWithMultipleConstructorsAndDelegation.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/unnecessaryLateinit/lateinitWithMultipleConstructorsAndDelegation.kt @@ -12,4 +12,5 @@ class Foo { constructor(a: Int, b: Int) : this(a) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/unnecessaryLateinit/lateinitWithMultipleConstructorsAndDelegation.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/unnecessaryLateinit/lateinitWithMultipleConstructorsAndDelegation.kt.after index 5df792131d90..1299435d4d20 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/unnecessaryLateinit/lateinitWithMultipleConstructorsAndDelegation.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/unnecessaryLateinit/lateinitWithMultipleConstructorsAndDelegation.kt.after @@ -12,4 +12,5 @@ class Foo { constructor(a: Int, b: Int) : this(a) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/unnecessaryLateinit/lateinitWithMultipleInit.kt b/plugins/kotlin/idea/tests/testData/quickfix/unnecessaryLateinit/lateinitWithMultipleInit.kt index 26607b0e947b..8b9af0a51e78 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/unnecessaryLateinit/lateinitWithMultipleInit.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/unnecessaryLateinit/lateinitWithMultipleInit.kt @@ -11,4 +11,5 @@ class Foo { init { bar = "" } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/unnecessaryLateinit/lateinitWithMultipleInit.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/unnecessaryLateinit/lateinitWithMultipleInit.kt.after index 72fd993ff223..8743cd6748ae 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/unnecessaryLateinit/lateinitWithMultipleInit.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/unnecessaryLateinit/lateinitWithMultipleInit.kt.after @@ -11,4 +11,5 @@ class Foo { init { bar = "" } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/unnecessaryLateinit/secondaryConstructorDelegateItself.kt b/plugins/kotlin/idea/tests/testData/quickfix/unnecessaryLateinit/secondaryConstructorDelegateItself.kt index a98a1e8bb288..13cd54579441 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/unnecessaryLateinit/secondaryConstructorDelegateItself.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/unnecessaryLateinit/secondaryConstructorDelegateItself.kt @@ -12,3 +12,5 @@ class Foo { bar = "a" } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/unnecessaryLateinit/secondaryConstructorDelegateItself.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/unnecessaryLateinit/secondaryConstructorDelegateItself.kt.after index 1bb936d17f3d..5f601a75cfef 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/unnecessaryLateinit/secondaryConstructorDelegateItself.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/unnecessaryLateinit/secondaryConstructorDelegateItself.kt.after @@ -12,3 +12,5 @@ class Foo { bar = "a" } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveModifierFixBase \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/unusedSuppressAnnotation/simple.kt b/plugins/kotlin/idea/tests/testData/quickfix/unusedSuppressAnnotation/simple.kt index 7d377aab8527..84fc7e573342 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/unusedSuppressAnnotation/simple.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/unusedSuppressAnnotation/simple.kt @@ -5,3 +5,5 @@ annotation class XXX @XXX class UnusedClass + +// FUS_QUICKFIX_NAME: com.intellij.codeInspection.util.SpecialAnnotationsUtil$4 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/unusedSuppressAnnotation/simple.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/unusedSuppressAnnotation/simple.kt.after index 7d377aab8527..84fc7e573342 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/unusedSuppressAnnotation/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/unusedSuppressAnnotation/simple.kt.after @@ -5,3 +5,5 @@ annotation class XXX @XXX class UnusedClass + +// FUS_QUICKFIX_NAME: com.intellij.codeInspection.util.SpecialAnnotationsUtil$4 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/useFullyqualifiedCall/FunctionCallInsideObject.kt b/plugins/kotlin/idea/tests/testData/quickfix/useFullyqualifiedCall/FunctionCallInsideObject.kt index d2711be52d75..97bcac522659 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/useFullyqualifiedCall/FunctionCallInsideObject.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/useFullyqualifiedCall/FunctionCallInsideObject.kt @@ -12,4 +12,5 @@ object Test1 { foo(f) } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.UseFullyQualifiedCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/useFullyqualifiedCall/FunctionCallInsideObject.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/useFullyqualifiedCall/FunctionCallInsideObject.kt.after index d227f73069f5..4ecfb11449c6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/useFullyqualifiedCall/FunctionCallInsideObject.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/useFullyqualifiedCall/FunctionCallInsideObject.kt.after @@ -12,4 +12,5 @@ object Test1 { Scope.foo(f) } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.UseFullyQualifiedCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/useFullyqualifiedCall/NestedObject.kt b/plugins/kotlin/idea/tests/testData/quickfix/useFullyqualifiedCall/NestedObject.kt index ae69b7b352bc..f18672236283 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/useFullyqualifiedCall/NestedObject.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/useFullyqualifiedCall/NestedObject.kt @@ -14,3 +14,5 @@ object Test1 { } } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.UseFullyQualifiedCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/useFullyqualifiedCall/NestedObject.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/useFullyqualifiedCall/NestedObject.kt.after index d6a7a322fab6..20ee97b366f5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/useFullyqualifiedCall/NestedObject.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/useFullyqualifiedCall/NestedObject.kt.after @@ -14,3 +14,5 @@ object Test1 { } } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.UseFullyQualifiedCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/useFullyqualifiedCall/NestedObjectInRoot.kt b/plugins/kotlin/idea/tests/testData/quickfix/useFullyqualifiedCall/NestedObjectInRoot.kt index 589096dc09d1..8ee7c72529ed 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/useFullyqualifiedCall/NestedObjectInRoot.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/useFullyqualifiedCall/NestedObjectInRoot.kt @@ -12,3 +12,5 @@ object Test1 { } } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.UseFullyQualifiedCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/useFullyqualifiedCall/NestedObjectInRoot.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/useFullyqualifiedCall/NestedObjectInRoot.kt.after index b0b869360d40..82e6cd243266 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/useFullyqualifiedCall/NestedObjectInRoot.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/useFullyqualifiedCall/NestedObjectInRoot.kt.after @@ -12,3 +12,5 @@ object Test1 { } } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.UseFullyQualifiedCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/canBeVal/const.kt b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/canBeVal/const.kt index 33f7e7bf84e4..9a62ce3aef9c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/canBeVal/const.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/canBeVal/const.kt @@ -2,3 +2,5 @@ object Test { const var foo = "123" } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.quickFix.ChangeVariableMutabilityFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/canBeVal/const.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/canBeVal/const.kt.after index 4bcc87f77b50..5e77ae551521 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/canBeVal/const.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/canBeVal/const.kt.after @@ -2,3 +2,5 @@ object Test { const val foo = "123" } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.quickFix.ChangeVariableMutabilityFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/canBeVal/delegatedProperty.kt b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/canBeVal/delegatedProperty.kt index f0e9e181c93f..63c8278d29df 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/canBeVal/delegatedProperty.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/canBeVal/delegatedProperty.kt @@ -10,4 +10,5 @@ class Delegate { return "" } } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.quickFix.ChangeVariableMutabilityFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/canBeVal/delegatedProperty.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/canBeVal/delegatedProperty.kt.after index a9721bcd4f54..eab81de53387 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/canBeVal/delegatedProperty.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/canBeVal/delegatedProperty.kt.after @@ -10,4 +10,5 @@ class Delegate { return "" } } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.quickFix.ChangeVariableMutabilityFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/canBeVal/multiVariable.kt b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/canBeVal/multiVariable.kt index 32baec9fe61a..9e799340198f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/canBeVal/multiVariable.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/canBeVal/multiVariable.kt @@ -7,4 +7,5 @@ fun foo(p: Int) { fun getPair(): Pair? = null data class Pair(val a: T1, val b: T2) -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.quickFix.ChangeVariableMutabilityFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/canBeVal/multiVariable.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/canBeVal/multiVariable.kt.after index 5d9f964bc30e..a77183c65130 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/canBeVal/multiVariable.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/canBeVal/multiVariable.kt.after @@ -7,4 +7,5 @@ fun foo(p: Int) { fun getPair(): Pair? = null data class Pair(val a: T1, val b: T2) -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.quickFix.ChangeVariableMutabilityFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/canBeVal/singleVariable.kt b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/canBeVal/singleVariable.kt index c14f1f2c7d15..77c7b60ae78e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/canBeVal/singleVariable.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/canBeVal/singleVariable.kt @@ -3,4 +3,5 @@ fun foo(p: Int) { var v: Int if (p > 0) v = 1 else v = 2 } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.quickFix.ChangeVariableMutabilityFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/canBeVal/singleVariable.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/canBeVal/singleVariable.kt.after index bace9e47087b..85ce4ea75f36 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/canBeVal/singleVariable.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/canBeVal/singleVariable.kt.after @@ -3,4 +3,5 @@ fun foo(p: Int) { val v: Int if (p > 0) v = 1 else v = 2 } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.quickFix.ChangeVariableMutabilityFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/canBeVal/uninitializedWithGetter.kt b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/canBeVal/uninitializedWithGetter.kt index aa5cee87c728..64d8288568d9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/canBeVal/uninitializedWithGetter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/canBeVal/uninitializedWithGetter.kt @@ -2,4 +2,5 @@ class Test { var foo get() = 1 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.quickFix.ChangeVariableMutabilityFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/canBeVal/uninitializedWithGetter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/canBeVal/uninitializedWithGetter.kt.after index ca7221450d99..22129aab929f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/canBeVal/uninitializedWithGetter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/canBeVal/uninitializedWithGetter.kt.after @@ -2,4 +2,5 @@ class Test { val foo get() = 1 -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.quickFix.ChangeVariableMutabilityFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/canBeVal/uninitializedWithGetter2.kt b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/canBeVal/uninitializedWithGetter2.kt index 4b25b77ab4fa..4cdb4b5600bb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/canBeVal/uninitializedWithGetter2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/canBeVal/uninitializedWithGetter2.kt @@ -5,3 +5,5 @@ class Test { return 1 } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.quickFix.ChangeVariableMutabilityFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/canBeVal/uninitializedWithGetter2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/canBeVal/uninitializedWithGetter2.kt.after index e0994d8d2f0e..86dae9dc9977 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/canBeVal/uninitializedWithGetter2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/canBeVal/uninitializedWithGetter2.kt.after @@ -5,3 +5,5 @@ class Test { return 1 } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.quickFix.ChangeVariableMutabilityFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/capturedMemberValInitialization.kt b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/capturedMemberValInitialization.kt index 93d5adbb309d..ce30643c27d8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/capturedMemberValInitialization.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/capturedMemberValInitialization.kt @@ -14,4 +14,5 @@ class Test { t.some() } } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.quickFix.ChangeVariableMutabilityFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/capturedMemberValInitialization.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/capturedMemberValInitialization.kt.after index 3218b6252f3b..5385f694e0cb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/capturedMemberValInitialization.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/capturedMemberValInitialization.kt.after @@ -14,4 +14,5 @@ class Test { t.some() } } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.quickFix.ChangeVariableMutabilityFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/capturedValInitialization.kt b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/capturedValInitialization.kt index 3421e09a51dd..91cf7c09a877 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/capturedValInitialization.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/capturedValInitialization.kt @@ -8,4 +8,5 @@ fun foo() { } } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.quickFix.ChangeVariableMutabilityFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/capturedValInitialization.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/capturedValInitialization.kt.after index 1b38afe0785c..ea81d08c155b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/capturedValInitialization.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/capturedValInitialization.kt.after @@ -8,4 +8,5 @@ fun foo() { } } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.quickFix.ChangeVariableMutabilityFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/const.kt b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/const.kt index c65179536a37..8c981e760409 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/const.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/const.kt @@ -6,4 +6,5 @@ object A { A = 10 } } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.quickFix.ChangeVariableMutabilityFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/const.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/const.kt.after index 0eeeaeaad057..c903398c3b5e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/const.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/const.kt.after @@ -6,4 +6,5 @@ object A { A = 10 } } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.quickFix.ChangeVariableMutabilityFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/localInGetter.kt b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/localInGetter.kt index fa52453fbbbd..621476e5c9e6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/localInGetter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/localInGetter.kt @@ -6,4 +6,5 @@ val String.prop: Int p = 2 return p } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.quickFix.ChangeVariableMutabilityFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/localInGetter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/localInGetter.kt.after index d3eb2021679d..f0783480c5ec 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/localInGetter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/localInGetter.kt.after @@ -6,4 +6,5 @@ val String.prop: Int p = 2 return p } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.quickFix.ChangeVariableMutabilityFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/valOverrideVar.kt b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/valOverrideVar.kt index 7fc7b914dc12..8e3534343bc4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/valOverrideVar.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/valOverrideVar.kt @@ -6,3 +6,6 @@ open class A { class B : A() { override val x: Int = 3; } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.quickFix.ChangeVariableMutabilityFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.quickFix.ChangeVariableMutabilityFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/valOverrideVar.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/valOverrideVar.kt.after index fe9ac9b2cb8a..aafe93459215 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/valOverrideVar.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/valOverrideVar.kt.after @@ -6,3 +6,6 @@ open class A { class B : A() { override var x: Int = 3; } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.quickFix.ChangeVariableMutabilityFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.quickFix.ChangeVariableMutabilityFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/valOverrideVarConstructorParameter.kt b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/valOverrideVarConstructorParameter.kt index 9d5cbe131464..1b9eb7cd9024 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/valOverrideVarConstructorParameter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/valOverrideVarConstructorParameter.kt @@ -4,3 +4,6 @@ open class A { } class B(override val x: Int) : A() + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.quickFix.ChangeVariableMutabilityFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.quickFix.ChangeVariableMutabilityFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/valOverrideVarConstructorParameter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/valOverrideVarConstructorParameter.kt.after index b18d63f66b28..1280694f31d4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/valOverrideVarConstructorParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/valOverrideVarConstructorParameter.kt.after @@ -4,3 +4,6 @@ open class A { } class B(override var x: Int) : A() + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.quickFix.ChangeVariableMutabilityFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.quickFix.ChangeVariableMutabilityFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/valReassignmentLocal.kt b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/valReassignmentLocal.kt index bbd6510b8796..44c9beba6b55 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/valReassignmentLocal.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/valReassignmentLocal.kt @@ -4,4 +4,5 @@ fun foo() { a = 3 } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.quickFix.ChangeVariableMutabilityFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/valReassignmentLocal.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/valReassignmentLocal.kt.after index 8e3811eb44bf..6d1778476c91 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/valReassignmentLocal.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/valReassignmentLocal.kt.after @@ -4,4 +4,5 @@ fun foo() { a = 3 } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.quickFix.ChangeVariableMutabilityFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/valReassignmentOuterDecl.kt b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/valReassignmentOuterDecl.kt index 4df7f53f2536..48613bf85515 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/valReassignmentOuterDecl.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/valReassignmentOuterDecl.kt @@ -5,4 +5,5 @@ fun bar() { a = 5 } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.quickFix.ChangeVariableMutabilityFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/valReassignmentOuterDecl.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/valReassignmentOuterDecl.kt.after index 43b5c312f591..02370679f02f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/valReassignmentOuterDecl.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/valReassignmentOuterDecl.kt.after @@ -5,4 +5,5 @@ fun bar() { a = 5 } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.quickFix.ChangeVariableMutabilityFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/valReassignmentProperty.kt b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/valReassignmentProperty.kt index cb42094b9629..41731e75dd94 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/valReassignmentProperty.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/valReassignmentProperty.kt @@ -7,4 +7,5 @@ class A() { } } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.quickFix.ChangeVariableMutabilityFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/valReassignmentProperty.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/valReassignmentProperty.kt.after index ba57bec139d9..07b40c7ae760 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/valReassignmentProperty.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/valReassignmentProperty.kt.after @@ -7,4 +7,5 @@ class A() { } } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.quickFix.ChangeVariableMutabilityFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/valReassignmentPropertyConstructorParameter.kt b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/valReassignmentPropertyConstructorParameter.kt index c66a72795bb4..84952875048e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/valReassignmentPropertyConstructorParameter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/valReassignmentPropertyConstructorParameter.kt @@ -5,4 +5,5 @@ class A(val a: Int) { } } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.quickFix.ChangeVariableMutabilityFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/valReassignmentPropertyConstructorParameter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/valReassignmentPropertyConstructorParameter.kt.after index 9bdfbce595e2..564f2d8ee630 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/valReassignmentPropertyConstructorParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/valReassignmentPropertyConstructorParameter.kt.after @@ -5,4 +5,5 @@ class A(var a: Int) { } } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.quickFix.ChangeVariableMutabilityFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/valWithSetter.kt b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/valWithSetter.kt index 94d3f7a8f8bf..46894478b71d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/valWithSetter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/valWithSetter.kt @@ -3,3 +3,6 @@ class A() { val a: Int = 0 set(v: Int) {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.quickFix.ChangeVariableMutabilityFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.quickFix.ChangeVariableMutabilityFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/valWithSetter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/valWithSetter.kt.after index d6e481a59fe3..e3732bfee9f1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/valWithSetter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/valWithSetter.kt.after @@ -3,3 +3,6 @@ class A() { var a: Int = 0 set(v: Int) {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.quickFix.ChangeVariableMutabilityFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.quickFix.ChangeVariableMutabilityFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/varAnnotationParameter.kt b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/varAnnotationParameter.kt index ac4280eb25a5..46e891da1cf8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/varAnnotationParameter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/varAnnotationParameter.kt @@ -3,3 +3,6 @@ annotation class Ann( val a: Int, var b: Int ) + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.quickFix.ChangeVariableMutabilityFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.quickFix.ChangeVariableMutabilityFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/varAnnotationParameter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/varAnnotationParameter.kt.after index 1adad5d6a77a..cbf68f7d1eae 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/varAnnotationParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeMutability/varAnnotationParameter.kt.after @@ -3,3 +3,6 @@ annotation class Ann( val a: Int, val b: Int ) + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.quickFix.ChangeVariableMutabilityFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.quickFix.ChangeVariableMutabilityFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeToFunctionInvocation/funInvWithoutParentheses.kt b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeToFunctionInvocation/funInvWithoutParentheses.kt index 45679736045e..d5ee1ae0e6b0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeToFunctionInvocation/funInvWithoutParentheses.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeToFunctionInvocation/funInvWithoutParentheses.kt @@ -6,3 +6,5 @@ fun foo() {} fun test() { foo } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToFunctionInvocationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeToFunctionInvocation/funInvWithoutParentheses.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeToFunctionInvocation/funInvWithoutParentheses.kt.after index 6be3b1ed9619..ecb469e10586 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeToFunctionInvocation/funInvWithoutParentheses.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeToFunctionInvocation/funInvWithoutParentheses.kt.after @@ -6,3 +6,5 @@ fun foo() {} fun test() { foo() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToFunctionInvocationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeToFunctionInvocation/inStringTemplate.kt b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeToFunctionInvocation/inStringTemplate.kt index cfd1436914b3..eaf2b4e8f70b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeToFunctionInvocation/inStringTemplate.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeToFunctionInvocation/inStringTemplate.kt @@ -3,4 +3,5 @@ fun foo() {} fun test(){ "$foo" -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToFunctionInvocationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeToFunctionInvocation/inStringTemplate.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeToFunctionInvocation/inStringTemplate.kt.after index 0fbe6aa79f40..a1fdcbc2f90e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeToFunctionInvocation/inStringTemplate.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeToFunctionInvocation/inStringTemplate.kt.after @@ -3,4 +3,5 @@ fun foo() {} fun test(){ "${foo()}" -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToFunctionInvocationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeToFunctionInvocation/inStringTemplate2.kt b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeToFunctionInvocation/inStringTemplate2.kt index d1f08070b800..152e4a3d88c1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeToFunctionInvocation/inStringTemplate2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeToFunctionInvocation/inStringTemplate2.kt @@ -3,4 +3,5 @@ fun foo() {} fun test(){ "$foo()" -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToFunctionInvocationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeToFunctionInvocation/inStringTemplate2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeToFunctionInvocation/inStringTemplate2.kt.after index 0fbe6aa79f40..a1fdcbc2f90e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeToFunctionInvocation/inStringTemplate2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeToFunctionInvocation/inStringTemplate2.kt.after @@ -3,4 +3,5 @@ fun foo() {} fun test(){ "${foo()}" -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToFunctionInvocationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeToFunctionInvocation/inStringTemplate3.kt b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeToFunctionInvocation/inStringTemplate3.kt index 30e04b4fbb91..75bc4df08cd2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeToFunctionInvocation/inStringTemplate3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeToFunctionInvocation/inStringTemplate3.kt @@ -3,4 +3,5 @@ fun bar(i: Int, j: Int) {} fun test(){ "$bar(1, 2)" -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToFunctionInvocationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeToFunctionInvocation/inStringTemplate3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeToFunctionInvocation/inStringTemplate3.kt.after index 0b9d83ae1c5f..8fa10a8f24e0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeToFunctionInvocation/inStringTemplate3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeToFunctionInvocation/inStringTemplate3.kt.after @@ -3,4 +3,5 @@ fun bar(i: Int, j: Int) {} fun test(){ "${bar(1, 2)}" -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToFunctionInvocationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeToFunctionInvocation/inStringTemplate4.kt b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeToFunctionInvocation/inStringTemplate4.kt index eeece17d657d..69ff8107a75c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeToFunctionInvocation/inStringTemplate4.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeToFunctionInvocation/inStringTemplate4.kt @@ -3,4 +3,5 @@ fun foo() {} fun test(){ "$foo(" -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToFunctionInvocationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeToFunctionInvocation/inStringTemplate4.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeToFunctionInvocation/inStringTemplate4.kt.after index 098861e1d08a..997151b9a686 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeToFunctionInvocation/inStringTemplate4.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeToFunctionInvocation/inStringTemplate4.kt.after @@ -3,4 +3,5 @@ fun foo() {} fun test(){ "${foo()}(" -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToFunctionInvocationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeToFunctionInvocation/inStringTemplate5.kt b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeToFunctionInvocation/inStringTemplate5.kt index c9c7f095adc0..8708a64238a8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeToFunctionInvocation/inStringTemplate5.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeToFunctionInvocation/inStringTemplate5.kt @@ -3,4 +3,5 @@ fun bar(i: Int, j: Int) {} fun test(s: String){ "$bar(1, 2) sometext $s" -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToFunctionInvocationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeToFunctionInvocation/inStringTemplate5.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeToFunctionInvocation/inStringTemplate5.kt.after index ac6994a30bf4..ae6a040c4a89 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeToFunctionInvocation/inStringTemplate5.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeToFunctionInvocation/inStringTemplate5.kt.after @@ -3,4 +3,5 @@ fun bar(i: Int, j: Int) {} fun test(s: String){ "${bar(1, 2)} sometext $s" -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToFunctionInvocationFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeToPropertyAccess/enumEntryCall.kt b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeToPropertyAccess/enumEntryCall.kt index 8fe09c598eac..d088b10542dd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeToPropertyAccess/enumEntryCall.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeToPropertyAccess/enumEntryCall.kt @@ -5,4 +5,5 @@ enum class Test { fun test() { Test.A() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToPropertyAccessFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeToPropertyAccess/enumEntryCall.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeToPropertyAccess/enumEntryCall.kt.after index 987d83500b7b..49d1095e351d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeToPropertyAccess/enumEntryCall.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeToPropertyAccess/enumEntryCall.kt.after @@ -5,4 +5,5 @@ enum class Test { fun test() { Test.A -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToPropertyAccessFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeToPropertyAccess/nonSimpleName.kt b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeToPropertyAccess/nonSimpleName.kt index 78162bd472f1..e60413edb980 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeToPropertyAccess/nonSimpleName.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeToPropertyAccess/nonSimpleName.kt @@ -3,3 +3,5 @@ fun x() { val y = (1+2)() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToPropertyAccessFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeToPropertyAccess/nonSimpleName.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeToPropertyAccess/nonSimpleName.kt.after index b5039e3eefce..f0a770408b36 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeToPropertyAccess/nonSimpleName.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeToPropertyAccess/nonSimpleName.kt.after @@ -3,3 +3,5 @@ fun x() { val y = (1+2) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToPropertyAccessFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeToPropertyAccess/objectCall.kt b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeToPropertyAccess/objectCall.kt index 830d02f709f9..3df28f03a624 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeToPropertyAccess/objectCall.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeToPropertyAccess/objectCall.kt @@ -3,4 +3,5 @@ object Test fun test() { Test() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToPropertyAccessFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeToPropertyAccess/objectCall.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeToPropertyAccess/objectCall.kt.after index b6f97f3c117f..5670f7c2268d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeToPropertyAccess/objectCall.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeToPropertyAccess/objectCall.kt.after @@ -3,4 +3,5 @@ object Test fun test() { Test -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToPropertyAccessFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeToPropertyAccess/propertyCall.kt b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeToPropertyAccess/propertyCall.kt index 25e1faf3cb86..c7b87417e947 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeToPropertyAccess/propertyCall.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeToPropertyAccess/propertyCall.kt @@ -4,3 +4,5 @@ class A(val ff: String) fun x() { val y = A("").ff() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToPropertyAccessFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeToPropertyAccess/propertyCall.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeToPropertyAccess/propertyCall.kt.after index 3dd855d76c29..3ce9703850cc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/changeToPropertyAccess/propertyCall.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/changeToPropertyAccess/propertyCall.kt.after @@ -4,3 +4,5 @@ class A(val ff: String) fun x() { val y = A("").ff } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeToPropertyAccessFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/removeValVarFromParameter/catchParameter.kt b/plugins/kotlin/idea/tests/testData/quickfix/variables/removeValVarFromParameter/catchParameter.kt index 08bcd7023e3b..b91fa5058751 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/removeValVarFromParameter/catchParameter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/removeValVarFromParameter/catchParameter.kt @@ -6,4 +6,6 @@ fun f() { } catch (val e: Exception) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveValVarFromParameterFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveValVarFromParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/removeValVarFromParameter/catchParameter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/variables/removeValVarFromParameter/catchParameter.kt.after index bd4f64341e4a..eeccb79e3923 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/removeValVarFromParameter/catchParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/removeValVarFromParameter/catchParameter.kt.after @@ -6,4 +6,6 @@ fun f() { } catch (e: Exception) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveValVarFromParameterFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveValVarFromParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/removeValVarFromParameter/funParameter.kt b/plugins/kotlin/idea/tests/testData/quickfix/variables/removeValVarFromParameter/funParameter.kt index 4b4d077e77d1..6c529ca62ba0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/removeValVarFromParameter/funParameter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/removeValVarFromParameter/funParameter.kt @@ -1,3 +1,5 @@ // "Remove 'val' from parameter" "true" fun f(val x: String) { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveValVarFromParameterFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveValVarFromParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/removeValVarFromParameter/funParameter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/variables/removeValVarFromParameter/funParameter.kt.after index 38cc3c37bdec..5f9438834337 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/removeValVarFromParameter/funParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/removeValVarFromParameter/funParameter.kt.after @@ -1,3 +1,5 @@ // "Remove 'val' from parameter" "true" fun f(x: String) { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveValVarFromParameterFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveValVarFromParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/removeValVarFromParameter/loopMultiParameter.kt b/plugins/kotlin/idea/tests/testData/quickfix/variables/removeValVarFromParameter/loopMultiParameter.kt index 0c614bfd44ef..16ccefbbb7db 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/removeValVarFromParameter/loopMultiParameter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/removeValVarFromParameter/loopMultiParameter.kt @@ -9,4 +9,6 @@ fun f(list: List>) { for (val (x,y) in list) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveValVarFromParameterFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveValVarFromParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/removeValVarFromParameter/loopMultiParameter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/variables/removeValVarFromParameter/loopMultiParameter.kt.after index a51fc847aa34..46b773a94844 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/removeValVarFromParameter/loopMultiParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/removeValVarFromParameter/loopMultiParameter.kt.after @@ -9,4 +9,6 @@ fun f(list: List>) { for ((x,y) in list) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveValVarFromParameterFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveValVarFromParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/removeValVarFromParameter/loopParameter.kt b/plugins/kotlin/idea/tests/testData/quickfix/variables/removeValVarFromParameter/loopParameter.kt index 67a2528231c9..54af1a95aa0c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/removeValVarFromParameter/loopParameter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/removeValVarFromParameter/loopParameter.kt @@ -3,4 +3,6 @@ fun f(list: List) { for (val x in list) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveValVarFromParameterFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveValVarFromParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/removeValVarFromParameter/loopParameter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/variables/removeValVarFromParameter/loopParameter.kt.after index 85d04a36ef16..2357e11207d2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/removeValVarFromParameter/loopParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/removeValVarFromParameter/loopParameter.kt.after @@ -3,4 +3,6 @@ fun f(list: List) { for (x in list) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveValVarFromParameterFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveValVarFromParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/removeValVarFromParameter/parameterWithComment.kt b/plugins/kotlin/idea/tests/testData/quickfix/variables/removeValVarFromParameter/parameterWithComment.kt index 76f32d37c468..6f1afb02c3e6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/removeValVarFromParameter/parameterWithComment.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/removeValVarFromParameter/parameterWithComment.kt @@ -1,3 +1,5 @@ // "Remove 'val' from parameter" "true" fun f(val/* comment */ x: String) { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveValVarFromParameterFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveValVarFromParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/removeValVarFromParameter/parameterWithComment.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/variables/removeValVarFromParameter/parameterWithComment.kt.after index 862b0dc26c52..7545af9e101a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/removeValVarFromParameter/parameterWithComment.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/removeValVarFromParameter/parameterWithComment.kt.after @@ -1,3 +1,5 @@ // "Remove 'val' from parameter" "true" fun f(/* comment */ x: String) { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveValVarFromParameterFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveValVarFromParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/removeValVarFromParameter/secondaryConstructorParameter.kt b/plugins/kotlin/idea/tests/testData/quickfix/variables/removeValVarFromParameter/secondaryConstructorParameter.kt index 7091b1fbc75d..0acc35d88a38 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/removeValVarFromParameter/secondaryConstructorParameter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/removeValVarFromParameter/secondaryConstructorParameter.kt @@ -2,3 +2,6 @@ class A { constructor(val x: Int) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveValVarFromParameterFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveValVarFromParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/removeValVarFromParameter/secondaryConstructorParameter.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/variables/removeValVarFromParameter/secondaryConstructorParameter.kt.after index ed8ac87374e9..f8ad5999341b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/removeValVarFromParameter/secondaryConstructorParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/removeValVarFromParameter/secondaryConstructorParameter.kt.after @@ -2,3 +2,6 @@ class A { constructor(x: Int) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveValVarFromParameterFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveValVarFromParameterFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/unusedVariableWithAnonymousFunctionInitialize2.kt b/plugins/kotlin/idea/tests/testData/quickfix/variables/unusedVariableWithAnonymousFunctionInitialize2.kt index eedf4a89b2b4..199dccb8bdc0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/unusedVariableWithAnonymousFunctionInitialize2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/unusedVariableWithAnonymousFunctionInitialize2.kt @@ -1,4 +1,5 @@ // "Remove variable 'a'" "true" fun test() { val a: (String) -> Unit = fun(s: String) { s + s } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemovePsiElementSimpleFix$RemoveVariableFactory$doCreateQuickFix$removePropertyFix$1 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/unusedVariableWithAnonymousFunctionInitialize2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/variables/unusedVariableWithAnonymousFunctionInitialize2.kt.after index 6a3f685d37fb..5f9fac68d072 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/unusedVariableWithAnonymousFunctionInitialize2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/unusedVariableWithAnonymousFunctionInitialize2.kt.after @@ -1,4 +1,5 @@ // "Remove variable 'a'" "true" fun test() { fun(s: String) { s + s } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemovePsiElementSimpleFix$RemoveVariableFactory$doCreateQuickFix$removePropertyFix$1 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/unusedVariableWithConstantInitializer.kt b/plugins/kotlin/idea/tests/testData/quickfix/variables/unusedVariableWithConstantInitializer.kt index 500ac7a0a34f..2199836cac9a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/unusedVariableWithConstantInitializer.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/unusedVariableWithConstantInitializer.kt @@ -2,4 +2,5 @@ fun foo() { val flag = true -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemovePsiElementSimpleFix$RemoveVariableFactory$doCreateQuickFix$removePropertyFix$1 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/unusedVariableWithConstantInitializer.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/variables/unusedVariableWithConstantInitializer.kt.after index 6c60d9253b35..c88c17ed10fd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/unusedVariableWithConstantInitializer.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/unusedVariableWithConstantInitializer.kt.after @@ -1,4 +1,5 @@ // "Remove variable 'flag'" "true" fun foo() { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemovePsiElementSimpleFix$RemoveVariableFactory$doCreateQuickFix$removePropertyFix$1 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/unusedVariableWithInitializer.kt b/plugins/kotlin/idea/tests/testData/quickfix/variables/unusedVariableWithInitializer.kt index 96ac565a88fa..3afa06062c25 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/unusedVariableWithInitializer.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/unusedVariableWithInitializer.kt @@ -3,4 +3,5 @@ var cnt = 5 fun getCnt() = cnt++ fun f() { var a = getCnt() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemovePsiElementSimpleFix$RemoveVariableFactory$doCreateQuickFix$removePropertyFix$1 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/unusedVariableWithInitializer.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/variables/unusedVariableWithInitializer.kt.after index d534789df10a..28a4b3a9f63b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/unusedVariableWithInitializer.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/unusedVariableWithInitializer.kt.after @@ -3,4 +3,5 @@ var cnt = 5 fun getCnt() = cnt++ fun f() { getCnt() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemovePsiElementSimpleFix$RemoveVariableFactory$doCreateQuickFix$removePropertyFix$1 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/unusedVariableWithInitializerAndComment.kt b/plugins/kotlin/idea/tests/testData/quickfix/variables/unusedVariableWithInitializerAndComment.kt index edf1cfd11e07..b7becbea3386 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/unusedVariableWithInitializerAndComment.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/unusedVariableWithInitializerAndComment.kt @@ -3,4 +3,5 @@ var cnt = 5 fun getCnt() = cnt++ fun f() { var a = getCnt() // comment -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemovePsiElementSimpleFix$RemoveVariableFactory$doCreateQuickFix$removePropertyFix$1 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/unusedVariableWithInitializerAndComment.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/variables/unusedVariableWithInitializerAndComment.kt.after index ae5523ce62e0..aaa21bab473e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/unusedVariableWithInitializerAndComment.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/unusedVariableWithInitializerAndComment.kt.after @@ -3,4 +3,5 @@ var cnt = 5 fun getCnt() = cnt++ fun f() { getCnt() // comment -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemovePsiElementSimpleFix$RemoveVariableFactory$doCreateQuickFix$removePropertyFix$1 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/unusedVariableWithLambdaInitializer2.kt b/plugins/kotlin/idea/tests/testData/quickfix/variables/unusedVariableWithLambdaInitializer2.kt index 8ff584a32f62..1caf914dfe0d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/unusedVariableWithLambdaInitializer2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/unusedVariableWithLambdaInitializer2.kt @@ -1,4 +1,5 @@ // "Remove variable 'a'" "true" fun test() { val a: (String) -> Unit = { s: String -> s + s } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemovePsiElementSimpleFix$RemoveVariableFactory$doCreateQuickFix$removePropertyFix$1 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/unusedVariableWithLambdaInitializer2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/variables/unusedVariableWithLambdaInitializer2.kt.after index 51ded855a2c4..54b954ac7ecb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/unusedVariableWithLambdaInitializer2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/unusedVariableWithLambdaInitializer2.kt.after @@ -1,4 +1,5 @@ // "Remove variable 'a'" "true" fun test() { { s: String -> s + s } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemovePsiElementSimpleFix$RemoveVariableFactory$doCreateQuickFix$removePropertyFix$1 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/unusedVariableWithNullInitializer.kt b/plugins/kotlin/idea/tests/testData/quickfix/variables/unusedVariableWithNullInitializer.kt index f000453ed769..795b1b5c6972 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/unusedVariableWithNullInitializer.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/unusedVariableWithNullInitializer.kt @@ -2,4 +2,5 @@ fun foo() { val i: Int? = null -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemovePsiElementSimpleFix$RemoveVariableFactory$doCreateQuickFix$removePropertyFix$1 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/unusedVariableWithNullInitializer.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/variables/unusedVariableWithNullInitializer.kt.after index 2f70d7274577..520225dab700 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/unusedVariableWithNullInitializer.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/unusedVariableWithNullInitializer.kt.after @@ -1,4 +1,5 @@ // "Remove variable 'i'" "true" fun foo() { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemovePsiElementSimpleFix$RemoveVariableFactory$doCreateQuickFix$removePropertyFix$1 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/unusedVariableWithoutInitializer.kt b/plugins/kotlin/idea/tests/testData/quickfix/variables/unusedVariableWithoutInitializer.kt index 567d5b35dde7..119e10a695df 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/unusedVariableWithoutInitializer.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/unusedVariableWithoutInitializer.kt @@ -1,4 +1,5 @@ // "Remove variable 'test'" "true" fun f() { val test: Int -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemovePsiElementSimpleFix$RemoveVariableFactory$doCreateQuickFix$removePropertyFix$1 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/variables/unusedVariableWithoutInitializer.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/variables/unusedVariableWithoutInitializer.kt.after index 66a1e40cd42c..3a058f59d3ce 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/variables/unusedVariableWithoutInitializer.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/variables/unusedVariableWithoutInitializer.kt.after @@ -1,3 +1,4 @@ // "Remove variable 'test'" "true" fun f() { -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemovePsiElementSimpleFix$RemoveVariableFactory$doCreateQuickFix$removePropertyFix$1 \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/addElseBranchBooleanWarning.kt b/plugins/kotlin/idea/tests/testData/quickfix/when/addElseBranchBooleanWarning.kt index def09dd34164..67a4057e7150 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/addElseBranchBooleanWarning.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/addElseBranchBooleanWarning.kt @@ -4,3 +4,6 @@ fun foo(x: String?) { x ?: when { true -> break } } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddWhenElseBranchFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddWhenElseBranchFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/addElseBranchBooleanWarning.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/when/addElseBranchBooleanWarning.kt.after index c886fc25f118..3a1be937590c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/addElseBranchBooleanWarning.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/addElseBranchBooleanWarning.kt.after @@ -6,3 +6,6 @@ fun foo(x: String?) { } } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddWhenElseBranchFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddWhenElseBranchFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/addElseBranchEnumStatement.kt b/plugins/kotlin/idea/tests/testData/quickfix/when/addElseBranchEnumStatement.kt index 732d403cc3e4..e282b43c1a5d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/addElseBranchEnumStatement.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/addElseBranchEnumStatement.kt @@ -7,3 +7,6 @@ fun use(c: Color) { } fun red() {} + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddWhenElseBranchFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddWhenElseBranchFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/addElseBranchEnumStatement.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/when/addElseBranchEnumStatement.kt.after index 3668fe145994..0b96635a16cc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/addElseBranchEnumStatement.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/addElseBranchEnumStatement.kt.after @@ -8,3 +8,6 @@ fun use(c: Color) { } fun red() {} + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddWhenElseBranchFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddWhenElseBranchFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/addElseBranchSealed.kt b/plugins/kotlin/idea/tests/testData/quickfix/when/addElseBranchSealed.kt index aca0de95fa58..38e1a1a1e469 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/addElseBranchSealed.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/addElseBranchSealed.kt @@ -10,3 +10,6 @@ fun test(base: Base) { is Base.A -> "" } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddWhenElseBranchFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddWhenElseBranchFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/addElseBranchSealed.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/when/addElseBranchSealed.kt.after index e7da91c017a4..7d29e66792bc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/addElseBranchSealed.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/addElseBranchSealed.kt.after @@ -11,3 +11,6 @@ fun test(base: Base) { else -> {} } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddWhenElseBranchFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddWhenElseBranchFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/addElseBranchSealedWarning.kt b/plugins/kotlin/idea/tests/testData/quickfix/when/addElseBranchSealedWarning.kt index 3a75c97a8962..2d3437729332 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/addElseBranchSealedWarning.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/addElseBranchSealedWarning.kt @@ -10,3 +10,6 @@ fun test(base: Base, x: String?) { is Base.A -> return } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddWhenElseBranchFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddWhenElseBranchFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/addElseBranchSealedWarning.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/when/addElseBranchSealedWarning.kt.after index de3628a203a0..4670bdbbc45d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/addElseBranchSealedWarning.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/addElseBranchSealedWarning.kt.after @@ -11,3 +11,6 @@ fun test(base: Base, x: String?) { else -> {} } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddWhenElseBranchFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddWhenElseBranchFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesBlankLine.kt b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesBlankLine.kt index d5889369cde3..af1a25096b11 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesBlankLine.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesBlankLine.kt @@ -9,3 +9,6 @@ fun test(a: A) { } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddWhenRemainingBranchesFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.AddWhenRemainingBranchFixFactories$AddRemainingWhenBranchesQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesBlankLine.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesBlankLine.kt.after index e940f9747d38..5b4d10d21760 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesBlankLine.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesBlankLine.kt.after @@ -9,3 +9,6 @@ fun test(a: A) { is B -> TODO() } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddWhenRemainingBranchesFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.AddWhenRemainingBranchFixFactories$AddRemainingWhenBranchesQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesBlankLineWithComment.kt b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesBlankLineWithComment.kt index 1d318f7aa831..b2714cb0f2d8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesBlankLineWithComment.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesBlankLineWithComment.kt @@ -11,3 +11,6 @@ fun test(a: A) { } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddWhenRemainingBranchesFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.AddWhenRemainingBranchFixFactories$AddRemainingWhenBranchesQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesBlankLineWithComment.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesBlankLineWithComment.kt.after index 1bd788f0089a..227c16a3397b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesBlankLineWithComment.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesBlankLineWithComment.kt.after @@ -11,3 +11,6 @@ fun test(a: A) { is B -> TODO() } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddWhenRemainingBranchesFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.AddWhenRemainingBranchFixFactories$AddRemainingWhenBranchesQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesBoolean.kt b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesBoolean.kt index bc8e9e031ccc..5b13eb03190f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesBoolean.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesBoolean.kt @@ -3,3 +3,6 @@ fun test(b: Boolean) = when(b) { false -> 0 } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddWhenRemainingBranchesFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.AddWhenRemainingBranchFixFactories$AddRemainingWhenBranchesQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesBoolean.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesBoolean.kt.after index 9f9f71c7a01f..f621f4c4b4c5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesBoolean.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesBoolean.kt.after @@ -4,3 +4,6 @@ fun test(b: Boolean) = when(b) { false -> 0 true -> TODO() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddWhenRemainingBranchesFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.AddWhenRemainingBranchFixFactories$AddRemainingWhenBranchesQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnum.kt b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnum.kt index 477ec32bb256..48af22acacd8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnum.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnum.kt @@ -5,3 +5,6 @@ enum class Color { R, G, B } fun test(c: Color) = when(c) { Color.B -> 0xff } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddWhenRemainingBranchesFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.AddWhenRemainingBranchFixFactories$AddRemainingWhenBranchesQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnum.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnum.kt.after index 28b04c4c7eef..a05a347ef8ce 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnum.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnum.kt.after @@ -7,3 +7,6 @@ fun test(c: Color) = when(c) { Color.R -> TODO() Color.G -> TODO() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddWhenRemainingBranchesFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.AddWhenRemainingBranchFixFactories$AddRemainingWhenBranchesQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumBackTicks.kt b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumBackTicks.kt index fc75df8f5a4c..497e416ac252 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumBackTicks.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumBackTicks.kt @@ -8,3 +8,6 @@ enum class FooEnum { fun test(foo: FooEnum?) = when (foo) { FooEnum.A -> "A" } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddWhenRemainingBranchesFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.AddWhenRemainingBranchFixFactories$AddRemainingWhenBranchesQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumBackTicks.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumBackTicks.kt.after index 51bdc5b11491..5cfaadf20715 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumBackTicks.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumBackTicks.kt.after @@ -14,3 +14,6 @@ fun test(foo: FooEnum?) = when (foo) { FooEnum.`null` -> TODO() null -> TODO() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddWhenRemainingBranchesFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.AddWhenRemainingBranchFixFactories$AddRemainingWhenBranchesQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumImport1.kt b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumImport1.kt index 8cce5e72120f..0317b9a030ea 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumImport1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumImport1.kt @@ -10,3 +10,6 @@ class Test { } } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddWhenRemainingBranchesFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.AddWhenRemainingBranchFixFactories$AddRemainingWhenBranchesQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumImport1.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumImport1.kt.after index 3177b5b36db6..f95b00a07539 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumImport1.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumImport1.kt.after @@ -15,3 +15,6 @@ class Test { } } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddWhenRemainingBranchesFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.AddWhenRemainingBranchFixFactories$AddRemainingWhenBranchesQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumImport2.kt b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumImport2.kt index fc960622c376..cc706ed95466 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumImport2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumImport2.kt @@ -13,3 +13,6 @@ class Test { } } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddWhenRemainingBranchesFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.AddWhenRemainingBranchFixFactories$AddRemainingWhenBranchesQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumImport2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumImport2.kt.after index ca5564f825f5..14b60e25d04a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumImport2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumImport2.kt.after @@ -14,3 +14,6 @@ class Test { } } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddWhenRemainingBranchesFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.AddWhenRemainingBranchFixFactories$AddRemainingWhenBranchesQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumImport3.kt b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumImport3.kt index fce265a9ecac..216c718b5613 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumImport3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumImport3.kt @@ -23,3 +23,6 @@ class Test { } } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddWhenRemainingBranchesFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.AddWhenRemainingBranchFixFactories$AddRemainingWhenBranchesQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumImport3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumImport3.kt.after index 1e63ecb41aea..a3a020cd8818 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumImport3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumImport3.kt.after @@ -26,3 +26,6 @@ class Test { } } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddWhenRemainingBranchesFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.AddWhenRemainingBranchFixFactories$AddRemainingWhenBranchesQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumImport4.kt b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumImport4.kt index 730abae9fa64..c627c1a2af21 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumImport4.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumImport4.kt @@ -24,3 +24,5 @@ class Test { } } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddWhenRemainingBranchesFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumImport4.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumImport4.kt.after index ae343534b0cd..48c7b1ae3b60 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumImport4.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumImport4.kt.after @@ -29,3 +29,5 @@ class Test { } } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddWhenRemainingBranchesFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumStatement.kt b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumStatement.kt index ee6ebd049f81..ce51c3e5b55b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumStatement.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumStatement.kt @@ -9,3 +9,6 @@ fun use(c: Color) { } fun red() {} + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddWhenRemainingBranchesFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.AddWhenRemainingBranchFixFactories$AddRemainingWhenBranchesQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumStatement.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumStatement.kt.after index e473a6374c95..f99282cb9a2d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumStatement.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumStatement.kt.after @@ -11,3 +11,6 @@ fun use(c: Color) { } fun red() {} + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddWhenRemainingBranchesFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.AddWhenRemainingBranchFixFactories$AddRemainingWhenBranchesQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesInNonDefaultPackage.kt b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesInNonDefaultPackage.kt index ed81538bb483..69348b0b1a9d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesInNonDefaultPackage.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesInNonDefaultPackage.kt @@ -6,3 +6,6 @@ enum class Color { R, G, B } fun test(c: Color) = when(c) { Color.B -> 0xff } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddWhenRemainingBranchesFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.AddWhenRemainingBranchFixFactories$AddRemainingWhenBranchesQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesInNonDefaultPackage.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesInNonDefaultPackage.kt.after index 6c5cc283db79..bfe9b5cb88e9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesInNonDefaultPackage.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesInNonDefaultPackage.kt.after @@ -8,3 +8,6 @@ fun test(c: Color) = when(c) { Color.R -> TODO() Color.G -> TODO() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddWhenRemainingBranchesFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.AddWhenRemainingBranchFixFactories$AddRemainingWhenBranchesQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesMissingLeftBracket.fir.kt b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesMissingLeftBracket.fir.kt index ccd61e2c08e6..542de0ccb34f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesMissingLeftBracket.fir.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesMissingLeftBracket.fir.kt @@ -6,3 +6,5 @@ class B : A() fun test(a: A) { val i = when (a) + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.AddWhenRemainingBranchFixFactories$AddRemainingWhenBranchesQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesMissingLeftBracket.fir.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesMissingLeftBracket.fir.kt.after index d967e010c752..1982752d9821 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesMissingLeftBracket.fir.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesMissingLeftBracket.fir.kt.after @@ -8,3 +8,5 @@ fun test(a: A) { val i = when (a) { is B -> TODO() } + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.AddWhenRemainingBranchFixFactories$AddRemainingWhenBranchesQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesMissingRightBracket.fir.kt b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesMissingRightBracket.fir.kt index c483e7c8a21b..ceb34bd21240 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesMissingRightBracket.fir.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesMissingRightBracket.fir.kt @@ -6,3 +6,5 @@ class B : A() fun test(a: A) { val i = when (a) { + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.AddWhenRemainingBranchFixFactories$AddRemainingWhenBranchesQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesMissingRightBracket.fir.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesMissingRightBracket.fir.kt.after index d967e010c752..1982752d9821 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesMissingRightBracket.fir.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesMissingRightBracket.fir.kt.after @@ -8,3 +8,5 @@ fun test(a: A) { val i = when (a) { is B -> TODO() } + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.AddWhenRemainingBranchFixFactories$AddRemainingWhenBranchesQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesMissingRightParenthesis.fir.kt b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesMissingRightParenthesis.fir.kt index 9be8bb8a82d6..a4892806347f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesMissingRightParenthesis.fir.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesMissingRightParenthesis.fir.kt @@ -6,3 +6,5 @@ class B : A() fun test(a: A) { val i = when (a + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.AddWhenRemainingBranchFixFactories$AddRemainingWhenBranchesQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesMissingRightParenthesis.fir.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesMissingRightParenthesis.fir.kt.after index d967e010c752..1982752d9821 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesMissingRightParenthesis.fir.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesMissingRightParenthesis.fir.kt.after @@ -8,3 +8,5 @@ fun test(a: A) { val i = when (a) { is B -> TODO() } + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.AddWhenRemainingBranchFixFactories$AddRemainingWhenBranchesQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesSealed.kt b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesSealed.kt index 199276d3064d..16137c2f1368 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesSealed.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesSealed.kt @@ -12,3 +12,6 @@ sealed class Variant { fun test(v: Variant?) = when(v) { Variant.Singleton -> "s" } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddWhenRemainingBranchesFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.AddWhenRemainingBranchFixFactories$AddRemainingWhenBranchesQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesSealed.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesSealed.kt.after index ef3d03c8d8c7..9fbb326f6786 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesSealed.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesSealed.kt.after @@ -15,3 +15,6 @@ fun test(v: Variant?) = when(v) { is Variant.Something -> TODO() null -> TODO() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddWhenRemainingBranchesFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.AddWhenRemainingBranchFixFactories$AddRemainingWhenBranchesQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesSealedBackTicks.kt b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesSealedBackTicks.kt index ebe926bc21c9..99c8038f2f6f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesSealedBackTicks.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesSealedBackTicks.kt @@ -13,3 +13,6 @@ object `null`: FooSealed() fun test(foo: FooSealed?) = when (foo) { A -> "A" } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddWhenRemainingBranchesFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.AddWhenRemainingBranchFixFactories$AddRemainingWhenBranchesQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesSealedBackTicks.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesSealedBackTicks.kt.after index 6f3b51323a39..bf6911542372 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesSealedBackTicks.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesSealedBackTicks.kt.after @@ -20,3 +20,6 @@ fun test(foo: FooSealed?) = when (foo) { is `true` -> TODO() null -> TODO() } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddWhenRemainingBranchesFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.AddWhenRemainingBranchFixFactories$AddRemainingWhenBranchesQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesSealedStatement.kt b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesSealedStatement.kt index c2160d2ec5d6..e051d6c19c95 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesSealedStatement.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesSealedStatement.kt @@ -14,3 +14,6 @@ fun test(v: Variant?) { Variant.Singleton -> "s" } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddWhenRemainingBranchesFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.AddWhenRemainingBranchFixFactories$AddRemainingWhenBranchesQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesSealedStatement.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesSealedStatement.kt.after index 6456b3bf9e5b..b630c3037dcd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesSealedStatement.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesSealedStatement.kt.after @@ -17,3 +17,6 @@ fun test(v: Variant?) { null -> TODO() } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddWhenRemainingBranchesFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.AddWhenRemainingBranchFixFactories$AddRemainingWhenBranchesQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesSealedWarning.kt b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesSealedWarning.kt index c31a915902ed..e80cf2e6e292 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesSealedWarning.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesSealedWarning.kt @@ -12,3 +12,6 @@ fun test(base: Base, x: String?) { is Base.A -> return } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddWhenRemainingBranchesFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.AddWhenRemainingBranchFixFactories$AddRemainingWhenBranchesQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesSealedWarning.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesSealedWarning.kt.after index c0f0ea91972f..9b788b077ab6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesSealedWarning.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesSealedWarning.kt.after @@ -14,3 +14,6 @@ fun test(base: Base, x: String?) { is Base.C -> TODO() } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddWhenRemainingBranchesFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.AddWhenRemainingBranchFixFactories$AddRemainingWhenBranchesQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/breakInWhen.kt b/plugins/kotlin/idea/tests/testData/quickfix/when/breakInWhen.kt index 916dc44de818..fd87bcfe12ec 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/breakInWhen.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/breakInWhen.kt @@ -17,3 +17,5 @@ fun breakContinueInWhen(i: Int) { } } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.quickFix.AddLoopLabelFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/breakInWhen.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/when/breakInWhen.kt.after index e10640c4d5e1..cc0678685db2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/breakInWhen.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/breakInWhen.kt.after @@ -17,3 +17,5 @@ fun breakContinueInWhen(i: Int) { } } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.quickFix.AddLoopLabelFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/breakInWhenInLabeled.kt b/plugins/kotlin/idea/tests/testData/quickfix/when/breakInWhenInLabeled.kt index 90029c2583e2..d02366fde745 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/breakInWhenInLabeled.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/breakInWhenInLabeled.kt @@ -14,3 +14,5 @@ fun foo(chars: CharArray) { } } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.quickFix.AddLoopLabelFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/breakInWhenInLabeled.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/when/breakInWhenInLabeled.kt.after index cde4393e7bd7..b65d8d0cd4a8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/breakInWhenInLabeled.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/breakInWhenInLabeled.kt.after @@ -14,3 +14,5 @@ fun foo(chars: CharArray) { } } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.quickFix.AddLoopLabelFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/commasInConditionWithNoArguments.kt b/plugins/kotlin/idea/tests/testData/quickfix/when/commasInConditionWithNoArguments.kt index a4faa25500d2..b2c469acefa3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/commasInConditionWithNoArguments.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/commasInConditionWithNoArguments.kt @@ -13,4 +13,5 @@ fun test(i: Int, j: Int) { else -> { /* other code */ } } } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.CommaInWhenConditionWithoutArgumentFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/commasInConditionWithNoArguments.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/when/commasInConditionWithNoArguments.kt.after index 97ca4f030046..977f0d6cd062 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/commasInConditionWithNoArguments.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/commasInConditionWithNoArguments.kt.after @@ -13,4 +13,5 @@ fun test(i: Int, j: Int) { else -> { /* other code */ } } } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.CommaInWhenConditionWithoutArgumentFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/commasInConditionWithNoArguments2.kt b/plugins/kotlin/idea/tests/testData/quickfix/when/commasInConditionWithNoArguments2.kt index da51791c6ee3..e06b553f53a9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/commasInConditionWithNoArguments2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/commasInConditionWithNoArguments2.kt @@ -7,3 +7,5 @@ fun test(a: Boolean, b: Boolean, c: Boolean) { } } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.CommaInWhenConditionWithoutArgumentFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/commasInConditionWithNoArguments2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/when/commasInConditionWithNoArguments2.kt.after index a49eefcd20fa..de4030eb8e86 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/commasInConditionWithNoArguments2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/commasInConditionWithNoArguments2.kt.after @@ -7,3 +7,5 @@ fun test(a: Boolean, b: Boolean, c: Boolean) { } } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.CommaInWhenConditionWithoutArgumentFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/continueInWhen.kt b/plugins/kotlin/idea/tests/testData/quickfix/when/continueInWhen.kt index 3474396867a9..407d7d76b98b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/continueInWhen.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/continueInWhen.kt @@ -17,3 +17,5 @@ fun breakContinueInWhen(i: Int) { } } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.quickFix.AddLoopLabelFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/continueInWhen.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/when/continueInWhen.kt.after index 3a63533da0b0..c4146c7cc1d0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/continueInWhen.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/continueInWhen.kt.after @@ -17,3 +17,5 @@ fun breakContinueInWhen(i: Int) { } } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.quickFix.AddLoopLabelFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/continueInWhenInLabeled.kt b/plugins/kotlin/idea/tests/testData/quickfix/when/continueInWhenInLabeled.kt index f0f8b0a62bd3..9c7ddf9b8355 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/continueInWhenInLabeled.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/continueInWhenInLabeled.kt @@ -14,3 +14,5 @@ fun foo(chars: CharArray) { } } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.quickFix.AddLoopLabelFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/continueInWhenInLabeled.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/when/continueInWhenInLabeled.kt.after index 6920216d0735..61c9e473cf13 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/continueInWhenInLabeled.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/continueInWhenInLabeled.kt.after @@ -14,3 +14,5 @@ fun foo(chars: CharArray) { } } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.quickFix.AddLoopLabelFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/continueInWhenWithLabel.kt b/plugins/kotlin/idea/tests/testData/quickfix/when/continueInWhenWithLabel.kt index 87e9716ba4a9..304f8b47a7d3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/continueInWhenWithLabel.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/continueInWhenWithLabel.kt @@ -19,3 +19,5 @@ fun breakContinueInWhen(i: Int) { } } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.quickFix.AddLoopLabelFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/continueInWhenWithLabel.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/when/continueInWhenWithLabel.kt.after index e1b8a61dbeee..2e28319c9d63 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/continueInWhenWithLabel.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/continueInWhenWithLabel.kt.after @@ -19,3 +19,5 @@ fun breakContinueInWhen(i: Int) { } } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.quickFix.AddLoopLabelFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/elseNotLastInWhen.kt b/plugins/kotlin/idea/tests/testData/quickfix/when/elseNotLastInWhen.kt index 6c944af35428..76a7c3a0da11 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/elseNotLastInWhen.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/elseNotLastInWhen.kt @@ -8,3 +8,5 @@ fun test() { } } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MoveWhenElseBranchFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/elseNotLastInWhen.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/when/elseNotLastInWhen.kt.after index a2f42fa244e1..6b0b041f4127 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/elseNotLastInWhen.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/elseNotLastInWhen.kt.after @@ -8,3 +8,5 @@ fun test() { } } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MoveWhenElseBranchFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/noElseInWhenWithBranches.kt b/plugins/kotlin/idea/tests/testData/quickfix/when/noElseInWhenWithBranches.kt index 6edae6f386c0..250756bf3ae0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/noElseInWhenWithBranches.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/noElseInWhenWithBranches.kt @@ -5,4 +5,6 @@ fun test() { in 0..11 -> { /* some code */ } 12, 13, 14 -> { /* some code */ } } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddWhenElseBranchFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddWhenElseBranchFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/noElseInWhenWithBranches.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/when/noElseInWhenWithBranches.kt.after index 80010af6569a..ea16f6545541 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/noElseInWhenWithBranches.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/noElseInWhenWithBranches.kt.after @@ -6,4 +6,6 @@ fun test() { 12, 13, 14 -> { /* some code */ } else -> {} } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddWhenElseBranchFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddWhenElseBranchFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/noElseInWhenWithoutBranches.kt b/plugins/kotlin/idea/tests/testData/quickfix/when/noElseInWhenWithoutBranches.kt index 67a0ff8c872c..2d72ff7307ba 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/noElseInWhenWithoutBranches.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/noElseInWhenWithoutBranches.kt @@ -3,4 +3,6 @@ fun test() { val a = 12 val x = when (a) { } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddWhenElseBranchFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddWhenElseBranchFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/noElseInWhenWithoutBranches.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/when/noElseInWhenWithoutBranches.kt.after index a1d5c17c7b3c..c5f8bdf4e227 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/noElseInWhenWithoutBranches.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/noElseInWhenWithoutBranches.kt.after @@ -4,4 +4,6 @@ fun test() { val x = when (a) { else -> {} } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddWhenElseBranchFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddWhenElseBranchFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/removeRedundantBranch.kt b/plugins/kotlin/idea/tests/testData/quickfix/when/removeRedundantBranch.kt index 9b9958c5c331..5f34c29992ce 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/removeRedundantBranch.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/removeRedundantBranch.kt @@ -7,3 +7,6 @@ fun test(x: Int): String { else -> "" } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveWhenBranchFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveWhenBranchFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/removeRedundantBranch.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/when/removeRedundantBranch.kt.after index 0c04e18bbaad..19516ea8986b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/removeRedundantBranch.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/removeRedundantBranch.kt.after @@ -6,3 +6,6 @@ fun test(x: Int): String { else -> "" } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveWhenBranchFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveWhenBranchFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/removeRedundantCondition.kt b/plugins/kotlin/idea/tests/testData/quickfix/when/removeRedundantCondition.kt index ad114931bd9d..b0fe501f239f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/removeRedundantCondition.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/removeRedundantCondition.kt @@ -11,3 +11,5 @@ fun main() { } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveWhenConditionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/removeRedundantCondition.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/when/removeRedundantCondition.kt.after index 081fe328d993..af289da57724 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/removeRedundantCondition.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/removeRedundantCondition.kt.after @@ -11,3 +11,5 @@ fun main() { } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveWhenConditionFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/removeRedundantElse.kt b/plugins/kotlin/idea/tests/testData/quickfix/when/removeRedundantElse.kt index d5878f12c47c..c03b04bd9fc7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/removeRedundantElse.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/removeRedundantElse.kt @@ -8,3 +8,5 @@ fun foo(b: Boolean) { } } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveWhenBranchFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/when/removeRedundantElse.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/when/removeRedundantElse.kt.after index 86a2b819b7f6..644c6a2012bb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/when/removeRedundantElse.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/when/removeRedundantElse.kt.after @@ -7,3 +7,5 @@ fun foo(b: Boolean) { } } /* IGNORE_FIR */ + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveWhenBranchFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapArgumentWithParentheses/ModifierFormForNonBuiltInSuspend.kt b/plugins/kotlin/idea/tests/testData/quickfix/wrapArgumentWithParentheses/ModifierFormForNonBuiltInSuspend.kt index f253220277d6..3561c84db4c6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapArgumentWithParentheses/ModifierFormForNonBuiltInSuspend.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapArgumentWithParentheses/ModifierFormForNonBuiltInSuspend.kt @@ -4,3 +4,5 @@ infix fun Int.suspend(bar: () -> Unit) {} fun foo() { 1 suspend {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithParenthesesFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapArgumentWithParentheses/ModifierFormForNonBuiltInSuspend.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/wrapArgumentWithParentheses/ModifierFormForNonBuiltInSuspend.kt.after index 61af594bc2fc..aea3eb8fd841 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapArgumentWithParentheses/ModifierFormForNonBuiltInSuspend.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapArgumentWithParentheses/ModifierFormForNonBuiltInSuspend.kt.after @@ -4,3 +4,5 @@ infix fun Int.suspend(bar: () -> Unit) {} fun foo() { 1 suspend ({}) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithParenthesesFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapArgumentWithParentheses/ModifierFormForNonBuiltInSuspendFun.kt b/plugins/kotlin/idea/tests/testData/quickfix/wrapArgumentWithParentheses/ModifierFormForNonBuiltInSuspendFun.kt index 271cc32945a7..50949367ac71 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapArgumentWithParentheses/ModifierFormForNonBuiltInSuspendFun.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapArgumentWithParentheses/ModifierFormForNonBuiltInSuspendFun.kt @@ -4,3 +4,5 @@ infix fun Int.suspend(bar: () -> Unit) {} fun foo() { 1 suspend fun() {} } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithParenthesesFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapArgumentWithParentheses/ModifierFormForNonBuiltInSuspendFun.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/wrapArgumentWithParentheses/ModifierFormForNonBuiltInSuspendFun.kt.after index 93d949dbf7d6..d43262a60e7b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapArgumentWithParentheses/ModifierFormForNonBuiltInSuspendFun.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapArgumentWithParentheses/ModifierFormForNonBuiltInSuspendFun.kt.after @@ -4,3 +4,5 @@ infix fun Int.suspend(bar: () -> Unit) {} fun foo() { 1 suspend (fun() {}) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithParenthesesFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWhenExpressionInParentheses/logicalExpressionInWhen.kt b/plugins/kotlin/idea/tests/testData/quickfix/wrapWhenExpressionInParentheses/logicalExpressionInWhen.kt index 635d943f22e4..37b9294d494d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWhenExpressionInParentheses/logicalExpressionInWhen.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWhenExpressionInParentheses/logicalExpressionInWhen.kt @@ -8,4 +8,5 @@ fun test(x: A, b: Boolean) { when (b) { x in x -> {} } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConfusingExpressionInWhenBranchFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWhenExpressionInParentheses/logicalExpressionInWhen.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/wrapWhenExpressionInParentheses/logicalExpressionInWhen.kt.after index 140717982a2c..6684b3994ad6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWhenExpressionInParentheses/logicalExpressionInWhen.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWhenExpressionInParentheses/logicalExpressionInWhen.kt.after @@ -8,4 +8,5 @@ fun test(x: A, b: Boolean) { when (b) { (x in x) -> {} } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConfusingExpressionInWhenBranchFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/argumentNullable.kt b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/argumentNullable.kt index 1e44fb7a7857..e4d8dc19dbd9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/argumentNullable.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/argumentNullable.kt @@ -5,4 +5,6 @@ fun foo(x: String?) { bar(x) } -fun bar(s: String) = s.hashCode() \ No newline at end of file +fun bar(s: String) = s.hashCode() +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithSafeLetCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/argumentNullable.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/argumentNullable.kt.after index 3ba82c8c0701..e9831793d91b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/argumentNullable.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/argumentNullable.kt.after @@ -5,4 +5,6 @@ fun foo(x: String?) { x?.let { bar(it) } } -fun bar(s: String) = s.hashCode() \ No newline at end of file +fun bar(s: String) = s.hashCode() +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithSafeLetCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/callWithLambdaArgument.fir.kt b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/callWithLambdaArgument.fir.kt index f2f574fffec8..de3ee024aeab 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/callWithLambdaArgument.fir.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/callWithLambdaArgument.fir.kt @@ -10,3 +10,5 @@ fun test(foo: Foo) { } fun bar(s: String) {} + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/callWithLambdaArgument.fir.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/callWithLambdaArgument.fir.kt.after index e143ac16fa91..5c4534a2ee46 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/callWithLambdaArgument.fir.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/callWithLambdaArgument.fir.kt.after @@ -10,3 +10,5 @@ fun test(foo: Foo) { } fun bar(s: String) {} + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/callWithLambdaArgument.kt b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/callWithLambdaArgument.kt index 2cbc1c8cf4e4..2499d36987b6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/callWithLambdaArgument.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/callWithLambdaArgument.kt @@ -12,3 +12,5 @@ fun test(foo: Foo) { } fun bar(s: String) {} + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithSafeLetCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/callWithLambdaArgument.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/callWithLambdaArgument.kt.after index 0482a4686329..80cffaaa1f20 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/callWithLambdaArgument.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/callWithLambdaArgument.kt.after @@ -12,3 +12,5 @@ fun test(foo: Foo) { } fun bar(s: String) {} + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithSafeLetCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/chainedCallTypeMismatch.fir.kt b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/chainedCallTypeMismatch.fir.kt index 3136e17d0027..cac3a84f3e40 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/chainedCallTypeMismatch.fir.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/chainedCallTypeMismatch.fir.kt @@ -6,3 +6,5 @@ fun Int.foo(x: Int) = this + x val arg: Int? = 42 val res = 24.hashCode().foo(arg) + 1 + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/chainedCallTypeMismatch.fir.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/chainedCallTypeMismatch.fir.kt.after index cb77034e2e95..de240531656c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/chainedCallTypeMismatch.fir.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/chainedCallTypeMismatch.fir.kt.after @@ -6,3 +6,5 @@ fun Int.foo(x: Int) = this + x val arg: Int? = 42 val res = arg?.let { 24.hashCode().foo(it) + 1 } + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/chainedCallTypeMismatch.kt b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/chainedCallTypeMismatch.kt index 01de6d0e472d..742cb579a604 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/chainedCallTypeMismatch.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/chainedCallTypeMismatch.kt @@ -7,3 +7,5 @@ fun Int.foo(x: Int) = this + x val arg: Int? = 42 val res = 24.hashCode().foo(arg) + 1 + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithSafeLetCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/chainedCallTypeMismatch.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/chainedCallTypeMismatch.kt.after index e78ffcb06e56..8da9b7224291 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/chainedCallTypeMismatch.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/chainedCallTypeMismatch.kt.after @@ -7,3 +7,5 @@ fun Int.foo(x: Int) = this + x val arg: Int? = 42 val res = arg?.let { 24.hashCode().foo(it) } + 1 + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithSafeLetCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/chainedCallTypeMismatch2.kt b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/chainedCallTypeMismatch2.kt index 6fc6bbdffc6a..2b1bd6c12786 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/chainedCallTypeMismatch2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/chainedCallTypeMismatch2.kt @@ -6,4 +6,6 @@ fun Int.foo(x: Int) = this + x val arg: Int? = 42 -val res: Int = 24.hashCode().foo(arg) + 1 \ No newline at end of file +val res: Int = 24.hashCode().foo(arg) + 1 +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithSafeLetCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/chainedCallTypeMismatch2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/chainedCallTypeMismatch2.kt.after index 9d2bafda9f4b..079e6f465228 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/chainedCallTypeMismatch2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/chainedCallTypeMismatch2.kt.after @@ -6,4 +6,6 @@ fun Int.foo(x: Int) = this + x val arg: Int? = 42 -val res: Int = arg?.let { 24.hashCode().foo(it) } + 1 \ No newline at end of file +val res: Int = arg?.let { 24.hashCode().foo(it) } + 1 +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithSafeLetCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/elvisArgument.kt b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/elvisArgument.kt index 16f3e3822d25..f6551803362b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/elvisArgument.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/elvisArgument.kt @@ -4,4 +4,6 @@ fun foo(i: Int) {} fun test(a: Int?, b: Int?) { foo(a ?: b) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithSafeLetCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/elvisArgument.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/elvisArgument.kt.after index 77285f2fc2e9..b8314960b415 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/elvisArgument.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/elvisArgument.kt.after @@ -4,4 +4,6 @@ fun foo(i: Int) {} fun test(a: Int?, b: Int?) { (a ?: b)?.let { foo(it) } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithSafeLetCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/extentionFunctionCall.kt b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/extentionFunctionCall.kt index 5551b500bc86..101971e4f239 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/extentionFunctionCall.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/extentionFunctionCall.kt @@ -3,4 +3,6 @@ fun f(s: String, action: (String.() -> Unit)?) { s.action() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithSafeLetCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/extentionFunctionCall.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/extentionFunctionCall.kt.after index f18e07ba4271..007b962d7574 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/extentionFunctionCall.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/extentionFunctionCall.kt.after @@ -3,4 +3,6 @@ fun f(s: String, action: (String.() -> Unit)?) { action?.let { s.it() } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithSafeLetCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/extentionFunctionCall2.kt b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/extentionFunctionCall2.kt index e09071f3d920..18a171ef639c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/extentionFunctionCall2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/extentionFunctionCall2.kt @@ -7,4 +7,6 @@ fun f(s: String, action: (String.() -> Unit)?) { fun String.foo() = "" -fun String.bar() = "" \ No newline at end of file +fun String.bar() = "" +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithSafeLetCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/extentionFunctionCall2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/extentionFunctionCall2.kt.after index 03d0081d3b2c..a719710c712c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/extentionFunctionCall2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/extentionFunctionCall2.kt.after @@ -7,4 +7,6 @@ fun f(s: String, action: (String.() -> Unit)?) { fun String.foo() = "" -fun String.bar() = "" \ No newline at end of file +fun String.bar() = "" +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithSafeLetCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/inOperator.fir.kt b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/inOperator.fir.kt index 567a6000b3a0..8fb215b6005c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/inOperator.fir.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/inOperator.fir.kt @@ -7,3 +7,5 @@ fun test(l: List?, s: String) { if (s in l) {} } + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/inOperator.fir.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/inOperator.fir.kt.after index 47d22036933d..d3d802b80343 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/inOperator.fir.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/inOperator.fir.kt.after @@ -7,3 +7,5 @@ fun test(l: List?, s: String) { l?.let { if (s in it) {} } } + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/insideLet.fir.kt b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/insideLet.fir.kt index 6ff3763d2f32..98363128bd27 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/insideLet.fir.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/insideLet.fir.kt @@ -5,4 +5,5 @@ fun foo(x: String?, y: String) { y.let { bar(x, it) } } -fun bar(s: String, t: String) = s.hashCode() + t.hashCode() \ No newline at end of file +fun bar(s: String, t: String) = s.hashCode() + t.hashCode() +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/insideLet.fir.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/insideLet.fir.kt.after index 6e38e05fa606..d864d555096c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/insideLet.fir.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/insideLet.fir.kt.after @@ -5,4 +5,5 @@ fun foo(x: String?, y: String) { y.let { x?.let { s -> bar(s, it) } } } -fun bar(s: String, t: String) = s.hashCode() + t.hashCode() \ No newline at end of file +fun bar(s: String, t: String) = s.hashCode() + t.hashCode() +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/insideLet.kt b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/insideLet.kt index 6ff3763d2f32..eeb5541dbe5a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/insideLet.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/insideLet.kt @@ -5,4 +5,5 @@ fun foo(x: String?, y: String) { y.let { bar(x, it) } } -fun bar(s: String, t: String) = s.hashCode() + t.hashCode() \ No newline at end of file +fun bar(s: String, t: String) = s.hashCode() + t.hashCode() +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithSafeLetCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/insideLet.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/insideLet.kt.after index 9c713dfb530d..62c0cfc02d52 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/insideLet.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/insideLet.kt.after @@ -5,4 +5,5 @@ fun foo(x: String?, y: String) { y.let { x?.let { it1 -> bar(it1, it) } } } -fun bar(s: String, t: String) = s.hashCode() + t.hashCode() \ No newline at end of file +fun bar(s: String, t: String) = s.hashCode() + t.hashCode() +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithSafeLetCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeFuncUnsafe.kt b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeFuncUnsafe.kt index ee75bdc0389d..d5c868af8295 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeFuncUnsafe.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeFuncUnsafe.kt @@ -3,4 +3,6 @@ fun foo(exec: (() -> Unit)?) { exec() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithSafeLetCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeFuncUnsafe.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeFuncUnsafe.kt.after index 3714c732c7b1..2ecb49ed945e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeFuncUnsafe.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeFuncUnsafe.kt.after @@ -3,4 +3,6 @@ fun foo(exec: (() -> Unit)?) { exec?.let { it() } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithSafeLetCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeFunctionType.kt b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeFunctionType.kt index e4614b35ee42..fcd2ca97c528 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeFunctionType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeFunctionType.kt @@ -8,3 +8,6 @@ interface Foo { fun test(foo: Foo) { foo.bar(1) } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithSafeLetCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeFunctionType.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeFunctionType.kt.after index dcab0d7b0a13..dddc703f0dd9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeFunctionType.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeFunctionType.kt.after @@ -8,3 +8,6 @@ interface Foo { fun test(foo: Foo) { foo.bar?.let { it(1) } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithSafeLetCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeFunctionType2.kt b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeFunctionType2.kt index f6950c1c720a..d697b5a725c3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeFunctionType2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeFunctionType2.kt @@ -7,4 +7,6 @@ interface Foo { fun Foo.test() { bar(1) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithSafeLetCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeFunctionType2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeFunctionType2.kt.after index 18bff3f0dcc3..4b6a7d7c5098 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeFunctionType2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeFunctionType2.kt.after @@ -7,4 +7,6 @@ interface Foo { fun Foo.test() { bar?.let { it(1) } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithSafeLetCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeOperator.kt b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeOperator.kt index aebe19278887..da05e4e6457f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeOperator.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeOperator.kt @@ -9,4 +9,5 @@ class Bar { fun test(foo: Foo?) { foo?.bar() } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithSafeLetCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeOperator.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeOperator.kt.after index c7662937687f..2ef319ef6eec 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeOperator.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeOperator.kt.after @@ -9,4 +9,5 @@ class Bar { fun test(foo: Foo?) { foo?.bar?.let { it() } } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithSafeLetCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeOperator2.kt b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeOperator2.kt index 780c3fb5d2e3..1515ca17e0ba 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeOperator2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeOperator2.kt @@ -11,4 +11,5 @@ class Baz { fun test(foo: Foo) { foo.bar?.baz() } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithSafeLetCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeOperator2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeOperator2.kt.after index 414afc9684fe..1f10132e1967 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeOperator2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeOperator2.kt.after @@ -11,4 +11,5 @@ class Baz { fun test(foo: Foo) { foo.bar?.baz?.let { it() } } -/* IGNORE_FIR */ \ No newline at end of file +/* IGNORE_FIR */ +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithSafeLetCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeUnsafe.kt b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeUnsafe.kt index cea4e9119303..6bfe7e55992d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeUnsafe.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeUnsafe.kt @@ -5,4 +5,6 @@ operator fun Int.invoke() = this fun foo(arg: Int?) { arg() -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithSafeLetCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeUnsafe.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeUnsafe.kt.after index 4fb173215432..7d0a84de5a46 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeUnsafe.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/invokeUnsafe.kt.after @@ -5,4 +5,6 @@ operator fun Int.invoke() = this fun foo(arg: Int?) { arg?.let { it() } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithSafeLetCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/nameAlreadyInScope.kt b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/nameAlreadyInScope.kt index 01225cb39e99..75ebb072d99b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/nameAlreadyInScope.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/nameAlreadyInScope.kt @@ -9,3 +9,6 @@ fun test(s: String?) { } fun bar(name: String) {} + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithSafeLetCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/nameAlreadyInScope.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/nameAlreadyInScope.kt.after index 3f677e305b3f..dae49ae3cc7f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/nameAlreadyInScope.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/nameAlreadyInScope.kt.after @@ -9,3 +9,6 @@ fun test(s: String?) { } fun bar(name: String) {} + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithSafeLetCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/nullableBinaryExpression.fir.kt b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/nullableBinaryExpression.fir.kt index 8955decf3bbd..3f0afde8b05c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/nullableBinaryExpression.fir.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/nullableBinaryExpression.fir.kt @@ -10,3 +10,5 @@ fun test(a1: A, a2: A) { } fun notNull(t: A): A = t + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/nullableBinaryExpression.fir.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/nullableBinaryExpression.fir.kt.after index 614fa78c8c26..0e031ae75c20 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/nullableBinaryExpression.fir.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/nullableBinaryExpression.fir.kt.after @@ -10,3 +10,5 @@ fun test(a1: A, a2: A) { } fun notNull(t: A): A = t + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/nullableBinaryExpression.kt b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/nullableBinaryExpression.kt index 8955decf3bbd..ac2c329699bb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/nullableBinaryExpression.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/nullableBinaryExpression.kt @@ -10,3 +10,5 @@ fun test(a1: A, a2: A) { } fun notNull(t: A): A = t + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithSafeLetCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/nullableBinaryExpression.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/nullableBinaryExpression.kt.after index 571b8ba51358..f2e3d027e3bf 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/nullableBinaryExpression.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/nullableBinaryExpression.kt.after @@ -10,3 +10,5 @@ fun test(a1: A, a2: A) { } fun notNull(t: A): A = t + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithSafeLetCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/objectQualifier.kt b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/objectQualifier.kt index e00b8ebc0cc5..de98671979ff 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/objectQualifier.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/objectQualifier.kt @@ -5,4 +5,6 @@ object Obj { fun foo(x: Int) = x } val arg: Int? = null -val argFoo = Obj.foo(arg) \ No newline at end of file +val argFoo = Obj.foo(arg) +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithSafeLetCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/objectQualifier.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/objectQualifier.kt.after index 948d625c0960..1aa11a09aeb7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/objectQualifier.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/objectQualifier.kt.after @@ -5,4 +5,6 @@ object Obj { fun foo(x: Int) = x } val arg: Int? = null -val argFoo = arg?.let { Obj.foo(it) } \ No newline at end of file +val argFoo = arg?.let { Obj.foo(it) } +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithSafeLetCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/refactorNullableFunctionTypeProperty1.kt b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/refactorNullableFunctionTypeProperty1.kt index 98aded6e6aaf..16919b61740e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/refactorNullableFunctionTypeProperty1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/refactorNullableFunctionTypeProperty1.kt @@ -13,3 +13,6 @@ object Str2 { } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithSafeLetCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/refactorNullableFunctionTypeProperty1.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/refactorNullableFunctionTypeProperty1.kt.after index f1202d3a21f5..67e3e96c6bc1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/refactorNullableFunctionTypeProperty1.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/refactorNullableFunctionTypeProperty1.kt.after @@ -13,3 +13,6 @@ object Str2 { } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithSafeLetCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/refactorNullableFunctionTypeProperty2.fir.kt b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/refactorNullableFunctionTypeProperty2.fir.kt index 2fe0d03292bd..2b755565643b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/refactorNullableFunctionTypeProperty2.fir.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/refactorNullableFunctionTypeProperty2.fir.kt @@ -13,3 +13,5 @@ object Str2 { } } + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/refactorNullableFunctionTypeProperty2.fir.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/refactorNullableFunctionTypeProperty2.fir.kt.after index a85ce852b69b..1b6da7172d35 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/refactorNullableFunctionTypeProperty2.fir.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/refactorNullableFunctionTypeProperty2.fir.kt.after @@ -13,3 +13,5 @@ object Str2 { } } + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/refactorNullableFunctionTypeProperty2.kt b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/refactorNullableFunctionTypeProperty2.kt index 2fe0d03292bd..335f283ee74b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/refactorNullableFunctionTypeProperty2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/refactorNullableFunctionTypeProperty2.kt @@ -13,3 +13,5 @@ object Str2 { } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithSafeLetCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/refactorNullableFunctionTypeProperty2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/refactorNullableFunctionTypeProperty2.kt.after index 4578feb80596..8fcb8676a39a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/refactorNullableFunctionTypeProperty2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/refactorNullableFunctionTypeProperty2.kt.after @@ -13,3 +13,5 @@ object Str2 { } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithSafeLetCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/unsafe.kt b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/unsafe.kt index d6029b17495d..6d1d369608a7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/unsafe.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/unsafe.kt @@ -4,4 +4,6 @@ fun foo(s: String) {} fun bar(s: String?) { foo(s.substring(1)) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithSafeLetCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/unsafe.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/unsafe.kt.after index fbed097f7e77..f2fa7f4f9cd6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/unsafe.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/unsafe.kt.after @@ -4,4 +4,6 @@ fun foo(s: String) {} fun bar(s: String?) { s?.let { foo(it.substring(1)) } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithSafeLetCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/unsafe2.kt b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/unsafe2.kt index b7e93db30834..78d6af14b0f6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/unsafe2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/unsafe2.kt @@ -10,4 +10,6 @@ class Y(val z: String) fun test(a: A, x: X?) { a.b.c(x?.y.z) -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithSafeLetCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/unsafe2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/unsafe2.kt.after index 4f60ecc60d02..4ce8994c2dea 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/unsafe2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/unsafe2.kt.after @@ -10,4 +10,6 @@ class Y(val z: String) fun test(a: A, x: X?) { x?.y?.let { a.b.c(it.z) } -} \ No newline at end of file +} +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithSafeLetCallFix +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions1.fir.kt b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions1.fir.kt index 45cd89527a41..28a0a6367d41 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions1.fir.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions1.fir.kt @@ -6,4 +6,5 @@ fun test(s: String?) { } fun notNull(name: String): String = name -fun nullable(name: String?): String = "" \ No newline at end of file +fun nullable(name: String?): String = "" +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions1.fir.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions1.fir.kt.after index e98e143c60e4..6c6bde2c875c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions1.fir.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions1.fir.kt.after @@ -6,4 +6,5 @@ fun test(s: String?) { } fun notNull(name: String): String = name -fun nullable(name: String?): String = "" \ No newline at end of file +fun nullable(name: String?): String = "" +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions1.kt b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions1.kt index 07f73133224c..e3a20fca0f41 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions1.kt @@ -8,4 +8,5 @@ fun test(s: String?) { } fun notNull(name: String): String = name -fun nullable(name: String?): String = "" \ No newline at end of file +fun nullable(name: String?): String = "" +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithSafeLetCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions1.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions1.kt.after index 9750db8f2b37..4575888dd14f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions1.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions1.kt.after @@ -8,4 +8,5 @@ fun test(s: String?) { } fun notNull(name: String): String = name -fun nullable(name: String?): String = "" \ No newline at end of file +fun nullable(name: String?): String = "" +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithSafeLetCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions2.fir.kt b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions2.fir.kt index 5f12273ab590..1bad23d045e0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions2.fir.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions2.fir.kt @@ -5,4 +5,5 @@ fun test(s: String?) { val s2 = notNull(notNull(s)) } -fun notNull(name: String): String = name \ No newline at end of file +fun notNull(name: String): String = name +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions2.fir.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions2.fir.kt.after index 85f3a06f4272..6d1fdb33e651 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions2.fir.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions2.fir.kt.after @@ -5,4 +5,5 @@ fun test(s: String?) { val s2 = s?.let { notNull(notNull(it)) } } -fun notNull(name: String): String = name \ No newline at end of file +fun notNull(name: String): String = name +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions2.kt b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions2.kt index fb831d9d79d7..59b768403ede 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions2.kt @@ -7,4 +7,5 @@ fun test(s: String?) { val s2 = notNull(notNull(s)) } -fun notNull(name: String): String = name \ No newline at end of file +fun notNull(name: String): String = name +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithSafeLetCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions2.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions2.kt.after index d5c1c295f992..d9511208dcb2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions2.kt.after @@ -7,4 +7,5 @@ fun test(s: String?) { val s2 = notNull(s?.let { notNull(it) }) } -fun notNull(name: String): String = name \ No newline at end of file +fun notNull(name: String): String = name +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithSafeLetCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions3.fir.kt b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions3.fir.kt index 9f3897f528f4..52453bd44ab9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions3.fir.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions3.fir.kt @@ -5,4 +5,5 @@ fun test(s: String?) { notNull(notNull(s)) } -fun notNull(name: String): String = name \ No newline at end of file +fun notNull(name: String): String = name +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions3.fir.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions3.fir.kt.after index 0c055ae605dc..8b35a6de4102 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions3.fir.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions3.fir.kt.after @@ -5,4 +5,5 @@ fun test(s: String?) { s?.let { notNull(notNull(it)) } } -fun notNull(name: String): String = name \ No newline at end of file +fun notNull(name: String): String = name +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions3.kt b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions3.kt index 64187caa5404..37533b25817e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions3.kt @@ -7,4 +7,5 @@ fun test(s: String?) { notNull(notNull(s)) } -fun notNull(name: String): String = name \ No newline at end of file +fun notNull(name: String): String = name +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithSafeLetCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions3.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions3.kt.after index b49151557f68..f1d49f32ff1f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions3.kt.after @@ -7,4 +7,5 @@ fun test(s: String?) { notNull(s?.let { notNull(it) }) } -fun notNull(name: String): String = name \ No newline at end of file +fun notNull(name: String): String = name +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithSafeLetCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions4.fir.kt b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions4.fir.kt index 2c8b8e0265f2..6bea6b9706fc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions4.fir.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions4.fir.kt @@ -7,4 +7,5 @@ fun test(s: String?): String? { } } -fun notNull(name: String): String = name \ No newline at end of file +fun notNull(name: String): String = name +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions4.fir.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions4.fir.kt.after index 8c8224284bfd..a19b10a408a6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions4.fir.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions4.fir.kt.after @@ -7,4 +7,5 @@ fun test(s: String?): String? { } } -fun notNull(name: String): String = name \ No newline at end of file +fun notNull(name: String): String = name +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions4.kt b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions4.kt index ce44bec5ea9c..5b0eb7dd318b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions4.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions4.kt @@ -10,4 +10,5 @@ fun test(s: String?): String? { } } -fun notNull(name: String): String = name \ No newline at end of file +fun notNull(name: String): String = name +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithSafeLetCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions4.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions4.kt.after index b73033d80812..ddd30194fff5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions4.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions4.kt.after @@ -10,4 +10,5 @@ fun test(s: String?): String? { } } -fun notNull(name: String): String = name \ No newline at end of file +fun notNull(name: String): String = name +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithSafeLetCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions5.fir.kt b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions5.fir.kt index f8291d7e4ac7..a01746669226 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions5.fir.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions5.fir.kt @@ -5,4 +5,5 @@ fun test(s: String?): String { while (true) notNull(notNull(s)) } -fun notNull(name: String): String = name \ No newline at end of file +fun notNull(name: String): String = name +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions5.fir.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions5.fir.kt.after index 816a836e6cf4..bb2069cd1a24 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions5.fir.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions5.fir.kt.after @@ -5,4 +5,5 @@ fun test(s: String?): String { while (true) s?.let { notNull(notNull(it)) } } -fun notNull(name: String): String = name \ No newline at end of file +fun notNull(name: String): String = name +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions5.kt b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions5.kt index cfcb7a7e582b..ed4e185e3af6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions5.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions5.kt @@ -7,4 +7,5 @@ fun test(s: String?): String { while (true) notNull(notNull(s)) } -fun notNull(name: String): String = name \ No newline at end of file +fun notNull(name: String): String = name +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithSafeLetCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions5.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions5.kt.after index 9142d214ef21..08d23200a5cd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions5.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions5.kt.after @@ -7,4 +7,5 @@ fun test(s: String?): String { while (true) notNull(s?.let { notNull(it) }) } -fun notNull(name: String): String = name \ No newline at end of file +fun notNull(name: String): String = name +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithSafeLetCallFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions6.fir.kt b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions6.fir.kt index 9093cb50be40..614c68bc06a4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions6.fir.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions6.fir.kt @@ -17,3 +17,5 @@ fun test(a1: A?, a2: A) { } fun notNull(a: A): A = a + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions6.fir.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions6.fir.kt.after index e52594f50d48..7112d9cfe57f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions6.fir.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrapWithSafeLetCall/wrapAllNonNullablePositions6.fir.kt.after @@ -17,3 +17,5 @@ fun test(a1: A?, a2: A) { } fun notNull(a: A): A = a + +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsight.api.applicators.fixes.KotlinApplicatorBasedQuickFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrongLongSuffix/simple.kt b/plugins/kotlin/idea/tests/testData/quickfix/wrongLongSuffix/simple.kt index b40c2948bd06..c2123ea16649 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrongLongSuffix/simple.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrongLongSuffix/simple.kt @@ -1,3 +1,4 @@ // "Change to '1L'" "true" -val a: Long = 1l \ No newline at end of file +val a: Long = 1l +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrongLongSuffixFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/wrongLongSuffix/simple.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/wrongLongSuffix/simple.kt.after index 4bcec477a235..984017c89224 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/wrongLongSuffix/simple.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/wrongLongSuffix/simple.kt.after @@ -1,3 +1,4 @@ // "Change to '1L'" "true" -val a: Long = 1L \ No newline at end of file +val a: Long = 1L +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrongLongSuffixFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/yieldUnsupported/yieldAsSimpleName.kt b/plugins/kotlin/idea/tests/testData/quickfix/yieldUnsupported/yieldAsSimpleName.kt index 102a5c05c7af..93318f23473d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/yieldUnsupported/yieldAsSimpleName.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/yieldUnsupported/yieldAsSimpleName.kt @@ -6,3 +6,5 @@ object yield {} fun test() { val foo = yield } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.UnsupportedYieldFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/yieldUnsupported/yieldAsSimpleName.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/yieldUnsupported/yieldAsSimpleName.kt.after index 58c496980462..e33edf2f0d7a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/yieldUnsupported/yieldAsSimpleName.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/yieldUnsupported/yieldAsSimpleName.kt.after @@ -6,3 +6,5 @@ object yield {} fun test() { val foo = `yield` } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.UnsupportedYieldFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/yieldUnsupported/yieldBeforeLambda.kt b/plugins/kotlin/idea/tests/testData/quickfix/yieldUnsupported/yieldBeforeLambda.kt index f27c6160c8f8..07a8edb5f7b4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/yieldUnsupported/yieldBeforeLambda.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/yieldUnsupported/yieldBeforeLambda.kt @@ -8,3 +8,5 @@ object yield { fun test() { yield { } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.UnsupportedYieldFix \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/yieldUnsupported/yieldBeforeLambda.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/yieldUnsupported/yieldBeforeLambda.kt.after index 48c9f62c55e8..d22d3b461f75 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/yieldUnsupported/yieldBeforeLambda.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/yieldUnsupported/yieldBeforeLambda.kt.after @@ -8,3 +8,5 @@ object yield { fun test() { yield() { } } + +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.UnsupportedYieldFix \ No newline at end of file diff --git a/plugins/kotlin/test-framework/test/org/jetbrains/kotlin/idea/statistic/FilterableTestStatisticsEventLoggerProvider.kt b/plugins/kotlin/test-framework/test/org/jetbrains/kotlin/idea/statistic/FilterableTestStatisticsEventLoggerProvider.kt new file mode 100644 index 000000000000..69e7db289fa6 --- /dev/null +++ b/plugins/kotlin/test-framework/test/org/jetbrains/kotlin/idea/statistic/FilterableTestStatisticsEventLoggerProvider.kt @@ -0,0 +1,23 @@ +// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. +package org.jetbrains.kotlin.idea.statistic + +import com.intellij.internal.statistic.TestStatisticsEventLogger +import com.intellij.internal.statistic.eventLog.EventLogGroup +import com.intellij.internal.statistic.eventLog.StatisticsEventLoggerProvider +import com.jetbrains.fus.reporting.model.lion3.LogEvent +import java.util.concurrent.CompletableFuture + +class FilterableTestStatisticsEventLoggerProvider(recorder: String = "FUS", eventIdFilter: (String) -> Boolean) : StatisticsEventLoggerProvider(recorder, 1, DEFAULT_SEND_FREQUENCY_MS, DEFAULT_MAX_FILE_SIZE_BYTES) { + override val logger: TestStatisticsEventLogger = object : TestStatisticsEventLogger() { + override fun logAsync(group: EventLogGroup, eventId: String, data: Map, isState: Boolean): CompletableFuture { + if (!eventIdFilter(eventId)) return CompletableFuture.completedFuture(null) + return super.logAsync(group, eventId, data, isState) + } + } + + override fun isRecordEnabled(): Boolean = true + + override fun isSendEnabled(): Boolean = false + + fun getLoggedEvents(): List = logger.logged +}