Files
openide/java/java-tests/testData/refactoring/convertToInstance8Method/StaticMethodOfInterfaceWithNonAccessibleInheritor.java.after
T
Anna.Kozlova 253b765238 convert static to instance: don't check interface inheritance for java 1.8+
check used references for java 1.8- as call sites would call abstract method of interface anyway (IDEA-187991)
2018-03-09 16:38:07 +01:00

13 lines
161 B
Plaintext

interface I {
default void foo() {}
}
class WithPrivateInner {
private class Inner implements I {}
}
class WithUsage {
void n(I i) {
i.foo();
}
}