Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/lambda/methodRef/ConstructorRefInnerFromSuper.java

20 lines
299 B
Java

class MyTest {
static class Super {
class Inner {
Inner(int i){}
}
}
static class Child extends Super {
interface I {
Inner m(Child child, int i);
}
void test() {
I var = Child.Inner::new;
}
}
}