mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-21 21:50:54 +07:00
13 lines
153 B
Java
13 lines
153 B
Java
// "Replace with method reference" "true-preview"
|
|
class Test {
|
|
|
|
private void doTest (){}
|
|
|
|
void foo(Runnable r){}
|
|
|
|
{
|
|
foo (this::doTest);
|
|
}
|
|
|
|
}
|