// "Create member function 'Bar.foo'" "true" fun foo() { Bar.BAZ.foo() } enum class Bar { BAZ; fun foo() { TODO("not implemented") //To change body of created functions use File | Settings | File Templates. } }