mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 00:11:26 +07:00
method refs: inner classes from hierarchy availability
This commit is contained in:
+19
@@ -0,0 +1,19 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user