J2K: Insert class body for anonymous classes

#KT-8952 Fixed
This commit is contained in:
Natalia Ukhorskaya
2015-09-07 16:41:35 +03:00
parent 1394e646b7
commit ee860fdde5
5 changed files with 28 additions and 7 deletions
+10
View File
@@ -4,6 +4,9 @@ interface WindowListener {
public fun windowClosing()
}
interface EmptyWindowListener
open class EmptyWindowAdapter
open class WindowAdapter : WindowListener {
override fun windowClosing() {
}
@@ -27,5 +30,12 @@ public class Client : Frame() {
override fun windowClosing() {
}
})
val b = object : EmptyWindowListener {
}
val c = object : EmptyWindowAdapter() {
}
}
}