suusan2go / kotlin-fill-class

Intellij plugin that provides intention action for empty constructor

Home Page:https://plugins.jetbrains.com/plugin/10942-kotlin-fill-class

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support overloaded functions

t-kameyama opened this issue · comments

class Foo(val x: Int, y: Int, z: Int) {
    constructor(x: String, y: String) : this(x.length, y.length, x.length + y.length)
}

fun bar(x: Int, y: Int, z: Int) {}
fun bar(x: String, y: String) {}

fun main() {
    Foo()
    bar()
}