Code Insight: "Generate secondary constructor" action

#KT-6970 Fixed
This commit is contained in:
Alexey Sedunov
2015-10-09 17:54:14 +03:00
parent 78829b9e8f
commit 30d697109c
37 changed files with 1025 additions and 246 deletions
@@ -0,0 +1,20 @@
// ACTION_CLASS: org.jetbrains.kotlin.idea.actions.generate.KotlinGenerateSecondaryConstructorAction
// WITH_RUNTIME
class Foo {<caret>
val x = 1
val y: Int
val z: Int get() = 3
val u: Int by lazy { 4 }
init {
y = 2
}
fun foo() {
}
fun bar() {
}
}