inline superclass: preserve superclass extends/implements list (IDEA-69339)

This commit is contained in:
anna
2011-09-06 11:04:59 +02:00
parent 7a882556f7
commit d1a5dacee3
7 changed files with 68 additions and 2 deletions
@@ -0,0 +1,5 @@
interface Int {}
class Dummy {}
@@ -0,0 +1,11 @@
class Test extends Dummy implements Int {
Test(){}
public void main() {}
}
class U {
public static void main(String[] args) {
new Test().main();
}
}
@@ -0,0 +1,9 @@
interface Int {}
class Dummy {}
public class Super extends Dummy implements Int {
public void main() {}
}
@@ -0,0 +1,9 @@
class Test extends Super{
Test(){}
}
class U {
public static void main(String[] args) {
new Test().main();
}
}