- assigned_to: nobody --> linnet
Tested with 0.0.15
Doing "open interface" on a method of a variable
declared as some interface does not open that
interface's definition.
Nor does it open the super interface if the method
comes from an interface higher up in the inheritance chain.
Testcase:
---
public interface A {
public void a();
}
public class AImpl implements A {
public void a() { }
}
public interface B extends A {
public void a();
public void b();
}
public class BImpl implements B {
public void a() { }
public void b() { }
}
public class Tester {
public void test() {
A a = new AImpl();
B b = new BImpl();
a.a(); // no impl
b.a(); // no impl
b.b(); // no impl
BImpl bi = new BImpl();
bi.a(); // choice of A or B
bi.b(); // opens B
}
}