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