mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-24 09:20:53 +07:00
12 lines
171 B
Java
12 lines
171 B
Java
// "Replace lambda with method reference" "true"
|
|
class Example {
|
|
interface I {
|
|
void foo(int i);
|
|
}
|
|
|
|
void m(int i) {}
|
|
|
|
{
|
|
I i = this::m;
|
|
}
|
|
} |