Pull Up/Push Down/Extract Super: Support references to Java-declared superinterfaces
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
class A implements Z {
|
||||
|
||||
}
|
||||
|
||||
// INFO: {"checked": "true"}
|
||||
interface J {
|
||||
|
||||
}
|
||||
+6
-1
@@ -1,3 +1,8 @@
|
||||
class A implements Z, X {
|
||||
class A implements Z, X, J {
|
||||
|
||||
}
|
||||
|
||||
// INFO: {"checked": "true"}
|
||||
interface J {
|
||||
|
||||
}
|
||||
@@ -7,4 +7,4 @@ interface Y
|
||||
// INFO: {"checked": "true"}
|
||||
interface Z
|
||||
|
||||
class <caret>B: A(), X, Y, Z
|
||||
class <caret>B: A(), X, Y, Z, J
|
||||
@@ -1,3 +1,8 @@
|
||||
interface I extends Z {
|
||||
|
||||
}
|
||||
|
||||
// INFO: {"checked": "true"}
|
||||
interface J {
|
||||
|
||||
}
|
||||
+6
-1
@@ -1,3 +1,8 @@
|
||||
interface I extends Z, X {
|
||||
interface I extends Z, X, J {
|
||||
|
||||
}
|
||||
|
||||
// INFO: {"checked": "true"}
|
||||
interface J {
|
||||
|
||||
}
|
||||
@@ -7,4 +7,4 @@ interface Y
|
||||
// INFO: {"checked": "true"}
|
||||
interface Z
|
||||
|
||||
class <caret>B: I, X, Y, Z
|
||||
class <caret>B: I, X, Y, Z, J
|
||||
@@ -0,0 +1,4 @@
|
||||
// INFO: {"checked": "true"}
|
||||
interface J {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
// INFO: {"checked": "true"}
|
||||
interface J {
|
||||
|
||||
}
|
||||
@@ -11,4 +11,4 @@ interface Y
|
||||
// INFO: {"checked": "true"}
|
||||
interface Z
|
||||
|
||||
class <caret>B: A(), X, Y, Z
|
||||
class <caret>B: A(), X, Y, Z, J
|
||||
@@ -1,4 +1,4 @@
|
||||
open class A: Z, X, Y {
|
||||
open class A: Z, X, Y, J {
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user