mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-24 09:20:53 +07:00
14 lines
168 B
Java
14 lines
168 B
Java
// "Replace with method reference" "true"
|
|
class Test {
|
|
|
|
private void doTest (){}
|
|
|
|
void foo(Runnable r){}
|
|
|
|
{
|
|
//some comment
|
|
foo (this::doTest);
|
|
}
|
|
|
|
}
|