mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 17:20:54 +07:00
18 lines
287 B
Java
18 lines
287 B
Java
// "Replace lambda with method reference" "true-preview"
|
|
class Example {
|
|
class Bar {
|
|
void foo() {
|
|
}
|
|
|
|
class Foo {
|
|
|
|
void bar() {
|
|
new Object() {
|
|
void baz() {
|
|
Runnable runnable = () -> fo<caret>o();
|
|
}
|
|
};
|
|
}
|
|
}
|
|
}
|
|
} |