diff --git a/plugins/kotlin/code-insight/fixes-k2/tests/test/org/jetbrains/kotlin/idea/k2/codeinsight/fixes/HighLevelQuickFixTestGenerated.java b/plugins/kotlin/code-insight/fixes-k2/tests/test/org/jetbrains/kotlin/idea/k2/codeinsight/fixes/HighLevelQuickFixTestGenerated.java index de64daf0dfff..d74597ecfd19 100644 --- a/plugins/kotlin/code-insight/fixes-k2/tests/test/org/jetbrains/kotlin/idea/k2/codeinsight/fixes/HighLevelQuickFixTestGenerated.java +++ b/plugins/kotlin/code-insight/fixes-k2/tests/test/org/jetbrains/kotlin/idea/k2/codeinsight/fixes/HighLevelQuickFixTestGenerated.java @@ -7954,7 +7954,214 @@ public abstract class HighLevelQuickFixTestGenerated extends AbstractHighLevelQu + @RunWith(JUnit3RunnerWithInners.class) + @TestMetadata("../../../idea/tests/testData/quickfix/implement") + public static class Implement extends AbstractHighLevelQuickFixTest { + @java.lang.Override + @org.jetbrains.annotations.NotNull + public final KotlinPluginMode getPluginMode() { + return KotlinPluginMode.K2; + } + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); + } + + @TestMetadata("abstract.kt") + public void testAbstract() throws Exception { + runTest("../../../idea/tests/testData/quickfix/implement/abstract.kt"); + } + + @TestMetadata("annotation.kt") + public void testAnnotation() throws Exception { + runTest("../../../idea/tests/testData/quickfix/implement/annotation.kt"); + } + + @TestMetadata("dataClass.kt") + public void testDataClass() throws Exception { + runTest("../../../idea/tests/testData/quickfix/implement/dataClass.kt"); + } + + @TestMetadata("dataClass2.kt") + public void testDataClass2() throws Exception { + runTest("../../../idea/tests/testData/quickfix/implement/dataClass2.kt"); + } + + @TestMetadata("dataClass3.kt") + public void testDataClass3() throws Exception { + runTest("../../../idea/tests/testData/quickfix/implement/dataClass3.kt"); + } + + @TestMetadata("doNotAddExpectForVal.kt") + public void testDoNotAddExpectForVal() throws Exception { + runTest("../../../idea/tests/testData/quickfix/implement/doNotAddExpectForVal.kt"); + } + + @TestMetadata("doNotAddHeader.kt") + public void testDoNotAddHeader() throws Exception { + runTest("../../../idea/tests/testData/quickfix/implement/doNotAddHeader.kt"); + } + + @TestMetadata("enum.kt") + public void testEnum() throws Exception { + runTest("../../../idea/tests/testData/quickfix/implement/enum.kt"); + } + + @TestMetadata("finalClass.kt") + public void testFinalClass() throws Exception { + runTest("../../../idea/tests/testData/quickfix/implement/finalClass.kt"); + } + + @TestMetadata("hasImplementedInPrimaryConstructor.kt") + public void testHasImplementedInPrimaryConstructor() throws Exception { + runTest("../../../idea/tests/testData/quickfix/implement/hasImplementedInPrimaryConstructor.kt"); + } + + @TestMetadata("hasImplementedInPrimaryConstructor2.kt") + public void testHasImplementedInPrimaryConstructor2() throws Exception { + runTest("../../../idea/tests/testData/quickfix/implement/hasImplementedInPrimaryConstructor2.kt"); + } + + @TestMetadata("hasImplementedInPrimaryConstructor3.kt") + public void testHasImplementedInPrimaryConstructor3() throws Exception { + runTest("../../../idea/tests/testData/quickfix/implement/hasImplementedInPrimaryConstructor3.kt"); + } + + @TestMetadata("inCompanion.kt") + public void testInCompanion() throws Exception { + runTest("../../../idea/tests/testData/quickfix/implement/inCompanion.kt"); + } + + @TestMetadata("inInternalCompanion.kt") + public void testInInternalCompanion() throws Exception { + runTest("../../../idea/tests/testData/quickfix/implement/inInternalCompanion.kt"); + } + + @TestMetadata("inPrivateCompanion.kt") + public void testInPrivateCompanion() throws Exception { + runTest("../../../idea/tests/testData/quickfix/implement/inPrivateCompanion.kt"); + } + + @TestMetadata("inProtectedCompanion.kt") + public void testInProtectedCompanion() throws Exception { + runTest("../../../idea/tests/testData/quickfix/implement/inProtectedCompanion.kt"); + } + + @TestMetadata("incorrectRange.kt") + public void testIncorrectRange() throws Exception { + runTest("../../../idea/tests/testData/quickfix/implement/incorrectRange.kt"); + } + + @TestMetadata("inner.kt") + public void testInner() throws Exception { + runTest("../../../idea/tests/testData/quickfix/implement/inner.kt"); + } + + @TestMetadata("interface.kt") + public void testInterface() throws Exception { + runTest("../../../idea/tests/testData/quickfix/implement/interface.kt"); + } + + @TestMetadata("local.kt") + public void testLocal() throws Exception { + runTest("../../../idea/tests/testData/quickfix/implement/local.kt"); + } + + @TestMetadata("menyImplMemberNotImplemented.kt") + public void testMenyImplMemberNotImplemented() throws Exception { + runTest("../../../idea/tests/testData/quickfix/implement/menyImplMemberNotImplemented.kt"); + } + + @TestMetadata("nested.kt") + public void testNested() throws Exception { + runTest("../../../idea/tests/testData/quickfix/implement/nested.kt"); + } + + @TestMetadata("nestedPrivateInterface.kt") + public void testNestedPrivateInterface() throws Exception { + runTest("../../../idea/tests/testData/quickfix/implement/nestedPrivateInterface.kt"); + } + + @TestMetadata("noDefaultConstructor.kt") + public void testNoDefaultConstructor() throws Exception { + runTest("../../../idea/tests/testData/quickfix/implement/noDefaultConstructor.kt"); + } + + @TestMetadata("private.kt") + public void testPrivate() throws Exception { + runTest("../../../idea/tests/testData/quickfix/implement/private.kt"); + } + + @TestMetadata("privateConstructor.kt") + public void testPrivateConstructor() throws Exception { + runTest("../../../idea/tests/testData/quickfix/implement/privateConstructor.kt"); + } + + @TestMetadata("privateNested.kt") + public void testPrivateNested() throws Exception { + runTest("../../../idea/tests/testData/quickfix/implement/privateNested.kt"); + } + + @TestMetadata("privateNestedWithConflict.kt") + public void testPrivateNestedWithConflict() throws Exception { + runTest("../../../idea/tests/testData/quickfix/implement/privateNestedWithConflict.kt"); + } + + @TestMetadata("protected.kt") + public void testProtected() throws Exception { + runTest("../../../idea/tests/testData/quickfix/implement/protected.kt"); + } + + @TestMetadata("sealed.kt") + public void testSealed() throws Exception { + runTest("../../../idea/tests/testData/quickfix/implement/sealed.kt"); + } + + @TestMetadata("sealedAfter15.kt") + public void testSealedAfter15() throws Exception { + runTest("../../../idea/tests/testData/quickfix/implement/sealedAfter15.kt"); + } + + @TestMetadata("sealedEmpty.kt") + public void testSealedEmpty() throws Exception { + runTest("../../../idea/tests/testData/quickfix/implement/sealedEmpty.kt"); + } + + @TestMetadata("sealedEmptyAfter15.kt") + public void testSealedEmptyAfter15() throws Exception { + runTest("../../../idea/tests/testData/quickfix/implement/sealedEmptyAfter15.kt"); + } + + @TestMetadata("sealedWithConflict.kt") + public void testSealedWithConflict() throws Exception { + runTest("../../../idea/tests/testData/quickfix/implement/sealedWithConflict.kt"); + } + + @TestMetadata("sealedWithConflictAfter15.kt") + public void testSealedWithConflictAfter15() throws Exception { + runTest("../../../idea/tests/testData/quickfix/implement/sealedWithConflictAfter15.kt"); + } + + @TestMetadata("typeParameter.kt") + public void testTypeParameter() throws Exception { + runTest("../../../idea/tests/testData/quickfix/implement/typeParameter.kt"); + } + + @TestMetadata("typeParameterOut.kt") + public void testTypeParameterOut() throws Exception { + runTest("../../../idea/tests/testData/quickfix/implement/typeParameterOut.kt"); + } + + @TestMetadata("typeParameterWhere.kt") + public void testTypeParameterWhere() throws Exception { + runTest("../../../idea/tests/testData/quickfix/implement/typeParameterWhere.kt"); + } + + @TestMetadata("typeParametersClass.kt") + public void testTypeParametersClass() throws Exception { + runTest("../../../idea/tests/testData/quickfix/implement/typeParametersClass.kt"); + } + } diff --git a/plugins/kotlin/idea/tests/testData/quickfix/implement/abstract.kt b/plugins/kotlin/idea/tests/testData/quickfix/implement/abstract.kt index a749da42264b..2e52ac932c00 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/abstract.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/abstract.kt @@ -7,4 +7,5 @@ private abstract class Base { abstract fun toInt(arg: String): Int } -// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention +/* IGNORE_K2 */ \ 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 483b49c9f4fc..e537839cf3a7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/abstract.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/abstract.kt.after @@ -17,4 +17,5 @@ private class BaseImpl : Base() { TODO("Not yet implemented") } } -// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention +/* IGNORE_K2 */ \ 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 90b7198dccc8..c7de792664bd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/dataClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/dataClass.kt @@ -5,4 +5,5 @@ interface I { } data class C(val i: Int) : I -// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.core.overrideImplement.ImplementMembersHandler \ No newline at end of file +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.core.overrideImplement.ImplementMembersHandler +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.core.overrideImplement.KtImplementMembersQuickfix \ 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 0b19bcd128d6..b4a604423167 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/dataClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/dataClass.kt.after @@ -9,4 +9,5 @@ data class C(val i: Int) : I { TODO("Not yet implemented") } } -// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.core.overrideImplement.ImplementMembersHandler \ No newline at end of file +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.core.overrideImplement.ImplementMembersHandler +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.core.overrideImplement.KtImplementMembersQuickfix \ 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 6b04f529be7c..b586bc069bd3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/dataClass2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/dataClass2.kt @@ -5,4 +5,5 @@ interface I { } data class C(val i: Int) : I {} -// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.core.overrideImplement.ImplementMembersHandler \ No newline at end of file +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.core.overrideImplement.ImplementMembersHandler +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.core.overrideImplement.KtImplementMembersQuickfix \ 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 0b19bcd128d6..b4a604423167 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/dataClass2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/dataClass2.kt.after @@ -9,4 +9,5 @@ data class C(val i: Int) : I { TODO("Not yet implemented") } } -// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.core.overrideImplement.ImplementMembersHandler \ No newline at end of file +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.core.overrideImplement.ImplementMembersHandler +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.core.overrideImplement.KtImplementMembersQuickfix \ 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 2b6c0838a8ff..87166567df6c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/dataClass3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/dataClass3.kt @@ -7,4 +7,5 @@ interface I { data class C(val i: Int) : I { fun bar() {} } -// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.core.overrideImplement.ImplementMembersHandler \ No newline at end of file +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.core.overrideImplement.ImplementMembersHandler +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.core.overrideImplement.KtImplementMembersQuickfix \ 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 e0aec5e34fd4..9d1bce82a955 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/dataClass3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/dataClass3.kt.after @@ -10,4 +10,5 @@ data class C(val i: Int) : I { TODO("Not yet implemented") } } -// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.core.overrideImplement.ImplementMembersHandler \ No newline at end of file +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.core.overrideImplement.ImplementMembersHandler +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.core.overrideImplement.KtImplementMembersQuickfix \ 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 42549e88002f..c10d9d9b9436 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/doNotAddExpectForVal.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/doNotAddExpectForVal.kt @@ -13,4 +13,5 @@ expect interface InterfaceWithVals { class ChildOfInterface : InterfaceWithVals{ } -// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.core.overrideImplement.ImplementMembersHandler \ No newline at end of file +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.core.overrideImplement.ImplementMembersHandler +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.core.overrideImplement.KtImplementMembersQuickfix \ 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 5a62413f7ed1..bb5fcb303ff9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/doNotAddExpectForVal.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/doNotAddExpectForVal.kt.after @@ -19,4 +19,5 @@ class ChildOfInterface : InterfaceWithVals{ get() = TODO("Not yet implemented") } -// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.core.overrideImplement.ImplementMembersHandler \ No newline at end of file +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.core.overrideImplement.ImplementMembersHandler +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.core.overrideImplement.KtImplementMembersQuickfix \ 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 5b10607df4c8..0cd996dd8123 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/doNotAddHeader.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/doNotAddHeader.kt @@ -11,4 +11,5 @@ expect interface InterfaceWithFuns { class ChildOfInterface : InterfaceWithFuns{ } -// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.core.overrideImplement.ImplementMembersHandler \ No newline at end of file +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.core.overrideImplement.ImplementMembersHandler +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.core.overrideImplement.KtImplementMembersQuickfix \ 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 eba003567fd3..56fe99189e7c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/doNotAddHeader.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/doNotAddHeader.kt.after @@ -14,4 +14,5 @@ class ChildOfInterface : InterfaceWithFuns{ } } -// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.core.overrideImplement.ImplementMembersHandler \ No newline at end of file +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.core.overrideImplement.ImplementMembersHandler +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.core.overrideImplement.KtImplementMembersQuickfix \ 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 42c05f2a3507..fce8b46b0af7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/hasImplementedInPrimaryConstructor.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/hasImplementedInPrimaryConstructor.kt @@ -8,4 +8,5 @@ abstract class B { class MyImpl( override val p: String? = null ) : B() -// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.core.overrideImplement.ImplementMembersHandler \ No newline at end of file +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.core.overrideImplement.ImplementMembersHandler +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.core.overrideImplement.KtImplementMembersQuickfix \ 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 35b8c36e339b..f675675902fd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/hasImplementedInPrimaryConstructor.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/hasImplementedInPrimaryConstructor.kt.after @@ -12,4 +12,5 @@ class MyImpl( TODO("Not yet implemented") } } -// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.core.overrideImplement.ImplementMembersHandler \ No newline at end of file +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.core.overrideImplement.ImplementMembersHandler +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.core.overrideImplement.KtImplementMembersQuickfix \ 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 0b93d2adc0f8..3a9683e584db 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/hasImplementedInPrimaryConstructor2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/hasImplementedInPrimaryConstructor2.kt @@ -9,4 +9,5 @@ abstract class B { override val p: String? = null ) : B() { } -// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.core.overrideImplement.ImplementMembersHandler \ No newline at end of file +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.core.overrideImplement.ImplementMembersHandler +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.core.overrideImplement.KtImplementMembersQuickfix \ 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 496e15a8d602..d44d574d98e7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/hasImplementedInPrimaryConstructor2.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/hasImplementedInPrimaryConstructor2.kt.after @@ -12,4 +12,5 @@ class MyImpl2( TODO("Not yet implemented") } } -// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.core.overrideImplement.ImplementMembersHandler \ No newline at end of file +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.core.overrideImplement.ImplementMembersHandler +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.core.overrideImplement.KtImplementMembersQuickfix \ 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 df167bb62528..10836e5311c4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/hasImplementedInPrimaryConstructor3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/hasImplementedInPrimaryConstructor3.kt @@ -11,4 +11,5 @@ abstract class C { ) : C() { override val q: Int = 0 } -// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.core.overrideImplement.ImplementMembersHandler \ No newline at end of file +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.core.overrideImplement.ImplementMembersHandler +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.core.overrideImplement.KtImplementMembersQuickfix \ 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 ab5799218698..2d28ecde846f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/hasImplementedInPrimaryConstructor3.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/hasImplementedInPrimaryConstructor3.kt.after @@ -14,4 +14,5 @@ class MyImpl3( TODO("Not yet implemented") } } -// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.core.overrideImplement.ImplementMembersHandler \ No newline at end of file +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.core.overrideImplement.ImplementMembersHandler +// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.core.overrideImplement.KtImplementMembersQuickfix \ 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 f73e3f885e3e..a6c3adf65aac 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/inCompanion.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/inCompanion.kt @@ -7,4 +7,5 @@ class Container { } } -// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention +/* IGNORE_K2 */ \ 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 3b61bc5ed2ff..7fcdb99374a6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/inCompanion.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/inCompanion.kt.after @@ -9,4 +9,5 @@ class Container { class BaseImpl : Container.Companion.Base() -// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention +/* IGNORE_K2 */ \ 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 271b3442e844..3297e5ffb2af 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/inInternalCompanion.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/inInternalCompanion.kt @@ -7,4 +7,5 @@ class Container { } } -// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention +/* IGNORE_K2 */ \ 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 c02bac6b7c38..a699e1463346 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/inInternalCompanion.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/inInternalCompanion.kt.after @@ -9,4 +9,5 @@ class Container { internal class BaseImpl : Container.Companion.Base() -// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention +/* IGNORE_K2 */ \ 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 2957698c1d00..ff4a81aaa4dc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/inPrivateCompanion.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/inPrivateCompanion.kt @@ -7,4 +7,5 @@ class Container { } } -// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention +/* IGNORE_K2 */ \ 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 c7ec9790ccfe..0e55f2ea100d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/inPrivateCompanion.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/inPrivateCompanion.kt.after @@ -9,4 +9,5 @@ class Container { private class BaseImpl : Companion.Base() } -// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention +/* IGNORE_K2 */ \ 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 373c4e1c9cf7..704354ee0536 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/inProtectedCompanion.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/inProtectedCompanion.kt @@ -7,4 +7,5 @@ class Container { } } -// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention +/* IGNORE_K2 */ \ 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 f9b12d7759a8..d91d8389b4db 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/inProtectedCompanion.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/inProtectedCompanion.kt.after @@ -9,4 +9,5 @@ class Container { protected class BaseImpl : Companion.Base() } -// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention +/* IGNORE_K2 */ \ 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 84132a4b8de0..aa77905d865a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/inner.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/inner.kt @@ -8,4 +8,5 @@ class Container { } } -// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention +/* IGNORE_K2 */ \ 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 7349cf1bc917..1f46da453ebe 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/inner.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/inner.kt.after @@ -14,4 +14,5 @@ class Container { } } -// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention +/* IGNORE_K2 */ \ 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 70e5151ded88..14d5a504ba9f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/interface.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/interface.kt @@ -8,4 +8,5 @@ interface Base { fun bar(y: String) = y } -// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention +/* IGNORE_K2 */ \ 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 70f8d6a4f464..f6c82e830c9b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/interface.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/interface.kt.after @@ -14,4 +14,5 @@ class BaseImpl : Base { } } -// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention +/* IGNORE_K2 */ \ 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 102a7edfadc5..823a879d774a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/menyImplMemberNotImplemented.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/menyImplMemberNotImplemented.kt @@ -12,4 +12,5 @@ open class B { } class C : A, B() -// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.core.overrideImplement.ImplementMembersHandler \ No newline at end of file +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.core.overrideImplement.ImplementMembersHandler +/* IGNORE_K2 */ \ 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 ed68ad66dbab..2c1b4fc9a111 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/menyImplMemberNotImplemented.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/menyImplMemberNotImplemented.kt.after @@ -28,4 +28,5 @@ class C : A, B() { TODO("Not yet implemented") } } -// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.core.overrideImplement.ImplementMembersHandler \ No newline at end of file +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.core.overrideImplement.ImplementMembersHandler +/* IGNORE_K2 */ \ 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 0b1a374aff00..97696cee06ad 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/nested.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/nested.kt @@ -16,4 +16,5 @@ class Container { } -// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention +/* IGNORE_K2 */ \ 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 8fe2d07fafcf..960dbc17f545 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/nested.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/nested.kt.after @@ -25,4 +25,5 @@ class BaseImpl : Container.Base { } -// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention +/* IGNORE_K2 */ \ 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 1f71edfdf713..d787717dfc11 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/nestedPrivateInterface.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/nestedPrivateInterface.kt @@ -7,4 +7,5 @@ class Container { var z: Double } } -// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention +/* IGNORE_K2 */ \ 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 7813a91449ad..ef45ee612519 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/nestedPrivateInterface.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/nestedPrivateInterface.kt.after @@ -13,4 +13,5 @@ class Container { set(value) {} } } -// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention +/* IGNORE_K2 */ \ 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 255d50cb971d..8589a4cccac9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/private.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/private.kt @@ -2,4 +2,5 @@ // SHOULD_BE_AVAILABLE_AFTER_EXECUTION private open class Base -// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention +/* IGNORE_K2 */ \ 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 39b2ba83bc74..31350f6488dc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/private.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/private.kt.after @@ -3,4 +3,5 @@ private open class Base private class BaseImpl : Base() -// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention +/* IGNORE_K2 */ \ 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 f9175759e39d..050a357333ff 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/privateNested.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/privateNested.kt @@ -9,4 +9,5 @@ class Container { } } -// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention +/* IGNORE_K2 */ \ 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 91e57b690896..10675b411c4e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/privateNested.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/privateNested.kt.after @@ -11,4 +11,5 @@ class Container { private class BaseImpl : Base() } -// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention +/* IGNORE_K2 */ \ 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 8bb91aea3b47..5f65e27aba87 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/privateNestedWithConflict.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/privateNestedWithConflict.kt @@ -11,4 +11,5 @@ class Container { private class BaseImpl : Base() } -// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention +/* IGNORE_K2 */ \ 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 07aef73988c0..dd2d3795e5bc 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/privateNestedWithConflict.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/privateNestedWithConflict.kt.after @@ -13,4 +13,5 @@ class Container { private class BaseImpl : Base() } -// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention +/* IGNORE_K2 */ \ 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 5d1bb305b44d..b1a6a57321f8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/protected.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/protected.kt @@ -4,4 +4,5 @@ class Container { protected abstract class Base } -// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention +/* IGNORE_K2 */ \ 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 1b11152cde4f..2ac803cecbd9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/protected.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/protected.kt.after @@ -5,4 +5,5 @@ class Container { protected abstract class Base protected class BaseImpl : Base() } -// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention +/* IGNORE_K2 */ \ 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 8270915db5e3..1d10d3301df4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/sealed.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/sealed.kt @@ -6,4 +6,5 @@ sealed class Base { abstract fun foo(): Int } -// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention +/* IGNORE_K2 */ \ 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 58efae43e8f4..464bfdd6ccec 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/sealed.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/sealed.kt.after @@ -12,4 +12,5 @@ class BaseImpl : Base() { } } -// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention +/* IGNORE_K2 */ \ 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 3022de6914b5..35f469d48d20 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedAfter15.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedAfter15.kt @@ -6,4 +6,5 @@ sealed class Base { abstract fun foo(): Int } -// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention +/* IGNORE_K2 */ \ 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 0bf512b5655b..645f7c2d54f8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedAfter15.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedAfter15.kt.after @@ -12,4 +12,5 @@ class BaseImpl : Base() { TODO("Not yet implemented") } } -// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention +/* IGNORE_K2 */ \ 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 3d89ac6f0732..decb4d3fcee2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedEmpty.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedEmpty.kt @@ -3,4 +3,5 @@ sealed class Sealed -// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention +/* IGNORE_K2 */ \ 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 e7624a81e83c..e81014f9645b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedEmpty.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedEmpty.kt.after @@ -4,4 +4,5 @@ sealed class Sealed class SealedImpl : Sealed() -// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention +/* IGNORE_K2 */ \ 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 8f08dddaf1f8..251c8e078e1d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedEmptyAfter15.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedEmptyAfter15.kt @@ -2,4 +2,5 @@ // SHOULD_BE_AVAILABLE_AFTER_EXECUTION // COMPILER_ARGUMENTS: -XXLanguage:+SealedInterfaces sealed class Sealed -// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention +/* IGNORE_K2 */ \ 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 12d0f13327e1..f86dbb0a4062 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedEmptyAfter15.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedEmptyAfter15.kt.after @@ -3,4 +3,5 @@ // COMPILER_ARGUMENTS: -XXLanguage:+SealedInterfaces sealed class Sealed class SealedImpl : Sealed() -// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention +/* IGNORE_K2 */ \ 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 75b319b6cad8..6657e2961684 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedWithConflict.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedWithConflict.kt @@ -10,4 +10,5 @@ sealed class Base { } } -// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention +/* IGNORE_K2 */ \ 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 c81ae292e243..ac1da68341d1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedWithConflict.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedWithConflict.kt.after @@ -16,4 +16,5 @@ class BaseImpl : Base() { } } -// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention +/* IGNORE_K2 */ \ 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 a64c96035bcd..547f7e9ee0b2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedWithConflictAfter15.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedWithConflictAfter15.kt @@ -10,4 +10,5 @@ sealed class Base { override fun foo() = throw UnsupportedOperationException() } } -// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention +/* IGNORE_K2 */ \ 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 546e36ade5c7..d7748ec20778 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedWithConflictAfter15.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/sealedWithConflictAfter15.kt.after @@ -16,4 +16,5 @@ class BaseImpl : Base() { TODO("Not yet implemented") } } -// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention +/* IGNORE_K2 */ \ 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 0c5b819953fb..55da413ca726 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/typeParameter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/typeParameter.kt @@ -2,4 +2,5 @@ // SHOULD_BE_AVAILABLE_AFTER_EXECUTION interface Base -// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention +/* IGNORE_K2 */ \ 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 364f1717b09e..8db87e393c51 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/typeParameter.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/typeParameter.kt.after @@ -3,4 +3,5 @@ interface Base class BaseImpl : Base -// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention +/* IGNORE_K2 */ \ 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 45095bc0f9af..f6578880a018 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/typeParameterOut.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/typeParameterOut.kt @@ -2,4 +2,5 @@ // SHOULD_BE_AVAILABLE_AFTER_EXECUTION interface Base -// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention +/* IGNORE_K2 */ \ 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 c6c4014b7b73..ffd03c233e9d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/typeParameterOut.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/typeParameterOut.kt.after @@ -3,4 +3,5 @@ interface Base class BaseImpl : Base -// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention +/* IGNORE_K2 */ \ 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 f38299dc35aa..81b79d99e963 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/typeParameterWhere.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/typeParameterWhere.kt @@ -2,4 +2,5 @@ // SHOULD_BE_AVAILABLE_AFTER_EXECUTION interface Base where T : Any -// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention +/* IGNORE_K2 */ \ 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 286b122c62e4..6a14218fa5f9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/typeParameterWhere.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/typeParameterWhere.kt.after @@ -3,4 +3,5 @@ interface Base where T : Any class BaseImpl : Base where T : Any -// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention +/* IGNORE_K2 */ \ 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 306c163ad5cb..125776f0edb2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/typeParametersClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/typeParametersClass.kt @@ -2,4 +2,5 @@ // SHOULD_BE_AVAILABLE_AFTER_EXECUTION open class Base> -// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention +/* IGNORE_K2 */ \ 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 b3b68f29f240..fd551e32c595 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/implement/typeParametersClass.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/implement/typeParametersClass.kt.after @@ -3,4 +3,5 @@ open class Base> class BaseImpl> : Base() -// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention \ No newline at end of file +// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention +/* IGNORE_K2 */ \ No newline at end of file diff --git a/plugins/kotlin/util/test-generator-fir/test/org/jetbrains/kotlin/fir/testGenerator/codeinsight/GenerateK2QuickFixTests.kt b/plugins/kotlin/util/test-generator-fir/test/org/jetbrains/kotlin/fir/testGenerator/codeinsight/GenerateK2QuickFixTests.kt index 008cead0c84c..dfdbf1a593a8 100644 --- a/plugins/kotlin/util/test-generator-fir/test/org/jetbrains/kotlin/fir/testGenerator/codeinsight/GenerateK2QuickFixTests.kt +++ b/plugins/kotlin/util/test-generator-fir/test/org/jetbrains/kotlin/fir/testGenerator/codeinsight/GenerateK2QuickFixTests.kt @@ -120,7 +120,7 @@ internal fun MutableTWorkspace.generateK2FixTests() { model("$idea/quickfix/final", pattern = pattern, isIgnored = true) model("$idea/quickfix/foldTryCatch", pattern = pattern) model("$idea/quickfix/functionWithLambdaExpressionBody", pattern = pattern, isIgnored = true) - model("$idea/quickfix/implement", pattern = pattern, isIgnored = true) + model("$idea/quickfix/implement", pattern = pattern) model("$idea/quickfix/importAlias", pattern = pattern, isIgnored = true) model("$idea/quickfix/increaseVisibility", pattern = pattern, isIgnored = true) model("$idea/quickfix/initializeWithConstructorParameter", pattern = pattern, isIgnored = true)