Add quickfix to change object to class

#KT-33586 Fixed
This commit is contained in:
Toshiaki Kameyama
2019-09-15 12:11:49 +09:00
committed by Dmitry Gridin
parent 6a329210cb
commit d86e87d35e
9 changed files with 108 additions and 0 deletions
@@ -0,0 +1,8 @@
// "Change object to class" "true"
annotation class Ann
// comment
@Ann
object Foo<caret>(val s: String) : Any() {
constructor() : this("")
}
@@ -0,0 +1,8 @@
// "Change object to class" "true"
annotation class Ann
// comment
@Ann
class Foo(val s: String) : Any() {
constructor() : this("")
}
@@ -0,0 +1,8 @@
// "Change object to class" "true"
annotation class Ann
// comment
@Ann
object Foo(val s: String) : Any() {
<caret>constructor() : this("")
}
@@ -0,0 +1,8 @@
// "Change object to class" "true"
annotation class Ann
// comment
@Ann
class Foo(val s: String) : Any() {
constructor() : this("")
}