mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 08:50:57 +07:00
12 lines
192 B
Java
12 lines
192 B
Java
// "Replace lambda with method reference" "true-preview"
|
|
class Example {
|
|
interface I {
|
|
void foo(int i);
|
|
}
|
|
|
|
void m(int i) {}
|
|
|
|
{
|
|
I i = (i1) -> <caret>m(i1);
|
|
}
|
|
} |