J2K: Insert class body for anonymous classes
#KT-8952 Fixed
This commit is contained in:
@@ -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() {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user