mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-04 17:20:55 +07:00
13 lines
166 B
Java
13 lines
166 B
Java
// "Replace lambda with method reference" "true"
|
|
class Example {
|
|
public void m() {
|
|
}
|
|
|
|
{
|
|
Runnable r = ex()::m;
|
|
}
|
|
|
|
Example ex() {
|
|
return this;
|
|
}
|
|
} |