mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-21 13:20:56 +07:00
17 lines
233 B
Java
17 lines
233 B
Java
// "Replace lambda with method reference" "true-preview"
|
|
class Example extends O {
|
|
|
|
void m(Runnable r) {}
|
|
|
|
class A {
|
|
class B {
|
|
{
|
|
m(Example.this::p);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
class O {
|
|
void p() {}
|
|
} |