mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
inline superclass refactoring: allow to collapse only one inheritance (IDEA-93319)
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
abstract class Super {
|
||||
public abstract void method() {}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
class Test {
|
||||
public void context() {
|
||||
method();
|
||||
}
|
||||
|
||||
public void method() {}
|
||||
}
|
||||
|
||||
class Test1 extends Super {
|
||||
@Override
|
||||
public void method() {}
|
||||
}
|
||||
|
||||
class U {
|
||||
Super t = new Test1();
|
||||
}
|
||||
Reference in New Issue
Block a user