mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-17 06:49:59 +07:00
method references: allow access to protected methods through super (IDEA-217862)
GitOrigin-RevId: f1d86f6127a64146e87998423f3034e38a46409c
This commit is contained in:
committed by
intellij-monorepo-bot
parent
186dadfbac
commit
616e3ca030
+11
@@ -0,0 +1,11 @@
|
||||
package b;
|
||||
|
||||
import a.A;
|
||||
|
||||
import java.util.function.Consumer;
|
||||
|
||||
class B extends A {
|
||||
public Consumer<Integer> callFoo() {
|
||||
return super::foo;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user