// ACTION_CLASS: org.jetbrains.kotlin.idea.actions.generate.KotlinGenerateSecondaryConstructorAction class Foo { val n: Int val x = 1 val m: Int constructor(n: Int, m: Int) { this.n = n this.m = m } fun foo() { } fun bar() { } }