diff --git a/plugins/kotlin/analysis/src/org/jetbrains/jet/plugin/JetBundle.properties b/plugins/kotlin/analysis/src/org/jetbrains/jet/plugin/JetBundle.properties index e62c23766453..8007f7c5c835 100644 --- a/plugins/kotlin/analysis/src/org/jetbrains/jet/plugin/JetBundle.properties +++ b/plugins/kotlin/analysis/src/org/jetbrains/jet/plugin/JetBundle.properties @@ -184,7 +184,7 @@ map.platform.class.to.kotlin.multiple=Change all usages of ''{0}'' in this file map.platform.class.to.kotlin.advertisement=Choose an appropriate Kotlin class map.platform.class.to.kotlin.family=Change to Kotlin class create.from.usage.family=Create from usage -create.0.from.usage=Create {0} from usage +create.0.from.usage=Create {0} create.local.variable.from.usage=Create local variable ''{0}'' create.parameter.from.usage=Create parameter ''{0}'' choose.target.class.or.trait.title=Choose target class or trait diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/noImportForPrivateClass.before.Main.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/noImportForPrivateClass.before.Main.kt index c643483bf220..274d91ec13b7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/noImportForPrivateClass.before.Main.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/noImportForPrivateClass.before.Main.kt @@ -1,7 +1,7 @@ // "class com.intellij.codeInsight.daemon.impl.quickfix.ImportClassFixBase" "false" // ACTION: Create local variable 'PrivateClass' // ACTION: Create parameter 'PrivateClass' -// ACTION: Create property 'PrivateClass' from usage +// ACTION: Create property 'PrivateClass' // ERROR: Unresolved reference: PrivateClass fun test() { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/packageClass.before.Main.kt b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/packageClass.before.Main.kt index 82781df58ecd..939acd4e3a8f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/autoImports/packageClass.before.Main.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/autoImports/packageClass.before.Main.kt @@ -1,5 +1,5 @@ // "class com.intellij.codeInsight.daemon.impl.quickfix.ImportClassFixBase" "false" -// ACTION: Create function 'FooPackage' from usage +// ACTION: Create function 'FooPackage' // ERROR: Unresolved reference: FooPackage package packageClass diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterCustomOperationOnUserType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterCustomOperationOnUserType.kt index cb39d4799ed2..7833cc9d30d8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterCustomOperationOnUserType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterCustomOperationOnUserType.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" class A(val n: T) { fun foo(arg: T): A { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterGreaterOrEqualOnUserType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterGreaterOrEqualOnUserType.kt index 8c6add0cbb57..aeacd4a83c48 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterGreaterOrEqualOnUserType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterGreaterOrEqualOnUserType.kt @@ -1,4 +1,4 @@ -// "Create function 'compareTo' from usage" "true" +// "Create function 'compareTo'" "true" class A(val n: T) { fun compareTo(arg: T): Int { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterInOnUserType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterInOnUserType.kt index e2bdade79ca9..80f98ec72c4d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterInOnUserType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterInOnUserType.kt @@ -1,4 +1,4 @@ -// "Create function 'contains' from usage" "true" +// "Create function 'contains'" "true" class A(val n: T) { fun contains(arg: T): Boolean { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterLessOnUserType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterLessOnUserType.kt index b5f3bdb597fa..fca6dd7ec605 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterLessOnUserType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterLessOnUserType.kt @@ -1,4 +1,4 @@ -// "Create function 'compareTo' from usage" "true" +// "Create function 'compareTo'" "true" class A(val n: T) { fun compareTo(arg: T): Int { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterNotInOnUserType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterNotInOnUserType.kt index 54c914bf2bcf..fc0982a6059e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterNotInOnUserType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterNotInOnUserType.kt @@ -1,4 +1,4 @@ -// "Create function 'contains' from usage" "true" +// "Create function 'contains'" "true" class A(val n: T) { fun contains(arg: T): Boolean { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterPlusAssignOnUserType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterPlusAssignOnUserType.kt index a180988525c1..f588c9e1b628 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterPlusAssignOnUserType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterPlusAssignOnUserType.kt @@ -1,4 +1,4 @@ -// "Create function 'plusAssign' from usage" "true" +// "Create function 'plusAssign'" "true" class A(val n: T) { fun plusAssign(arg: T) { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterPlusExtraArgs.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterPlusExtraArgs.kt index 311a4f413fd6..83fce91c2a24 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterPlusExtraArgs.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterPlusExtraArgs.kt @@ -1,4 +1,4 @@ -// "Create function 'plus' from usage" "true" +// "Create function 'plus'" "true" class A(val n: T) { fun plus(): A = throw Exception() diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterPlusForAssignmentOnUserType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterPlusForAssignmentOnUserType.kt index a1e45a4ecbf2..d1548d294695 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterPlusForAssignmentOnUserType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterPlusForAssignmentOnUserType.kt @@ -1,4 +1,4 @@ -// "Create function 'plus' from usage" "true" +// "Create function 'plus'" "true" class A(val n: T) { fun plus(arg: T): A { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterPlusMissingArgs.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterPlusMissingArgs.kt index 1a895afde90e..cb6d583c3e67 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterPlusMissingArgs.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterPlusMissingArgs.kt @@ -1,4 +1,4 @@ -// "Create function 'plus' from usage" "true" +// "Create function 'plus'" "true" class A(val n: T) { fun plus(i: Int, s: String): A = throw Exception() diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterPlusOnLibType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterPlusOnLibType.kt index 05c5fdc2519d..054e91f99860 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterPlusOnLibType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterPlusOnLibType.kt @@ -1,4 +1,4 @@ -// "Create function 'plus' from usage" "true" +// "Create function 'plus'" "true" class A(val n: T) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterPlusOnUserType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterPlusOnUserType.kt index 5580c4a1fc36..d53c231d9962 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterPlusOnUserType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterPlusOnUserType.kt @@ -1,4 +1,4 @@ -// "Create function 'plus' from usage" "true" +// "Create function 'plus'" "true" class A(val n: T) { fun plus(arg: T): A { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterPlusOnUserTypeWithTypeParams.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterPlusOnUserTypeWithTypeParams.kt index 106db3dd5848..9b9dace30a05 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterPlusOnUserTypeWithTypeParams.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterPlusOnUserTypeWithTypeParams.kt @@ -1,4 +1,4 @@ -// "Create function 'plus' from usage" "true" +// "Create function 'plus'" "true" class A(val n: T) { fun plus(i: Int): A { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterWhenInOnUserType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterWhenInOnUserType.kt index 42eaff801149..7dd7b4b8283f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterWhenInOnUserType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterWhenInOnUserType.kt @@ -1,4 +1,4 @@ -// "Create function 'contains' from usage" "true" +// "Create function 'contains'" "true" class A(val n: T) { fun contains(arg: T): Boolean { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterWhenNotInOnUserType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterWhenNotInOnUserType.kt index cf4c39bce876..4e3f3d2d3b31 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterWhenNotInOnUserType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/afterWhenNotInOnUserType.kt @@ -1,4 +1,4 @@ -// "Create function 'contains' from usage" "true" +// "Create function 'contains'" "true" class A(val n: T) { fun contains(arg: T): Boolean { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforeCustomOperationOnUserType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforeCustomOperationOnUserType.kt index 6e4506d8c690..82c6d09ba7cf 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforeCustomOperationOnUserType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforeCustomOperationOnUserType.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" class A(val n: T) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforeGreaterOrEqualOnUserType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforeGreaterOrEqualOnUserType.kt index f97ce4416de1..24fa9bab9be1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforeGreaterOrEqualOnUserType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforeGreaterOrEqualOnUserType.kt @@ -1,4 +1,4 @@ -// "Create function 'compareTo' from usage" "true" +// "Create function 'compareTo'" "true" class A(val n: T) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforeInOnUserType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforeInOnUserType.kt index e6f1ebf56791..15b01716f846 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforeInOnUserType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforeInOnUserType.kt @@ -1,4 +1,4 @@ -// "Create function 'contains' from usage" "true" +// "Create function 'contains'" "true" class A(val n: T) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforeLessOnUserType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforeLessOnUserType.kt index ee06d1a9ddbf..2c1142a6484c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforeLessOnUserType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforeLessOnUserType.kt @@ -1,4 +1,4 @@ -// "Create function 'compareTo' from usage" "true" +// "Create function 'compareTo'" "true" class A(val n: T) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforeNotInOnUserType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforeNotInOnUserType.kt index f6dbb7bd6832..92ed772961bd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforeNotInOnUserType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforeNotInOnUserType.kt @@ -1,4 +1,4 @@ -// "Create function 'contains' from usage" "true" +// "Create function 'contains'" "true" class A(val n: T) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforePlusAssignOnUserType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforePlusAssignOnUserType.kt index 679e414a248c..6c3141404320 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforePlusAssignOnUserType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforePlusAssignOnUserType.kt @@ -1,4 +1,4 @@ -// "Create function 'plusAssign' from usage" "true" +// "Create function 'plusAssign'" "true" class A(val n: T) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforePlusExtraArgs.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforePlusExtraArgs.kt index 7fc7c5279934..905012ce75de 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforePlusExtraArgs.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforePlusExtraArgs.kt @@ -1,4 +1,4 @@ -// "Create function 'plus' from usage" "true" +// "Create function 'plus'" "true" class A(val n: T) { fun plus(): A = throw Exception() diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforePlusForAssignmentOnUserType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforePlusForAssignmentOnUserType.kt index d5fe3355a93c..8393ddf9c987 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforePlusForAssignmentOnUserType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforePlusForAssignmentOnUserType.kt @@ -1,4 +1,4 @@ -// "Create function 'plus' from usage" "true" +// "Create function 'plus'" "true" class A(val n: T) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforePlusMissingArgs.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforePlusMissingArgs.kt index 7c2beeb360d5..13276a082a29 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforePlusMissingArgs.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforePlusMissingArgs.kt @@ -1,4 +1,4 @@ -// "Create function 'plus' from usage" "true" +// "Create function 'plus'" "true" class A(val n: T) { fun plus(i: Int, s: String): A = throw Exception() diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforePlusOnLibType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforePlusOnLibType.kt index 054fbc570f71..8afca4f1cfa6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforePlusOnLibType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforePlusOnLibType.kt @@ -1,4 +1,4 @@ -// "Create function 'plus' from usage" "true" +// "Create function 'plus'" "true" class A(val n: T) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforePlusOnUserType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforePlusOnUserType.kt index cf1b0343c74d..17b891c6ddae 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforePlusOnUserType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforePlusOnUserType.kt @@ -1,4 +1,4 @@ -// "Create function 'plus' from usage" "true" +// "Create function 'plus'" "true" class A(val n: T) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforePlusOnUserTypeWithTypeParams.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforePlusOnUserTypeWithTypeParams.kt index 98e0d156c3d4..0b9abbc369f3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforePlusOnUserTypeWithTypeParams.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforePlusOnUserTypeWithTypeParams.kt @@ -1,4 +1,4 @@ -// "Create function 'plus' from usage" "true" +// "Create function 'plus'" "true" class A(val n: T) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforeWhenInOnUserType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforeWhenInOnUserType.kt index 40e29ee5d027..fd30518798b8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforeWhenInOnUserType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforeWhenInOnUserType.kt @@ -1,4 +1,4 @@ -// "Create function 'contains' from usage" "true" +// "Create function 'contains'" "true" class A(val n: T) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforeWhenNotInOnUserType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforeWhenNotInOnUserType.kt index bbd414945366..c81862a87514 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforeWhenNotInOnUserType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/binaryOperations/beforeWhenNotInOnUserType.kt @@ -1,4 +1,4 @@ -// "Create function 'contains' from usage" "true" +// "Create function 'contains'" "true" class A(val n: T) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterCallWithLambdaArg.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterCallWithLambdaArg.kt index 7dece4bba312..6b90519a6aa6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterCallWithLambdaArg.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterCallWithLambdaArg.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" class A(val n: T) { fun foo(arg: T, s: String, function: Function1): A { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterCallWithLambdaArgOnly.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterCallWithLambdaArgOnly.kt index 8ebf1214a381..4015b0770e5b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterCallWithLambdaArgOnly.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterCallWithLambdaArgOnly.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" class A(val n: T) { fun foo(function: Function1): A { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterFunExtraArgs.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterFunExtraArgs.kt index 63e5a7b384f7..aed30d163289 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterFunExtraArgs.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterFunExtraArgs.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" class A(val n: T) { fun foo(a: Int): A = throw Exception() diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterFunMissingArgs.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterFunMissingArgs.kt index c43a19fb4ea5..c29cceb7892a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterFunMissingArgs.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterFunMissingArgs.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" class A(val n: T) { fun foo(i: Int, s: String): A = throw Exception() diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterFunOnClassObject.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterFunOnClassObject.kt index 5732bd7b5043..20d5662b5fd4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterFunOnClassObject.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterFunOnClassObject.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" class A(val n: T) { class object { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterFunOnLibObject.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterFunOnLibObject.kt index 2c6781152ccb..bfac12b06a1b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterFunOnLibObject.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterFunOnLibObject.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" fun test() { val a: Int = Unit.foo(2) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterFunOnLibType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterFunOnLibType.kt index 3275f1a48980..786e9662cab5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterFunOnLibType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterFunOnLibType.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" class A(val n: T) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterFunOnUserObject.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterFunOnUserObject.kt index 8b76dd99af3a..73bab5bac17c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterFunOnUserObject.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterFunOnUserObject.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" object A { fun foo(i: Int): Int { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterFunOnUserType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterFunOnUserType.kt index 02ffd51bc2d0..a5efa8edcdfe 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterFunOnUserType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterFunOnUserType.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" class A(val n: T) { fun foo(arg: T): A { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterFunOnUserTypeWithDeclarations.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterFunOnUserTypeWithDeclarations.kt index ec7a79f5d143..a81e5c728d17 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterFunOnUserTypeWithDeclarations.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterFunOnUserTypeWithDeclarations.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" class F { fun bar() { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterFunOnUserTypeWithTypeParams.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterFunOnUserTypeWithTypeParams.kt index 3dbb24b54c2c..98e991bc1443 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterFunOnUserTypeWithTypeParams.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterFunOnUserTypeWithTypeParams.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" class A(val n: T) { fun foo(u: T): A { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterFunWithExplicitParamNamesOnUserType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterFunWithExplicitParamNamesOnUserType.kt index 48220408f91e..2d61ba161a7e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterFunWithExplicitParamNamesOnUserType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterFunWithExplicitParamNamesOnUserType.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" class A(val n: T) { fun foo(abc: T, ghi: A, def: String): A { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterFunWithNullableParamType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterFunWithNullableParamType.kt index 468f06fd91ac..b1af2d0fcfb6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterFunWithNullableParamType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterFunWithNullableParamType.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" class A(val n: T) { fun foo(arg: T?): A { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterFunWithNullableType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterFunWithNullableType.kt index c45851494859..05c7178b7849 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterFunWithNullableType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterFunWithNullableType.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" class A(val n: T) { fun foo(arg: T): A? { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterFunWithNullableTypeParameter.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterFunWithNullableTypeParameter.kt index 3a02eea1f911..6d315c0f8742 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterFunWithNullableTypeParameter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterFunWithNullableTypeParameter.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" class A(val n: T) { fun foo(arg: T): A { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterFunWithPackageName.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterFunWithPackageName.kt index a56526cc5c5e..b917cc9e278b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterFunWithPackageName.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterFunWithPackageName.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" package foo diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterInLambda.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterInLambda.kt index ae9c0ee5a210..3490f81b3b2b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterInLambda.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterInLambda.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" fun run(f: () -> T) = f() diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterInconsistentTypes.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterInconsistentTypes.kt index c1ac7b86acf3..6a0df9250e10 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterInconsistentTypes.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterInconsistentTypes.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" // ERROR: Type mismatch.
Required:kotlin.Int
Found:A<kotlin.Int>
class A(val n: T) { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterLocalFunNoReceiver.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterLocalFunNoReceiver.kt index 770e3388e5b1..b2ef699600c8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterLocalFunNoReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterLocalFunNoReceiver.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" fun test() { fun foo(i: Int, s: String): Int { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterMemberFunNoReceiver.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterMemberFunNoReceiver.kt index b7468c39abd4..7808656417f3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterMemberFunNoReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterMemberFunNoReceiver.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" class A { class B { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterMemberValDelegateRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterMemberValDelegateRuntime.kt index 40c9d0b4bcd0..a9e82bb7a4c3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterMemberValDelegateRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterMemberValDelegateRuntime.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" import kotlin.properties.ReadOnlyProperty diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterMemberVarDelegateRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterMemberVarDelegateRuntime.kt index d73572226700..faf540b5a93c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterMemberVarDelegateRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterMemberVarDelegateRuntime.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" import kotlin.properties.ReadWriteProperty diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterObjectMemberFunNoReceiver.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterObjectMemberFunNoReceiver.kt index ad5204af3fba..45476ab06233 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterObjectMemberFunNoReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterObjectMemberFunNoReceiver.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" class A { object B { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterThisInClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterThisInClass.kt index ccd985dacd68..c10600b4a0aa 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterThisInClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterThisInClass.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" class A(val n: T) { fun test(): A { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterThisInExtension.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterThisInExtension.kt index 0331592dc26d..fe21822682c2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterThisInExtension.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterThisInExtension.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" class A(val n: T) { fun foo(i: Int, s: String): A { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterThisInNestedClass1.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterThisInNestedClass1.kt index 2b10bb4b3397..3f0c29210df9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterThisInNestedClass1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterThisInNestedClass1.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" class A(val n: T) { inner class B(val m: U) { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterThisInNestedClass2.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterThisInNestedClass2.kt index 74e82ebb3dfc..b96ede9650c3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterThisInNestedClass2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterThisInNestedClass2.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" class A(val n: T) { inner class B(val m: U) { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterTopLevelFunNoReceiver.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterTopLevelFunNoReceiver.kt index 88f106920ba9..c35457b17673 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterTopLevelFunNoReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterTopLevelFunNoReceiver.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" fun test(): Int { return foo(2, "2") diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterUnitFun.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterUnitFun.kt index b6e552934c48..3e759aa1db58 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterUnitFun.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterUnitFun.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" fun test() { foo(2, "2") diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterUnknownType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterUnknownType.kt index afc1427d0616..bb18515f533a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterUnknownType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterUnknownType.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" // ERROR: Unresolved reference: s class A(val n: T) { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterUnresolvedSupertype.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterUnresolvedSupertype.kt index c23c71c838de..de2396cb72f9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterUnresolvedSupertype.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/afterUnresolvedSupertype.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" // ERROR: Unresolved reference: B class A: B { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeCallWithLambdaArg.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeCallWithLambdaArg.kt index 23dc14489ecd..3facd5b297cd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeCallWithLambdaArg.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeCallWithLambdaArg.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" class A(val n: T) { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeCallWithLambdaArgOnly.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeCallWithLambdaArgOnly.kt index bc7aacb3a9a2..4a4043982e7d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeCallWithLambdaArgOnly.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeCallWithLambdaArgOnly.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" class A(val n: T) { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeFunExtraArgs.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeFunExtraArgs.kt index d4ee20f9c3df..9dbbbd14ff6c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeFunExtraArgs.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeFunExtraArgs.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" class A(val n: T) { fun foo(a: Int): A = throw Exception() diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeFunMissingArgs.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeFunMissingArgs.kt index 82fad410ec43..99faa6f8e6eb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeFunMissingArgs.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeFunMissingArgs.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" class A(val n: T) { fun foo(i: Int, s: String): A = throw Exception() diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeFunOnClassNoClassObject.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeFunOnClassNoClassObject.kt index 4d8666ccd3b0..7f141718608a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeFunOnClassNoClassObject.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeFunOnClassNoClassObject.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "false" +// "Create function 'foo'" "false" // ACTION: Replace with infix function call // ACTION: Split property declaration // ERROR: Unresolved reference: foo diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeFunOnClassObject.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeFunOnClassObject.kt index e9864e00e38d..2effa2c69538 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeFunOnClassObject.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeFunOnClassObject.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" class A(val n: T) { class object { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeFunOnLibObject.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeFunOnLibObject.kt index b26db2e4ec74..d1a88adfdb52 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeFunOnLibObject.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeFunOnLibObject.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" fun test() { val a: Int = Unit.foo(2) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeFunOnLibType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeFunOnLibType.kt index b42d7859c104..1af7324bbe37 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeFunOnLibType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeFunOnLibType.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" class A(val n: T) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeFunOnUserObject.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeFunOnUserObject.kt index 32dbe17c166f..12117fadbcdb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeFunOnUserObject.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeFunOnUserObject.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" object A diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeFunOnUserType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeFunOnUserType.kt index dffd2a90baf1..5c3dd3ece283 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeFunOnUserType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeFunOnUserType.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" class A(val n: T) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeFunOnUserTypeWithDeclarations.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeFunOnUserTypeWithDeclarations.kt index 22bcacfbaa59..3e26b2295104 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeFunOnUserTypeWithDeclarations.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeFunOnUserTypeWithDeclarations.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" class F { fun bar() { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeFunOnUserTypeWithTypeParams.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeFunOnUserTypeWithTypeParams.kt index 250057cddcf5..fc69cf34940b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeFunOnUserTypeWithTypeParams.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeFunOnUserTypeWithTypeParams.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" class A(val n: T) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeFunWithExplicitParamNamesOnUserType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeFunWithExplicitParamNamesOnUserType.kt index 9357ff729cd2..9e5cb2c6cba1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeFunWithExplicitParamNamesOnUserType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeFunWithExplicitParamNamesOnUserType.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" class A(val n: T) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeFunWithNullableParamType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeFunWithNullableParamType.kt index 68b02d49f8d9..0594c52b0690 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeFunWithNullableParamType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeFunWithNullableParamType.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" class A(val n: T) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeFunWithNullableType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeFunWithNullableType.kt index 31b3cbafaca1..fba8c60baa48 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeFunWithNullableType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeFunWithNullableType.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" class A(val n: T) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeFunWithNullableTypeParameter.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeFunWithNullableTypeParameter.kt index 6e43212f6029..4d6565ed70cb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeFunWithNullableTypeParameter.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeFunWithNullableTypeParameter.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" class A(val n: T) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeFunWithPackageName.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeFunWithPackageName.kt index d696f571c91e..9949d079856c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeFunWithPackageName.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeFunWithPackageName.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" package foo diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeInLambda.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeInLambda.kt index 1a34c8f2d7d2..aaafee40bfd5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeInLambda.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeInLambda.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" fun run(f: () -> T) = f() diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeInconsistentTypes.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeInconsistentTypes.kt index 5d1d407d2cb2..4cb688b448c2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeInconsistentTypes.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeInconsistentTypes.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" // ERROR: Type mismatch.
Required:kotlin.Int
Found:A<kotlin.Int>
class A(val n: T) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeLocalFunNoReceiver.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeLocalFunNoReceiver.kt index 22e6c14b9cdb..d09c5345b33c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeLocalFunNoReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeLocalFunNoReceiver.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" fun test() { fun nestedTest(): Int { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeMemberFunNoReceiver.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeMemberFunNoReceiver.kt index ad366e7568ff..290c1aeb62d4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeMemberFunNoReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeMemberFunNoReceiver.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" class A { class B { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeMemberValDelegateRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeMemberValDelegateRuntime.kt index cf0e461daa4a..0f9397979822 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeMemberValDelegateRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeMemberValDelegateRuntime.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" class A(val t: T) { val x: A by foo(t, "") diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeMemberVarDelegateRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeMemberVarDelegateRuntime.kt index b2376d9c559c..445779c5894c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeMemberVarDelegateRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeMemberVarDelegateRuntime.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" class A(val t: T) { var x: A by foo(t, "") diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeObjectMemberFunNoReceiver.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeObjectMemberFunNoReceiver.kt index 542c2ce8b34b..2970ff9773ab 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeObjectMemberFunNoReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeObjectMemberFunNoReceiver.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" class A { object B { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforePropertyOnUserType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforePropertyOnUserType.kt index d0da68abc2f8..3b3345e1c438 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforePropertyOnUserType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforePropertyOnUserType.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "false" +// "Create function 'foo'" "false" // ACTION: Convert to expression body // ACTION: Replace with infix function call // ERROR: Unresolved reference: x diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeThisInClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeThisInClass.kt index 3cd5c0b6e920..51998af1332c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeThisInClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeThisInClass.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" class A(val n: T) { fun test(): A { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeThisInExtension.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeThisInExtension.kt index cf87b8f02017..39c0835da025 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeThisInExtension.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeThisInExtension.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" class A(val n: T) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeThisInNestedClass1.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeThisInNestedClass1.kt index 9beeb01eb366..fcf25cd57045 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeThisInNestedClass1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeThisInNestedClass1.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" class A(val n: T) { inner class B(val m: U) { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeThisInNestedClass2.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeThisInNestedClass2.kt index dccef68a1df3..73ccd9bc12e1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeThisInNestedClass2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeThisInNestedClass2.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" class A(val n: T) { inner class B(val m: U) { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeTopLevelFunNoReceiver.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeTopLevelFunNoReceiver.kt index 161cf0992dee..71d651082c3c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeTopLevelFunNoReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeTopLevelFunNoReceiver.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" fun test(): Int { return foo(2, "2") diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeUnitFun.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeUnitFun.kt index 12914a36cdb7..f75cd5f158c1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeUnitFun.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeUnitFun.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" fun test() { foo(2, "2") diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeUnknownType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeUnknownType.kt index 4d3a2b927206..1a7288b8f821 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeUnknownType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeUnknownType.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" // ERROR: Unresolved reference: s class A(val n: T) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeUnresolvedSupertype.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeUnresolvedSupertype.kt index 5abd5e42a5fe..969cc239d048 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeUnresolvedSupertype.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/beforeUnresolvedSupertype.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" // ERROR: Unresolved reference: B class A: B { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnJavaType.after.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnJavaType.after.kt index c1acc476392d..85b3ae6f91af 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnJavaType.after.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnJavaType.after.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" // ERROR: Unresolved reference: foo fun test(): Int { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnJavaType.before.Main.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnJavaType.before.Main.kt index 7f2e9a9e4985..1bc8930ad716 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnJavaType.before.Main.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/funOnJavaType.before.Main.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" // ERROR: Unresolved reference: foo fun test(): Int { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/afterClassMember.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/afterClassMember.kt index f256a9608f2a..cf935b5fc63a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/afterClassMember.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/afterClassMember.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" class B(val t: T) { fun foo(arg: T1, arg1: T2): T1 { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/afterClassMemberPartialSubstitution.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/afterClassMemberPartialSubstitution.kt index 9c40285c8233..7e74fdd8f305 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/afterClassMemberPartialSubstitution.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/afterClassMemberPartialSubstitution.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" class B(val t: T) { fun foo(i: Int, arg: T1): Int { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/afterClassMemberWithReceiverArg.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/afterClassMemberWithReceiverArg.kt index f256a9608f2a..cf935b5fc63a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/afterClassMemberWithReceiverArg.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/afterClassMemberWithReceiverArg.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" class B(val t: T) { fun foo(arg: T1, arg1: T2): T1 { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/afterExtension.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/afterExtension.kt index 2cbc280d14cb..cb3baa2e5587 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/afterExtension.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/afterExtension.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" class A(val items: List) { fun test(): Int { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/afterExtensionPartialSubstitution.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/afterExtensionPartialSubstitution.kt index 62cab0ae6a48..3824cfad919e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/afterExtensionPartialSubstitution.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/afterExtensionPartialSubstitution.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" class A(val items: List) { fun test(): Int { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/afterExtensionWithReceiverArg.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/afterExtensionWithReceiverArg.kt index 2cbc280d14cb..cb3baa2e5587 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/afterExtensionWithReceiverArg.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/afterExtensionWithReceiverArg.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" class A(val items: List) { fun test(): Int { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/afterNoReceiver.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/afterNoReceiver.kt index 18c353a50bd7..f9d5624a6cf2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/afterNoReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/afterNoReceiver.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" fun test(): Int { return foo(2, "2") diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/afterNoReceiverExtraArgs.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/afterNoReceiverExtraArgs.kt index 18c353a50bd7..f9d5624a6cf2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/afterNoReceiverExtraArgs.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/afterNoReceiverExtraArgs.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" fun test(): Int { return foo(2, "2") diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/afterNoReceiverLongName.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/afterNoReceiverLongName.kt index 18c353a50bd7..f9d5624a6cf2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/afterNoReceiverLongName.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/afterNoReceiverLongName.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" fun test(): Int { return foo(2, "2") diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/afterNoReceiverPartialSubstitution.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/afterNoReceiverPartialSubstitution.kt index c5d806a0fc74..16c17d6f9447 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/afterNoReceiverPartialSubstitution.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/afterNoReceiverPartialSubstitution.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" fun test(): Int { return foo(2, "2") diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/beforeClassMember.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/beforeClassMember.kt index 146d964bdc8a..110ebd161c8f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/beforeClassMember.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/beforeClassMember.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" class B(val t: T) { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/beforeClassMemberPartialSubstitution.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/beforeClassMemberPartialSubstitution.kt index b67cf8a5e0f8..824f6b68d7f2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/beforeClassMemberPartialSubstitution.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/beforeClassMemberPartialSubstitution.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" class B(val t: T) { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/beforeClassMemberWithReceiverArg.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/beforeClassMemberWithReceiverArg.kt index a817c6138733..086c4f4cc974 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/beforeClassMemberWithReceiverArg.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/beforeClassMemberWithReceiverArg.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" class B(val t: T) { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/beforeExtension.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/beforeExtension.kt index 7de707b2a458..afb586eb1871 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/beforeExtension.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/beforeExtension.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" class A(val items: List) { fun test(): Int { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/beforeExtensionPartialSubstitution.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/beforeExtensionPartialSubstitution.kt index 0b6867078843..28497850f9a6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/beforeExtensionPartialSubstitution.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/beforeExtensionPartialSubstitution.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" class A(val items: List) { fun test(): Int { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/beforeExtensionWithReceiverArg.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/beforeExtensionWithReceiverArg.kt index 3d0eba2d6489..12bc531b851e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/beforeExtensionWithReceiverArg.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/beforeExtensionWithReceiverArg.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" class A(val items: List) { fun test(): Int { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/beforeNoReceiver.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/beforeNoReceiver.kt index 05ac7d2f7f39..1cff00f990ef 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/beforeNoReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/beforeNoReceiver.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" fun test(): Int { return foo(2, "2") diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/beforeNoReceiverExtraArgs.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/beforeNoReceiverExtraArgs.kt index 1ab2f36b67e8..a44c4c5fbadb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/beforeNoReceiverExtraArgs.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/beforeNoReceiverExtraArgs.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" fun test(): Int { return foo(2, "2") diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/beforeNoReceiverLongName.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/beforeNoReceiverLongName.kt index 32a5fd9e227f..8ad44ba6ad37 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/beforeNoReceiverLongName.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/beforeNoReceiverLongName.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" fun test(): Int { return foo(2, "2") diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/beforeNoReceiverPartialSubstitution.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/beforeNoReceiverPartialSubstitution.kt index 1a042f358962..bc4f06d0d049 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/beforeNoReceiverPartialSubstitution.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/beforeNoReceiverPartialSubstitution.kt @@ -1,4 +1,4 @@ -// "Create function 'foo' from usage" "true" +// "Create function 'foo'" "true" fun test(): Int { return foo(2, "2") diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/component/afterCreateComponentFromUsage1.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/component/afterCreateComponentFromUsage1.kt index d0b24951abdc..c16cae2fd347 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/component/afterCreateComponentFromUsage1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/component/afterCreateComponentFromUsage1.kt @@ -1,4 +1,4 @@ -// "Create function 'component3' from usage" "true" +// "Create function 'component3'" "true" class Foo { fun component1(): Int { return 0 } fun component2(): Int { return 0 } diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/component/afterCreateComponentFromUsage2.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/component/afterCreateComponentFromUsage2.kt index ba7cdde6b969..7976cbbe2cc7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/component/afterCreateComponentFromUsage2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/component/afterCreateComponentFromUsage2.kt @@ -1,4 +1,4 @@ -// "Create function 'component3' from usage" "true" +// "Create function 'component3'" "true" class Foo { fun component1(): Int { return 0 } fun component2(): Int { return 0 } diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/component/afterCreateComponentFromUsage3.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/component/afterCreateComponentFromUsage3.kt index 4292f11f8f4d..bf9b8c40d18c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/component/afterCreateComponentFromUsage3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/component/afterCreateComponentFromUsage3.kt @@ -1,4 +1,4 @@ -// "Create function 'component2' from usage" "true" +// "Create function 'component2'" "true" class FooIterator { fun hasNext(): Boolean { return false } fun next(): Any { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/component/beforeCreateComponentFromUsage1.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/component/beforeCreateComponentFromUsage1.kt index 69d48c6d639f..8457e5ce9146 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/component/beforeCreateComponentFromUsage1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/component/beforeCreateComponentFromUsage1.kt @@ -1,4 +1,4 @@ -// "Create function 'component3' from usage" "true" +// "Create function 'component3'" "true" class Foo { fun component1(): Int { return 0 } fun component2(): Int { return 0 } diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/component/beforeCreateComponentFromUsage2.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/component/beforeCreateComponentFromUsage2.kt index f2aa8b37e213..04cd8a54bd36 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/component/beforeCreateComponentFromUsage2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/component/beforeCreateComponentFromUsage2.kt @@ -1,4 +1,4 @@ -// "Create function 'component3' from usage" "true" +// "Create function 'component3'" "true" class Foo { fun component1(): Int { return 0 } fun component2(): Int { return 0 } diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/component/beforeCreateComponentFromUsage3.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/component/beforeCreateComponentFromUsage3.kt index e14353788b6a..1daf2c75cf3a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/component/beforeCreateComponentFromUsage3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/component/beforeCreateComponentFromUsage3.kt @@ -1,4 +1,4 @@ -// "Create function 'component2' from usage" "true" +// "Create function 'component2'" "true" class FooIterator { fun hasNext(): Boolean { return false } fun next(): Any { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/delegateAccessors/afterVal.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/delegateAccessors/afterVal.kt index 9ebb47bd0bdb..2cb9d03531a0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/delegateAccessors/afterVal.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/delegateAccessors/afterVal.kt @@ -1,4 +1,4 @@ -// "Create function 'get' from usage" "true" +// "Create function 'get'" "true" class F { fun get(x: X, propertyMetadata: PropertyMetadata): Int { throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates. diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/delegateAccessors/afterVar.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/delegateAccessors/afterVar.kt index 0372753794ef..ca7765f8b20f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/delegateAccessors/afterVar.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/delegateAccessors/afterVar.kt @@ -1,4 +1,4 @@ -// "Create function 'get', function 'set' from usage" "true" +// "Create function 'get', function 'set'" "true" class F { fun get(x: X, propertyMetadata: PropertyMetadata): Int { throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates. diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/delegateAccessors/afterVarMissingGet.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/delegateAccessors/afterVarMissingGet.kt index b2112615c526..1ce19dec1853 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/delegateAccessors/afterVarMissingGet.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/delegateAccessors/afterVarMissingGet.kt @@ -1,4 +1,4 @@ -// "Create function 'get' from usage" "true" +// "Create function 'get'" "true" class F { fun set(x: X, propertyMetadata: PropertyMetadata, i: Int) { } diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/delegateAccessors/afterVarMissingSet.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/delegateAccessors/afterVarMissingSet.kt index 6d58d4a2178c..9ac005e6892b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/delegateAccessors/afterVarMissingSet.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/delegateAccessors/afterVarMissingSet.kt @@ -1,4 +1,4 @@ -// "Create function 'set' from usage" "true" +// "Create function 'set'" "true" class F { fun get(x: X, propertyMetadata: PropertyMetadata): Int = 1 diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/delegateAccessors/beforeVal.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/delegateAccessors/beforeVal.kt index 0e045f7eaeb6..b3ccab673f4a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/delegateAccessors/beforeVal.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/delegateAccessors/beforeVal.kt @@ -1,4 +1,4 @@ -// "Create function 'get' from usage" "true" +// "Create function 'get'" "true" class F { } diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/delegateAccessors/beforeVar.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/delegateAccessors/beforeVar.kt index 686d6d4421d3..60bc795364da 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/delegateAccessors/beforeVar.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/delegateAccessors/beforeVar.kt @@ -1,4 +1,4 @@ -// "Create function 'get', function 'set' from usage" "true" +// "Create function 'get', function 'set'" "true" class F { } diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/delegateAccessors/beforeVarMissingGet.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/delegateAccessors/beforeVarMissingGet.kt index 35ef5b1cb216..9c2f368459d2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/delegateAccessors/beforeVarMissingGet.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/delegateAccessors/beforeVarMissingGet.kt @@ -1,4 +1,4 @@ -// "Create function 'get' from usage" "true" +// "Create function 'get'" "true" class F { fun set(x: X, propertyMetadata: PropertyMetadata, i: Int) { } } diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/delegateAccessors/beforeVarMissingSet.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/delegateAccessors/beforeVarMissingSet.kt index 4bbbf734233c..daf1c75f7f36 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/delegateAccessors/beforeVarMissingSet.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/delegateAccessors/beforeVarMissingSet.kt @@ -1,4 +1,4 @@ -// "Create function 'set' from usage" "true" +// "Create function 'set'" "true" class F { fun get(x: X, propertyMetadata: PropertyMetadata): Int = 1 } diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/afterCreateGetFromUsage1.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/afterCreateGetFromUsage1.kt index d326224f75a1..26dfb980eb12 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/afterCreateGetFromUsage1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/afterCreateGetFromUsage1.kt @@ -1,4 +1,4 @@ -// "Create function 'get' from usage" "true" +// "Create function 'get'" "true" class Foo { fun x (y: Foo>) { val z: Iterable = y[""] diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/afterCreateGetFromUsage10.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/afterCreateGetFromUsage10.kt index 09e7f9b5b890..a30586b77269 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/afterCreateGetFromUsage10.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/afterCreateGetFromUsage10.kt @@ -1,4 +1,4 @@ -// "Create function 'get' from usage" "true" +// "Create function 'get'" "true" class Foo { fun x (y: Foo>, w: java.util.ArrayList) { val z: Iterable = y["", w] diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/afterCreateGetFromUsage11.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/afterCreateGetFromUsage11.kt index bd8f64aae704..913e3425a836 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/afterCreateGetFromUsage11.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/afterCreateGetFromUsage11.kt @@ -1,4 +1,4 @@ -// "Create function 'get' from usage" "true" +// "Create function 'get'" "true" class Foo { fun get(s: String, w: T): T { throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates. diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/afterCreateGetFromUsage12.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/afterCreateGetFromUsage12.kt index a1cde985768d..1da0be0a3d49 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/afterCreateGetFromUsage12.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/afterCreateGetFromUsage12.kt @@ -1,4 +1,4 @@ -// "Create function 'get' from usage" "true" +// "Create function 'get'" "true" class Foo { fun get(s: String, w: T): Any { throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates. diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/afterCreateGetFromUsage13.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/afterCreateGetFromUsage13.kt index 54c6df3fe1c8..343511ab17b5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/afterCreateGetFromUsage13.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/afterCreateGetFromUsage13.kt @@ -1,4 +1,4 @@ -// "Create function 'get' from usage" "true" +// "Create function 'get'" "true" import java.util.ArrayList class Foo { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/afterCreateGetFromUsage2.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/afterCreateGetFromUsage2.kt index b93a024840ca..737ce9d5e2d9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/afterCreateGetFromUsage2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/afterCreateGetFromUsage2.kt @@ -1,4 +1,4 @@ -// "Create function 'get' from usage" "true" +// "Create function 'get'" "true" fun x (y: Any) { val z: Any = y[""] } diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/afterCreateGetFromUsage3.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/afterCreateGetFromUsage3.kt index 3e823c2e24ed..c75350f814f9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/afterCreateGetFromUsage3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/afterCreateGetFromUsage3.kt @@ -1,4 +1,4 @@ -// "Create function 'get' from usage" "true" +// "Create function 'get'" "true" class Foo { fun x (y: Foo>) { val z: Iterable = y[""] diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/afterCreateGetFromUsage4.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/afterCreateGetFromUsage4.kt index 31d4c0599b76..9dc4b33ddd5b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/afterCreateGetFromUsage4.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/afterCreateGetFromUsage4.kt @@ -1,4 +1,4 @@ -// "Create function 'get' from usage" "true" +// "Create function 'get'" "true" class Foo> { fun x (y: Foo>) { val z: U = y[""] diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/afterCreateGetFromUsage5.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/afterCreateGetFromUsage5.kt index 7c82c49d026e..f4ec2b9d3fa6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/afterCreateGetFromUsage5.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/afterCreateGetFromUsage5.kt @@ -1,4 +1,4 @@ -// "Create function 'get' from usage" "true" +// "Create function 'get'" "true" class Foo { fun x (y: Foo>, w: Iterable) { val z: Iterable = y["", w] diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/afterCreateGetFromUsage7.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/afterCreateGetFromUsage7.kt index e4864d2f2b0d..b29cec493b40 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/afterCreateGetFromUsage7.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/afterCreateGetFromUsage7.kt @@ -1,4 +1,4 @@ -// "Create function 'get' from usage" "true" +// "Create function 'get'" "true" import java.util.ArrayList class Foo { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/afterCreateGetFromUsage8.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/afterCreateGetFromUsage8.kt index 682d5d68df9f..66a9cacdd9fd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/afterCreateGetFromUsage8.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/afterCreateGetFromUsage8.kt @@ -1,4 +1,4 @@ -// "Create function 'get' from usage" "true" +// "Create function 'get'" "true" import java.util.ArrayList class Foo { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/afterCreateGetFromUsage9.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/afterCreateGetFromUsage9.kt index e8bcc00360bc..13f946eae336 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/afterCreateGetFromUsage9.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/afterCreateGetFromUsage9.kt @@ -1,4 +1,4 @@ -// "Create function 'get' from usage" "true" +// "Create function 'get'" "true" import java.util.ArrayList class Foo { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage1.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage1.kt index 45cf33ed64a8..c51b30a5d6a8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage1.kt @@ -1,4 +1,4 @@ -// "Create function 'get' from usage" "true" +// "Create function 'get'" "true" class Foo { fun x (y: Foo>) { val z: Iterable = y[""] diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage10.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage10.kt index 9827749a27d4..4ac203ea8b2a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage10.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage10.kt @@ -1,4 +1,4 @@ -// "Create function 'get' from usage" "true" +// "Create function 'get'" "true" class Foo { fun x (y: Foo>, w: java.util.ArrayList) { val z: Iterable = y["", w] diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage11.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage11.kt index 76e5a86ca5a0..2abb9bcfeaf0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage11.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage11.kt @@ -1,4 +1,4 @@ -// "Create function 'get' from usage" "true" +// "Create function 'get'" "true" class Foo fun x (y: Foo>, w: java.util.ArrayList) { val z: Iterable = y["", w] diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage12.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage12.kt index 878d2a3a8f11..430398a2c155 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage12.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage12.kt @@ -1,4 +1,4 @@ -// "Create function 'get' from usage" "true" +// "Create function 'get'" "true" class Foo fun x (y: Foo>, w: java.util.ArrayList) { val z = y["", w] diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage13.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage13.kt index 908af6d8dcbf..b52dfb1ef50b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage13.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage13.kt @@ -1,4 +1,4 @@ -// "Create function 'get' from usage" "true" +// "Create function 'get'" "true" import java.util.ArrayList class Foo { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage2.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage2.kt index 323a9d89ddf3..01c4e8324061 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage2.kt @@ -1,4 +1,4 @@ -// "Create function 'get' from usage" "true" +// "Create function 'get'" "true" fun x (y: Any) { val z: Any = y[""] } diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage3.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage3.kt index 75ddb82a2ddc..58c53ef9d02f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage3.kt @@ -1,4 +1,4 @@ -// "Create function 'get' from usage" "true" +// "Create function 'get'" "true" class Foo { fun x (y: Foo>) { val z: Iterable = y[""] diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage4.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage4.kt index 9da2c52f293c..4b64c7793be3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage4.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage4.kt @@ -1,4 +1,4 @@ -// "Create function 'get' from usage" "true" +// "Create function 'get'" "true" class Foo> { fun x (y: Foo>) { val z: U = y[""] diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage5.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage5.kt index bc03671e4b43..26543b81acbf 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage5.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage5.kt @@ -1,4 +1,4 @@ -// "Create function 'get' from usage" "true" +// "Create function 'get'" "true" class Foo { fun x (y: Foo>, w: Iterable) { val z: Iterable = y["", w] diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage7.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage7.kt index b8d92eb2e813..06cf242ec792 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage7.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage7.kt @@ -1,4 +1,4 @@ -// "Create function 'get' from usage" "true" +// "Create function 'get'" "true" import java.util.ArrayList class Foo { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage8.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage8.kt index 283b22d0e9de..72682ee43b56 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage8.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage8.kt @@ -1,4 +1,4 @@ -// "Create function 'get' from usage" "true" +// "Create function 'get'" "true" import java.util.ArrayList class Foo { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage9.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage9.kt index e41c0004c8d8..106245104220 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage9.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/get/beforeCreateGetFromUsage9.kt @@ -1,4 +1,4 @@ -// "Create function 'get' from usage" "true" +// "Create function 'get'" "true" import java.util.ArrayList class Foo { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/hasNext/afterCreateHasNextFromUsage1.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/hasNext/afterCreateHasNextFromUsage1.kt index 8c722b9f7da9..12de7bd563a7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/hasNext/afterCreateHasNextFromUsage1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/hasNext/afterCreateHasNextFromUsage1.kt @@ -1,4 +1,4 @@ -// "Create function 'hasNext' from usage" "true" +// "Create function 'hasNext'" "true" class FooIterator { fun next(): Int { throw Exception("not implemented") diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/hasNext/afterCreateHasNextFromUsage2.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/hasNext/afterCreateHasNextFromUsage2.kt index b60e370bf754..da050d4ea038 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/hasNext/afterCreateHasNextFromUsage2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/hasNext/afterCreateHasNextFromUsage2.kt @@ -1,4 +1,4 @@ -// "Create function 'hasNext' from usage" "true" +// "Create function 'hasNext'" "true" class FooIterator { fun next(): T { throw Exception("not implemented") diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/hasNext/beforeCreateHasNextFromUsage1.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/hasNext/beforeCreateHasNextFromUsage1.kt index 7c7a684a3b76..b573ec14d85b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/hasNext/beforeCreateHasNextFromUsage1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/hasNext/beforeCreateHasNextFromUsage1.kt @@ -1,4 +1,4 @@ -// "Create function 'hasNext' from usage" "true" +// "Create function 'hasNext'" "true" class FooIterator { fun next(): Int { throw Exception("not implemented") diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/hasNext/beforeCreateHasNextFromUsage2.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/hasNext/beforeCreateHasNextFromUsage2.kt index a0111a9cf935..627d7a2bc100 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/hasNext/beforeCreateHasNextFromUsage2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/hasNext/beforeCreateHasNextFromUsage2.kt @@ -1,4 +1,4 @@ -// "Create function 'hasNext' from usage" "true" +// "Create function 'hasNext'" "true" class FooIterator { fun next(): T { throw Exception("not implemented") diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/invoke/afterInvokeOnLibType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/invoke/afterInvokeOnLibType.kt index ae46ce07bf9d..298714ead53e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/invoke/afterInvokeOnLibType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/invoke/afterInvokeOnLibType.kt @@ -1,4 +1,4 @@ -// "Create function 'invoke' from usage" "true" +// "Create function 'invoke'" "true" class A(val n: T) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/invoke/afterInvokeOnUserType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/invoke/afterInvokeOnUserType.kt index cbea61aab794..a6fa3257a732 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/invoke/afterInvokeOnUserType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/invoke/afterInvokeOnUserType.kt @@ -1,4 +1,4 @@ -// "Create function 'invoke' from usage" "true" +// "Create function 'invoke'" "true" class A(val n: T) { fun invoke(arg: T, s: String): B { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/invoke/afterInvokeOnUserTypeWithTypeParams.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/invoke/afterInvokeOnUserTypeWithTypeParams.kt index 4be1bd591cfd..479c38210c4b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/invoke/afterInvokeOnUserTypeWithTypeParams.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/invoke/afterInvokeOnUserTypeWithTypeParams.kt @@ -1,4 +1,4 @@ -// "Create function 'invoke' from usage" "true" +// "Create function 'invoke'" "true" class A(val n: T) { fun invoke(u: T, s: String): B { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/invoke/afterInvokeWithExplicitParamNamesOnUserType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/invoke/afterInvokeWithExplicitParamNamesOnUserType.kt index 983fd27687f1..7ff02870a0c1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/invoke/afterInvokeWithExplicitParamNamesOnUserType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/invoke/afterInvokeWithExplicitParamNamesOnUserType.kt @@ -1,4 +1,4 @@ -// "Create function 'invoke' from usage" "true" +// "Create function 'invoke'" "true" class A(val n: T) { fun invoke(abc: T, ghi: A, def: String): A { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/invoke/beforeInvokeOnLibType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/invoke/beforeInvokeOnLibType.kt index b2139dec2d89..6ae9fc59a6ac 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/invoke/beforeInvokeOnLibType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/invoke/beforeInvokeOnLibType.kt @@ -1,4 +1,4 @@ -// "Create function 'invoke' from usage" "true" +// "Create function 'invoke'" "true" class A(val n: T) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/invoke/beforeInvokeOnUserType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/invoke/beforeInvokeOnUserType.kt index d3fc680cc9fa..801cec9401d4 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/invoke/beforeInvokeOnUserType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/invoke/beforeInvokeOnUserType.kt @@ -1,4 +1,4 @@ -// "Create function 'invoke' from usage" "true" +// "Create function 'invoke'" "true" class A(val n: T) class B(val m: T) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/invoke/beforeInvokeOnUserTypeWithTypeParams.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/invoke/beforeInvokeOnUserTypeWithTypeParams.kt index fcd0527044e6..99c3219ab390 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/invoke/beforeInvokeOnUserTypeWithTypeParams.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/invoke/beforeInvokeOnUserTypeWithTypeParams.kt @@ -1,4 +1,4 @@ -// "Create function 'invoke' from usage" "true" +// "Create function 'invoke'" "true" class A(val n: T) class B(val m: T) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/invoke/beforeInvokeWithExplicitParamNamesOnUserType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/invoke/beforeInvokeWithExplicitParamNamesOnUserType.kt index ee48b367a22e..40a65c4eb16e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/invoke/beforeInvokeWithExplicitParamNamesOnUserType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/invoke/beforeInvokeWithExplicitParamNamesOnUserType.kt @@ -1,4 +1,4 @@ -// "Create function 'invoke' from usage" "true" +// "Create function 'invoke'" "true" class A(val n: T) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/iterator/afterCreateIteratorFromUsage1.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/iterator/afterCreateIteratorFromUsage1.kt index 0a9bdc04da4a..848e5ad77e71 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/iterator/afterCreateIteratorFromUsage1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/iterator/afterCreateIteratorFromUsage1.kt @@ -1,4 +1,4 @@ -// "Create function 'iterator' from usage" "true" +// "Create function 'iterator'" "true" class Foo { fun iterator(): Iterator { throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates. diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/iterator/afterCreateIteratorFromUsage2.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/iterator/afterCreateIteratorFromUsage2.kt index 90c86b53915b..a330a54549dd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/iterator/afterCreateIteratorFromUsage2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/iterator/afterCreateIteratorFromUsage2.kt @@ -1,4 +1,4 @@ -// "Create function 'iterator' from usage" "true" +// "Create function 'iterator'" "true" class Foo { fun iterator(): Iterator { throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates. diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/iterator/afterCreateIteratorFromUsage3.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/iterator/afterCreateIteratorFromUsage3.kt index a2c4f227b1bf..d6fb00e38d98 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/iterator/afterCreateIteratorFromUsage3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/iterator/afterCreateIteratorFromUsage3.kt @@ -1,4 +1,4 @@ -// "Create function 'next' from usage" "true" +// "Create function 'next'" "true" class FooIterator { fun hasNext(): Boolean { return false } diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/iterator/beforeCreateIteratorFromUsage1.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/iterator/beforeCreateIteratorFromUsage1.kt index 9638ae6649c1..845a4d7d5fb3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/iterator/beforeCreateIteratorFromUsage1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/iterator/beforeCreateIteratorFromUsage1.kt @@ -1,4 +1,4 @@ -// "Create function 'iterator' from usage" "true" +// "Create function 'iterator'" "true" class Foo fun foo() { for (i: Int in Foo()) { } diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/iterator/beforeCreateIteratorFromUsage2.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/iterator/beforeCreateIteratorFromUsage2.kt index ac6103d86e4d..5eef0b0d7359 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/iterator/beforeCreateIteratorFromUsage2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/iterator/beforeCreateIteratorFromUsage2.kt @@ -1,4 +1,4 @@ -// "Create function 'iterator' from usage" "true" +// "Create function 'iterator'" "true" class Foo fun foo() { for (i in Foo()) { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/iterator/beforeCreateIteratorFromUsage3.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/iterator/beforeCreateIteratorFromUsage3.kt index 7f57c5cc39b6..b48d27d2c254 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/iterator/beforeCreateIteratorFromUsage3.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/iterator/beforeCreateIteratorFromUsage3.kt @@ -1,4 +1,4 @@ -// "Create function 'next' from usage" "true" +// "Create function 'next'" "true" class FooIterator { fun hasNext(): Boolean { return false } } diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/next/afterCreateNextFromUsage1.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/next/afterCreateNextFromUsage1.kt index 846e0d320d50..6be58c1edd28 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/next/afterCreateNextFromUsage1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/next/afterCreateNextFromUsage1.kt @@ -1,4 +1,4 @@ -// "Create function 'next' from usage" "true" +// "Create function 'next'" "true" class FooIterator { fun hasNext(): Boolean { return false } diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/next/afterCreateNextFromUsage2.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/next/afterCreateNextFromUsage2.kt index c2728c132636..fd7dea9a6fbd 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/next/afterCreateNextFromUsage2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/next/afterCreateNextFromUsage2.kt @@ -1,4 +1,4 @@ -// "Create function 'next' from usage" "true" +// "Create function 'next'" "true" class FooIterator { fun hasNext(): Boolean { return false } diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/next/beforeCreateNextFromUsage1.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/next/beforeCreateNextFromUsage1.kt index 687a980b4b04..a1515047583b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/next/beforeCreateNextFromUsage1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/next/beforeCreateNextFromUsage1.kt @@ -1,4 +1,4 @@ -// "Create function 'next' from usage" "true" +// "Create function 'next'" "true" class FooIterator { fun hasNext(): Boolean { return false } } diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/next/beforeCreateNextFromUsage2.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/next/beforeCreateNextFromUsage2.kt index 8470052011f8..3403f246151e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/next/beforeCreateNextFromUsage2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/next/beforeCreateNextFromUsage2.kt @@ -1,4 +1,4 @@ -// "Create function 'next' from usage" "true" +// "Create function 'next'" "true" class FooIterator { fun hasNext(): Boolean { return false } } diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/set/afterCreateSetFromUsage1.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/set/afterCreateSetFromUsage1.kt index 61554b0e63f6..36c03cb63cec 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/set/afterCreateSetFromUsage1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/set/afterCreateSetFromUsage1.kt @@ -1,4 +1,4 @@ -// "Create function 'set' from usage" "true" +// "Create function 'set'" "true" class Foo { fun x (y: Foo>, w: java.util.ArrayList) { y["", w] = w diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/set/afterCreateSetFromUsage2.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/set/afterCreateSetFromUsage2.kt index 9d92d5b0eec5..be5e4ac9cb7e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/set/afterCreateSetFromUsage2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/set/afterCreateSetFromUsage2.kt @@ -1,4 +1,4 @@ -// "Create function 'set' from usage" "true" +// "Create function 'set'" "true" import java.util.ArrayList diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/set/afterSetterForIncrement.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/set/afterSetterForIncrement.kt index f803b745f3f2..b5596b7a8b6b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/set/afterSetterForIncrement.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/set/afterSetterForIncrement.kt @@ -1,4 +1,4 @@ -// "Create function 'set' from usage" "true" +// "Create function 'set'" "true" class A { fun get(s: String): Int = 1 diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/set/beforeCreateSetFromUsage1.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/set/beforeCreateSetFromUsage1.kt index 273dceb72a2e..c59d442c3bc8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/set/beforeCreateSetFromUsage1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/set/beforeCreateSetFromUsage1.kt @@ -1,4 +1,4 @@ -// "Create function 'set' from usage" "true" +// "Create function 'set'" "true" class Foo { fun x (y: Foo>, w: java.util.ArrayList) { y["", w] = w diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/set/beforeCreateSetFromUsage2.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/set/beforeCreateSetFromUsage2.kt index a6e6f32841f4..f57c488c37f9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/set/beforeCreateSetFromUsage2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/set/beforeCreateSetFromUsage2.kt @@ -1,4 +1,4 @@ -// "Create function 'set' from usage" "true" +// "Create function 'set'" "true" class Foo { fun x (y: Any, w: java.util.ArrayList) { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/set/beforeSetterForIncrement.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/set/beforeSetterForIncrement.kt index 8606ddc0189f..0f36300b7af3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/set/beforeSetterForIncrement.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/set/beforeSetterForIncrement.kt @@ -1,4 +1,4 @@ -// "Create function 'set' from usage" "true" +// "Create function 'set'" "true" class A { fun get(s: String): Int = 1 } diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/afterIncOnUserType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/afterIncOnUserType.kt index d99181303483..fa54c329d795 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/afterIncOnUserType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/afterIncOnUserType.kt @@ -1,4 +1,4 @@ -// "Create function 'inc' from usage" "true" +// "Create function 'inc'" "true" class A(val n: T) { fun inc(): A { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/afterMinusMissingArgs.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/afterMinusMissingArgs.kt index 479e01f57cd7..a35d96409631 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/afterMinusMissingArgs.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/afterMinusMissingArgs.kt @@ -1,4 +1,4 @@ -// "Create function 'minus' from usage" "true" +// "Create function 'minus'" "true" class A(val n: T) { fun minus(n: Int): A = throw Exception() diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/afterMinusOnLibType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/afterMinusOnLibType.kt index 7ae56abbd9f1..fadcc3788a46 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/afterMinusOnLibType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/afterMinusOnLibType.kt @@ -1,4 +1,4 @@ -// "Create function 'minus' from usage" "true" +// "Create function 'minus'" "true" fun test() { val a = -false diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/afterMinusOnUserType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/afterMinusOnUserType.kt index 707ecbb908ff..a48aaec909ae 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/afterMinusOnUserType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/afterMinusOnUserType.kt @@ -1,4 +1,4 @@ -// "Create function 'minus' from usage" "true" +// "Create function 'minus'" "true" class A(val n: T) { fun minus(): Any { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/afterMinusOnUserTypeWithTypeParams.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/afterMinusOnUserTypeWithTypeParams.kt index 3915e7238141..70c73258a0ac 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/afterMinusOnUserTypeWithTypeParams.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/afterMinusOnUserTypeWithTypeParams.kt @@ -1,4 +1,4 @@ -// "Create function 'minus' from usage" "true" +// "Create function 'minus'" "true" class A(val n: T) { fun minus(): A { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/beforeIncOnUserType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/beforeIncOnUserType.kt index b3140ca8f318..ef6c2efd97e8 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/beforeIncOnUserType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/beforeIncOnUserType.kt @@ -1,4 +1,4 @@ -// "Create function 'inc' from usage" "true" +// "Create function 'inc'" "true" class A(val n: T) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/beforeMinusMissingArgs.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/beforeMinusMissingArgs.kt index 30f8e53210a6..a4347d9dd209 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/beforeMinusMissingArgs.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/beforeMinusMissingArgs.kt @@ -1,4 +1,4 @@ -// "Create function 'minus' from usage" "true" +// "Create function 'minus'" "true" class A(val n: T) { fun minus(n: Int): A = throw Exception() diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/beforeMinusOnLibType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/beforeMinusOnLibType.kt index 7fb5e9603c3f..a955d6f83e61 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/beforeMinusOnLibType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/beforeMinusOnLibType.kt @@ -1,4 +1,4 @@ -// "Create function 'minus' from usage" "true" +// "Create function 'minus'" "true" fun test() { val a = -false diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/beforeMinusOnUserType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/beforeMinusOnUserType.kt index ec2cfd0b3099..5ad9251721e0 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/beforeMinusOnUserType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/beforeMinusOnUserType.kt @@ -1,4 +1,4 @@ -// "Create function 'minus' from usage" "true" +// "Create function 'minus'" "true" class A(val n: T) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/beforeMinusOnUserTypeWithTypeParams.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/beforeMinusOnUserTypeWithTypeParams.kt index ce35990ed11b..76780ec2ee74 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/beforeMinusOnUserTypeWithTypeParams.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/unaryOperations/beforeMinusOnUserTypeWithTypeParams.kt @@ -1,4 +1,4 @@ -// "Create function 'minus' from usage" "true" +// "Create function 'minus'" "true" class A(val n: T) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/beforeInClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/beforeInClass.kt index 17a79e62a9ae..6de5cd68e955 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/beforeInClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/beforeInClass.kt @@ -1,6 +1,6 @@ // "Create local variable 'foo'" "false" // ACTION: Create parameter 'foo' -// ACTION: Create property 'foo' from usage +// ACTION: Create property 'foo' // ERROR: Unresolved reference: foo class A { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/beforeOnTopLevel.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/beforeOnTopLevel.kt index 9b26afa8d04b..aec94ab03642 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/beforeOnTopLevel.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/beforeOnTopLevel.kt @@ -1,5 +1,5 @@ // "Create local variable 'foo'" "false" -// ACTION: Create property 'foo' from usage +// ACTION: Create property 'foo' // ERROR: Unresolved reference: foo val t: Int = foo \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/beforeQualifiedInFun.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/beforeQualifiedInFun.kt index 38d63b5621b3..2addc1bd3e5c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/beforeQualifiedInFun.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/localVariable/beforeQualifiedInFun.kt @@ -1,5 +1,5 @@ // "Create local variable 'foo'" "false" -// ACTION: Create property 'foo' from usage +// ACTION: Create property 'foo' // ACTION: Split property declaration // ERROR: Unresolved reference: foo diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/beforeAssignedInFun.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/beforeAssignedInFun.kt index 982a62312fd6..5279dad2738e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/beforeAssignedInFun.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/beforeAssignedInFun.kt @@ -1,6 +1,6 @@ // "Create parameter 'foo'" "false" // ACTION: Create local variable 'foo' -// ACTION: Create property 'foo' from usage +// ACTION: Create property 'foo' // ERROR: Unresolved reference: foo fun test(n: Int) { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/beforeInAccessorInClassObject.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/beforeInAccessorInClassObject.kt index 1b03f7568718..2579e8a8327f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/beforeInAccessorInClassObject.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/beforeInAccessorInClassObject.kt @@ -1,7 +1,7 @@ // "Create parameter 'foo'" "false" // ACTION: Convert to expression body // ACTION: Create local variable 'foo' -// ACTION: Create property 'foo' from usage +// ACTION: Create property 'foo' // ERROR: Unresolved reference: foo class A { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/beforeInAccessorInObject.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/beforeInAccessorInObject.kt index a08c82bb5f12..3b8da1a9feca 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/beforeInAccessorInObject.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/beforeInAccessorInObject.kt @@ -1,7 +1,7 @@ // "Create parameter 'foo'" "false" // ACTION: Convert to expression body // ACTION: Create local variable 'foo' -// ACTION: Create property 'foo' from usage +// ACTION: Create property 'foo' // ERROR: Unresolved reference: foo object A { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/beforeInAccessorInTrait.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/beforeInAccessorInTrait.kt index d7ceb4533aed..75f8334fee17 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/beforeInAccessorInTrait.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/beforeInAccessorInTrait.kt @@ -1,7 +1,7 @@ // "Create parameter 'foo'" "false" // ACTION: Convert to expression body // ACTION: Create local variable 'foo' -// ACTION: Create property 'foo' from usage +// ACTION: Create property 'foo' // ERROR: Unresolved reference: foo trait A { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/beforeInAccessorNoClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/beforeInAccessorNoClass.kt index 40a09f17e0eb..bd101615d38b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/beforeInAccessorNoClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/beforeInAccessorNoClass.kt @@ -1,7 +1,7 @@ // "Create parameter 'foo'" "false" // ACTION: Convert to expression body // ACTION: Create local variable 'foo' -// ACTION: Create property 'foo' from usage +// ACTION: Create property 'foo' // ERROR: Unresolved reference: foo val test: Int get() { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/beforeInGenAccessorInClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/beforeInGenAccessorInClass.kt index 788396395224..589fdd6f87c3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/beforeInGenAccessorInClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/beforeInGenAccessorInClass.kt @@ -1,7 +1,7 @@ // "Create parameter 'foo'" "false" // ACTION: Convert to expression body // ACTION: Create local variable 'foo' -// ACTION: Create property 'foo' from usage +// ACTION: Create property 'foo' // ERROR: Unresolved reference: foo class A { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/beforeInGenAccessorInGenClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/beforeInGenAccessorInGenClass.kt index cdbfa87626f5..8454969d118e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/beforeInGenAccessorInGenClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/beforeInGenAccessorInGenClass.kt @@ -1,7 +1,7 @@ // "Create parameter 'foo'" "false" // ACTION: Convert to expression body // ACTION: Create local variable 'foo' -// ACTION: Create property 'foo' from usage +// ACTION: Create property 'foo' // ERROR: Unresolved reference: foo class A { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/beforeInGenPropertyInitializerInClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/beforeInGenPropertyInitializerInClass.kt index e2a7a45d88fb..6b9e1285883a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/beforeInGenPropertyInitializerInClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/beforeInGenPropertyInitializerInClass.kt @@ -1,6 +1,6 @@ // "Create parameter 'foo'" "false" // ERROR: Unresolved reference: foo -// ACTION: Create property 'foo' from usage +// ACTION: Create property 'foo' class A { val test: T = foo diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/beforeInGenPropertyInitializerInGenClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/beforeInGenPropertyInitializerInGenClass.kt index 369afdcad874..bd781b0ece76 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/beforeInGenPropertyInitializerInGenClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/beforeInGenPropertyInitializerInGenClass.kt @@ -1,5 +1,5 @@ // "Create parameter 'foo'" "false" -// ACTION: Create property 'foo' from usage +// ACTION: Create property 'foo' // ERROR: Unresolved reference: foo class A { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/beforeInPropertyInitializerInClassObject.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/beforeInPropertyInitializerInClassObject.kt index b03bfbb822b7..6401290994d2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/beforeInPropertyInitializerInClassObject.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/beforeInPropertyInitializerInClassObject.kt @@ -1,5 +1,5 @@ // "Create parameter 'foo'" "false" -// ACTION: Create property 'foo' from usage +// ACTION: Create property 'foo' // ERROR: Unresolved reference: foo class A { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/beforeInPropertyInitializerInObject.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/beforeInPropertyInitializerInObject.kt index 2c0347835c66..82981a1bd9b7 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/beforeInPropertyInitializerInObject.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/beforeInPropertyInitializerInObject.kt @@ -1,5 +1,5 @@ // "Create parameter 'foo'" "false" -// ACTION: Create property 'foo' from usage +// ACTION: Create property 'foo' // ERROR: Unresolved reference: foo object A { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/beforeInPropertyInitializerNoClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/beforeInPropertyInitializerNoClass.kt index a242938b7549..f000ac58d766 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/beforeInPropertyInitializerNoClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/beforeInPropertyInitializerNoClass.kt @@ -1,5 +1,5 @@ // "Create parameter 'foo'" "false" -// ACTION: Create property 'foo' from usage +// ACTION: Create property 'foo' // ERROR: Unresolved reference: foo val test: Int = foo \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/beforeQualifiedInFun.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/beforeQualifiedInFun.kt index 2a41b6704990..a9c02a838e22 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/beforeQualifiedInFun.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/parameter/beforeQualifiedInFun.kt @@ -1,6 +1,6 @@ // "Create parameter 'foo'" "false" // ACTION: Split property declaration -// ACTION: Create property 'foo' from usage +// ACTION: Create property 'foo' // ERROR: Unresolved reference: foo class A diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterInconsistentTypes.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterInconsistentTypes.kt index abaab3090ce9..62ca00164114 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterInconsistentTypes.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterInconsistentTypes.kt @@ -1,4 +1,4 @@ -// "Create property 'foo' from usage" "true" +// "Create property 'foo'" "true" // ERROR: Type mismatch.
Required:kotlin.Int
Found:A<kotlin.Int>
// ERROR: Property must be initialized or be abstract diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterLocalValNoReceiver.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterLocalValNoReceiver.kt index f9291eab9dde..e7a6e3a32be1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterLocalValNoReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterLocalValNoReceiver.kt @@ -1,4 +1,4 @@ -// "Create property 'foo' from usage" "true" +// "Create property 'foo'" "true" fun test() { val foo: Int diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterMemberValDelegateRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterMemberValDelegateRuntime.kt index 9ff3c64a9938..8b97878072d9 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterMemberValDelegateRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterMemberValDelegateRuntime.kt @@ -1,4 +1,4 @@ -// "Create property 'foo' from usage" "true" +// "Create property 'foo'" "true" // ERROR: Property must be initialized or be abstract // ERROR: Variable 'foo' must be initialized diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterMemberValNoReceiver.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterMemberValNoReceiver.kt index 9ecd18c6e8f8..0015e0c9f65f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterMemberValNoReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterMemberValNoReceiver.kt @@ -1,4 +1,4 @@ -// "Create property 'foo' from usage" "true" +// "Create property 'foo'" "true" // ERROR: Property must be initialized or be abstract class A { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterMemberVarDelegateRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterMemberVarDelegateRuntime.kt index ab9238f0c518..6bcdb359465c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterMemberVarDelegateRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterMemberVarDelegateRuntime.kt @@ -1,4 +1,4 @@ -// "Create property 'foo' from usage" "true" +// "Create property 'foo'" "true" // ERROR: Property must be initialized or be abstract // ERROR: Variable 'foo' must be initialized diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterObjectMemberValNoReceiver.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterObjectMemberValNoReceiver.kt index 123802741ef5..62009e2a2d1f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterObjectMemberValNoReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterObjectMemberValNoReceiver.kt @@ -1,4 +1,4 @@ -// "Create property 'foo' from usage" "true" +// "Create property 'foo'" "true" // ERROR: Property must be initialized or be abstract class A { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterThisInClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterThisInClass.kt index 9f0ff7b36895..b6d388c41772 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterThisInClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterThisInClass.kt @@ -1,4 +1,4 @@ -// "Create property 'foo' from usage" "true" +// "Create property 'foo'" "true" // ERROR: Property must be initialized or be abstract class A(val n: T) { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterThisInExtension.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterThisInExtension.kt index a53e119d5160..90f56d024d21 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterThisInExtension.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterThisInExtension.kt @@ -1,4 +1,4 @@ -// "Create property 'foo' from usage" "true" +// "Create property 'foo'" "true" // ERROR: Property must be initialized or be abstract class A(val n: T) { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterThisInNestedClass1.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterThisInNestedClass1.kt index c7b177f5de55..dc3f5254d364 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterThisInNestedClass1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterThisInNestedClass1.kt @@ -1,4 +1,4 @@ -// "Create property 'foo' from usage" "true" +// "Create property 'foo'" "true" // ERROR: Property must be initialized or be abstract class A(val n: T) { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterThisInNestedClass2.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterThisInNestedClass2.kt index 9d8c1656ccbe..9736b116714a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterThisInNestedClass2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterThisInNestedClass2.kt @@ -1,4 +1,4 @@ -// "Create property 'foo' from usage" "true" +// "Create property 'foo'" "true" // ERROR: Property must be initialized or be abstract class A(val n: T) { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterTopLevelValNoReceiver.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterTopLevelValNoReceiver.kt index bc2f32754a9f..6c67f61adda2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterTopLevelValNoReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterTopLevelValNoReceiver.kt @@ -1,4 +1,4 @@ -// "Create property 'foo' from usage" "true" +// "Create property 'foo'" "true" // ERROR: Property must be initialized fun test(): Int { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterTopLevelValWithPackageName.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterTopLevelValWithPackageName.kt index 6e4ca6aea862..544eab913e5e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterTopLevelValWithPackageName.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterTopLevelValWithPackageName.kt @@ -1,4 +1,4 @@ -// "Create property 'foo' from usage" "true" +// "Create property 'foo'" "true" // ERROR: Property must be initialized package foo diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterValOnClassObject.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterValOnClassObject.kt index 86a034f25cc1..d8bda7c35534 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterValOnClassObject.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterValOnClassObject.kt @@ -1,4 +1,4 @@ -// "Create property 'foo' from usage" "true" +// "Create property 'foo'" "true" // ERROR: Property must be initialized or be abstract class A(val n: T) { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterValOnLibObject.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterValOnLibObject.kt index 44efed131d28..587c93f1de55 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterValOnLibObject.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterValOnLibObject.kt @@ -1,4 +1,4 @@ -// "Create property 'foo' from usage" "true" +// "Create property 'foo'" "true" // ERROR: Property must be initialized fun test() { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterValOnLibType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterValOnLibType.kt index 733f3b0cdf4a..d9ab10b4678e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterValOnLibType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterValOnLibType.kt @@ -1,4 +1,4 @@ -// "Create property 'foo' from usage" "true" +// "Create property 'foo'" "true" // ERROR: Property must be initialized class A(val n: T) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterValOnUserObject.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterValOnUserObject.kt index b75ed1c2dd49..62b1fc79872c 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterValOnUserObject.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterValOnUserObject.kt @@ -1,4 +1,4 @@ -// "Create property 'foo' from usage" "true" +// "Create property 'foo'" "true" // ERROR: Property must be initialized or be abstract object A { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterValOnUserType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterValOnUserType.kt index ee3d9f91c4f3..0c9db1cdb5d1 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterValOnUserType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterValOnUserType.kt @@ -1,4 +1,4 @@ -// "Create property 'foo' from usage" "true" +// "Create property 'foo'" "true" // ERROR: Property must be initialized or be abstract class A(val n: T) { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterValOnUserTypeWithTypeParams.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterValOnUserTypeWithTypeParams.kt index e7eb85a82159..a0ddce230f15 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterValOnUserTypeWithTypeParams.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterValOnUserTypeWithTypeParams.kt @@ -1,4 +1,4 @@ -// "Create property 'foo' from usage" "true" +// "Create property 'foo'" "true" // ERROR: Property must be initialized or be abstract class A(val n: T) { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterValWithNullableType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterValWithNullableType.kt index ad0327cb2685..2661f7d6a69f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterValWithNullableType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterValWithNullableType.kt @@ -1,4 +1,4 @@ -// "Create property 'foo' from usage" "true" +// "Create property 'foo'" "true" // ERROR: Property must be initialized or be abstract class A(val n: T) { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterVarOnLibType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterVarOnLibType.kt index e37bcc2237b6..c1db46849e27 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterVarOnLibType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterVarOnLibType.kt @@ -1,4 +1,4 @@ -// "Create property 'foo' from usage" "true" +// "Create property 'foo'" "true" // ERROR: Property must be initialized class A(val n: T) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterVarOnUserType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterVarOnUserType.kt index cfe39a83b019..af9cf551260a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterVarOnUserType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/afterVarOnUserType.kt @@ -1,4 +1,4 @@ -// "Create property 'foo' from usage" "true" +// "Create property 'foo'" "true" // ERROR: Property must be initialized or be abstract class A(val n: T) { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeCallOnUserType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeCallOnUserType.kt index 7ff4ab6ef1b9..cc9d812d4b84 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeCallOnUserType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeCallOnUserType.kt @@ -1,5 +1,5 @@ -// "Create property 'foo' from usage" "false" -// ACTION: Create function 'bar' from usage +// "Create property 'foo'" "false" +// ACTION: Create function 'bar' // ACTION: Replace with infix function call // ERROR: Unresolved reference: bar // ERROR: Unresolved reference: foo diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeInconsistentTypes.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeInconsistentTypes.kt index 0c3c7b590c69..c6781c0c4d4a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeInconsistentTypes.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeInconsistentTypes.kt @@ -1,4 +1,4 @@ -// "Create property 'foo' from usage" "true" +// "Create property 'foo'" "true" // ERROR: Type mismatch.
Required:kotlin.Int
Found:A<kotlin.Int>
// ERROR: Property must be initialized or be abstract diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeLocalValNoReceiver.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeLocalValNoReceiver.kt index 17699d290e19..6ab1fc480288 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeLocalValNoReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeLocalValNoReceiver.kt @@ -1,4 +1,4 @@ -// "Create property 'foo' from usage" "false" +// "Create property 'foo'" "false" // ACTION: Convert to expression body // ACTION: Disable 'Convert to Expression Body' // ACTION: Edit intention settings diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeMemberValDelegateRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeMemberValDelegateRuntime.kt index 3d53929b9756..7f7e40ed792f 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeMemberValDelegateRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeMemberValDelegateRuntime.kt @@ -1,4 +1,4 @@ -// "Create property 'foo' from usage" "true" +// "Create property 'foo'" "true" // ERROR: Property must be initialized or be abstract // ERROR: Variable 'foo' must be initialized diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeMemberValNoReceiver.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeMemberValNoReceiver.kt index 517447139e0e..14effc701800 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeMemberValNoReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeMemberValNoReceiver.kt @@ -1,4 +1,4 @@ -// "Create property 'foo' from usage" "true" +// "Create property 'foo'" "true" // ERROR: Property must be initialized or be abstract class A { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeMemberVarDelegateRuntime.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeMemberVarDelegateRuntime.kt index 58128d2d7724..d2661c99df61 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeMemberVarDelegateRuntime.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeMemberVarDelegateRuntime.kt @@ -1,4 +1,4 @@ -// "Create property 'foo' from usage" "true" +// "Create property 'foo'" "true" // ERROR: Property must be initialized or be abstract // ERROR: Variable 'foo' must be initialized diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeObjectMemberValNoReceiver.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeObjectMemberValNoReceiver.kt index 21332038780d..0ebd52de8f6e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeObjectMemberValNoReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeObjectMemberValNoReceiver.kt @@ -1,4 +1,4 @@ -// "Create property 'foo' from usage" "true" +// "Create property 'foo'" "true" // ERROR: Property must be initialized or be abstract class A { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeThisInClass.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeThisInClass.kt index 2ebc9852e12c..a8049c7451f3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeThisInClass.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeThisInClass.kt @@ -1,4 +1,4 @@ -// "Create property 'foo' from usage" "true" +// "Create property 'foo'" "true" // ERROR: Property must be initialized or be abstract class A(val n: T) { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeThisInExtension.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeThisInExtension.kt index 3232d9996b92..5b34b5f95711 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeThisInExtension.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeThisInExtension.kt @@ -1,4 +1,4 @@ -// "Create property 'foo' from usage" "true" +// "Create property 'foo'" "true" // ERROR: Property must be initialized or be abstract class A(val n: T) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeThisInNestedClass1.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeThisInNestedClass1.kt index 79a01cee5b97..014556970644 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeThisInNestedClass1.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeThisInNestedClass1.kt @@ -1,4 +1,4 @@ -// "Create property 'foo' from usage" "true" +// "Create property 'foo'" "true" // ERROR: Property must be initialized or be abstract class A(val n: T) { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeThisInNestedClass2.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeThisInNestedClass2.kt index 4fcb6ed5579c..78c5194adaa3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeThisInNestedClass2.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeThisInNestedClass2.kt @@ -1,4 +1,4 @@ -// "Create property 'foo' from usage" "true" +// "Create property 'foo'" "true" // ERROR: Property must be initialized or be abstract class A(val n: T) { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeTopLevelValNoReceiver.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeTopLevelValNoReceiver.kt index 904ffa6c375d..4823437afdb2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeTopLevelValNoReceiver.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeTopLevelValNoReceiver.kt @@ -1,4 +1,4 @@ -// "Create property 'foo' from usage" "true" +// "Create property 'foo'" "true" // ERROR: Property must be initialized fun test(): Int { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeTopLevelValWithPackageName.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeTopLevelValWithPackageName.kt index e30e463ebfc8..e80b973f80ca 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeTopLevelValWithPackageName.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeTopLevelValWithPackageName.kt @@ -1,4 +1,4 @@ -// "Create property 'foo' from usage" "true" +// "Create property 'foo'" "true" // ERROR: Property must be initialized package foo diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeValOnClassNoClassObject.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeValOnClassNoClassObject.kt index 6c26b89987f3..213be76ff554 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeValOnClassNoClassObject.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeValOnClassNoClassObject.kt @@ -1,4 +1,4 @@ -// "Create property 'foo' from usage" "false" +// "Create property 'foo'" "false" // ACTION: Split property declaration // ERROR: Unresolved reference: foo diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeValOnClassObject.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeValOnClassObject.kt index 38c3e10cbb1c..b9bad33296ac 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeValOnClassObject.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeValOnClassObject.kt @@ -1,4 +1,4 @@ -// "Create property 'foo' from usage" "true" +// "Create property 'foo'" "true" // ERROR: Property must be initialized or be abstract class A(val n: T) { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeValOnLibObject.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeValOnLibObject.kt index 7617373f46e3..c5318421fa35 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeValOnLibObject.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeValOnLibObject.kt @@ -1,4 +1,4 @@ -// "Create property 'foo' from usage" "true" +// "Create property 'foo'" "true" // ERROR: Property must be initialized fun test() { diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeValOnLibType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeValOnLibType.kt index a572b65c878c..cbdab7ba881e 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeValOnLibType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeValOnLibType.kt @@ -1,4 +1,4 @@ -// "Create property 'foo' from usage" "true" +// "Create property 'foo'" "true" // ERROR: Property must be initialized class A(val n: T) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeValOnUserObject.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeValOnUserObject.kt index 30db135bb672..38511c46e5b3 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeValOnUserObject.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeValOnUserObject.kt @@ -1,4 +1,4 @@ -// "Create property 'foo' from usage" "true" +// "Create property 'foo'" "true" // ERROR: Property must be initialized or be abstract object A diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeValOnUserType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeValOnUserType.kt index be99e00488f5..2c900d08874b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeValOnUserType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeValOnUserType.kt @@ -1,4 +1,4 @@ -// "Create property 'foo' from usage" "true" +// "Create property 'foo'" "true" // ERROR: Property must be initialized or be abstract class A(val n: T) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeValOnUserTypeWithTypeParams.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeValOnUserTypeWithTypeParams.kt index dab4ad13c245..d5db29c7cc36 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeValOnUserTypeWithTypeParams.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeValOnUserTypeWithTypeParams.kt @@ -1,4 +1,4 @@ -// "Create property 'foo' from usage" "true" +// "Create property 'foo'" "true" // ERROR: Property must be initialized or be abstract class A(val n: T) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeValWithNullableType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeValWithNullableType.kt index dc92076e9672..09d718888e88 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeValWithNullableType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeValWithNullableType.kt @@ -1,4 +1,4 @@ -// "Create property 'foo' from usage" "true" +// "Create property 'foo'" "true" // ERROR: Property must be initialized or be abstract class A(val n: T) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeVarOnLibType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeVarOnLibType.kt index 2fbac99d6d85..356a4a37df2b 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeVarOnLibType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeVarOnLibType.kt @@ -1,4 +1,4 @@ -// "Create property 'foo' from usage" "true" +// "Create property 'foo'" "true" // ERROR: Property must be initialized class A(val n: T) diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeVarOnUserType.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeVarOnUserType.kt index 836c630799b1..7fdede6a4449 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeVarOnUserType.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createVariable/property/beforeVarOnUserType.kt @@ -1,4 +1,4 @@ -// "Create property 'foo' from usage" "true" +// "Create property 'foo'" "true" // ERROR: Property must be initialized or be abstract class A(val n: T)