Override/Implement members: place members in the same order as super class members
This commit is contained in:
committed by
Dmitry Gridin
parent
a38651c1ec
commit
a3c3ab08fd
@@ -0,0 +1,59 @@
|
||||
interface A {
|
||||
fun a1()
|
||||
fun a2()
|
||||
fun a3()
|
||||
fun a4()
|
||||
fun a5()
|
||||
fun a6()
|
||||
fun a7()
|
||||
fun a8()
|
||||
}
|
||||
|
||||
interface B {
|
||||
fun b3()
|
||||
fun b2()
|
||||
fun b1()
|
||||
}
|
||||
|
||||
class Test : A, B {
|
||||
override fun a1() {
|
||||
<selection><caret>TODO("not implemented") //To change body of created functions use File | Settings | File Templates.</selection>
|
||||
}
|
||||
|
||||
override fun a2() {
|
||||
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
}
|
||||
|
||||
override fun a3() {
|
||||
}
|
||||
|
||||
override fun a4() {
|
||||
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
}
|
||||
|
||||
override fun a5() {
|
||||
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
}
|
||||
|
||||
override fun b3() {
|
||||
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
}
|
||||
|
||||
override fun b2() {
|
||||
}
|
||||
|
||||
override fun b1() {
|
||||
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
}
|
||||
|
||||
override fun a6() {
|
||||
}
|
||||
|
||||
override fun a7() {
|
||||
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
}
|
||||
|
||||
override fun a8() {
|
||||
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user