mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-24 09:20:53 +07:00
valid static method reference on class's inheritor (IDEA-187974)
This commit is contained in:
@@ -9,3 +9,13 @@ class A implements I {
|
||||
System.out.println(r);
|
||||
}
|
||||
}
|
||||
|
||||
class B {
|
||||
static void foo() {}
|
||||
}
|
||||
|
||||
class C extends B {
|
||||
{
|
||||
Runnable r = C::foo;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user