Extract Class: Implement 'Extract Interface' refactoring

#KT-11017 Fixed
This commit is contained in:
Alexey Sedunov
2016-09-22 14:29:03 +03:00
parent af2de09840
commit b412edf2a3
22 changed files with 592 additions and 232 deletions
@@ -0,0 +1,18 @@
// NAME: X
// INFO: {checked: "true"}
interface T {}
open class A
interface X : T {
// INFO: {checked: "true", toAbstract: "true"}
fun foo()
}
// SIBLING:
class B : A(), X {
// INFO: {checked: "true", toAbstract: "true"}
override fun foo() {
}
}