mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-20 20:20:56 +07:00
13 lines
197 B
Java
13 lines
197 B
Java
// "Replace lambda with method reference (may change semantics)" "true-preview"
|
|
class Example {
|
|
public void m() {
|
|
}
|
|
|
|
{
|
|
Runnable r = ex()::m;
|
|
}
|
|
|
|
Example ex() {
|
|
return this;
|
|
}
|
|
} |